Commit 060a2bac authored by Michael Hudson-Doyle's avatar Michael Hudson-Doyle

cmd/internal/obj/ppc64: eliminate ~700 conversions by tweaking signatures

This is mostly changing the opXXX helpers to take an int16 (matching Prog.As)
argument and return a uint32. The only bit that's not completely trivial is
passing -p.As to opirr to signal operating on a shifted constant, because AADD
+ ALAST overflows int16.

Change-Id: I69133800bbe41c38fa4a89bbbf49823043b3419c
Reviewed-on: https://go-review.googlesource.com/20182Reviewed-by: 's avatarBrad Fitzpatrick <bradfitz@golang.org>
parent a162d115
This diff is collapsed.
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