You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cmd/compile: use ISEL, cleanup use of zero & extensions
Abandoned earlier efforts to expose zero register,
but left it in numbering to decrease squirrelyness of
register allocator.
ISELrelOp used in code generation of bool := x relOp y.
Some patterns added to better elide zero case and
some sign extension.
Updates: #17109
Change-Id: Ida7839f0023ca8f0ffddc0545f0ac269e65b05d9
Reviewed-on: https://go-review.googlesource.com/29380
Run-TryBot: David Chase <[email protected]>
TryBot-Result: Gobot Gobot <[email protected]>
Reviewed-by: Keith Randall <[email protected]>
Reviewed-by: Cherry Zhang <[email protected]>
Copy file name to clipboardExpand all lines: src/cmd/compile/internal/ssa/config.go
+6-2Lines changed: 6 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -32,8 +32,9 @@ type Config struct {
32
32
noDuffDevicebool// Don't use Duff's device
33
33
naclbool// GOOS=nacl
34
34
use387bool// GO386=387
35
+
OldArchbool// True for older versions of architecture, e.g. true for PPC64BE, false for PPC64LE
35
36
NeedsFpScratchbool// No direct move between GP and FP register sets
36
-
DebugTestbool// as a debugging aid for binary search using GOSSAHASH, make buggy new code conditional on this
37
+
DebugTestbool// default true unless $GOSSAHASH != ""; as a debugging aid, make new code conditional on this and use GOSSAHASH to binary search for failing cases
37
38
sparsePhiCutoffuint64// Sparse phi location algorithm used above this #blocks*#variables score
0 commit comments