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
1882 local function dopattern(pat, args, sz, op, needrex)
1885 local szov = sz
1992 waction(sz == "w" and "IMM_WB" or "IMM_DB", imm)
1994 wputszarg(sz, imm)
2061 local sz, szmix, needrex
2066 if sz and sz ~= nsz then szmix = true else sz = nsz end
2089 dopattern(pat, args, sz, params.op, needrex) -- Process pattern.
2096 local szp = sz
2114 msg = sz and "bad operand size" or "missing operand size"
2128 local opcode, op64, sz, rex, vreg
2133 sz = a.opsize
2134 rex = sz == "q" and 8 or 0
2141 sz = a.opsize
2142 rex = sz == "q" and 8 or 0
2158 local psz, sk = wputop(sz, opcode, rex, nil, vreg)
2170 local sz = sub(params.op, 2, 2)
2171 if sz == "l" then sz = "d" elseif sz == "a" then sz = addrsize end
2173 local a = parseoperand(p, sz == "q")
2174 if sub(a.mode, 1, 1) ~= "i" or (a.opsize and a.opsize ~= sz) then
2179 elseif sz == "q" then
2182 wputszarg(sz, a.imm)