Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Just for fun, this is what LuaJIT generated as code:

->LOOP:

7fff3dcfffd0 movaps xmm4, xmm5

7fff3dcfffd3 movaps xmm5, xmm6

7fff3dcfffd6 movaps xmm6, xmm7

7fff3dcfffd9 movaps xmm7, xmm4

7fff3dcfffdc movaps xmm4, xmm7

7fff3dcfffdf addsd xmm4, xmm4

7fff3dcfffe3 addsd xmm4, xmm5

7fff3dcfffe7 mulsd xmm6, xmm0

7fff3dcfffeb addsd xmm6, xmm4

7fff3dcfffef add ebp, +0x01

7fff3dcffff2 cmp ebp, eax

7fff3dcffff4 jle 0x7fff3dcfffd0 ->LOOP



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: