Commit 93341e86 authored by Austin Clements's avatar Austin Clements

[dev.power64] cc: 8-byte align argument size on power64

LGTM=rsc
R=rsc
CC=golang-codereviews
https://golang.org/cl/163370043
parent 11ec8ab5
...@@ -72,7 +72,7 @@ argsize(int doret) ...@@ -72,7 +72,7 @@ argsize(int doret)
if(doret && thisfn->link->etype != TVOID) { if(doret && thisfn->link->etype != TVOID) {
s = align(s, thisfn->link, Aarg1, nil); s = align(s, thisfn->link, Aarg1, nil);
s = align(s, thisfn->link, Aarg2, nil); s = align(s, thisfn->link, Aarg2, nil);
if(thechar == '6') if(thechar == '6' || thechar == '9')
s = (s+7) & ~7; s = (s+7) & ~7;
else else
s = (s+3) & ~3; s = (s+3) & ~3;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment