diff options
| author | Mike Pall <mike> | 2017-03-20 23:49:57 +0100 |
|---|---|---|
| committer | Mike Pall <mike> | 2017-03-20 23:49:57 +0100 |
| commit | 0cf78854a9abbe33cc3298b3db4f95a431031a1f (patch) | |
| tree | 6db02c7ebad7177e5938459f19c9fdad1a582ba4 /src | |
| parent | de5568e0eaf22d2c7d58c2cbd9060460abc4ff2f (diff) | |
| download | luajit-0cf78854a9abbe33cc3298b3db4f95a431031a1f.tar.gz luajit-0cf78854a9abbe33cc3298b3db4f95a431031a1f.tar.bz2 luajit-0cf78854a9abbe33cc3298b3db4f95a431031a1f.zip | |
ARM64: Fix XLOAD/XSTORE with FP operand.
Thanks to Stefan Pejic.
Diffstat (limited to 'src')
| -rw-r--r-- | src/lj_asm_arm64.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lj_asm_arm64.h b/src/lj_asm_arm64.h index 328e4d77..b58ab3a1 100644 --- a/src/lj_asm_arm64.h +++ b/src/lj_asm_arm64.h | |||
| @@ -286,7 +286,7 @@ static void asm_fusexref(ASMState *as, A64Ins ai, Reg rd, IRRef ref, | |||
| 286 | } | 286 | } |
| 287 | rm = ra_alloc1(as, lref, allow); | 287 | rm = ra_alloc1(as, lref, allow); |
| 288 | rn = ra_alloc1(as, rref, rset_exclude(allow, rm)); | 288 | rn = ra_alloc1(as, rref, rset_exclude(allow, rm)); |
| 289 | emit_dnm(as, (ai^A64I_LS_R), rd, rn, rm); | 289 | emit_dnm(as, (ai^A64I_LS_R), (rd & 31), rn, rm); |
| 290 | return; | 290 | return; |
| 291 | } | 291 | } |
| 292 | } else if (ir->o == IR_STRREF) { | 292 | } else if (ir->o == IR_STRREF) { |
