diff options
| author | Mike Pall <mike> | 2009-12-29 02:16:52 +0100 |
|---|---|---|
| committer | Mike Pall <mike> | 2009-12-29 02:16:52 +0100 |
| commit | 52f310bd3e214f876b4681d7ea3e5d6472feba5c (patch) | |
| tree | 9065c96ab576506912deed0dd3ff26ccc8c65c35 | |
| parent | d18d1573d8f37de44cfeef580d244d17561c73d7 (diff) | |
| download | luajit-52f310bd3e214f876b4681d7ea3e5d6472feba5c.tar.gz luajit-52f310bd3e214f876b4681d7ea3e5d6472feba5c.tar.bz2 luajit-52f310bd3e214f876b4681d7ea3e5d6472feba5c.zip | |
Fix x64 lj_vm_pow_sse().
| -rw-r--r-- | src/buildvm_x86.dasc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/buildvm_x86.dasc b/src/buildvm_x86.dasc index 3b89debb..53ce9c99 100644 --- a/src/buildvm_x86.dasc +++ b/src/buildvm_x86.dasc | |||
| @@ -3022,9 +3022,9 @@ static void build_subroutines(BuildCtx *ctx, int cmov, int sse) | |||
| 3022 | |8: // FP/FP power function x^y. | 3022 | |8: // FP/FP power function x^y. |
| 3023 | |.if X64 | 3023 | |.if X64 |
| 3024 | | movd rax, xmm1; shl rax, 1 | 3024 | | movd rax, xmm1; shl rax, 1 |
| 3025 | | ror rax, 32; cmp rax, 0xffe00000; je >2 // x^+-Inf? | 3025 | | rol rax, 12; cmp rax, 0xffe; je >2 // x^+-Inf? |
| 3026 | | movd rax, xmm0; shl rax, 1; je >4 // +-0^y? | 3026 | | movd rax, xmm0; shl rax, 1; je >4 // +-0^y? |
| 3027 | | ror rax, 32; cmp rax, 0xffe00000; je >5 // +-Inf^y? | 3027 | | rol rax, 12; cmp rax, 0xffe; je >5 // +-Inf^y? |
| 3028 | | .if X64WIN | 3028 | | .if X64WIN |
| 3029 | | movsd qword [rsp+16], xmm1 // Use scratch area. | 3029 | | movsd qword [rsp+16], xmm1 // Use scratch area. |
| 3030 | | movsd qword [rsp+8], xmm0 | 3030 | | movsd qword [rsp+8], xmm0 |
