D for Game Development

Walter Bright via Digitalmars-d digitalmars-d at puremagic.com
Sun Aug 9 01:18:47 PDT 2015


On 8/9/2015 1:11 AM, Walter Bright wrote:
> You're seeing that on Linux because doubles are passed/returned in XMM0 on
> Linux, and the only way to load XMM0 into the x87 is to pass it through a memory
> location. There's still no casting to/from real, even in that asm code.

BTW, if you want to suggest faster emitted code for cos(float) and cos(double), 
I'm game! Fire away!


More information about the Digitalmars-d mailing list