mirror of
git://c9x.me/qbe.git
synced 2026-04-05 18:09: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;
|
nfp = (r.val >> 8) & 15;
|
||||||
t5 = (r.val >> 12) & 1;
|
t5 = (r.val >> 12) & 1;
|
||||||
if (p) {
|
if (p) {
|
||||||
p[0] = ngp;
|
p[0] = ngp + t5;
|
||||||
p[1] = nfp;
|
p[1] = nfp;
|
||||||
}
|
}
|
||||||
b = 0;
|
b = 0;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user