diff options
author | Mike Pall <mike> | 2011-02-02 21:33:11 +0100 |
---|---|---|
committer | Mike Pall <mike> | 2011-02-02 21:33:11 +0100 |
commit | 1027018b2135caf45057c3d3b3da03ffb0c6add3 (patch) | |
tree | 3d3eeae358900db5e164f9d4d80f819e84c7c895 /src/lj_asm.c | |
parent | 433fd18f6d44ab5fc68f65cfdf1d1fab7d89992e (diff) | |
download | luajit-1027018b2135caf45057c3d3b3da03ffb0c6add3.tar.gz luajit-1027018b2135caf45057c3d3b3da03ffb0c6add3.tar.bz2 luajit-1027018b2135caf45057c3d3b3da03ffb0c6add3.zip |
Rename IR_POWI to IR_POW.
Diffstat (limited to 'src/lj_asm.c')
-rw-r--r-- | src/lj_asm.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lj_asm.c b/src/lj_asm.c index 27c9ac31..8864c9a3 100644 --- a/src/lj_asm.c +++ b/src/lj_asm.c | |||
@@ -2749,7 +2749,7 @@ static void asm_fpmath(ASMState *as, IRIns *ir) | |||
2749 | } | 2749 | } |
2750 | } | 2750 | } |
2751 | 2751 | ||
2752 | static void asm_powi(ASMState *as, IRIns *ir) | 2752 | static void asm_fppowi(ASMState *as, IRIns *ir) |
2753 | { | 2753 | { |
2754 | /* The modified regs must match with the *.dasc implementation. */ | 2754 | /* The modified regs must match with the *.dasc implementation. */ |
2755 | RegSet drop = RSET_RANGE(RID_XMM0, RID_XMM1+1)|RID2RSET(RID_EAX); | 2755 | RegSet drop = RSET_RANGE(RID_XMM0, RID_XMM1+1)|RID2RSET(RID_EAX); |
@@ -4020,14 +4020,14 @@ static void asm_ir(ASMState *as, IRIns *ir) | |||
4020 | case IR_FPMATH: case IR_ATAN2: case IR_LDEXP: | 4020 | case IR_FPMATH: case IR_ATAN2: case IR_LDEXP: |
4021 | asm_fpmath(as, ir); | 4021 | asm_fpmath(as, ir); |
4022 | break; | 4022 | break; |
4023 | case IR_POWI: | 4023 | case IR_POW: |
4024 | #if LJ_64 && LJ_HASFFI | 4024 | #if LJ_64 && LJ_HASFFI |
4025 | if (!irt_isnum(ir->t)) | 4025 | if (!irt_isnum(ir->t)) |
4026 | asm_arith64(as, ir, irt_isi64(ir->t) ? IRCALL_lj_carith_powi64 : | 4026 | asm_arith64(as, ir, irt_isi64(ir->t) ? IRCALL_lj_carith_powi64 : |
4027 | IRCALL_lj_carith_powu64); | 4027 | IRCALL_lj_carith_powu64); |
4028 | else | 4028 | else |
4029 | #endif | 4029 | #endif |
4030 | asm_powi(as, ir); | 4030 | asm_fppowi(as, ir); |
4031 | break; | 4031 | break; |
4032 | 4032 | ||
4033 | /* Overflow-checking arithmetic ops. Note: don't use LEA here! */ | 4033 | /* Overflow-checking arithmetic ops. Note: don't use LEA here! */ |
@@ -4183,7 +4183,7 @@ static void asm_setup_regsp(ASMState *as, GCtrace *T) | |||
4183 | if (inloop) | 4183 | if (inloop) |
4184 | as->modset = RSET_SCRATCH; | 4184 | as->modset = RSET_SCRATCH; |
4185 | break; | 4185 | break; |
4186 | case IR_POWI: | 4186 | case IR_POW: |
4187 | if (irt_isnum(ir->t)) { | 4187 | if (irt_isnum(ir->t)) { |
4188 | ir->prev = REGSP_HINT(RID_XMM0); | 4188 | ir->prev = REGSP_HINT(RID_XMM0); |
4189 | if (inloop) | 4189 | if (inloop) |