mirror of
https://github.com/LuaJIT/LuaJIT.git
synced 2025-02-08 15:34:09 +00:00
Adding RRD support
Currently only "maer" is implemented. I am not able to get this working, don't know if I am missing out something, or we need to add some more functionality for RRD.
This commit is contained in:
parent
79cc499172
commit
127f0fd745
@ -885,6 +885,7 @@ map_op = {
|
|||||||
msgfr_2 = "0000b91c0000h",
|
msgfr_2 = "0000b91c0000h",
|
||||||
msfi_2 = "c20100000000n",
|
msfi_2 = "c20100000000n",
|
||||||
msgfi_2 = "c20000000000n",
|
msgfi_2 = "c20000000000n",
|
||||||
|
maer_3 = "0000b32e0000r",
|
||||||
o_2 = "000056000000j",
|
o_2 = "000056000000j",
|
||||||
or_2 = "000000001600g",
|
or_2 = "000000001600g",
|
||||||
oy_2 = "e30000000056l",
|
oy_2 = "e30000000056l",
|
||||||
@ -1080,6 +1081,9 @@ local function parse_template(params, template, nparams, pos)
|
|||||||
op2 = op2 + shl(b, 12) + d
|
op2 = op2 + shl(b, 12) + d
|
||||||
wputhw(op1); wputhw(op2)
|
wputhw(op1); wputhw(op2)
|
||||||
if a then a() end -- a() emits action.
|
if a then a() end -- a() emits action.
|
||||||
|
elseif p == "r" then
|
||||||
|
op2 = op2 + shl(parse_reg(params[1]),12) + shl(parse_reg(params[2]),4) + parse_reg(params[3])
|
||||||
|
wputhw(op1); wputhw(op2)
|
||||||
elseif p == "s" then
|
elseif p == "s" then
|
||||||
local d, b, a = parse_mem_by(params[3])
|
local d, b, a = parse_mem_by(params[3])
|
||||||
op0 = op0 + shl(parse_reg(params[1]), 4) + parse_reg(params[2])
|
op0 = op0 + shl(parse_reg(params[1]), 4) + parse_reg(params[2])
|
||||||
|
Loading…
Reference in New Issue
Block a user