diff options
author | Mike Pall <mike> | 2017-04-17 12:04:08 +0200 |
---|---|---|
committer | Mike Pall <mike> | 2017-04-17 12:04:08 +0200 |
commit | ed54eace64485df724103a12ca1b497388246e69 (patch) | |
tree | 699d2e1858bb218c1b4ffd44af57bf004cbe8952 /src | |
parent | 58aaac3c6401bf2cd994a624defb6e5433db498a (diff) | |
download | luajit-ed54eace64485df724103a12ca1b497388246e69.tar.gz luajit-ed54eace64485df724103a12ca1b497388246e69.tar.bz2 luajit-ed54eace64485df724103a12ca1b497388246e69.zip |
MIPS64: Fix stores of MULTRES.
Contributed by Stefan Pejic.
Diffstat (limited to 'src')
-rw-r--r-- | src/vm_mips64.dasc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vm_mips64.dasc b/src/vm_mips64.dasc index 918fbcba..c06270a0 100644 --- a/src/vm_mips64.dasc +++ b/src/vm_mips64.dasc | |||
@@ -2327,7 +2327,7 @@ static void build_subroutines(BuildCtx *ctx) | |||
2327 | |->vm_profhook: // Dispatch target for profiler hook. | 2327 | |->vm_profhook: // Dispatch target for profiler hook. |
2328 | #if LJ_HASPROFILE | 2328 | #if LJ_HASPROFILE |
2329 | | load_got lj_dispatch_profile | 2329 | | load_got lj_dispatch_profile |
2330 | | sd MULTRES, SAVE_MULTRES | 2330 | | sw MULTRES, SAVE_MULTRES |
2331 | | move CARG2, PC | 2331 | | move CARG2, PC |
2332 | | sd BASE, L->base | 2332 | | sd BASE, L->base |
2333 | | call_intern lj_dispatch_profile // (lua_State *L, const BCIns *pc) | 2333 | | call_intern lj_dispatch_profile // (lua_State *L, const BCIns *pc) |
@@ -2423,7 +2423,7 @@ static void build_subroutines(BuildCtx *ctx) | |||
2423 | | .FPU lui TMP3, 0x59c0 // TOBIT = 2^52 + 2^51 (float). | 2423 | | .FPU lui TMP3, 0x59c0 // TOBIT = 2^52 + 2^51 (float). |
2424 | | dsll MULTRES, CRET1, 3 | 2424 | | dsll MULTRES, CRET1, 3 |
2425 | | cleartp LFUNC:RB | 2425 | | cleartp LFUNC:RB |
2426 | | sd MULTRES, SAVE_MULTRES | 2426 | | sw MULTRES, SAVE_MULTRES |
2427 | | li TISNIL, LJ_TNIL | 2427 | | li TISNIL, LJ_TNIL |
2428 | | li TISNUM, LJ_TISNUM // Setup type comparison constants. | 2428 | | li TISNUM, LJ_TISNUM // Setup type comparison constants. |
2429 | | .FPU mtc1 TMP3, TOBIT | 2429 | | .FPU mtc1 TMP3, TOBIT |