refine width of parsb/ub/sh/uh ops
This commit is contained in:
parent
a9a70e30a8
commit
bda9f2833c
1 changed files with 2 additions and 0 deletions
2
ssa.c
2
ssa.c
|
@ -77,6 +77,8 @@ filluse(Fn *fn)
|
|||
if (!req(i->to, R)) {
|
||||
assert(rtype(i->to) == RTmp);
|
||||
w = WFull;
|
||||
if (isparbh(i->op))
|
||||
w = Wsb + (i->op - Oparsb);
|
||||
if (isload(i->op) && i->op != Oload)
|
||||
w = Wsb + (i->op - Oloadsb);
|
||||
if (isext(i->op))
|
||||
|
|
Loading…
Add table
Reference in a new issue