File tree 2 files changed +2
-8
lines changed
src/cmd/compile/internal/sparc64 2 files changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -17,12 +17,6 @@ cd tmp && GOOS=solaris GOARCH=sparc64 go tool compile -S cmp.go
17
17
cd tmp && GOOS=solaris GOARCH=sparc64 go tool compile -S shift.go
18
18
cd /tmp && lsr /Users/aram/go/test | grep \.go$ | xargs egrep -L 'ERROR' | xargs egrep -L 'import' | GOOS=solaris GOARCH=sparc64 xargs -n1 go tool compile >/tmp/errors
19
19
20
- ==
21
-
22
- ZR is used as a destination register
23
-
24
- ==
25
-
26
20
!!!
27
21
NO DYNAMIC SIZED INSTRUCTIONS
28
22
!!!
Original file line number Diff line number Diff line change @@ -113,15 +113,15 @@ func regnames(n *int) []string {
113
113
114
114
func excludedregs () uint64 {
115
115
// Exclude registers with fixed functions
116
- regbits := RtoB (sparc64 .REG_RSP ) | RtoB (sparc64 .REG_LR ) | RtoB (sparc64 .REG_GOT )
116
+ regbits := RtoB (sparc64 .REG_ZR ) | RtoB ( sparc64 . REG_RSP ) | RtoB (sparc64 .REG_LR ) | RtoB (sparc64 .REG_GOT )
117
117
118
118
// Exclude R26 - R31.
119
119
for r := sparc64 .REG_MAX + 1 ; r <= sparc64 .REG_R31 ; r ++ {
120
120
regbits |= RtoB (r )
121
121
}
122
122
123
123
// Exclude floating point registers with fixed functions
124
- regbits = RtoB (sparc64 .REG_YTMP )
124
+ regbits | = RtoB (sparc64 .REG_YTMP )
125
125
126
126
// Exclude Y16-Y31, since they don't exist.
127
127
for r := sparc64 .REG_Y15 + 1 ; r <= (sparc64 .REG_Y0 + 31 ); r ++ {
You can’t perform that action at this time.
0 commit comments