mirror of
git://c9x.me/qbe.git
synced 2026-04-05 09:59:47 +00:00
fix register count in riscv argregs
This commit is contained in:
parent
c5769f62b4
commit
c656c48f04
@ -82,7 +82,7 @@ rv64_argregs(Ref r, int p[2])
|
||||
nfp = (r.val >> 8) & 15;
|
||||
t5 = (r.val >> 12) & 1;
|
||||
if (p) {
|
||||
p[0] = ngp;
|
||||
p[0] = ngp + t5;
|
||||
p[1] = nfp;
|
||||
}
|
||||
b = 0;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user