[Issue 10226] core.simd bad codegen

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Jun 1 03:13:41 PDT 2013


http://d.puremagic.com/issues/show_bug.cgi?id=10226



--- Comment #1 from Benjamin Thaut <code at benjamin-thaut.de> 2013-06-01 03:13:40 PDT ---
Small correction, ideal assembly should look like this:

1 mov         rax,qword ptr [rbp-68h]  
2 movaps      xmm0,xmmword ptr [rax]  
5 addps       xmm0,xmm0
9 movaps      xmmword ptr [rax],xmm0 

Instruction 5 should use a xmm register as well and not add from memory.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list