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
518 local function wputszarg(sz, n)
519 if not sz or sz == "d" or sz == "q" then wputdarg(n)
520 elseif sz == "w" then wputwarg(n)
521 elseif sz == "b" then wputbarg(n)
522 elseif sz == "s" then wputsbarg(n)
527 local function wputop(sz, op, rex, vex, vregr, vregxb)
552 if sz == "y" or vex.l then tail = tail + 4 end
566 if sz == "w" then wputb(102) end
585 if sz == "b" then op = op - 1 end
1802 local function dopattern(pat, args, sz, op, needrex)
1805 local szov = sz
1912 waction(sz == "w" and "IMM_WB" or "IMM_DB", imm)
1914 wputszarg(sz, imm)
1981 local sz, szmix, needrex
1986 if sz and sz ~= nsz then szmix = true else sz = nsz end
2009 dopattern(pat, args, sz, params.op, needrex) -- Process pattern.
2016 local szp = sz
2034 msg = sz and "bad operand size" or "missing operand size"
2048 local opcode, op64, sz, rex, vreg
2053 sz = a.opsize
2054 rex = sz == "q" and 8 or 0
2061 sz = a.opsize
2062 rex = sz == "q" and 8 or 0
2078 local psz, sk = wputop(sz, opcode, rex, nil, vreg)
2090 local sz = sub(params.op, 2, 2)
2091 if sz == "a" then sz = addrsize end
2094 if sub(a.mode, 1, 1) ~= "i" or (a.opsize and a.opsize ~= sz) then
2098 if sz == 'q' then
2104 if sz == 'q' then
2107 wputszarg(sz, a.imm)