summaryrefslogtreecommitdiff
path: root/src/jit
diff options
context:
space:
mode:
authorMike Pall <mike>2012-08-09 13:11:43 +0200
committerMike Pall <mike>2012-08-09 13:13:11 +0200
commit4dc9e22def294492d0aaab1064d2805c2f721c8d (patch)
treecba2ab9e659690ca88e07b1bd7b36ba2634dd63b /src/jit
parente6fac91d01eff614314ce577ac75f80fadf17517 (diff)
downloadluajit2-4dc9e22def294492d0aaab1064d2805c2f721c8d.tar.gz
ARM: Add VFP and hard-float ABI variants to JIT compiler.
Diffstat (limited to 'src/jit')
-rw-r--r--src/jit/dis_arm.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/jit/dis_arm.lua b/src/jit/dis_arm.lua
index ecca392f..d37a9750 100644
--- a/src/jit/dis_arm.lua
+++ b/src/jit/dis_arm.lua
@@ -676,7 +676,8 @@ end
-- Return register name for RID.
local function regname_(r)
- return map_gpr[r]
+ if r < 16 then return map_gpr[r] end
+ return "d"..(r-16)
end
-- Public module functions.