Lines Matching refs:expr
1455 local function parse_gpr(expr)
1456 local tname, ovreg = match(expr, "^([%w_]+):(r[1-3]?[0-9])$")
1457 local tp = map_type[tname or expr]
1461 werror("type `"..(tname or expr).."' needs a register override")
1463 expr = reg
1465 local r = match(expr, "^r([1-3]?[0-9])$")
1470 werror("bad register name `"..expr.."'")
1473 local function parse_fpr(expr)
1474 local r = match(expr, "^f([1-3]?[0-9])$")
1479 werror("bad register name `"..expr.."'")
1482 local function parse_vr(expr)
1483 local r = match(expr, "^v([1-3]?[0-9])$")
1488 werror("bad register name `"..expr.."'")
1491 local function parse_vs(expr)
1492 local r = match(expr, "^vs([1-6]?[0-9])$")
1497 werror("bad register name `"..expr.."'")
1500 local function parse_cr(expr)
1501 local r = match(expr, "^cr([0-7])$")
1503 werror("bad condition register name `"..expr.."'")
1506 local function parse_cond(expr)
1507 local r, cond = match(expr, "^4%*cr([0-7])%+(%w%w)$")
1513 werror("bad condition bit name `"..expr.."'")