digitalmars.D - ASM SSE Instruction
- Chr. Grade (12/12) Jun 09 2004 I would like to know how to tell the compiler to swallow following code:
- Walter (4/16) Jun 09 2004 xmm0 => XMM0
I would like to know how to tell the compiler to swallow following code: float rsqrt_sse(float n) { asm { rsqrtss xmm0, n; movss n, xmm0; } return (n); } Thanks in advance. Chr. Grade
Jun 09 2004
xmm0 => XMM0 should do the trick. Registers are all caps in D's assembler. "Chr. Grade" <Chr._member pathlink.com> wrote in message news:ca6vat$28cn$1 digitaldaemon.com...I would like to know how to tell the compiler to swallow following code: float rsqrt_sse(float n) { asm { rsqrtss xmm0, n; movss n, xmm0; } return (n); } Thanks in advance. Chr. Grade
Jun 09 2004