mirror of
https://github.com/LuaJIT/LuaJIT.git
synced 2025-02-07 23:24:09 +00:00
Merge branch 'master' into v2.1
This commit is contained in:
commit
839fb5bd72
@ -4101,8 +4101,8 @@ static void build_ins(BuildCtx *ctx, BCOp op, int defop)
|
|||||||
|.macro addo32., y, a, b
|
|.macro addo32., y, a, b
|
||||||
| // Need to check overflow for (a<<32) + (b<<32).
|
| // Need to check overflow for (a<<32) + (b<<32).
|
||||||
| rldicr TMP0, a, 32, 31
|
| rldicr TMP0, a, 32, 31
|
||||||
| rldicr TMP3, b, 32, 31
|
| rldicr TMP1, b, 32, 31
|
||||||
| addo. TMP0, TMP0, TMP3
|
| addo. TMP0, TMP0, TMP1
|
||||||
| add y, a, b
|
| add y, a, b
|
||||||
|.endmacro
|
|.endmacro
|
||||||
| ins_arith addo32., fadd, __adddf3
|
| ins_arith addo32., fadd, __adddf3
|
||||||
@ -4115,8 +4115,8 @@ static void build_ins(BuildCtx *ctx, BCOp op, int defop)
|
|||||||
|.macro subo32., y, a, b
|
|.macro subo32., y, a, b
|
||||||
| // Need to check overflow for (a<<32) - (b<<32).
|
| // Need to check overflow for (a<<32) - (b<<32).
|
||||||
| rldicr TMP0, a, 32, 31
|
| rldicr TMP0, a, 32, 31
|
||||||
| rldicr TMP3, b, 32, 31
|
| rldicr TMP1, b, 32, 31
|
||||||
| subo. TMP0, TMP0, TMP3
|
| subo. TMP0, TMP0, TMP1
|
||||||
| sub y, a, b
|
| sub y, a, b
|
||||||
|.endmacro
|
|.endmacro
|
||||||
| ins_arith subo32., fsub, __subdf3
|
| ins_arith subo32., fsub, __subdf3
|
||||||
|
Loading…
Reference in New Issue
Block a user