DynASM/ARM: Fix conditional VFP instruction encoding.

This commit is contained in:
Mike Pall 2012-10-15 16:52:18 +02:00
parent 1447ee6520
commit 894d2d6ef4

View File

@ -1106,7 +1106,10 @@ function _M.mergemaps(map_coreop, map_def)
local cv = map_cond[cc]
if cv then
local v = rawget(t, k1..k2)
if type(v) == "string" then return format("%x%s", cv, sub(v, 2)) end
if type(v) == "string" then
local scv = format("%x", cv)
return gsub(scv..sub(v, 2), "|e", "|"..scv)
end
end
end })
setmetatable(map_def, { __index = map_archdef })