Lines Matching refs:sz

301 local function mkrmap(sz, cl, names)
302 local cname = format("@%s", sz)
307 map_reg_opsize[cname] = sz
308 if sz == addrsize or sz == "d" then
314 local iname = format("@%s%x", sz, n-1)
319 map_reg_opsize[iname] = sz
320 if sz == "b" and n > 4 then map_reg_needrex[iname] = false end
321 if sz == addrsize or sz == "d" then
327 for i=0,(x64 and sz ~= "f") and 15 or 7 do
328 local needrex = sz == "b" and i > 3
329 local iname = format("@%s%x%s", sz, i, needrex and "R" or "")
332 if sz == "o" or sz == "y" then name = format("%s%d", cl, i)
333 elseif sz == "f" then name = format("st%d", i)
334 else name = format("r%d%s", i, sz == addrsize and "" or sz) end
340 map_reg_opsize[iname] = sz
341 if sz == addrsize or sz == "d" then
504 local function wputszarg(sz, n)
505 if not sz or sz == "d" or sz == "q" then wputdarg(n)
506 elseif sz == "w" then wputwarg(n)
507 elseif sz == "b" then wputbarg(n)
508 elseif sz == "s" then wputsbarg(n)
513 local function wputop(sz, op, rex, vex, vregr, vregxb)
538 if sz == "y" or vex.l then tail = tail + 4 end
552 if sz == "w" then wputb(102) end
571 if sz == "b" then op = op - 1 end
1886 local function dopattern(pat, args, sz, op, needrex)
1889 local szov = sz
1996 waction(sz == "w" and "IMM_WB" or "IMM_DB", imm)
1998 wputszarg(sz, imm)
2065 local sz, szmix, needrex
2070 if sz and sz ~= nsz then szmix = true else sz = nsz end
2093 dopattern(pat, args, sz, params.op, needrex) -- Process pattern.
2100 local szp = sz
2118 msg = sz and "bad operand size" or "missing operand size"
2132 local opcode, op64, sz, rex, vreg
2137 sz = a.opsize
2138 rex = sz == "q" and 8 or 0
2145 sz = a.opsize
2146 rex = sz == "q" and 8 or 0
2162 local psz, sk = wputop(sz, opcode, rex, nil, vreg)
2174 local sz = sub(params.op, 2, 2)
2175 if sz == "l" then sz = "d" elseif sz == "a" then sz = addrsize end
2177 local a = parseoperand(p, sz == "q")
2178 if sub(a.mode, 1, 1) ~= "i" or (a.opsize and a.opsize ~= sz) then
2183 elseif sz == "q" then
2186 wputszarg(sz, a.imm)