aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/jit/dis_arm64.lua5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/jit/dis_arm64.lua b/src/jit/dis_arm64.lua
index 8cb608e6..6e3f9ff4 100644
--- a/src/jit/dis_arm64.lua
+++ b/src/jit/dis_arm64.lua
@@ -13,10 +13,9 @@
13-- NYI: Advanced SIMD and VFP instructions. 13-- NYI: Advanced SIMD and VFP instructions.
14------------------------------------------------------------------------------ 14------------------------------------------------------------------------------
15 15
16local type, tonumber = type, tonumber 16local type = type
17local sub, byte, format = string.sub, string.byte, string.format 17local sub, byte, format = string.sub, string.byte, string.format
18local match, gmatch, gsub = string.match, string.gmatch, string.gsub 18local match, gmatch, gsub = string.match, string.gmatch, string.gsub
19local rep = string.rep
20local concat = table.concat 19local concat = table.concat
21local bit = require("bit") 20local bit = require("bit")
22local band, bor, bxor, tohex = bit.band, bit.bor, bit.bxor, bit.tohex 21local band, bor, bxor, tohex = bit.band, bit.bor, bit.bxor, bit.tohex
@@ -864,7 +863,6 @@ local function disass_ins(ctx)
864 local operands = {} 863 local operands = {}
865 local suffix = "" 864 local suffix = ""
866 local last, name, pat 865 local last, name, pat
867 local vr
868 local map_reg 866 local map_reg
869 ctx.op = op 867 ctx.op = op
870 ctx.rel = nil 868 ctx.rel = nil
@@ -1014,7 +1012,6 @@ local function disass_ins(ctx)
1014 elseif p == "I" then 1012 elseif p == "I" then
1015 local shf = band(rshift(op, 22), 3) 1013 local shf = band(rshift(op, 22), 3)
1016 local imm12 = band(rshift(op, 10), 0x0fff) 1014 local imm12 = band(rshift(op, 10), 0x0fff)
1017 local n = #operands
1018 local rn, rd = band(rshift(op, 5), 31), band(op, 31) 1015 local rn, rd = band(rshift(op, 5), 31), band(op, 31)
1019 if altname == "mov" and shf == 0 and imm12 == 0 and (rn == 31 or rd == 31) then 1016 if altname == "mov" and shf == 0 and imm12 == 0 and (rn == 31 or rd == 31) then
1020 name = altname 1017 name = altname