mirror of
https://github.com/LuaJIT/LuaJIT.git
synced 2025-02-08 15:34:09 +00:00
Minor Fix, correct the parameter used
Instead of params[2] , params[1] was used, corrected it.
This commit is contained in:
parent
52368ac005
commit
df7c3245e0
@ -1316,7 +1316,7 @@ local function parse_template(params, template, nparams, pos)
|
|||||||
parse_imm16(params[2])
|
parse_imm16(params[2])
|
||||||
elseif p == "RRF-e" then
|
elseif p == "RRF-e" then
|
||||||
wputhw(op1)
|
wputhw(op1)
|
||||||
op2 = op2 + shl(parse_reg(params[1]),4) + shl(parse_mask(params[1]),12) + parse_reg(params[3])
|
op2 = op2 + shl(parse_reg(params[1]),4) + shl(parse_mask(params[2]),12) + parse_reg(params[3])
|
||||||
if params[4] then
|
if params[4] then
|
||||||
op2 = op2 + shl(parse_mask2(params[4]),8)
|
op2 = op2 + shl(parse_mask2(params[4]),8)
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user