[Issue 17854] Suboptimal code generated with constants and SSE

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Sep 24 04:59:25 UTC 2017


https://issues.dlang.org/show_bug.cgi?id=17854

--- Comment #1 from b2.temp at gmx.com ---
The was the multiplication happens is terrible anyway. LDC generates

  cvtss2sd xmm0, xmm0
  movapd xmm1, xmm0
  addsd xmm1, xmm1
  mulsd xmm1, xmm0
  cvttsd2si eax, xmm1
  ret

--


More information about the Digitalmars-d-bugs mailing list