Lines Matching refs:parse_imm
320 local function parse_imm(imm, bits, shift, scale, signed) function
448 return parse_imm(s2, 6, 10, 0, false) + shl(s, 22)
469 return (s2 == "" and 0 or parse_imm(s2, 3, 10, 0, false)) + shl(s, 13)
498 op = op + parse_reg_base(p1) + parse_imm(p2, 9, 12, 0, true) + 0x400
502 op = op + parse_reg_base(p1a) + parse_imm(p2a, 9, 12, 0, true) + 0xc00
575 return op + parse_reg_base(p1) + parse_imm(p2, 7, 15, scale, true)
972 op = op + parse_imm(q, 16, 5, 0, false); n = n + 1
976 op = op + parse_imm(q, 6, 16, 0, false); n = n + 1
978 op = op + parse_imm(q, 6, 10, 0, false); n = n + 1
980 op = op + parse_imm(q, 5, 16, 0, false); n = n + 1
982 op = op + parse_imm(q, 4, 0, 0, false); n = n + 1