aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/compile/internal/ssa/rewrite386.go
diff options
context:
space:
mode:
authorDaniel Martí <mvdan@mvdan.cc>2019-09-19 15:31:03 +0100
committerDaniel Martí <mvdan@mvdan.cc>2019-09-23 16:36:10 +0000
commit870080752d175d5cede350486acf36213c64f35c (patch)
tree9fdf610cb118ed31f29a5c2f572870808cd18b49 /src/cmd/compile/internal/ssa/rewrite386.go
parent34fe8295c5ac099109d7f8a1f967edec96f2a71d (diff)
downloadgo-870080752d175d5cede350486acf36213c64f35c.tar.gz
go-870080752d175d5cede350486acf36213c64f35c.zip
cmd/compile: reduce rulegen's output by 200 KiB
First, renove unnecessary "// cond:" lines from the generated files. This shaves off about ~7k lines. Second, join "if cond { break }" statements via "||", which allows us to deduplicate a large number of them. This shaves off another ~25k lines. This change is not for readability or simplicity; but rather, to avoid unnecessary verbosity that makes the generated files larger. All in all, git reports that the generated files overall weigh ~200KiB less, or about 2.7% less. While at it, add a -trace flag to rulegen. Updates #33644. Change-Id: I3fac0290a6066070cc62400bf970a4ae0929470a Reviewed-on: https://go-review.googlesource.com/c/go/+/196498 Run-TryBot: Daniel Martí <mvdan@mvdan.cc> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Keith Randall <khr@golang.org>
Diffstat (limited to 'src/cmd/compile/internal/ssa/rewrite386.go')
-rw-r--r--src/cmd/compile/internal/ssa/rewrite386.go3632
1 files changed, 425 insertions, 3207 deletions
diff --git a/src/cmd/compile/internal/ssa/rewrite386.go b/src/cmd/compile/internal/ssa/rewrite386.go
index a4796060cf..08139d6ae4 100644
--- a/src/cmd/compile/internal/ssa/rewrite386.go
+++ b/src/cmd/compile/internal/ssa/rewrite386.go
@@ -709,7 +709,6 @@ func rewriteValue386(v *Value) bool {
}
func rewriteValue386_Op386ADCL_0(v *Value) bool {
// match: (ADCL x (MOVLconst [c]) f)
- // cond:
// result: (ADCLconst [c] x f)
for {
f := v.Args[2]
@@ -726,7 +725,6 @@ func rewriteValue386_Op386ADCL_0(v *Value) bool {
return true
}
// match: (ADCL (MOVLconst [c]) x f)
- // cond:
// result: (ADCLconst [c] x f)
for {
f := v.Args[2]
@@ -743,7 +741,6 @@ func rewriteValue386_Op386ADCL_0(v *Value) bool {
return true
}
// match: (ADCL (MOVLconst [c]) x f)
- // cond:
// result: (ADCLconst [c] x f)
for {
f := v.Args[2]
@@ -760,7 +757,6 @@ func rewriteValue386_Op386ADCL_0(v *Value) bool {
return true
}
// match: (ADCL x (MOVLconst [c]) f)
- // cond:
// result: (ADCLconst [c] x f)
for {
f := v.Args[2]
@@ -780,7 +776,6 @@ func rewriteValue386_Op386ADCL_0(v *Value) bool {
}
func rewriteValue386_Op386ADDL_0(v *Value) bool {
// match: (ADDL x (MOVLconst [c]))
- // cond:
// result: (ADDLconst [c] x)
for {
_ = v.Args[1]
@@ -796,7 +791,6 @@ func rewriteValue386_Op386ADDL_0(v *Value) bool {
return true
}
// match: (ADDL (MOVLconst [c]) x)
- // cond:
// result: (ADDLconst [c] x)
for {
x := v.Args[1]
@@ -826,10 +820,7 @@ func rewriteValue386_Op386ADDL_0(v *Value) bool {
break
}
d := v_1.AuxInt
- if x != v_1.Args[0] {
- break
- }
- if !(d == 32-c) {
+ if x != v_1.Args[0] || !(d == 32-c) {
break
}
v.reset(Op386ROLLconst)
@@ -853,10 +844,7 @@ func rewriteValue386_Op386ADDL_0(v *Value) bool {
break
}
c := v_1.AuxInt
- if x != v_1.Args[0] {
- break
- }
- if !(d == 32-c) {
+ if x != v_1.Args[0] || !(d == 32-c) {
break
}
v.reset(Op386ROLLconst)
@@ -881,10 +869,7 @@ func rewriteValue386_Op386ADDL_0(v *Value) bool {
break
}
d := v_1.AuxInt
- if x != v_1.Args[0] {
- break
- }
- if !(c < 16 && d == 16-c && t.Size() == 2) {
+ if x != v_1.Args[0] || !(c < 16 && d == 16-c && t.Size() == 2) {
break
}
v.reset(Op386ROLWconst)
@@ -909,10 +894,7 @@ func rewriteValue386_Op386ADDL_0(v *Value) bool {
break
}
c := v_1.AuxInt
- if x != v_1.Args[0] {
- break
- }
- if !(c < 16 && d == 16-c && t.Size() == 2) {
+ if x != v_1.Args[0] || !(c < 16 && d == 16-c && t.Size() == 2) {
break
}
v.reset(Op386ROLWconst)
@@ -937,10 +919,7 @@ func rewriteValue386_Op386ADDL_0(v *Value) bool {
break
}
d := v_1.AuxInt
- if x != v_1.Args[0] {
- break
- }
- if !(c < 8 && d == 8-c && t.Size() == 1) {
+ if x != v_1.Args[0] || !(c < 8 && d == 8-c && t.Size() == 1) {
break
}
v.reset(Op386ROLBconst)
@@ -965,10 +944,7 @@ func rewriteValue386_Op386ADDL_0(v *Value) bool {
break
}
c := v_1.AuxInt
- if x != v_1.Args[0] {
- break
- }
- if !(c < 8 && d == 8-c && t.Size() == 1) {
+ if x != v_1.Args[0] || !(c < 8 && d == 8-c && t.Size() == 1) {
break
}
v.reset(Op386ROLBconst)
@@ -977,16 +953,12 @@ func rewriteValue386_Op386ADDL_0(v *Value) bool {
return true
}
// match: (ADDL x (SHLLconst [3] y))
- // cond:
// result: (LEAL8 x y)
for {
_ = v.Args[1]
x := v.Args[0]
v_1 := v.Args[1]
- if v_1.Op != Op386SHLLconst {
- break
- }
- if v_1.AuxInt != 3 {
+ if v_1.Op != Op386SHLLconst || v_1.AuxInt != 3 {
break
}
y := v_1.Args[0]
@@ -996,15 +968,11 @@ func rewriteValue386_Op386ADDL_0(v *Value) bool {
return true
}
// match: (ADDL (SHLLconst [3] y) x)
- // cond:
// result: (LEAL8 x y)
for {
x := v.Args[1]
v_0 := v.Args[0]
- if v_0.Op != Op386SHLLconst {
- break
- }
- if v_0.AuxInt != 3 {
+ if v_0.Op != Op386SHLLconst || v_0.AuxInt != 3 {
break
}
y := v_0.Args[0]
@@ -1017,16 +985,12 @@ func rewriteValue386_Op386ADDL_0(v *Value) bool {
}
func rewriteValue386_Op386ADDL_10(v *Value) bool {
// match: (ADDL x (SHLLconst [2] y))
- // cond:
// result: (LEAL4 x y)
for {
_ = v.Args[1]
x := v.Args[0]
v_1 := v.Args[1]
- if v_1.Op != Op386SHLLconst {
- break
- }
- if v_1.AuxInt != 2 {
+ if v_1.Op != Op386SHLLconst || v_1.AuxInt != 2 {
break
}
y := v_1.Args[0]
@@ -1036,15 +1000,11 @@ func rewriteValue386_Op386ADDL_10(v *Value) bool {
return true
}
// match: (ADDL (SHLLconst [2] y) x)
- // cond:
// result: (LEAL4 x y)
for {
x := v.Args[1]
v_0 := v.Args[0]
- if v_0.Op != Op386SHLLconst {
- break
- }
- if v_0.AuxInt != 2 {
+ if v_0.Op != Op386SHLLconst || v_0.AuxInt != 2 {
break
}
y := v_0.Args[0]
@@ -1054,16 +1014,12 @@ func rewriteValue386_Op386ADDL_10(v *Value) bool {
return true
}
// match: (ADDL x (SHLLconst [1] y))
- // cond:
// result: (LEAL2 x y)
for {
_ = v.Args[1]
x := v.Args[0]
v_1 := v.Args[1]
- if v_1.Op != Op386SHLLconst {
- break
- }
- if v_1.AuxInt != 1 {
+ if v_1.Op != Op386SHLLconst || v_1.AuxInt != 1 {
break
}
y := v_1.Args[0]
@@ -1073,15 +1029,11 @@ func rewriteValue386_Op386ADDL_10(v *Value) bool {
return true
}
// match: (ADDL (SHLLconst [1] y) x)
- // cond:
// result: (LEAL2 x y)
for {
x := v.Args[1]
v_0 := v.Args[0]
- if v_0.Op != Op386SHLLconst {
- break
- }
- if v_0.AuxInt != 1 {
+ if v_0.Op != Op386SHLLconst || v_0.AuxInt != 1 {
break
}
y := v_0.Args[0]
@@ -1091,7 +1043,6 @@ func rewriteValue386_Op386ADDL_10(v *Value) bool {
return true
}
// match: (ADDL x (ADDL y y))
- // cond:
// result: (LEAL2 x y)
for {
_ = v.Args[1]
@@ -1110,7 +1061,6 @@ func rewriteValue386_Op386ADDL_10(v *Value) bool {
return true
}
// match: (ADDL (ADDL y y) x)
- // cond:
// result: (LEAL2 x y)
for {
x := v.Args[1]
@@ -1128,7 +1078,6 @@ func rewriteValue386_Op386ADDL_10(v *Value) bool {
return true
}
// match: (ADDL x (ADDL x y))
- // cond:
// result: (LEAL2 y x)
for {
_ = v.Args[1]
@@ -1147,7 +1096,6 @@ func rewriteValue386_Op386ADDL_10(v *Value) bool {
return true
}
// match: (ADDL x (ADDL y x))
- // cond:
// result: (LEAL2 y x)
for {
_ = v.Args[1]
@@ -1167,7 +1115,6 @@ func rewriteValue386_Op386ADDL_10(v *Value) bool {
return true
}
// match: (ADDL (ADDL x y) x)
- // cond:
// result: (LEAL2 y x)
for {
x := v.Args[1]
@@ -1185,7 +1132,6 @@ func rewriteValue386_Op386ADDL_10(v *Value) bool {
return true
}
// match: (ADDL (ADDL y x) x)
- // cond:
// result: (LEAL2 y x)
for {
x := v.Args[1]
@@ -1207,7 +1153,6 @@ func rewriteValue386_Op386ADDL_10(v *Value) bool {
}
func rewriteValue386_Op386ADDL_20(v *Value) bool {
// match: (ADDL (ADDLconst [c] x) y)
- // cond:
// result: (LEAL1 [c] x y)
for {
y := v.Args[1]
@@ -1224,7 +1169,6 @@ func rewriteValue386_Op386ADDL_20(v *Value) bool {
return true
}
// match: (ADDL y (ADDLconst [c] x))
- // cond:
// result: (LEAL1 [c] x y)
for {
_ = v.Args[1]
@@ -1389,7 +1333,6 @@ func rewriteValue386_Op386ADDL_20(v *Value) bool {
return true
}
// match: (ADDL x (NEGL y))
- // cond:
// result: (SUBL x y)
for {
_ = v.Args[1]
@@ -1405,7 +1348,6 @@ func rewriteValue386_Op386ADDL_20(v *Value) bool {
return true
}
// match: (ADDL (NEGL y) x)
- // cond:
// result: (SUBL x y)
for {
x := v.Args[1]
@@ -1423,7 +1365,6 @@ func rewriteValue386_Op386ADDL_20(v *Value) bool {
}
func rewriteValue386_Op386ADDLcarry_0(v *Value) bool {
// match: (ADDLcarry x (MOVLconst [c]))
- // cond:
// result: (ADDLconstcarry [c] x)
for {
_ = v.Args[1]
@@ -1439,7 +1380,6 @@ func rewriteValue386_Op386ADDLcarry_0(v *Value) bool {
return true
}
// match: (ADDLcarry (MOVLconst [c]) x)
- // cond:
// result: (ADDLconstcarry [c] x)
for {
x := v.Args[1]
@@ -1457,7 +1397,6 @@ func rewriteValue386_Op386ADDLcarry_0(v *Value) bool {
}
func rewriteValue386_Op386ADDLconst_0(v *Value) bool {
// match: (ADDLconst [c] (ADDL x y))
- // cond:
// result: (LEAL1 [c] x y)
for {
c := v.AuxInt
@@ -1601,7 +1540,6 @@ func rewriteValue386_Op386ADDLconst_0(v *Value) bool {
return true
}
// match: (ADDLconst [c] (MOVLconst [d]))
- // cond:
// result: (MOVLconst [int64(int32(c+d))])
for {
c := v.AuxInt
@@ -1615,7 +1553,6 @@ func rewriteValue386_Op386ADDLconst_0(v *Value) bool {
return true
}
// match: (ADDLconst [c] (ADDLconst [d] x))
- // cond:
// result: (ADDLconst [int64(int32(c+d))] x)
for {
c := v.AuxInt
@@ -2326,7 +2263,6 @@ func rewriteValue386_Op386ADDSSload_0(v *Value) bool {
}
func rewriteValue386_Op386ANDL_0(v *Value) bool {
// match: (ANDL x (MOVLconst [c]))
- // cond:
// result: (ANDLconst [c] x)
for {
_ = v.Args[1]
@@ -2342,7 +2278,6 @@ func rewriteValue386_Op386ANDL_0(v *Value) bool {
return true
}
// match: (ANDL (MOVLconst [c]) x)
- // cond:
// result: (ANDLconst [c] x)
for {
x := v.Args[1]
@@ -2459,7 +2394,6 @@ func rewriteValue386_Op386ANDL_0(v *Value) bool {
return true
}
// match: (ANDL x x)
- // cond:
// result: x
for {
x := v.Args[1]
@@ -2475,7 +2409,6 @@ func rewriteValue386_Op386ANDL_0(v *Value) bool {
}
func rewriteValue386_Op386ANDLconst_0(v *Value) bool {
// match: (ANDLconst [c] (ANDLconst [d] x))
- // cond:
// result: (ANDLconst [c & d] x)
for {
c := v.AuxInt
@@ -2517,7 +2450,6 @@ func rewriteValue386_Op386ANDLconst_0(v *Value) bool {
return true
}
// match: (ANDLconst [c] (MOVLconst [d]))
- // cond:
// result: (MOVLconst [c&d])
for {
c := v.AuxInt
@@ -3007,7 +2939,6 @@ func rewriteValue386_Op386ANDLmodifyidx4_0(v *Value) bool {
func rewriteValue386_Op386CMPB_0(v *Value) bool {
b := v.Block
// match: (CMPB x (MOVLconst [c]))
- // cond:
// result: (CMPBconst x [int64(int8(c))])
for {
_ = v.Args[1]
@@ -3023,7 +2954,6 @@ func rewriteValue386_Op386CMPB_0(v *Value) bool {
return true
}
// match: (CMPB (MOVLconst [c]) x)
- // cond:
// result: (InvertFlags (CMPBconst x [int64(int8(c))]))
for {
x := v.Args[1]
@@ -3233,7 +3163,6 @@ func rewriteValue386_Op386CMPBconst_0(v *Value) bool {
return true
}
// match: (CMPBconst x [0])
- // cond:
// result: (TESTB x x)
for {
if v.AuxInt != 0 {
@@ -3302,7 +3231,6 @@ func rewriteValue386_Op386CMPBload_0(v *Value) bool {
func rewriteValue386_Op386CMPL_0(v *Value) bool {
b := v.Block
// match: (CMPL x (MOVLconst [c]))
- // cond:
// result: (CMPLconst x [c])
for {
_ = v.Args[1]
@@ -3318,7 +3246,6 @@ func rewriteValue386_Op386CMPL_0(v *Value) bool {
return true
}
// match: (CMPL (MOVLconst [c]) x)
- // cond:
// result: (InvertFlags (CMPLconst x [c]))
for {
x := v.Args[1]
@@ -3543,7 +3470,6 @@ func rewriteValue386_Op386CMPLconst_0(v *Value) bool {
return true
}
// match: (CMPLconst x [0])
- // cond:
// result: (TESTL x x)
for {
if v.AuxInt != 0 {
@@ -3616,7 +3542,6 @@ func rewriteValue386_Op386CMPLload_0(v *Value) bool {
func rewriteValue386_Op386CMPW_0(v *Value) bool {
b := v.Block
// match: (CMPW x (MOVLconst [c]))
- // cond:
// result: (CMPWconst x [int64(int16(c))])
for {
_ = v.Args[1]
@@ -3632,7 +3557,6 @@ func rewriteValue386_Op386CMPW_0(v *Value) bool {
return true
}
// match: (CMPW (MOVLconst [c]) x)
- // cond:
// result: (InvertFlags (CMPWconst x [int64(int16(c))]))
for {
x := v.Args[1]
@@ -3842,7 +3766,6 @@ func rewriteValue386_Op386CMPWconst_0(v *Value) bool {
return true
}
// match: (CMPWconst x [0])
- // cond:
// result: (TESTW x x)
for {
if v.AuxInt != 0 {
@@ -4293,7 +4216,6 @@ func rewriteValue386_Op386LEAL1_0(v *Value) bool {
return true
}
// match: (LEAL1 [c] {s} x (SHLLconst [1] y))
- // cond:
// result: (LEAL2 [c] {s} x y)
for {
c := v.AuxInt
@@ -4301,10 +4223,7 @@ func rewriteValue386_Op386LEAL1_0(v *Value) bool {
_ = v.Args[1]
x := v.Args[0]
v_1 := v.Args[1]
- if v_1.Op != Op386SHLLconst {
- break
- }
- if v_1.AuxInt != 1 {
+ if v_1.Op != Op386SHLLconst || v_1.AuxInt != 1 {
break
}
y := v_1.Args[0]
@@ -4316,17 +4235,13 @@ func rewriteValue386_Op386LEAL1_0(v *Value) bool {
return true
}
// match: (LEAL1 [c] {s} (SHLLconst [1] y) x)
- // cond:
// result: (LEAL2 [c] {s} x y)
for {
c := v.AuxInt
s := v.Aux
x := v.Args[1]
v_0 := v.Args[0]
- if v_0.Op != Op386SHLLconst {
- break
- }
- if v_0.AuxInt != 1 {
+ if v_0.Op != Op386SHLLconst || v_0.AuxInt != 1 {
break
}
y := v_0.Args[0]
@@ -4338,7 +4253,6 @@ func rewriteValue386_Op386LEAL1_0(v *Value) bool {
return true
}
// match: (LEAL1 [c] {s} x (SHLLconst [2] y))
- // cond:
// result: (LEAL4 [c] {s} x y)
for {
c := v.AuxInt
@@ -4346,10 +4260,7 @@ func rewriteValue386_Op386LEAL1_0(v *Value) bool {
_ = v.Args[1]
x := v.Args[0]
v_1 := v.Args[1]
- if v_1.Op != Op386SHLLconst {
- break
- }
- if v_1.AuxInt != 2 {
+ if v_1.Op != Op386SHLLconst || v_1.AuxInt != 2 {
break
}
y := v_1.Args[0]
@@ -4361,17 +4272,13 @@ func rewriteValue386_Op386LEAL1_0(v *Value) bool {
return true
}
// match: (LEAL1 [c] {s} (SHLLconst [2] y) x)
- // cond:
// result: (LEAL4 [c] {s} x y)
for {
c := v.AuxInt
s := v.Aux
x := v.Args[1]
v_0 := v.Args[0]
- if v_0.Op != Op386SHLLconst {
- break
- }
- if v_0.AuxInt != 2 {
+ if v_0.Op != Op386SHLLconst || v_0.AuxInt != 2 {
break
}
y := v_0.Args[0]
@@ -4383,7 +4290,6 @@ func rewriteValue386_Op386LEAL1_0(v *Value) bool {
return true
}
// match: (LEAL1 [c] {s} x (SHLLconst [3] y))
- // cond:
// result: (LEAL8 [c] {s} x y)
for {
c := v.AuxInt
@@ -4391,10 +4297,7 @@ func rewriteValue386_Op386LEAL1_0(v *Value) bool {
_ = v.Args[1]
x := v.Args[0]
v_1 := v.Args[1]
- if v_1.Op != Op386SHLLconst {
- break
- }
- if v_1.AuxInt != 3 {
+ if v_1.Op != Op386SHLLconst || v_1.AuxInt != 3 {
break
}
y := v_1.Args[0]
@@ -4406,17 +4309,13 @@ func rewriteValue386_Op386LEAL1_0(v *Value) bool {
return true
}
// match: (LEAL1 [c] {s} (SHLLconst [3] y) x)
- // cond:
// result: (LEAL8 [c] {s} x y)
for {
c := v.AuxInt
s := v.Aux
x := v.Args[1]
v_0 := v.Args[0]
- if v_0.Op != Op386SHLLconst {
- break
- }
- if v_0.AuxInt != 3 {
+ if v_0.Op != Op386SHLLconst || v_0.AuxInt != 3 {
break
}
y := v_0.Args[0]
@@ -4527,7 +4426,6 @@ func rewriteValue386_Op386LEAL2_0(v *Value) bool {
return true
}
// match: (LEAL2 [c] {s} x (SHLLconst [1] y))
- // cond:
// result: (LEAL4 [c] {s} x y)
for {
c := v.AuxInt
@@ -4535,10 +4433,7 @@ func rewriteValue386_Op386LEAL2_0(v *Value) bool {
_ = v.Args[1]
x := v.Args[0]
v_1 := v.Args[1]
- if v_1.Op != Op386SHLLconst {
- break
- }
- if v_1.AuxInt != 1 {
+ if v_1.Op != Op386SHLLconst || v_1.AuxInt != 1 {
break
}
y := v_1.Args[0]
@@ -4550,7 +4445,6 @@ func rewriteValue386_Op386LEAL2_0(v *Value) bool {
return true
}
// match: (LEAL2 [c] {s} x (SHLLconst [2] y))
- // cond:
// result: (LEAL8 [c] {s} x y)
for {
c := v.AuxInt
@@ -4558,10 +4452,7 @@ func rewriteValue386_Op386LEAL2_0(v *Value) bool {
_ = v.Args[1]
x := v.Args[0]
v_1 := v.Args[1]
- if v_1.Op != Op386SHLLconst {
- break
- }
- if v_1.AuxInt != 2 {
+ if v_1.Op != Op386SHLLconst || v_1.AuxInt != 2 {
break
}
y := v_1.Args[0]
@@ -4647,7 +4538,6 @@ func rewriteValue386_Op386LEAL4_0(v *Value) bool {
return true
}
// match: (LEAL4 [c] {s} x (SHLLconst [1] y))
- // cond:
// result: (LEAL8 [c] {s} x y)
for {
c := v.AuxInt
@@ -4655,10 +4545,7 @@ func rewriteValue386_Op386LEAL4_0(v *Value) bool {
_ = v.Args[1]
x := v.Args[0]
v_1 := v.Args[1]
- if v_1.Op != Op386SHLLconst {
- break
- }
- if v_1.AuxInt != 1 {
+ if v_1.Op != Op386SHLLconst || v_1.AuxInt != 1 {
break
}
y := v_1.Args[0]
@@ -4924,7 +4811,6 @@ func rewriteValue386_Op386MOVBLZX_0(v *Value) bool {
return true
}
// match: (MOVBLZX (ANDLconst [c] x))
- // cond:
// result: (ANDLconst [c & 0xff] x)
for {
v_0 := v.Args[0]
@@ -5072,10 +4958,7 @@ func rewriteValue386_Op386MOVBload_0(v *Value) bool {
sym := v.Aux
_ = v.Args[1]
v_0 := v.Args[0]
- if v_0.Op != OpSB {
- break
- }
- if !(symIsRO(sym)) {
+ if v_0.Op != OpSB || !(symIsRO(sym)) {
break
}
v.reset(Op386MOVLconst)
@@ -5086,7 +4969,6 @@ func rewriteValue386_Op386MOVBload_0(v *Value) bool {
}
func rewriteValue386_Op386MOVBloadidx1_0(v *Value) bool {
// match: (MOVBloadidx1 [c] {sym} (ADDLconst [d] ptr) idx mem)
- // cond:
// result: (MOVBloadidx1 [int64(int32(c+d))] {sym} ptr idx mem)
for {
c := v.AuxInt
@@ -5108,7 +4990,6 @@ func rewriteValue386_Op386MOVBloadidx1_0(v *Value) bool {
return true
}
// match: (MOVBloadidx1 [c] {sym} idx (ADDLconst [d] ptr) mem)
- // cond:
// result: (MOVBloadidx1 [int64(int32(c+d))] {sym} ptr idx mem)
for {
c := v.AuxInt
@@ -5130,7 +5011,6 @@ func rewriteValue386_Op386MOVBloadidx1_0(v *Value) bool {
return true
}
// match: (MOVBloadidx1 [c] {sym} ptr (ADDLconst [d] idx) mem)
- // cond:
// result: (MOVBloadidx1 [int64(int32(c+d))] {sym} ptr idx mem)
for {
c := v.AuxInt
@@ -5152,7 +5032,6 @@ func rewriteValue386_Op386MOVBloadidx1_0(v *Value) bool {
return true
}
// match: (MOVBloadidx1 [c] {sym} (ADDLconst [d] idx) ptr mem)
- // cond:
// result: (MOVBloadidx1 [int64(int32(c+d))] {sym} ptr idx mem)
for {
c := v.AuxInt
@@ -5179,7 +5058,6 @@ func rewriteValue386_Op386MOVBstore_0(v *Value) bool {
b := v.Block
config := b.Func.Config
// match: (MOVBstore [off] {sym} ptr (MOVBLSX x) mem)
- // cond:
// result: (MOVBstore [off] {sym} ptr x mem)
for {
off := v.AuxInt
@@ -5200,7 +5078,6 @@ func rewriteValue386_Op386MOVBstore_0(v *Value) bool {
return true
}
// match: (MOVBstore [off] {sym} ptr (MOVBLZX x) mem)
- // cond:
// result: (MOVBstore [off] {sym} ptr x mem)
for {
off := v.AuxInt
@@ -5357,31 +5234,16 @@ func rewriteValue386_Op386MOVBstore_0(v *Value) bool {
_ = v.Args[2]
p := v.Args[0]
v_1 := v.Args[1]
- if v_1.Op != Op386SHRWconst {
- break
- }
- if v_1.AuxInt != 8 {
+ if v_1.Op != Op386SHRWconst || v_1.AuxInt != 8 {
break
}
w := v_1.Args[0]
x := v.Args[2]
- if x.Op != Op386MOVBstore {
- break
- }
- if x.AuxInt != i-1 {
- break
- }
- if x.Aux != s {
+ if x.Op != Op386MOVBstore || x.AuxInt != i-1 || x.Aux != s {
break
}
mem := x.Args[2]
- if p != x.Args[0] {
- break
- }
- if w != x.Args[1] {
- break
- }
- if !(x.Uses == 1 && clobber(x)) {
+ if p != x.Args[0] || w != x.Args[1] || !(x.Uses == 1 && clobber(x)) {
break
}
v.reset(Op386MOVWstore)
@@ -5401,31 +5263,16 @@ func rewriteValue386_Op386MOVBstore_0(v *Value) bool {
_ = v.Args[2]
p := v.Args[0]
v_1 := v.Args[1]
- if v_1.Op != Op386SHRLconst {
- break
- }
- if v_1.AuxInt != 8 {
+ if v_1.Op != Op386SHRLconst || v_1.AuxInt != 8 {
break
}
w := v_1.Args[0]
x := v.Args[2]
- if x.Op != Op386MOVBstore {
- break
- }
- if x.AuxInt != i-1 {
- break
- }
- if x.Aux != s {
+ if x.Op != Op386MOVBstore || x.AuxInt != i-1 || x.Aux != s {
break
}
mem := x.Args[2]
- if p != x.Args[0] {
- break
- }
- if w != x.Args[1] {
- break
- }
- if !(x.Uses == 1 && clobber(x)) {
+ if p != x.Args[0] || w != x.Args[1] || !(x.Uses == 1 && clobber(x)) {
break
}
v.reset(Op386MOVWstore)
@@ -5446,13 +5293,7 @@ func rewriteValue386_Op386MOVBstore_0(v *Value) bool {
p := v.Args[0]
w := v.Args[1]
x := v.Args[2]
- if x.Op != Op386MOVBstore {
- break
- }
- if x.AuxInt != i+1 {
- break
- }
- if x.Aux != s {
+ if x.Op != Op386MOVBstore || x.AuxInt != i+1 || x.Aux != s {
break
}
mem := x.Args[2]
@@ -5460,16 +5301,7 @@ func rewriteValue386_Op386MOVBstore_0(v *Value) bool {
break
}
x_1 := x.Args[1]
- if x_1.Op != Op386SHRWconst {
- break
- }
- if x_1.AuxInt != 8 {
- break
- }
- if w != x_1.Args[0] {
- break
- }
- if !(x.Uses == 1 && clobber(x)) {
+ if x_1.Op != Op386SHRWconst || x_1.AuxInt != 8 || w != x_1.Args[0] || !(x.Uses == 1 && clobber(x)) {
break
}
v.reset(Op386MOVWstore)
@@ -5493,13 +5325,7 @@ func rewriteValue386_Op386MOVBstore_10(v *Value) bool {
p := v.Args[0]
w := v.Args[1]
x := v.Args[2]
- if x.Op != Op386MOVBstore {
- break
- }
- if x.AuxInt != i+1 {
- break
- }
- if x.Aux != s {
+ if x.Op != Op386MOVBstore || x.AuxInt != i+1 || x.Aux != s {
break
}
mem := x.Args[2]
@@ -5507,16 +5333,7 @@ func rewriteValue386_Op386MOVBstore_10(v *Value) bool {
break
}
x_1 := x.Args[1]
- if x_1.Op != Op386SHRLconst {
- break
- }
- if x_1.AuxInt != 8 {
- break
- }
- if w != x_1.Args[0] {
- break
- }
- if !(x.Uses == 1 && clobber(x)) {
+ if x_1.Op != Op386SHRLconst || x_1.AuxInt != 8 || w != x_1.Args[0] || !(x.Uses == 1 && clobber(x)) {
break
}
v.reset(Op386MOVWstore)
@@ -5542,13 +5359,7 @@ func rewriteValue386_Op386MOVBstore_10(v *Value) bool {
j := v_1.AuxInt
w := v_1.Args[0]
x := v.Args[2]
- if x.Op != Op386MOVBstore {
- break
- }
- if x.AuxInt != i-1 {
- break
- }
- if x.Aux != s {
+ if x.Op != Op386MOVBstore || x.AuxInt != i-1 || x.Aux != s {
break
}
mem := x.Args[2]
@@ -5556,16 +5367,7 @@ func rewriteValue386_Op386MOVBstore_10(v *Value) bool {
break
}
w0 := x.Args[1]
- if w0.Op != Op386SHRLconst {
- break
- }
- if w0.AuxInt != j-8 {
- break
- }
- if w != w0.Args[0] {
- break
- }
- if !(x.Uses == 1 && clobber(x)) {
+ if w0.Op != Op386SHRLconst || w0.AuxInt != j-8 || w != w0.Args[0] || !(x.Uses == 1 && clobber(x)) {
break
}
v.reset(Op386MOVWstore)
@@ -5655,7 +5457,6 @@ func rewriteValue386_Op386MOVBstoreconst_0(v *Value) bool {
return true
}
// match: (MOVBstoreconst [x] {sym} (ADDL ptr idx) mem)
- // cond:
// result: (MOVBstoreconstidx1 [x] {sym} ptr idx mem)
for {
x := v.AuxInt
@@ -5692,10 +5493,7 @@ func rewriteValue386_Op386MOVBstoreconst_0(v *Value) bool {
break
}
mem := x.Args[1]
- if p != x.Args[0] {
- break
- }
- if !(x.Uses == 1 && ValAndOff(a).Off()+1 == ValAndOff(c).Off() && clobber(x)) {
+ if p != x.Args[0] || !(x.Uses == 1 && ValAndOff(a).Off()+1 == ValAndOff(c).Off() && clobber(x)) {
break
}
v.reset(Op386MOVWstoreconst)
@@ -5722,10 +5520,7 @@ func rewriteValue386_Op386MOVBstoreconst_0(v *Value) bool {
break
}
mem := x.Args[1]
- if p != x.Args[0] {
- break
- }
- if !(x.Uses == 1 && ValAndOff(a).Off()+1 == ValAndOff(c).Off() && clobber(x)) {
+ if p != x.Args[0] || !(x.Uses == 1 && ValAndOff(a).Off()+1 == ValAndOff(c).Off() && clobber(x)) {
break
}
v.reset(Op386MOVWstoreconst)
@@ -5739,7 +5534,6 @@ func rewriteValue386_Op386MOVBstoreconst_0(v *Value) bool {
}
func rewriteValue386_Op386MOVBstoreconstidx1_0(v *Value) bool {
// match: (MOVBstoreconstidx1 [x] {sym} (ADDLconst [c] ptr) idx mem)
- // cond:
// result: (MOVBstoreconstidx1 [ValAndOff(x).add(c)] {sym} ptr idx mem)
for {
x := v.AuxInt
@@ -5761,7 +5555,6 @@ func rewriteValue386_Op386MOVBstoreconstidx1_0(v *Value) bool {
return true
}
// match: (MOVBstoreconstidx1 [x] {sym} ptr (ADDLconst [c] idx) mem)
- // cond:
// result: (MOVBstoreconstidx1 [ValAndOff(x).add(c)] {sym} ptr idx mem)
for {
x := v.AuxInt
@@ -5800,13 +5593,7 @@ func rewriteValue386_Op386MOVBstoreconstidx1_0(v *Value) bool {
break
}
mem := x.Args[2]
- if p != x.Args[0] {
- break
- }
- if i != x.Args[1] {
- break
- }
- if !(x.Uses == 1 && ValAndOff(a).Off()+1 == ValAndOff(c).Off() && clobber(x)) {
+ if p != x.Args[0] || i != x.Args[1] || !(x.Uses == 1 && ValAndOff(a).Off()+1 == ValAndOff(c).Off() && clobber(x)) {
break
}
v.reset(Op386MOVWstoreconstidx1)
@@ -5821,7 +5608,6 @@ func rewriteValue386_Op386MOVBstoreconstidx1_0(v *Value) bool {
}
func rewriteValue386_Op386MOVBstoreidx1_0(v *Value) bool {
// match: (MOVBstoreidx1 [c] {sym} (ADDLconst [d] ptr) idx val mem)
- // cond:
// result: (MOVBstoreidx1 [int64(int32(c+d))] {sym} ptr idx val mem)
for {
c := v.AuxInt
@@ -5845,7 +5631,6 @@ func rewriteValue386_Op386MOVBstoreidx1_0(v *Value) bool {
return true
}
// match: (MOVBstoreidx1 [c] {sym} idx (ADDLconst [d] ptr) val mem)
- // cond:
// result: (MOVBstoreidx1 [int64(int32(c+d))] {sym} ptr idx val mem)
for {
c := v.AuxInt
@@ -5869,7 +5654,6 @@ func rewriteValue386_Op386MOVBstoreidx1_0(v *Value) bool {
return true
}
// match: (MOVBstoreidx1 [c] {sym} ptr (ADDLconst [d] idx) val mem)
- // cond:
// result: (MOVBstoreidx1 [int64(int32(c+d))] {sym} ptr idx val mem)
for {
c := v.AuxInt
@@ -5893,7 +5677,6 @@ func rewriteValue386_Op386MOVBstoreidx1_0(v *Value) bool {
return true
}
// match: (MOVBstoreidx1 [c] {sym} (ADDLconst [d] idx) ptr val mem)
- // cond:
// result: (MOVBstoreidx1 [int64(int32(c+d))] {sym} ptr idx val mem)
for {
c := v.AuxInt
@@ -5926,34 +5709,16 @@ func rewriteValue386_Op386MOVBstoreidx1_0(v *Value) bool {
p := v.Args[0]
idx := v.Args[1]
v_2 := v.Args[2]
- if v_2.Op != Op386SHRLconst {
- break
- }
- if v_2.AuxInt != 8 {
+ if v_2.Op != Op386SHRLconst || v_2.AuxInt != 8 {
break
}
w := v_2.Args[0]
x := v.Args[3]
- if x.Op != Op386MOVBstoreidx1 {
- break
- }
- if x.AuxInt != i-1 {
- break
- }
- if x.Aux != s {
+ if x.Op != Op386MOVBstoreidx1 || x.AuxInt != i-1 || x.Aux != s {
break
}
mem := x.Args[3]
- if p != x.Args[0] {
- break
- }
- if idx != x.Args[1] {
- break
- }
- if w != x.Args[2] {
- break
- }
- if !(x.Uses == 1 && clobber(x)) {
+ if p != x.Args[0] || idx != x.Args[1] || w != x.Args[2] || !(x.Uses == 1 && clobber(x)) {
break
}
v.reset(Op386MOVWstoreidx1)
@@ -5975,34 +5740,16 @@ func rewriteValue386_Op386MOVBstoreidx1_0(v *Value) bool {
p := v.Args[0]
idx := v.Args[1]
v_2 := v.Args[2]
- if v_2.Op != Op386SHRLconst {
- break
- }
- if v_2.AuxInt != 8 {
+ if v_2.Op != Op386SHRLconst || v_2.AuxInt != 8 {
break
}
w := v_2.Args[0]
x := v.Args[3]
- if x.Op != Op386MOVBstoreidx1 {
- break
- }
- if x.AuxInt != i-1 {
- break
- }
- if x.Aux != s {
+ if x.Op != Op386MOVBstoreidx1 || x.AuxInt != i-1 || x.Aux != s {
break
}
mem := x.Args[3]
- if idx != x.Args[0] {
- break
- }
- if p != x.Args[1] {
- break
- }
- if w != x.Args[2] {
- break
- }
- if !(x.Uses == 1 && clobber(x)) {
+ if idx != x.Args[0] || p != x.Args[1] || w != x.Args[2] || !(x.Uses == 1 && clobber(x)) {
break
}
v.reset(Op386MOVWstoreidx1)
@@ -6024,34 +5771,16 @@ func rewriteValue386_Op386MOVBstoreidx1_0(v *Value) bool {
idx := v.Args[0]
p := v.Args[1]
v_2 := v.Args[2]
- if v_2.Op != Op386SHRLconst {
- break
- }
- if v_2.AuxInt != 8 {
+ if v_2.Op != Op386SHRLconst || v_2.AuxInt != 8 {
break
}
w := v_2.Args[0]
x := v.Args[3]
- if x.Op != Op386MOVBstoreidx1 {
- break
- }
- if x.AuxInt != i-1 {
- break
- }
- if x.Aux != s {
+ if x.Op != Op386MOVBstoreidx1 || x.AuxInt != i-1 || x.Aux != s {
break
}
mem := x.Args[3]
- if p != x.Args[0] {
- break
- }
- if idx != x.Args[1] {
- break
- }
- if w != x.Args[2] {
- break
- }
- if !(x.Uses == 1 && clobber(x)) {
+ if p != x.Args[0] || idx != x.Args[1] || w != x.Args[2] || !(x.Uses == 1 && clobber(x)) {
break
}
v.reset(Op386MOVWstoreidx1)
@@ -6073,34 +5802,16 @@ func rewriteValue386_Op386MOVBstoreidx1_0(v *Value) bool {
idx := v.Args[0]
p := v.Args[1]
v_2 := v.Args[2]
- if v_2.Op != Op386SHRLconst {
- break
- }
- if v_2.AuxInt != 8 {
+ if v_2.Op != Op386SHRLconst || v_2.AuxInt != 8 {
break
}
w := v_2.Args[0]
x := v.Args[3]
- if x.Op != Op386MOVBstoreidx1 {
- break
- }
- if x.AuxInt != i-1 {
- break
- }
- if x.Aux != s {
+ if x.Op != Op386MOVBstoreidx1 || x.AuxInt != i-1 || x.Aux != s {
break
}
mem := x.Args[3]
- if idx != x.Args[0] {
- break
- }
- if p != x.Args[1] {
- break
- }
- if w != x.Args[2] {
- break
- }
- if !(x.Uses == 1 && clobber(x)) {
+ if idx != x.Args[0] || p != x.Args[1] || w != x.Args[2] || !(x.Uses == 1 && clobber(x)) {
break
}
v.reset(Op386MOVWstoreidx1)
@@ -6122,34 +5833,16 @@ func rewriteValue386_Op386MOVBstoreidx1_0(v *Value) bool {
p := v.Args[0]
idx := v.Args[1]
v_2 := v.Args[2]
- if v_2.Op != Op386SHRWconst {
- break
- }
- if v_2.AuxInt != 8 {
+ if v_2.Op != Op386SHRWconst || v_2.AuxInt != 8 {
break
}
w := v_2.Args[0]
x := v.Args[3]
- if x.Op != Op386MOVBstoreidx1 {
- break
- }
- if x.AuxInt != i-1 {
- break
- }
- if x.Aux != s {
+ if x.Op != Op386MOVBstoreidx1 || x.AuxInt != i-1 || x.Aux != s {
break
}
mem := x.Args[3]
- if p != x.Args[0] {
- break
- }
- if idx != x.Args[1] {
- break
- }
- if w != x.Args[2] {
- break
- }
- if !(x.Uses == 1 && clobber(x)) {
+ if p != x.Args[0] || idx != x.Args[1] || w != x.Args[2] || !(x.Uses == 1 && clobber(x)) {
break
}
v.reset(Op386MOVWstoreidx1)
@@ -6171,34 +5864,16 @@ func rewriteValue386_Op386MOVBstoreidx1_0(v *Value) bool {
p := v.Args[0]
idx := v.Args[1]
v_2 := v.Args[2]
- if v_2.Op != Op386SHRWconst {
- break
- }
- if v_2.AuxInt != 8 {
+ if v_2.Op != Op386SHRWconst || v_2.AuxInt != 8 {
break
}
w := v_2.Args[0]
x := v.Args[3]
- if x.Op != Op386MOVBstoreidx1 {
- break
- }
- if x.AuxInt != i-1 {
- break
- }
- if x.Aux != s {
+ if x.Op != Op386MOVBstoreidx1 || x.AuxInt != i-1 || x.Aux != s {
break
}
mem := x.Args[3]
- if idx != x.Args[0] {
- break
- }
- if p != x.Args[1] {
- break
- }
- if w != x.Args[2] {
- break
- }
- if !(x.Uses == 1 && clobber(x)) {
+ if idx != x.Args[0] || p != x.Args[1] || w != x.Args[2] || !(x.Uses == 1 && clobber(x)) {
break
}
v.reset(Op386MOVWstoreidx1)
@@ -6223,34 +5898,16 @@ func rewriteValue386_Op386MOVBstoreidx1_10(v *Value) bool {
idx := v.Args[0]
p := v.Args[1]
v_2 := v.Args[2]
- if v_2.Op != Op386SHRWconst {
- break
- }
- if v_2.AuxInt != 8 {
+ if v_2.Op != Op386SHRWconst || v_2.AuxInt != 8 {
break
}
w := v_2.Args[0]
x := v.Args[3]
- if x.Op != Op386MOVBstoreidx1 {
- break
- }
- if x.AuxInt != i-1 {
- break
- }
- if x.Aux != s {
+ if x.Op != Op386MOVBstoreidx1 || x.AuxInt != i-1 || x.Aux != s {
break
}
mem := x.Args[3]
- if p != x.Args[0] {
- break
- }
- if idx != x.Args[1] {
- break
- }
- if w != x.Args[2] {
- break
- }
- if !(x.Uses == 1 && clobber(x)) {
+ if p != x.Args[0] || idx != x.Args[1] || w != x.Args[2] || !(x.Uses == 1 && clobber(x)) {
break
}
v.reset(Op386MOVWstoreidx1)
@@ -6272,34 +5929,16 @@ func rewriteValue386_Op386MOVBstoreidx1_10(v *Value) bool {
idx := v.Args[0]
p := v.Args[1]
v_2 := v.Args[2]
- if v_2.Op != Op386SHRWconst {
- break
- }
- if v_2.AuxInt != 8 {
+ if v_2.Op != Op386SHRWconst || v_2.AuxInt != 8 {
break
}
w := v_2.Args[0]
x := v.Args[3]
- if x.Op != Op386MOVBstoreidx1 {
- break
- }
- if x.AuxInt != i-1 {
- break
- }
- if x.Aux != s {
+ if x.Op != Op386MOVBstoreidx1 || x.AuxInt != i-1 || x.Aux != s {
break
}
mem := x.Args[3]
- if idx != x.Args[0] {
- break
- }
- if p != x.Args[1] {
- break
- }
- if w != x.Args[2] {
- break
- }
- if !(x.Uses == 1 && clobber(x)) {
+ if idx != x.Args[0] || p != x.Args[1] || w != x.Args[2] || !(x.Uses == 1 && clobber(x)) {
break
}
v.reset(Op386MOVWstoreidx1)
@@ -6322,33 +5961,15 @@ func rewriteValue386_Op386MOVBstoreidx1_10(v *Value) bool {
idx := v.Args[1]
w := v.Args[2]
x := v.Args[3]
- if x.Op != Op386MOVBstoreidx1 {
- break
- }
- if x.AuxInt != i+1 {
- break
- }
- if x.Aux != s {
+ if x.Op != Op386MOVBstoreidx1 || x.AuxInt != i+1 || x.Aux != s {
break
}
mem := x.Args[3]
- if p != x.Args[0] {
- break
- }
- if idx != x.Args[1] {
+ if p != x.Args[0] || idx != x.Args[1] {
break
}
x_2 := x.Args[2]
- if x_2.Op != Op386SHRLconst {
- break
- }
- if x_2.AuxInt != 8 {
- break
- }
- if w != x_2.Args[0] {
- break
- }
- if !(x.Uses == 1 && clobber(x)) {
+ if x_2.Op != Op386SHRLconst || x_2.AuxInt != 8 || w != x_2.Args[0] || !(x.Uses == 1 && clobber(x)) {
break
}
v.reset(Op386MOVWstoreidx1)
@@ -6371,33 +5992,15 @@ func rewriteValue386_Op386MOVBstoreidx1_10(v *Value) bool {
idx := v.Args[1]
w := v.Args[2]
x := v.Args[3]
- if x.Op != Op386MOVBstoreidx1 {
- break
- }
- if x.AuxInt != i+1 {
- break
- }
- if x.Aux != s {
+ if x.Op != Op386MOVBstoreidx1 || x.AuxInt != i+1 || x.Aux != s {
break
}
mem := x.Args[3]
- if idx != x.Args[0] {
- break
- }
- if p != x.Args[1] {
+ if idx != x.Args[0] || p != x.Args[1] {
break
}
x_2 := x.Args[2]
- if x_2.Op != Op386SHRLconst {
- break
- }
- if x_2.AuxInt != 8 {
- break
- }
- if w != x_2.Args[0] {
- break
- }
- if !(x.Uses == 1 && clobber(x)) {
+ if x_2.Op != Op386SHRLconst || x_2.AuxInt != 8 || w != x_2.Args[0] || !(x.Uses == 1 && clobber(x)) {
break
}
v.reset(Op386MOVWstoreidx1)
@@ -6420,33 +6023,15 @@ func rewriteValue386_Op386MOVBstoreidx1_10(v *Value) bool {
p := v.Args[1]
w := v.Args[2]
x := v.Args[3]
- if x.Op != Op386MOVBstoreidx1 {
- break
- }
- if x.AuxInt != i+1 {
- break
- }
- if x.Aux != s {
+ if x.Op != Op386MOVBstoreidx1 || x.AuxInt != i+1 || x.Aux != s {
break
}
mem := x.Args[3]
- if p != x.Args[0] {
- break
- }
- if idx != x.Args[1] {
+ if p != x.Args[0] || idx != x.Args[1] {
break
}
x_2 := x.Args[2]
- if x_2.Op != Op386SHRLconst {
- break
- }
- if x_2.AuxInt != 8 {
- break
- }
- if w != x_2.Args[0] {
- break
- }
- if !(x.Uses == 1 && clobber(x)) {
+ if x_2.Op != Op386SHRLconst || x_2.AuxInt != 8 || w != x_2.Args[0] || !(x.Uses == 1 && clobber(x)) {
break
}
v.reset(Op386MOVWstoreidx1)
@@ -6469,33 +6054,15 @@ func rewriteValue386_Op386MOVBstoreidx1_10(v *Value) bool {
p := v.Args[1]
w := v.Args[2]
x := v.Args[3]
- if x.Op != Op386MOVBstoreidx1 {
- break
- }
- if x.AuxInt != i+1 {
- break
- }
- if x.Aux != s {
+ if x.Op != Op386MOVBstoreidx1 || x.AuxInt != i+1 || x.Aux != s {
break
}
mem := x.Args[3]
- if idx != x.Args[0] {
- break
- }
- if p != x.Args[1] {
+ if idx != x.Args[0] || p != x.Args[1] {
break
}
x_2 := x.Args[2]
- if x_2.Op != Op386SHRLconst {
- break
- }
- if x_2.AuxInt != 8 {
- break
- }
- if w != x_2.Args[0] {
- break
- }
- if !(x.Uses == 1 && clobber(x)) {
+ if x_2.Op != Op386SHRLconst || x_2.AuxInt != 8 || w != x_2.Args[0] || !(x.Uses == 1 && clobber(x)) {
break
}
v.reset(Op386MOVWstoreidx1)
@@ -6518,33 +6085,15 @@ func rewriteValue386_Op386MOVBstoreidx1_10(v *Value) bool {
idx := v.Args[1]
w := v.Args[2]
x := v.Args[3]
- if x.Op != Op386MOVBstoreidx1 {
- break
- }
- if x.AuxInt != i+1 {
- break
- }
- if x.Aux != s {
+ if x.Op != Op386MOVBstoreidx1 || x.AuxInt != i+1 || x.Aux != s {
break
}
mem := x.Args[3]
- if p != x.Args[0] {
- break
- }
- if idx != x.Args[1] {
+ if p != x.Args[0] || idx != x.Args[1] {
break
}
x_2 := x.Args[2]
- if x_2.Op != Op386SHRWconst {
- break
- }
- if x_2.AuxInt != 8 {
- break
- }
- if w != x_2.Args[0] {
- break
- }
- if !(x.Uses == 1 && clobber(x)) {
+ if x_2.Op != Op386SHRWconst || x_2.AuxInt != 8 || w != x_2.Args[0] || !(x.Uses == 1 && clobber(x)) {
break
}
v.reset(Op386MOVWstoreidx1)
@@ -6567,33 +6116,15 @@ func rewriteValue386_Op386MOVBstoreidx1_10(v *Value) bool {
idx := v.Args[1]
w := v.Args[2]
x := v.Args[3]
- if x.Op != Op386MOVBstoreidx1 {
- break
- }
- if x.AuxInt != i+1 {
- break
- }
- if x.Aux != s {
+ if x.Op != Op386MOVBstoreidx1 || x.AuxInt != i+1 || x.Aux != s {
break
}
mem := x.Args[3]
- if idx != x.Args[0] {
- break
- }
- if p != x.Args[1] {
+ if idx != x.Args[0] || p != x.Args[1] {
break
}
x_2 := x.Args[2]
- if x_2.Op != Op386SHRWconst {
- break
- }
- if x_2.AuxInt != 8 {
- break
- }
- if w != x_2.Args[0] {
- break
- }
- if !(x.Uses == 1 && clobber(x)) {
+ if x_2.Op != Op386SHRWconst || x_2.AuxInt != 8 || w != x_2.Args[0] || !(x.Uses == 1 && clobber(x)) {
break
}
v.reset(Op386MOVWstoreidx1)
@@ -6616,33 +6147,15 @@ func rewriteValue386_Op386MOVBstoreidx1_10(v *Value) bool {
p := v.Args[1]
w := v.Args[2]
x := v.Args[3]
- if x.Op != Op386MOVBstoreidx1 {
- break
- }
- if x.AuxInt != i+1 {
- break
- }
- if x.Aux != s {
+ if x.Op != Op386MOVBstoreidx1 || x.AuxInt != i+1 || x.Aux != s {
break
}
mem := x.Args[3]
- if p != x.Args[0] {
- break
- }
- if idx != x.Args[1] {
+ if p != x.Args[0] || idx != x.Args[1] {
break
}
x_2 := x.Args[2]
- if x_2.Op != Op386SHRWconst {
- break
- }
- if x_2.AuxInt != 8 {
- break
- }
- if w != x_2.Args[0] {
- break
- }
- if !(x.Uses == 1 && clobber(x)) {
+ if x_2.Op != Op386SHRWconst || x_2.AuxInt != 8 || w != x_2.Args[0] || !(x.Uses == 1 && clobber(x)) {
break
}
v.reset(Op386MOVWstoreidx1)
@@ -6665,33 +6178,15 @@ func rewriteValue386_Op386MOVBstoreidx1_10(v *Value) bool {
p := v.Args[1]
w := v.Args[2]
x := v.Args[3]
- if x.Op != Op386MOVBstoreidx1 {
- break
- }
- if x.AuxInt != i+1 {
- break
- }
- if x.Aux != s {
+ if x.Op != Op386MOVBstoreidx1 || x.AuxInt != i+1 || x.Aux != s {
break
}
mem := x.Args[3]
- if idx != x.Args[0] {
- break
- }
- if p != x.Args[1] {
+ if idx != x.Args[0] || p != x.Args[1] {
break
}
x_2 := x.Args[2]
- if x_2.Op != Op386SHRWconst {
- break
- }
- if x_2.AuxInt != 8 {
- break
- }
- if w != x_2.Args[0] {
- break
- }
- if !(x.Uses == 1 && clobber(x)) {
+ if x_2.Op != Op386SHRWconst || x_2.AuxInt != 8 || w != x_2.Args[0] || !(x.Uses == 1 && clobber(x)) {
break
}
v.reset(Op386MOVWstoreidx1)
@@ -6722,33 +6217,15 @@ func rewriteValue386_Op386MOVBstoreidx1_20(v *Value) bool {
j := v_2.AuxInt
w := v_2.Args[0]
x := v.Args[3]
- if x.Op != Op386MOVBstoreidx1 {
- break
- }
- if x.AuxInt != i-1 {
- break
- }
- if x.Aux != s {
+ if x.Op != Op386MOVBstoreidx1 || x.AuxInt != i-1 || x.Aux != s {
break
}
mem := x.Args[3]
- if p != x.Args[0] {
- break
- }
- if idx != x.Args[1] {
+ if p != x.Args[0] || idx != x.Args[1] {
break
}
w0 := x.Args[2]
- if w0.Op != Op386SHRLconst {
- break
- }
- if w0.AuxInt != j-8 {
- break
- }
- if w != w0.Args[0] {
- break
- }
- if !(x.Uses == 1 && clobber(x)) {
+ if w0.Op != Op386SHRLconst || w0.AuxInt != j-8 || w != w0.Args[0] || !(x.Uses == 1 && clobber(x)) {
break
}
v.reset(Op386MOVWstoreidx1)
@@ -6776,33 +6253,15 @@ func rewriteValue386_Op386MOVBstoreidx1_20(v *Value) bool {
j := v_2.AuxInt
w := v_2.Args[0]
x := v.Args[3]
- if x.Op != Op386MOVBstoreidx1 {
- break
- }
- if x.AuxInt != i-1 {
- break
- }
- if x.Aux != s {
+ if x.Op != Op386MOVBstoreidx1 || x.AuxInt != i-1 || x.Aux != s {
break
}
mem := x.Args[3]
- if idx != x.Args[0] {
- break
- }
- if p != x.Args[1] {
+ if idx != x.Args[0] || p != x.Args[1] {
break
}
w0 := x.Args[2]
- if w0.Op != Op386SHRLconst {
- break
- }
- if w0.AuxInt != j-8 {
- break
- }
- if w != w0.Args[0] {
- break
- }
- if !(x.Uses == 1 && clobber(x)) {
+ if w0.Op != Op386SHRLconst || w0.AuxInt != j-8 || w != w0.Args[0] || !(x.Uses == 1 && clobber(x)) {
break
}
v.reset(Op386MOVWstoreidx1)
@@ -6830,33 +6289,15 @@ func rewriteValue386_Op386MOVBstoreidx1_20(v *Value) bool {
j := v_2.AuxInt
w := v_2.Args[0]
x := v.Args[3]
- if x.Op != Op386MOVBstoreidx1 {
- break
- }
- if x.AuxInt != i-1 {
- break
- }
- if x.Aux != s {
+ if x.Op != Op386MOVBstoreidx1 || x.AuxInt != i-1 || x.Aux != s {
break
}
mem := x.Args[3]
- if p != x.Args[0] {
- break
- }
- if idx != x.Args[1] {
+ if p != x.Args[0] || idx != x.Args[1] {
break
}
w0 := x.Args[2]
- if w0.Op != Op386SHRLconst {
- break
- }
- if w0.AuxInt != j-8 {
- break
- }
- if w != w0.Args[0] {
- break
- }
- if !(x.Uses == 1 && clobber(x)) {
+ if w0.Op != Op386SHRLconst || w0.AuxInt != j-8 || w != w0.Args[0] || !(x.Uses == 1 && clobber(x)) {
break
}
v.reset(Op386MOVWstoreidx1)
@@ -6884,33 +6325,15 @@ func rewriteValue386_Op386MOVBstoreidx1_20(v *Value) bool {
j := v_2.AuxInt
w := v_2.Args[0]
x := v.Args[3]
- if x.Op != Op386MOVBstoreidx1 {
- break
- }
- if x.AuxInt != i-1 {
- break
- }
- if x.Aux != s {
+ if x.Op != Op386MOVBstoreidx1 || x.AuxInt != i-1 || x.Aux != s {
break
}
mem := x.Args[3]
- if idx != x.Args[0] {
- break
- }
- if p != x.Args[1] {
+ if idx != x.Args[0] || p != x.Args[1] {
break
}
w0 := x.Args[2]
- if w0.Op != Op386SHRLconst {
- break
- }
- if w0.AuxInt != j-8 {
- break
- }
- if w != w0.Args[0] {
- break
- }
- if !(x.Uses == 1 && clobber(x)) {
+ if w0.Op != Op386SHRLconst || w0.AuxInt != j-8 || w != w0.Args[0] || !(x.Uses == 1 && clobber(x)) {
break
}
v.reset(Op386MOVWstoreidx1)
@@ -7083,10 +6506,7 @@ func rewriteValue386_Op386MOVLload_0(v *Value) bool {
sym := v.Aux
_ = v.Args[1]
v_0 := v.Args[0]
- if v_0.Op != OpSB {
- break
- }
- if !(symIsRO(sym)) {
+ if v_0.Op != OpSB || !(symIsRO(sym)) {
break
}
v.reset(Op386MOVLconst)
@@ -7097,7 +6517,6 @@ func rewriteValue386_Op386MOVLload_0(v *Value) bool {
}
func rewriteValue386_Op386MOVLloadidx1_0(v *Value) bool {
// match: (MOVLloadidx1 [c] {sym} ptr (SHLLconst [2] idx) mem)
- // cond:
// result: (MOVLloadidx4 [c] {sym} ptr idx mem)
for {
c := v.AuxInt
@@ -7105,10 +6524,7 @@ func rewriteValue386_Op386MOVLloadidx1_0(v *Value) bool {
mem := v.Args[2]
ptr := v.Args[0]
v_1 := v.Args[1]
- if v_1.Op != Op386SHLLconst {
- break
- }
- if v_1.AuxInt != 2 {
+ if v_1.Op != Op386SHLLconst || v_1.AuxInt != 2 {
break
}
idx := v_1.Args[0]
@@ -7121,17 +6537,13 @@ func rewriteValue386_Op386MOVLloadidx1_0(v *Value) bool {
return true
}
// match: (MOVLloadidx1 [c] {sym} (SHLLconst [2] idx) ptr mem)
- // cond:
// result: (MOVLloadidx4 [c] {sym} ptr idx mem)
for {
c := v.AuxInt
sym := v.Aux
mem := v.Args[2]
v_0 := v.Args[0]
- if v_0.Op != Op386SHLLconst {
- break
- }
- if v_0.AuxInt != 2 {
+ if v_0.Op != Op386SHLLconst || v_0.AuxInt != 2 {
break
}
idx := v_0.Args[0]
@@ -7145,7 +6557,6 @@ func rewriteValue386_Op386MOVLloadidx1_0(v *Value) bool {
return true
}
// match: (MOVLloadidx1 [c] {sym} (ADDLconst [d] ptr) idx mem)
- // cond:
// result: (MOVLloadidx1 [int64(int32(c+d))] {sym} ptr idx mem)
for {
c := v.AuxInt
@@ -7167,7 +6578,6 @@ func rewriteValue386_Op386MOVLloadidx1_0(v *Value) bool {
return true
}
// match: (MOVLloadidx1 [c] {sym} idx (ADDLconst [d] ptr) mem)
- // cond:
// result: (MOVLloadidx1 [int64(int32(c+d))] {sym} ptr idx mem)
for {
c := v.AuxInt
@@ -7189,7 +6599,6 @@ func rewriteValue386_Op386MOVLloadidx1_0(v *Value) bool {
return true
}
// match: (MOVLloadidx1 [c] {sym} ptr (ADDLconst [d] idx) mem)
- // cond:
// result: (MOVLloadidx1 [int64(int32(c+d))] {sym} ptr idx mem)
for {
c := v.AuxInt
@@ -7211,7 +6620,6 @@ func rewriteValue386_Op386MOVLloadidx1_0(v *Value) bool {
return true
}
// match: (MOVLloadidx1 [c] {sym} (ADDLconst [d] idx) ptr mem)
- // cond:
// result: (MOVLloadidx1 [int64(int32(c+d))] {sym} ptr idx mem)
for {
c := v.AuxInt
@@ -7236,7 +6644,6 @@ func rewriteValue386_Op386MOVLloadidx1_0(v *Value) bool {
}
func rewriteValue386_Op386MOVLloadidx4_0(v *Value) bool {
// match: (MOVLloadidx4 [c] {sym} (ADDLconst [d] ptr) idx mem)
- // cond:
// result: (MOVLloadidx4 [int64(int32(c+d))] {sym} ptr idx mem)
for {
c := v.AuxInt
@@ -7258,7 +6665,6 @@ func rewriteValue386_Op386MOVLloadidx4_0(v *Value) bool {
return true
}
// match: (MOVLloadidx4 [c] {sym} ptr (ADDLconst [d] idx) mem)
- // cond:
// result: (MOVLloadidx4 [int64(int32(c+4*d))] {sym} ptr idx mem)
for {
c := v.AuxInt
@@ -7449,24 +6855,12 @@ func rewriteValue386_Op386MOVLstore_0(v *Value) bool {
mem := v.Args[2]
ptr := v.Args[0]
y := v.Args[1]
- if y.Op != Op386ADDLload {
- break
- }
- if y.AuxInt != off {
- break
- }
- if y.Aux != sym {
+ if y.Op != Op386ADDLload || y.AuxInt != off || y.Aux != sym {
break
}
_ = y.Args[2]
x := y.Args[0]
- if ptr != y.Args[1] {
- break
- }
- if mem != y.Args[2] {
- break
- }
- if !(y.Uses == 1 && clobber(y)) {
+ if ptr != y.Args[1] || mem != y.Args[2] || !(y.Uses == 1 && clobber(y)) {
break
}
v.reset(Op386ADDLmodify)
@@ -7486,24 +6880,12 @@ func rewriteValue386_Op386MOVLstore_0(v *Value) bool {
mem := v.Args[2]
ptr := v.Args[0]
y := v.Args[1]
- if y.Op != Op386ANDLload {
- break
- }
- if y.AuxInt != off {
- break
- }
- if y.Aux != sym {
+ if y.Op != Op386ANDLload || y.AuxInt != off || y.Aux != sym {
break
}
_ = y.Args[2]
x := y.Args[0]
- if ptr != y.Args[1] {
- break
- }
- if mem != y.Args[2] {
- break
- }
- if !(y.Uses == 1 && clobber(y)) {
+ if ptr != y.Args[1] || mem != y.Args[2] || !(y.Uses == 1 && clobber(y)) {
break
}
v.reset(Op386ANDLmodify)
@@ -7523,24 +6905,12 @@ func rewriteValue386_Op386MOVLstore_0(v *Value) bool {
mem := v.Args[2]
ptr := v.Args[0]
y := v.Args[1]
- if y.Op != Op386ORLload {
- break
- }
- if y.AuxInt != off {
- break
- }
- if y.Aux != sym {
+ if y.Op != Op386ORLload || y.AuxInt != off || y.Aux != sym {
break
}
_ = y.Args[2]
x := y.Args[0]
- if ptr != y.Args[1] {
- break
- }
- if mem != y.Args[2] {
- break
- }
- if !(y.Uses == 1 && clobber(y)) {
+ if ptr != y.Args[1] || mem != y.Args[2] || !(y.Uses == 1 && clobber(y)) {
break
}
v.reset(Op386ORLmodify)
@@ -7560,24 +6930,12 @@ func rewriteValue386_Op386MOVLstore_0(v *Value) bool {
mem := v.Args[2]
ptr := v.Args[0]
y := v.Args[1]
- if y.Op != Op386XORLload {
- break
- }
- if y.AuxInt != off {
- break
- }
- if y.Aux != sym {
+ if y.Op != Op386XORLload || y.AuxInt != off || y.Aux != sym {
break
}
_ = y.Args[2]
x := y.Args[0]
- if ptr != y.Args[1] {
- break
- }
- if mem != y.Args[2] {
- break
- }
- if !(y.Uses == 1 && clobber(y)) {
+ if ptr != y.Args[1] || mem != y.Args[2] || !(y.Uses == 1 && clobber(y)) {
break
}
v.reset(Op386XORLmodify)
@@ -7605,23 +6963,11 @@ func rewriteValue386_Op386MOVLstore_10(v *Value) bool {
}
x := y.Args[1]
l := y.Args[0]
- if l.Op != Op386MOVLload {
- break
- }
- if l.AuxInt != off {
- break
- }
- if l.Aux != sym {
+ if l.Op != Op386MOVLload || l.AuxInt != off || l.Aux != sym {
break
}
_ = l.Args[1]
- if ptr != l.Args[0] {
- break
- }
- if mem != l.Args[1] {
- break
- }
- if !(y.Uses == 1 && l.Uses == 1 && clobber(y) && clobber(l)) {
+ if ptr != l.Args[0] || mem != l.Args[1] || !(y.Uses == 1 && l.Uses == 1 && clobber(y) && clobber(l)) {
break
}
v.reset(Op386ADDLmodify)
@@ -7647,23 +6993,11 @@ func rewriteValue386_Op386MOVLstore_10(v *Value) bool {
_ = y.Args[1]
x := y.Args[0]
l := y.Args[1]
- if l.Op != Op386MOVLload {
- break
- }
- if l.AuxInt != off {
- break
- }
- if l.Aux != sym {
+ if l.Op != Op386MOVLload || l.AuxInt != off || l.Aux != sym {
break
}
_ = l.Args[1]
- if ptr != l.Args[0] {
- break
- }
- if mem != l.Args[1] {
- break
- }
- if !(y.Uses == 1 && l.Uses == 1 && clobber(y) && clobber(l)) {
+ if ptr != l.Args[0] || mem != l.Args[1] || !(y.Uses == 1 && l.Uses == 1 && clobber(y) && clobber(l)) {
break
}
v.reset(Op386ADDLmodify)
@@ -7688,23 +7022,11 @@ func rewriteValue386_Op386MOVLstore_10(v *Value) bool {
}
x := y.Args[1]
l := y.Args[0]
- if l.Op != Op386MOVLload {
- break
- }
- if l.AuxInt != off {
- break
- }
- if l.Aux != sym {
+ if l.Op != Op386MOVLload || l.AuxInt != off || l.Aux != sym {
break
}
_ = l.Args[1]
- if ptr != l.Args[0] {
- break
- }
- if mem != l.Args[1] {
- break
- }
- if !(y.Uses == 1 && l.Uses == 1 && clobber(y) && clobber(l)) {
+ if ptr != l.Args[0] || mem != l.Args[1] || !(y.Uses == 1 && l.Uses == 1 && clobber(y) && clobber(l)) {
break
}
v.reset(Op386SUBLmodify)
@@ -7729,23 +7051,11 @@ func rewriteValue386_Op386MOVLstore_10(v *Value) bool {
}
x := y.Args[1]
l := y.Args[0]
- if l.Op != Op386MOVLload {
- break
- }
- if l.AuxInt != off {
- break
- }
- if l.Aux != sym {
+ if l.Op != Op386MOVLload || l.AuxInt != off || l.Aux != sym {
break
}
_ = l.Args[1]
- if ptr != l.Args[0] {
- break
- }
- if mem != l.Args[1] {
- break
- }
- if !(y.Uses == 1 && l.Uses == 1 && clobber(y) && clobber(l)) {
+ if ptr != l.Args[0] || mem != l.Args[1] || !(y.Uses == 1 && l.Uses == 1 && clobber(y) && clobber(l)) {
break
}
v.reset(Op386ANDLmodify)
@@ -7771,23 +7081,11 @@ func rewriteValue386_Op386MOVLstore_10(v *Value) bool {
_ = y.Args[1]
x := y.Args[0]
l := y.Args[1]
- if l.Op != Op386MOVLload {
- break
- }
- if l.AuxInt != off {
- break
- }
- if l.Aux != sym {
+ if l.Op != Op386MOVLload || l.AuxInt != off || l.Aux != sym {
break
}
_ = l.Args[1]
- if ptr != l.Args[0] {
- break
- }
- if mem != l.Args[1] {
- break
- }
- if !(y.Uses == 1 && l.Uses == 1 && clobber(y) && clobber(l)) {
+ if ptr != l.Args[0] || mem != l.Args[1] || !(y.Uses == 1 && l.Uses == 1 && clobber(y) && clobber(l)) {
break
}
v.reset(Op386ANDLmodify)
@@ -7812,23 +7110,11 @@ func rewriteValue386_Op386MOVLstore_10(v *Value) bool {
}
x := y.Args[1]
l := y.Args[0]
- if l.Op != Op386MOVLload {
- break
- }
- if l.AuxInt != off {
- break
- }
- if l.Aux != sym {
+ if l.Op != Op386MOVLload || l.AuxInt != off || l.Aux != sym {
break
}
_ = l.Args[1]
- if ptr != l.Args[0] {
- break
- }
- if mem != l.Args[1] {
- break
- }
- if !(y.Uses == 1 && l.Uses == 1 && clobber(y) && clobber(l)) {
+ if ptr != l.Args[0] || mem != l.Args[1] || !(y.Uses == 1 && l.Uses == 1 && clobber(y) && clobber(l)) {
break
}
v.reset(Op386ORLmodify)
@@ -7854,23 +7140,11 @@ func rewriteValue386_Op386MOVLstore_10(v *Value) bool {
_ = y.Args[1]
x := y.Args[0]
l := y.Args[1]
- if l.Op != Op386MOVLload {
- break
- }
- if l.AuxInt != off {
- break
- }
- if l.Aux != sym {
+ if l.Op != Op386MOVLload || l.AuxInt != off || l.Aux != sym {
break
}
_ = l.Args[1]
- if ptr != l.Args[0] {
- break
- }
- if mem != l.Args[1] {
- break
- }
- if !(y.Uses == 1 && l.Uses == 1 && clobber(y) && clobber(l)) {
+ if ptr != l.Args[0] || mem != l.Args[1] || !(y.Uses == 1 && l.Uses == 1 && clobber(y) && clobber(l)) {
break
}
v.reset(Op386ORLmodify)
@@ -7895,23 +7169,11 @@ func rewriteValue386_Op386MOVLstore_10(v *Value) bool {
}
x := y.Args[1]
l := y.Args[0]
- if l.Op != Op386MOVLload {
- break
- }
- if l.AuxInt != off {
- break
- }
- if l.Aux != sym {
+ if l.Op != Op386MOVLload || l.AuxInt != off || l.Aux != sym {
break
}
_ = l.Args[1]
- if ptr != l.Args[0] {
- break
- }
- if mem != l.Args[1] {
- break
- }
- if !(y.Uses == 1 && l.Uses == 1 && clobber(y) && clobber(l)) {
+ if ptr != l.Args[0] || mem != l.Args[1] || !(y.Uses == 1 && l.Uses == 1 && clobber(y) && clobber(l)) {
break
}
v.reset(Op386XORLmodify)
@@ -7937,23 +7199,11 @@ func rewriteValue386_Op386MOVLstore_10(v *Value) bool {
_ = y.Args[1]
x := y.Args[0]
l := y.Args[1]
- if l.Op != Op386MOVLload {
- break
- }
- if l.AuxInt != off {
- break
- }
- if l.Aux != sym {
+ if l.Op != Op386MOVLload || l.AuxInt != off || l.Aux != sym {
break
}
_ = l.Args[1]
- if ptr != l.Args[0] {
- break
- }
- if mem != l.Args[1] {
- break
- }
- if !(y.Uses == 1 && l.Uses == 1 && clobber(y) && clobber(l)) {
+ if ptr != l.Args[0] || mem != l.Args[1] || !(y.Uses == 1 && l.Uses == 1 && clobber(y) && clobber(l)) {
break
}
v.reset(Op386XORLmodify)
@@ -7978,23 +7228,11 @@ func rewriteValue386_Op386MOVLstore_10(v *Value) bool {
}
c := y.AuxInt
l := y.Args[0]
- if l.Op != Op386MOVLload {
- break
- }
- if l.AuxInt != off {
- break
- }
- if l.Aux != sym {
+ if l.Op != Op386MOVLload || l.AuxInt != off || l.Aux != sym {
break
}
_ = l.Args[1]
- if ptr != l.Args[0] {
- break
- }
- if mem != l.Args[1] {
- break
- }
- if !(y.Uses == 1 && l.Uses == 1 && clobber(y) && clobber(l) && validValAndOff(c, off)) {
+ if ptr != l.Args[0] || mem != l.Args[1] || !(y.Uses == 1 && l.Uses == 1 && clobber(y) && clobber(l) && validValAndOff(c, off)) {
break
}
v.reset(Op386ADDLconstmodify)
@@ -8021,23 +7259,11 @@ func rewriteValue386_Op386MOVLstore_20(v *Value) bool {
}
c := y.AuxInt
l := y.Args[0]
- if l.Op != Op386MOVLload {
- break
- }
- if l.AuxInt != off {
- break
- }
- if l.Aux != sym {
+ if l.Op != Op386MOVLload || l.AuxInt != off || l.Aux != sym {
break
}
_ = l.Args[1]
- if ptr != l.Args[0] {
- break
- }
- if mem != l.Args[1] {
- break
- }
- if !(y.Uses == 1 && l.Uses == 1 && clobber(y) && clobber(l) && validValAndOff(c, off)) {
+ if ptr != l.Args[0] || mem != l.Args[1] || !(y.Uses == 1 && l.Uses == 1 && clobber(y) && clobber(l) && validValAndOff(c, off)) {
break
}
v.reset(Op386ANDLconstmodify)
@@ -8061,23 +7287,11 @@ func rewriteValue386_Op386MOVLstore_20(v *Value) bool {
}
c := y.AuxInt
l := y.Args[0]
- if l.Op != Op386MOVLload {
- break
- }
- if l.AuxInt != off {
- break
- }
- if l.Aux != sym {
+ if l.Op != Op386MOVLload || l.AuxInt != off || l.Aux != sym {
break
}
_ = l.Args[1]
- if ptr != l.Args[0] {
- break
- }
- if mem != l.Args[1] {
- break
- }
- if !(y.Uses == 1 && l.Uses == 1 && clobber(y) && clobber(l) && validValAndOff(c, off)) {
+ if ptr != l.Args[0] || mem != l.Args[1] || !(y.Uses == 1 && l.Uses == 1 && clobber(y) && clobber(l) && validValAndOff(c, off)) {
break
}
v.reset(Op386ORLconstmodify)
@@ -8101,23 +7315,11 @@ func rewriteValue386_Op386MOVLstore_20(v *Value) bool {
}
c := y.AuxInt
l := y.Args[0]
- if l.Op != Op386MOVLload {
- break
- }
- if l.AuxInt != off {
- break
- }
- if l.Aux != sym {
+ if l.Op != Op386MOVLload || l.AuxInt != off || l.Aux != sym {
break
}
_ = l.Args[1]
- if ptr != l.Args[0] {
- break
- }
- if mem != l.Args[1] {
- break
- }
- if !(y.Uses == 1 && l.Uses == 1 && clobber(y) && clobber(l) && validValAndOff(c, off)) {
+ if ptr != l.Args[0] || mem != l.Args[1] || !(y.Uses == 1 && l.Uses == 1 && clobber(y) && clobber(l) && validValAndOff(c, off)) {
break
}
v.reset(Op386XORLconstmodify)
@@ -8232,7 +7434,6 @@ func rewriteValue386_Op386MOVLstoreconst_0(v *Value) bool {
return true
}
// match: (MOVLstoreconst [x] {sym} (ADDL ptr idx) mem)
- // cond:
// result: (MOVLstoreconstidx1 [x] {sym} ptr idx mem)
for {
x := v.AuxInt
@@ -8256,7 +7457,6 @@ func rewriteValue386_Op386MOVLstoreconst_0(v *Value) bool {
}
func rewriteValue386_Op386MOVLstoreconstidx1_0(v *Value) bool {
// match: (MOVLstoreconstidx1 [c] {sym} ptr (SHLLconst [2] idx) mem)
- // cond:
// result: (MOVLstoreconstidx4 [c] {sym} ptr idx mem)
for {
c := v.AuxInt
@@ -8264,10 +7464,7 @@ func rewriteValue386_Op386MOVLstoreconstidx1_0(v *Value) bool {
mem := v.Args[2]
ptr := v.Args[0]
v_1 := v.Args[1]
- if v_1.Op != Op386SHLLconst {
- break
- }
- if v_1.AuxInt != 2 {
+ if v_1.Op != Op386SHLLconst || v_1.AuxInt != 2 {
break
}
idx := v_1.Args[0]
@@ -8280,7 +7477,6 @@ func rewriteValue386_Op386MOVLstoreconstidx1_0(v *Value) bool {
return true
}
// match: (MOVLstoreconstidx1 [x] {sym} (ADDLconst [c] ptr) idx mem)
- // cond:
// result: (MOVLstoreconstidx1 [ValAndOff(x).add(c)] {sym} ptr idx mem)
for {
x := v.AuxInt
@@ -8302,7 +7498,6 @@ func rewriteValue386_Op386MOVLstoreconstidx1_0(v *Value) bool {
return true
}
// match: (MOVLstoreconstidx1 [x] {sym} ptr (ADDLconst [c] idx) mem)
- // cond:
// result: (MOVLstoreconstidx1 [ValAndOff(x).add(c)] {sym} ptr idx mem)
for {
x := v.AuxInt
@@ -8327,7 +7522,6 @@ func rewriteValue386_Op386MOVLstoreconstidx1_0(v *Value) bool {
}
func rewriteValue386_Op386MOVLstoreconstidx4_0(v *Value) bool {
// match: (MOVLstoreconstidx4 [x] {sym} (ADDLconst [c] ptr) idx mem)
- // cond:
// result: (MOVLstoreconstidx4 [ValAndOff(x).add(c)] {sym} ptr idx mem)
for {
x := v.AuxInt
@@ -8349,7 +7543,6 @@ func rewriteValue386_Op386MOVLstoreconstidx4_0(v *Value) bool {
return true
}
// match: (MOVLstoreconstidx4 [x] {sym} ptr (ADDLconst [c] idx) mem)
- // cond:
// result: (MOVLstoreconstidx4 [ValAndOff(x).add(4*c)] {sym} ptr idx mem)
for {
x := v.AuxInt
@@ -8374,7 +7567,6 @@ func rewriteValue386_Op386MOVLstoreconstidx4_0(v *Value) bool {
}
func rewriteValue386_Op386MOVLstoreidx1_0(v *Value) bool {
// match: (MOVLstoreidx1 [c] {sym} ptr (SHLLconst [2] idx) val mem)
- // cond:
// result: (MOVLstoreidx4 [c] {sym} ptr idx val mem)
for {
c := v.AuxInt
@@ -8382,10 +7574,7 @@ func rewriteValue386_Op386MOVLstoreidx1_0(v *Value) bool {
mem := v.Args[3]
ptr := v.Args[0]
v_1 := v.Args[1]
- if v_1.Op != Op386SHLLconst {
- break
- }
- if v_1.AuxInt != 2 {
+ if v_1.Op != Op386SHLLconst || v_1.AuxInt != 2 {
break
}
idx := v_1.Args[0]
@@ -8400,17 +7589,13 @@ func rewriteValue386_Op386MOVLstoreidx1_0(v *Value) bool {
return true
}
// match: (MOVLstoreidx1 [c] {sym} (SHLLconst [2] idx) ptr val mem)
- // cond:
// result: (MOVLstoreidx4 [c] {sym} ptr idx val mem)
for {
c := v.AuxInt
sym := v.Aux
mem := v.Args[3]
v_0 := v.Args[0]
- if v_0.Op != Op386SHLLconst {
- break
- }
- if v_0.AuxInt != 2 {
+ if v_0.Op != Op386SHLLconst || v_0.AuxInt != 2 {
break
}
idx := v_0.Args[0]
@@ -8426,7 +7611,6 @@ func rewriteValue386_Op386MOVLstoreidx1_0(v *Value) bool {
return true
}
// match: (MOVLstoreidx1 [c] {sym} (ADDLconst [d] ptr) idx val mem)
- // cond:
// result: (MOVLstoreidx1 [int64(int32(c+d))] {sym} ptr idx val mem)
for {
c := v.AuxInt
@@ -8450,7 +7634,6 @@ func rewriteValue386_Op386MOVLstoreidx1_0(v *Value) bool {
return true
}
// match: (MOVLstoreidx1 [c] {sym} idx (ADDLconst [d] ptr) val mem)
- // cond:
// result: (MOVLstoreidx1 [int64(int32(c+d))] {sym} ptr idx val mem)
for {
c := v.AuxInt
@@ -8474,7 +7657,6 @@ func rewriteValue386_Op386MOVLstoreidx1_0(v *Value) bool {
return true
}
// match: (MOVLstoreidx1 [c] {sym} ptr (ADDLconst [d] idx) val mem)
- // cond:
// result: (MOVLstoreidx1 [int64(int32(c+d))] {sym} ptr idx val mem)
for {
c := v.AuxInt
@@ -8498,7 +7680,6 @@ func rewriteValue386_Op386MOVLstoreidx1_0(v *Value) bool {
return true
}
// match: (MOVLstoreidx1 [c] {sym} (ADDLconst [d] idx) ptr val mem)
- // cond:
// result: (MOVLstoreidx1 [int64(int32(c+d))] {sym} ptr idx val mem)
for {
c := v.AuxInt
@@ -8525,7 +7706,6 @@ func rewriteValue386_Op386MOVLstoreidx1_0(v *Value) bool {
}
func rewriteValue386_Op386MOVLstoreidx4_0(v *Value) bool {
// match: (MOVLstoreidx4 [c] {sym} (ADDLconst [d] ptr) idx val mem)
- // cond:
// result: (MOVLstoreidx4 [int64(int32(c+d))] {sym} ptr idx val mem)
for {
c := v.AuxInt
@@ -8549,7 +7729,6 @@ func rewriteValue386_Op386MOVLstoreidx4_0(v *Value) bool {
return true
}
// match: (MOVLstoreidx4 [c] {sym} ptr (ADDLconst [d] idx) val mem)
- // cond:
// result: (MOVLstoreidx4 [int64(int32(c+4*d))] {sym} ptr idx val mem)
for {
c := v.AuxInt
@@ -8582,27 +7761,12 @@ func rewriteValue386_Op386MOVLstoreidx4_0(v *Value) bool {
ptr := v.Args[0]
idx := v.Args[1]
y := v.Args[2]
- if y.Op != Op386ADDLloadidx4 {
- break
- }
- if y.AuxInt != off {
- break
- }
- if y.Aux != sym {
+ if y.Op != Op386ADDLloadidx4 || y.AuxInt != off || y.Aux != sym {
break
}
_ = y.Args[3]
x := y.Args[0]
- if ptr != y.Args[1] {
- break
- }
- if idx != y.Args[2] {
- break
- }
- if mem != y.Args[3] {
- break
- }
- if !(y.Uses == 1 && clobber(y)) {
+ if ptr != y.Args[1] || idx != y.Args[2] || mem != y.Args[3] || !(y.Uses == 1 && clobber(y)) {
break
}
v.reset(Op386ADDLmodifyidx4)
@@ -8624,27 +7788,12 @@ func rewriteValue386_Op386MOVLstoreidx4_0(v *Value) bool {
ptr := v.Args[0]
idx := v.Args[1]
y := v.Args[2]
- if y.Op != Op386ANDLloadidx4 {
- break
- }
- if y.AuxInt != off {
- break
- }
- if y.Aux != sym {
+ if y.Op != Op386ANDLloadidx4 || y.AuxInt != off || y.Aux != sym {
break
}
_ = y.Args[3]
x := y.Args[0]
- if ptr != y.Args[1] {
- break
- }
- if idx != y.Args[2] {
- break
- }
- if mem != y.Args[3] {
- break
- }
- if !(y.Uses == 1 && clobber(y)) {
+ if ptr != y.Args[1] || idx != y.Args[2] || mem != y.Args[3] || !(y.Uses == 1 && clobber(y)) {
break
}
v.reset(Op386ANDLmodifyidx4)
@@ -8666,27 +7815,12 @@ func rewriteValue386_Op386MOVLstoreidx4_0(v *Value) bool {
ptr := v.Args[0]
idx := v.Args[1]
y := v.Args[2]
- if y.Op != Op386ORLloadidx4 {
- break
- }
- if y.AuxInt != off {
- break
- }
- if y.Aux != sym {
+ if y.Op != Op386ORLloadidx4 || y.AuxInt != off || y.Aux != sym {
break
}
_ = y.Args[3]
x := y.Args[0]
- if ptr != y.Args[1] {
- break
- }
- if idx != y.Args[2] {
- break
- }
- if mem != y.Args[3] {
- break
- }
- if !(y.Uses == 1 && clobber(y)) {
+ if ptr != y.Args[1] || idx != y.Args[2] || mem != y.Args[3] || !(y.Uses == 1 && clobber(y)) {
break
}
v.reset(Op386ORLmodifyidx4)
@@ -8708,27 +7842,12 @@ func rewriteValue386_Op386MOVLstoreidx4_0(v *Value) bool {
ptr := v.Args[0]
idx := v.Args[1]
y := v.Args[2]
- if y.Op != Op386XORLloadidx4 {
- break
- }
- if y.AuxInt != off {
- break
- }
- if y.Aux != sym {
+ if y.Op != Op386XORLloadidx4 || y.AuxInt != off || y.Aux != sym {
break
}
_ = y.Args[3]
x := y.Args[0]
- if ptr != y.Args[1] {
- break
- }
- if idx != y.Args[2] {
- break
- }
- if mem != y.Args[3] {
- break
- }
- if !(y.Uses == 1 && clobber(y)) {
+ if ptr != y.Args[1] || idx != y.Args[2] || mem != y.Args[3] || !(y.Uses == 1 && clobber(y)) {
break
}
v.reset(Op386XORLmodifyidx4)
@@ -8755,26 +7874,11 @@ func rewriteValue386_Op386MOVLstoreidx4_0(v *Value) bool {
}
x := y.Args[1]
l := y.Args[0]
- if l.Op != Op386MOVLloadidx4 {
- break
- }
- if l.AuxInt != off {
- break
- }
- if l.Aux != sym {
+ if l.Op != Op386MOVLloadidx4 || l.AuxInt != off || l.Aux != sym {
break
}
_ = l.Args[2]
- if ptr != l.Args[0] {
- break
- }
- if idx != l.Args[1] {
- break
- }
- if mem != l.Args[2] {
- break
- }
- if !(y.Uses == 1 && l.Uses == 1 && clobber(y) && clobber(l)) {
+ if ptr != l.Args[0] || idx != l.Args[1] || mem != l.Args[2] || !(y.Uses == 1 && l.Uses == 1 && clobber(y) && clobber(l)) {
break
}
v.reset(Op386ADDLmodifyidx4)
@@ -8802,26 +7906,11 @@ func rewriteValue386_Op386MOVLstoreidx4_0(v *Value) bool {
_ = y.Args[1]
x := y.Args[0]
l := y.Args[1]
- if l.Op != Op386MOVLloadidx4 {
- break
- }
- if l.AuxInt != off {
- break
- }
- if l.Aux != sym {
+ if l.Op != Op386MOVLloadidx4 || l.AuxInt != off || l.Aux != sym {
break
}
_ = l.Args[2]
- if ptr != l.Args[0] {
- break
- }
- if idx != l.Args[1] {
- break
- }
- if mem != l.Args[2] {
- break
- }
- if !(y.Uses == 1 && l.Uses == 1 && clobber(y) && clobber(l)) {
+ if ptr != l.Args[0] || idx != l.Args[1] || mem != l.Args[2] || !(y.Uses == 1 && l.Uses == 1 && clobber(y) && clobber(l)) {
break
}
v.reset(Op386ADDLmodifyidx4)
@@ -8848,26 +7937,11 @@ func rewriteValue386_Op386MOVLstoreidx4_0(v *Value) bool {
}
x := y.Args[1]
l := y.Args[0]
- if l.Op != Op386MOVLloadidx4 {
- break
- }
- if l.AuxInt != off {
- break
- }
- if l.Aux != sym {
+ if l.Op != Op386MOVLloadidx4 || l.AuxInt != off || l.Aux != sym {
break
}
_ = l.Args[2]
- if ptr != l.Args[0] {
- break
- }
- if idx != l.Args[1] {
- break
- }
- if mem != l.Args[2] {
- break
- }
- if !(y.Uses == 1 && l.Uses == 1 && clobber(y) && clobber(l)) {
+ if ptr != l.Args[0] || idx != l.Args[1] || mem != l.Args[2] || !(y.Uses == 1 && l.Uses == 1 && clobber(y) && clobber(l)) {
break
}
v.reset(Op386SUBLmodifyidx4)
@@ -8894,26 +7968,11 @@ func rewriteValue386_Op386MOVLstoreidx4_0(v *Value) bool {
}
x := y.Args[1]
l := y.Args[0]
- if l.Op != Op386MOVLloadidx4 {
- break
- }
- if l.AuxInt != off {
- break
- }
- if l.Aux != sym {
+ if l.Op != Op386MOVLloadidx4 || l.AuxInt != off || l.Aux != sym {
break
}
_ = l.Args[2]
- if ptr != l.Args[0] {
- break
- }
- if idx != l.Args[1] {
- break
- }
- if mem != l.Args[2] {
- break
- }
- if !(y.Uses == 1 && l.Uses == 1 && clobber(y) && clobber(l)) {
+ if ptr != l.Args[0] || idx != l.Args[1] || mem != l.Args[2] || !(y.Uses == 1 && l.Uses == 1 && clobber(y) && clobber(l)) {
break
}
v.reset(Op386ANDLmodifyidx4)
@@ -8944,26 +8003,11 @@ func rewriteValue386_Op386MOVLstoreidx4_10(v *Value) bool {
_ = y.Args[1]
x := y.Args[0]
l := y.Args[1]
- if l.Op != Op386MOVLloadidx4 {
- break
- }
- if l.AuxInt != off {
- break
- }
- if l.Aux != sym {
+ if l.Op != Op386MOVLloadidx4 || l.AuxInt != off || l.Aux != sym {
break
}
_ = l.Args[2]
- if ptr != l.Args[0] {
- break
- }
- if idx != l.Args[1] {
- break
- }
- if mem != l.Args[2] {
- break
- }
- if !(y.Uses == 1 && l.Uses == 1 && clobber(y) && clobber(l)) {
+ if ptr != l.Args[0] || idx != l.Args[1] || mem != l.Args[2] || !(y.Uses == 1 && l.Uses == 1 && clobber(y) && clobber(l)) {
break
}
v.reset(Op386ANDLmodifyidx4)
@@ -8990,26 +8034,11 @@ func rewriteValue386_Op386MOVLstoreidx4_10(v *Value) bool {
}
x := y.Args[1]
l := y.Args[0]
- if l.Op != Op386MOVLloadidx4 {
- break
- }
- if l.AuxInt != off {
- break
- }
- if l.Aux != sym {
+ if l.Op != Op386MOVLloadidx4 || l.AuxInt != off || l.Aux != sym {
break
}
_ = l.Args[2]
- if ptr != l.Args[0] {
- break
- }
- if idx != l.Args[1] {
- break
- }
- if mem != l.Args[2] {
- break
- }
- if !(y.Uses == 1 && l.Uses == 1 && clobber(y) && clobber(l)) {
+ if ptr != l.Args[0] || idx != l.Args[1] || mem != l.Args[2] || !(y.Uses == 1 && l.Uses == 1 && clobber(y) && clobber(l)) {
break
}
v.reset(Op386ORLmodifyidx4)
@@ -9037,26 +8066,11 @@ func rewriteValue386_Op386MOVLstoreidx4_10(v *Value) bool {
_ = y.Args[1]
x := y.Args[0]
l := y.Args[1]
- if l.Op != Op386MOVLloadidx4 {
- break
- }
- if l.AuxInt != off {
- break
- }
- if l.Aux != sym {
+ if l.Op != Op386MOVLloadidx4 || l.AuxInt != off || l.Aux != sym {
break
}
_ = l.Args[2]
- if ptr != l.Args[0] {
- break
- }
- if idx != l.Args[1] {
- break
- }
- if mem != l.Args[2] {
- break
- }
- if !(y.Uses == 1 && l.Uses == 1 && clobber(y) && clobber(l)) {
+ if ptr != l.Args[0] || idx != l.Args[1] || mem != l.Args[2] || !(y.Uses == 1 && l.Uses == 1 && clobber(y) && clobber(l)) {
break
}
v.reset(Op386ORLmodifyidx4)
@@ -9083,26 +8097,11 @@ func rewriteValue386_Op386MOVLstoreidx4_10(v *Value) bool {
}
x := y.Args[1]
l := y.Args[0]
- if l.Op != Op386MOVLloadidx4 {
- break
- }
- if l.AuxInt != off {
- break
- }
- if l.Aux != sym {
+ if l.Op != Op386MOVLloadidx4 || l.AuxInt != off || l.Aux != sym {
break
}
_ = l.Args[2]
- if ptr != l.Args[0] {
- break
- }
- if idx != l.Args[1] {
- break
- }
- if mem != l.Args[2] {
- break
- }
- if !(y.Uses == 1 && l.Uses == 1 && clobber(y) && clobber(l)) {
+ if ptr != l.Args[0] || idx != l.Args[1] || mem != l.Args[2] || !(y.Uses == 1 && l.Uses == 1 && clobber(y) && clobber(l)) {
break
}
v.reset(Op386XORLmodifyidx4)
@@ -9130,26 +8129,11 @@ func rewriteValue386_Op386MOVLstoreidx4_10(v *Value) bool {
_ = y.Args[1]
x := y.Args[0]
l := y.Args[1]
- if l.Op != Op386MOVLloadidx4 {
- break
- }
- if l.AuxInt != off {
- break
- }
- if l.Aux != sym {
+ if l.Op != Op386MOVLloadidx4 || l.AuxInt != off || l.Aux != sym {
break
}
_ = l.Args[2]
- if ptr != l.Args[0] {
- break
- }
- if idx != l.Args[1] {
- break
- }
- if mem != l.Args[2] {
- break
- }
- if !(y.Uses == 1 && l.Uses == 1 && clobber(y) && clobber(l)) {
+ if ptr != l.Args[0] || idx != l.Args[1] || mem != l.Args[2] || !(y.Uses == 1 && l.Uses == 1 && clobber(y) && clobber(l)) {
break
}
v.reset(Op386XORLmodifyidx4)
@@ -9176,26 +8160,11 @@ func rewriteValue386_Op386MOVLstoreidx4_10(v *Value) bool {
}
c := y.AuxInt
l := y.Args[0]
- if l.Op != Op386MOVLloadidx4 {
- break
- }
- if l.AuxInt != off {
- break
- }
- if l.Aux != sym {
+ if l.Op != Op386MOVLloadidx4 || l.AuxInt != off || l.Aux != sym {
break
}
_ = l.Args[2]
- if ptr != l.Args[0] {
- break
- }
- if idx != l.Args[1] {
- break
- }
- if mem != l.Args[2] {
- break
- }
- if !(y.Uses == 1 && l.Uses == 1 && clobber(y) && clobber(l) && validValAndOff(c, off)) {
+ if ptr != l.Args[0] || idx != l.Args[1] || mem != l.Args[2] || !(y.Uses == 1 && l.Uses == 1 && clobber(y) && clobber(l) && validValAndOff(c, off)) {
break
}
v.reset(Op386ADDLconstmodifyidx4)
@@ -9221,26 +8190,11 @@ func rewriteValue386_Op386MOVLstoreidx4_10(v *Value) bool {
}
c := y.AuxInt
l := y.Args[0]
- if l.Op != Op386MOVLloadidx4 {
- break
- }
- if l.AuxInt != off {
- break
- }
- if l.Aux != sym {
+ if l.Op != Op386MOVLloadidx4 || l.AuxInt != off || l.Aux != sym {
break
}
_ = l.Args[2]
- if ptr != l.Args[0] {
- break
- }
- if idx != l.Args[1] {
- break
- }
- if mem != l.Args[2] {
- break
- }
- if !(y.Uses == 1 && l.Uses == 1 && clobber(y) && clobber(l) && validValAndOff(c, off)) {
+ if ptr != l.Args[0] || idx != l.Args[1] || mem != l.Args[2] || !(y.Uses == 1 && l.Uses == 1 && clobber(y) && clobber(l) && validValAndOff(c, off)) {
break
}
v.reset(Op386ANDLconstmodifyidx4)
@@ -9266,26 +8220,11 @@ func rewriteValue386_Op386MOVLstoreidx4_10(v *Value) bool {
}
c := y.AuxInt
l := y.Args[0]
- if l.Op != Op386MOVLloadidx4 {
- break
- }
- if l.AuxInt != off {
- break
- }
- if l.Aux != sym {
+ if l.Op != Op386MOVLloadidx4 || l.AuxInt != off || l.Aux != sym {
break
}
_ = l.Args[2]
- if ptr != l.Args[0] {
- break
- }
- if idx != l.Args[1] {
- break
- }
- if mem != l.Args[2] {
- break
- }
- if !(y.Uses == 1 && l.Uses == 1 && clobber(y) && clobber(l) && validValAndOff(c, off)) {
+ if ptr != l.Args[0] || idx != l.Args[1] || mem != l.Args[2] || !(y.Uses == 1 && l.Uses == 1 && clobber(y) && clobber(l) && validValAndOff(c, off)) {
break
}
v.reset(Op386ORLconstmodifyidx4)
@@ -9311,26 +8250,11 @@ func rewriteValue386_Op386MOVLstoreidx4_10(v *Value) bool {
}
c := y.AuxInt
l := y.Args[0]
- if l.Op != Op386MOVLloadidx4 {
- break
- }
- if l.AuxInt != off {
- break
- }
- if l.Aux != sym {
+ if l.Op != Op386MOVLloadidx4 || l.AuxInt != off || l.Aux != sym {
break
}
_ = l.Args[2]
- if ptr != l.Args[0] {
- break
- }
- if idx != l.Args[1] {
- break
- }
- if mem != l.Args[2] {
- break
- }
- if !(y.Uses == 1 && l.Uses == 1 && clobber(y) && clobber(l) && validValAndOff(c, off)) {
+ if ptr != l.Args[0] || idx != l.Args[1] || mem != l.Args[2] || !(y.Uses == 1 && l.Uses == 1 && clobber(y) && clobber(l) && validValAndOff(c, off)) {
break
}
v.reset(Op386XORLconstmodifyidx4)
@@ -9493,7 +8417,6 @@ func rewriteValue386_Op386MOVSDload_0(v *Value) bool {
}
func rewriteValue386_Op386MOVSDloadidx1_0(v *Value) bool {
// match: (MOVSDloadidx1 [c] {sym} (ADDLconst [d] ptr) idx mem)
- // cond:
// result: (MOVSDloadidx1 [int64(int32(c+d))] {sym} ptr idx mem)
for {
c := v.AuxInt
@@ -9515,7 +8438,6 @@ func rewriteValue386_Op386MOVSDloadidx1_0(v *Value) bool {
return true
}
// match: (MOVSDloadidx1 [c] {sym} ptr (ADDLconst [d] idx) mem)
- // cond:
// result: (MOVSDloadidx1 [int64(int32(c+d))] {sym} ptr idx mem)
for {
c := v.AuxInt
@@ -9540,7 +8462,6 @@ func rewriteValue386_Op386MOVSDloadidx1_0(v *Value) bool {
}
func rewriteValue386_Op386MOVSDloadidx8_0(v *Value) bool {
// match: (MOVSDloadidx8 [c] {sym} (ADDLconst [d] ptr) idx mem)
- // cond:
// result: (MOVSDloadidx8 [int64(int32(c+d))] {sym} ptr idx mem)
for {
c := v.AuxInt
@@ -9562,7 +8483,6 @@ func rewriteValue386_Op386MOVSDloadidx8_0(v *Value) bool {
return true
}
// match: (MOVSDloadidx8 [c] {sym} ptr (ADDLconst [d] idx) mem)
- // cond:
// result: (MOVSDloadidx8 [int64(int32(c+8*d))] {sym} ptr idx mem)
for {
c := v.AuxInt
@@ -9725,7 +8645,6 @@ func rewriteValue386_Op386MOVSDstore_0(v *Value) bool {
}
func rewriteValue386_Op386MOVSDstoreidx1_0(v *Value) bool {
// match: (MOVSDstoreidx1 [c] {sym} (ADDLconst [d] ptr) idx val mem)
- // cond:
// result: (MOVSDstoreidx1 [int64(int32(c+d))] {sym} ptr idx val mem)
for {
c := v.AuxInt
@@ -9749,7 +8668,6 @@ func rewriteValue386_Op386MOVSDstoreidx1_0(v *Value) bool {
return true
}
// match: (MOVSDstoreidx1 [c] {sym} ptr (ADDLconst [d] idx) val mem)
- // cond:
// result: (MOVSDstoreidx1 [int64(int32(c+d))] {sym} ptr idx val mem)
for {
c := v.AuxInt
@@ -9776,7 +8694,6 @@ func rewriteValue386_Op386MOVSDstoreidx1_0(v *Value) bool {
}
func rewriteValue386_Op386MOVSDstoreidx8_0(v *Value) bool {
// match: (MOVSDstoreidx8 [c] {sym} (ADDLconst [d] ptr) idx val mem)
- // cond:
// result: (MOVSDstoreidx8 [int64(int32(c+d))] {sym} ptr idx val mem)
for {
c := v.AuxInt
@@ -9800,7 +8717,6 @@ func rewriteValue386_Op386MOVSDstoreidx8_0(v *Value) bool {
return true
}
// match: (MOVSDstoreidx8 [c] {sym} ptr (ADDLconst [d] idx) val mem)
- // cond:
// result: (MOVSDstoreidx8 [int64(int32(c+8*d))] {sym} ptr idx val mem)
for {
c := v.AuxInt
@@ -9975,7 +8891,6 @@ func rewriteValue386_Op386MOVSSload_0(v *Value) bool {
}
func rewriteValue386_Op386MOVSSloadidx1_0(v *Value) bool {
// match: (MOVSSloadidx1 [c] {sym} (ADDLconst [d] ptr) idx mem)
- // cond:
// result: (MOVSSloadidx1 [int64(int32(c+d))] {sym} ptr idx mem)
for {
c := v.AuxInt
@@ -9997,7 +8912,6 @@ func rewriteValue386_Op386MOVSSloadidx1_0(v *Value) bool {
return true
}
// match: (MOVSSloadidx1 [c] {sym} ptr (ADDLconst [d] idx) mem)
- // cond:
// result: (MOVSSloadidx1 [int64(int32(c+d))] {sym} ptr idx mem)
for {
c := v.AuxInt
@@ -10022,7 +8936,6 @@ func rewriteValue386_Op386MOVSSloadidx1_0(v *Value) bool {
}
func rewriteValue386_Op386MOVSSloadidx4_0(v *Value) bool {
// match: (MOVSSloadidx4 [c] {sym} (ADDLconst [d] ptr) idx mem)
- // cond:
// result: (MOVSSloadidx4 [int64(int32(c+d))] {sym} ptr idx mem)
for {
c := v.AuxInt
@@ -10044,7 +8957,6 @@ func rewriteValue386_Op386MOVSSloadidx4_0(v *Value) bool {
return true
}
// match: (MOVSSloadidx4 [c] {sym} ptr (ADDLconst [d] idx) mem)
- // cond:
// result: (MOVSSloadidx4 [int64(int32(c+4*d))] {sym} ptr idx mem)
for {
c := v.AuxInt
@@ -10207,7 +9119,6 @@ func rewriteValue386_Op386MOVSSstore_0(v *Value) bool {
}
func rewriteValue386_Op386MOVSSstoreidx1_0(v *Value) bool {
// match: (MOVSSstoreidx1 [c] {sym} (ADDLconst [d] ptr) idx val mem)
- // cond:
// result: (MOVSSstoreidx1 [int64(int32(c+d))] {sym} ptr idx val mem)
for {
c := v.AuxInt
@@ -10231,7 +9142,6 @@ func rewriteValue386_Op386MOVSSstoreidx1_0(v *Value) bool {
return true
}
// match: (MOVSSstoreidx1 [c] {sym} ptr (ADDLconst [d] idx) val mem)
- // cond:
// result: (MOVSSstoreidx1 [int64(int32(c+d))] {sym} ptr idx val mem)
for {
c := v.AuxInt
@@ -10258,7 +9168,6 @@ func rewriteValue386_Op386MOVSSstoreidx1_0(v *Value) bool {
}
func rewriteValue386_Op386MOVSSstoreidx4_0(v *Value) bool {
// match: (MOVSSstoreidx4 [c] {sym} (ADDLconst [d] ptr) idx val mem)
- // cond:
// result: (MOVSSstoreidx4 [int64(int32(c+d))] {sym} ptr idx val mem)
for {
c := v.AuxInt
@@ -10282,7 +9191,6 @@ func rewriteValue386_Op386MOVSSstoreidx4_0(v *Value) bool {
return true
}
// match: (MOVSSstoreidx4 [c] {sym} ptr (ADDLconst [d] idx) val mem)
- // cond:
// result: (MOVSSstoreidx4 [int64(int32(c+4*d))] {sym} ptr idx val mem)
for {
c := v.AuxInt
@@ -10489,7 +9397,6 @@ func rewriteValue386_Op386MOVWLZX_0(v *Value) bool {
return true
}
// match: (MOVWLZX (ANDLconst [c] x))
- // cond:
// result: (ANDLconst [c & 0xffff] x)
for {
v_0 := v.Args[0]
@@ -10663,10 +9570,7 @@ func rewriteValue386_Op386MOVWload_0(v *Value) bool {
sym := v.Aux
_ = v.Args[1]
v_0 := v.Args[0]
- if v_0.Op != OpSB {
- break
- }
- if !(symIsRO(sym)) {
+ if v_0.Op != OpSB || !(symIsRO(sym)) {
break
}
v.reset(Op386MOVLconst)
@@ -10677,7 +9581,6 @@ func rewriteValue386_Op386MOVWload_0(v *Value) bool {
}
func rewriteValue386_Op386MOVWloadidx1_0(v *Value) bool {
// match: (MOVWloadidx1 [c] {sym} ptr (SHLLconst [1] idx) mem)
- // cond:
// result: (MOVWloadidx2 [c] {sym} ptr idx mem)
for {
c := v.AuxInt
@@ -10685,10 +9588,7 @@ func rewriteValue386_Op386MOVWloadidx1_0(v *Value) bool {
mem := v.Args[2]
ptr := v.Args[0]
v_1 := v.Args[1]
- if v_1.Op != Op386SHLLconst {
- break
- }
- if v_1.AuxInt != 1 {
+ if v_1.Op != Op386SHLLconst || v_1.AuxInt != 1 {
break
}
idx := v_1.Args[0]
@@ -10701,17 +9601,13 @@ func rewriteValue386_Op386MOVWloadidx1_0(v *Value) bool {
return true
}
// match: (MOVWloadidx1 [c] {sym} (SHLLconst [1] idx) ptr mem)
- // cond:
// result: (MOVWloadidx2 [c] {sym} ptr idx mem)
for {
c := v.AuxInt
sym := v.Aux
mem := v.Args[2]
v_0 := v.Args[0]
- if v_0.Op != Op386SHLLconst {
- break
- }
- if v_0.AuxInt != 1 {
+ if v_0.Op != Op386SHLLconst || v_0.AuxInt != 1 {
break
}
idx := v_0.Args[0]
@@ -10725,7 +9621,6 @@ func rewriteValue386_Op386MOVWloadidx1_0(v *Value) bool {
return true
}
// match: (MOVWloadidx1 [c] {sym} (ADDLconst [d] ptr) idx mem)
- // cond:
// result: (MOVWloadidx1 [int64(int32(c+d))] {sym} ptr idx mem)
for {
c := v.AuxInt
@@ -10747,7 +9642,6 @@ func rewriteValue386_Op386MOVWloadidx1_0(v *Value) bool {
return true
}
// match: (MOVWloadidx1 [c] {sym} idx (ADDLconst [d] ptr) mem)
- // cond:
// result: (MOVWloadidx1 [int64(int32(c+d))] {sym} ptr idx mem)
for {
c := v.AuxInt
@@ -10769,7 +9663,6 @@ func rewriteValue386_Op386MOVWloadidx1_0(v *Value) bool {
return true
}
// match: (MOVWloadidx1 [c] {sym} ptr (ADDLconst [d] idx) mem)
- // cond:
// result: (MOVWloadidx1 [int64(int32(c+d))] {sym} ptr idx mem)
for {
c := v.AuxInt
@@ -10791,7 +9684,6 @@ func rewriteValue386_Op386MOVWloadidx1_0(v *Value) bool {
return true
}
// match: (MOVWloadidx1 [c] {sym} (ADDLconst [d] idx) ptr mem)
- // cond:
// result: (MOVWloadidx1 [int64(int32(c+d))] {sym} ptr idx mem)
for {
c := v.AuxInt
@@ -10816,7 +9708,6 @@ func rewriteValue386_Op386MOVWloadidx1_0(v *Value) bool {
}
func rewriteValue386_Op386MOVWloadidx2_0(v *Value) bool {
// match: (MOVWloadidx2 [c] {sym} (ADDLconst [d] ptr) idx mem)
- // cond:
// result: (MOVWloadidx2 [int64(int32(c+d))] {sym} ptr idx mem)
for {
c := v.AuxInt
@@ -10838,7 +9729,6 @@ func rewriteValue386_Op386MOVWloadidx2_0(v *Value) bool {
return true
}
// match: (MOVWloadidx2 [c] {sym} ptr (ADDLconst [d] idx) mem)
- // cond:
// result: (MOVWloadidx2 [int64(int32(c+2*d))] {sym} ptr idx mem)
for {
c := v.AuxInt
@@ -10865,7 +9755,6 @@ func rewriteValue386_Op386MOVWstore_0(v *Value) bool {
b := v.Block
config := b.Func.Config
// match: (MOVWstore [off] {sym} ptr (MOVWLSX x) mem)
- // cond:
// result: (MOVWstore [off] {sym} ptr x mem)
for {
off := v.AuxInt
@@ -10886,7 +9775,6 @@ func rewriteValue386_Op386MOVWstore_0(v *Value) bool {
return true
}
// match: (MOVWstore [off] {sym} ptr (MOVWLZX x) mem)
- // cond:
// result: (MOVWstore [off] {sym} ptr x mem)
for {
off := v.AuxInt
@@ -11071,31 +9959,16 @@ func rewriteValue386_Op386MOVWstore_0(v *Value) bool {
_ = v.Args[2]
p := v.Args[0]
v_1 := v.Args[1]
- if v_1.Op != Op386SHRLconst {
- break
- }
- if v_1.AuxInt != 16 {
+ if v_1.Op != Op386SHRLconst || v_1.AuxInt != 16 {
break
}
w := v_1.Args[0]
x := v.Args[2]
- if x.Op != Op386MOVWstore {
- break
- }
- if x.AuxInt != i-2 {
- break
- }
- if x.Aux != s {
+ if x.Op != Op386MOVWstore || x.AuxInt != i-2 || x.Aux != s {
break
}
mem := x.Args[2]
- if p != x.Args[0] {
- break
- }
- if w != x.Args[1] {
- break
- }
- if !(x.Uses == 1 && clobber(x)) {
+ if p != x.Args[0] || w != x.Args[1] || !(x.Uses == 1 && clobber(x)) {
break
}
v.reset(Op386MOVLstore)
@@ -11121,13 +9994,7 @@ func rewriteValue386_Op386MOVWstore_0(v *Value) bool {
j := v_1.AuxInt
w := v_1.Args[0]
x := v.Args[2]
- if x.Op != Op386MOVWstore {
- break
- }
- if x.AuxInt != i-2 {
- break
- }
- if x.Aux != s {
+ if x.Op != Op386MOVWstore || x.AuxInt != i-2 || x.Aux != s {
break
}
mem := x.Args[2]
@@ -11135,16 +10002,7 @@ func rewriteValue386_Op386MOVWstore_0(v *Value) bool {
break
}
w0 := x.Args[1]
- if w0.Op != Op386SHRLconst {
- break
- }
- if w0.AuxInt != j-16 {
- break
- }
- if w != w0.Args[0] {
- break
- }
- if !(x.Uses == 1 && clobber(x)) {
+ if w0.Op != Op386SHRLconst || w0.AuxInt != j-16 || w != w0.Args[0] || !(x.Uses == 1 && clobber(x)) {
break
}
v.reset(Op386MOVLstore)
@@ -11260,7 +10118,6 @@ func rewriteValue386_Op386MOVWstoreconst_0(v *Value) bool {
return true
}
// match: (MOVWstoreconst [x] {sym} (ADDL ptr idx) mem)
- // cond:
// result: (MOVWstoreconstidx1 [x] {sym} ptr idx mem)
for {
x := v.AuxInt
@@ -11297,10 +10154,7 @@ func rewriteValue386_Op386MOVWstoreconst_0(v *Value) bool {
break
}
mem := x.Args[1]
- if p != x.Args[0] {
- break
- }
- if !(x.Uses == 1 && ValAndOff(a).Off()+2 == ValAndOff(c).Off() && clobber(x)) {
+ if p != x.Args[0] || !(x.Uses == 1 && ValAndOff(a).Off()+2 == ValAndOff(c).Off() && clobber(x)) {
break
}
v.reset(Op386MOVLstoreconst)
@@ -11327,10 +10181,7 @@ func rewriteValue386_Op386MOVWstoreconst_0(v *Value) bool {
break
}
mem := x.Args[1]
- if p != x.Args[0] {
- break
- }
- if !(x.Uses == 1 && ValAndOff(a).Off()+2 == ValAndOff(c).Off() && clobber(x)) {
+ if p != x.Args[0] || !(x.Uses == 1 && ValAndOff(a).Off()+2 == ValAndOff(c).Off() && clobber(x)) {
break
}
v.reset(Op386MOVLstoreconst)
@@ -11344,7 +10195,6 @@ func rewriteValue386_Op386MOVWstoreconst_0(v *Value) bool {
}
func rewriteValue386_Op386MOVWstoreconstidx1_0(v *Value) bool {
// match: (MOVWstoreconstidx1 [c] {sym} ptr (SHLLconst [1] idx) mem)
- // cond:
// result: (MOVWstoreconstidx2 [c] {sym} ptr idx mem)
for {
c := v.AuxInt
@@ -11352,10 +10202,7 @@ func rewriteValue386_Op386MOVWstoreconstidx1_0(v *Value) bool {
mem := v.Args[2]
ptr := v.Args[0]
v_1 := v.Args[1]
- if v_1.Op != Op386SHLLconst {
- break
- }
- if v_1.AuxInt != 1 {
+ if v_1.Op != Op386SHLLconst || v_1.AuxInt != 1 {
break
}
idx := v_1.Args[0]
@@ -11368,7 +10215,6 @@ func rewriteValue386_Op386MOVWstoreconstidx1_0(v *Value) bool {
return true
}
// match: (MOVWstoreconstidx1 [x] {sym} (ADDLconst [c] ptr) idx mem)
- // cond:
// result: (MOVWstoreconstidx1 [ValAndOff(x).add(c)] {sym} ptr idx mem)
for {
x := v.AuxInt
@@ -11390,7 +10236,6 @@ func rewriteValue386_Op386MOVWstoreconstidx1_0(v *Value) bool {
return true
}
// match: (MOVWstoreconstidx1 [x] {sym} ptr (ADDLconst [c] idx) mem)
- // cond:
// result: (MOVWstoreconstidx1 [ValAndOff(x).add(c)] {sym} ptr idx mem)
for {
x := v.AuxInt
@@ -11429,13 +10274,7 @@ func rewriteValue386_Op386MOVWstoreconstidx1_0(v *Value) bool {
break
}
mem := x.Args[2]
- if p != x.Args[0] {
- break
- }
- if i != x.Args[1] {
- break
- }
- if !(x.Uses == 1 && ValAndOff(a).Off()+2 == ValAndOff(c).Off() && clobber(x)) {
+ if p != x.Args[0] || i != x.Args[1] || !(x.Uses == 1 && ValAndOff(a).Off()+2 == ValAndOff(c).Off() && clobber(x)) {
break
}
v.reset(Op386MOVLstoreconstidx1)
@@ -11451,7 +10290,6 @@ func rewriteValue386_Op386MOVWstoreconstidx1_0(v *Value) bool {
func rewriteValue386_Op386MOVWstoreconstidx2_0(v *Value) bool {
b := v.Block
// match: (MOVWstoreconstidx2 [x] {sym} (ADDLconst [c] ptr) idx mem)
- // cond:
// result: (MOVWstoreconstidx2 [ValAndOff(x).add(c)] {sym} ptr idx mem)
for {
x := v.AuxInt
@@ -11473,7 +10311,6 @@ func rewriteValue386_Op386MOVWstoreconstidx2_0(v *Value) bool {
return true
}
// match: (MOVWstoreconstidx2 [x] {sym} ptr (ADDLconst [c] idx) mem)
- // cond:
// result: (MOVWstoreconstidx2 [ValAndOff(x).add(2*c)] {sym} ptr idx mem)
for {
x := v.AuxInt
@@ -11512,13 +10349,7 @@ func rewriteValue386_Op386MOVWstoreconstidx2_0(v *Value) bool {
break
}
mem := x.Args[2]
- if p != x.Args[0] {
- break
- }
- if i != x.Args[1] {
- break
- }
- if !(x.Uses == 1 && ValAndOff(a).Off()+2 == ValAndOff(c).Off() && clobber(x)) {
+ if p != x.Args[0] || i != x.Args[1] || !(x.Uses == 1 && ValAndOff(a).Off()+2 == ValAndOff(c).Off() && clobber(x)) {
break
}
v.reset(Op386MOVLstoreconstidx1)
@@ -11536,7 +10367,6 @@ func rewriteValue386_Op386MOVWstoreconstidx2_0(v *Value) bool {
}
func rewriteValue386_Op386MOVWstoreidx1_0(v *Value) bool {
// match: (MOVWstoreidx1 [c] {sym} ptr (SHLLconst [1] idx) val mem)
- // cond:
// result: (MOVWstoreidx2 [c] {sym} ptr idx val mem)
for {
c := v.AuxInt
@@ -11544,10 +10374,7 @@ func rewriteValue386_Op386MOVWstoreidx1_0(v *Value) bool {
mem := v.Args[3]
ptr := v.Args[0]
v_1 := v.Args[1]
- if v_1.Op != Op386SHLLconst {
- break
- }
- if v_1.AuxInt != 1 {
+ if v_1.Op != Op386SHLLconst || v_1.AuxInt != 1 {
break
}
idx := v_1.Args[0]
@@ -11562,17 +10389,13 @@ func rewriteValue386_Op386MOVWstoreidx1_0(v *Value) bool {
return true
}
// match: (MOVWstoreidx1 [c] {sym} (SHLLconst [1] idx) ptr val mem)
- // cond:
// result: (MOVWstoreidx2 [c] {sym} ptr idx val mem)
for {
c := v.AuxInt
sym := v.Aux
mem := v.Args[3]
v_0 := v.Args[0]
- if v_0.Op != Op386SHLLconst {
- break
- }
- if v_0.AuxInt != 1 {
+ if v_0.Op != Op386SHLLconst || v_0.AuxInt != 1 {
break
}
idx := v_0.Args[0]
@@ -11588,7 +10411,6 @@ func rewriteValue386_Op386MOVWstoreidx1_0(v *Value) bool {
return true
}
// match: (MOVWstoreidx1 [c] {sym} (ADDLconst [d] ptr) idx val mem)
- // cond:
// result: (MOVWstoreidx1 [int64(int32(c+d))] {sym} ptr idx val mem)
for {
c := v.AuxInt
@@ -11612,7 +10434,6 @@ func rewriteValue386_Op386MOVWstoreidx1_0(v *Value) bool {
return true
}
// match: (MOVWstoreidx1 [c] {sym} idx (ADDLconst [d] ptr) val mem)
- // cond:
// result: (MOVWstoreidx1 [int64(int32(c+d))] {sym} ptr idx val mem)
for {
c := v.AuxInt
@@ -11636,7 +10457,6 @@ func rewriteValue386_Op386MOVWstoreidx1_0(v *Value) bool {
return true
}
// match: (MOVWstoreidx1 [c] {sym} ptr (ADDLconst [d] idx) val mem)
- // cond:
// result: (MOVWstoreidx1 [int64(int32(c+d))] {sym} ptr idx val mem)
for {
c := v.AuxInt
@@ -11660,7 +10480,6 @@ func rewriteValue386_Op386MOVWstoreidx1_0(v *Value) bool {
return true
}
// match: (MOVWstoreidx1 [c] {sym} (ADDLconst [d] idx) ptr val mem)
- // cond:
// result: (MOVWstoreidx1 [int64(int32(c+d))] {sym} ptr idx val mem)
for {
c := v.AuxInt
@@ -11693,34 +10512,16 @@ func rewriteValue386_Op386MOVWstoreidx1_0(v *Value) bool {
p := v.Args[0]
idx := v.Args[1]
v_2 := v.Args[2]
- if v_2.Op != Op386SHRLconst {
- break
- }
- if v_2.AuxInt != 16 {
+ if v_2.Op != Op386SHRLconst || v_2.AuxInt != 16 {
break
}
w := v_2.Args[0]
x := v.Args[3]
- if x.Op != Op386MOVWstoreidx1 {
- break
- }
- if x.AuxInt != i-2 {
- break
- }
- if x.Aux != s {
+ if x.Op != Op386MOVWstoreidx1 || x.AuxInt != i-2 || x.Aux != s {
break
}
mem := x.Args[3]
- if p != x.Args[0] {
- break
- }
- if idx != x.Args[1] {
- break
- }
- if w != x.Args[2] {
- break
- }
- if !(x.Uses == 1 && clobber(x)) {
+ if p != x.Args[0] || idx != x.Args[1] || w != x.Args[2] || !(x.Uses == 1 && clobber(x)) {
break
}
v.reset(Op386MOVLstoreidx1)
@@ -11742,34 +10543,16 @@ func rewriteValue386_Op386MOVWstoreidx1_0(v *Value) bool {
p := v.Args[0]
idx := v.Args[1]
v_2 := v.Args[2]
- if v_2.Op != Op386SHRLconst {
- break
- }
- if v_2.AuxInt != 16 {
+ if v_2.Op != Op386SHRLconst || v_2.AuxInt != 16 {
break
}
w := v_2.Args[0]
x := v.Args[3]
- if x.Op != Op386MOVWstoreidx1 {
- break
- }
- if x.AuxInt != i-2 {
- break
- }
- if x.Aux != s {
+ if x.Op != Op386MOVWstoreidx1 || x.AuxInt != i-2 || x.Aux != s {
break
}
mem := x.Args[3]
- if idx != x.Args[0] {
- break
- }
- if p != x.Args[1] {
- break
- }
- if w != x.Args[2] {
- break
- }
- if !(x.Uses == 1 && clobber(x)) {
+ if idx != x.Args[0] || p != x.Args[1] || w != x.Args[2] || !(x.Uses == 1 && clobber(x)) {
break
}
v.reset(Op386MOVLstoreidx1)
@@ -11791,34 +10574,16 @@ func rewriteValue386_Op386MOVWstoreidx1_0(v *Value) bool {
idx := v.Args[0]
p := v.Args[1]
v_2 := v.Args[2]
- if v_2.Op != Op386SHRLconst {
- break
- }
- if v_2.AuxInt != 16 {
+ if v_2.Op != Op386SHRLconst || v_2.AuxInt != 16 {
break
}
w := v_2.Args[0]
x := v.Args[3]
- if x.Op != Op386MOVWstoreidx1 {
- break
- }
- if x.AuxInt != i-2 {
- break
- }
- if x.Aux != s {
+ if x.Op != Op386MOVWstoreidx1 || x.AuxInt != i-2 || x.Aux != s {
break
}
mem := x.Args[3]
- if p != x.Args[0] {
- break
- }
- if idx != x.Args[1] {
- break
- }
- if w != x.Args[2] {
- break
- }
- if !(x.Uses == 1 && clobber(x)) {
+ if p != x.Args[0] || idx != x.Args[1] || w != x.Args[2] || !(x.Uses == 1 && clobber(x)) {
break
}
v.reset(Op386MOVLstoreidx1)
@@ -11840,34 +10605,16 @@ func rewriteValue386_Op386MOVWstoreidx1_0(v *Value) bool {
idx := v.Args[0]
p := v.Args[1]
v_2 := v.Args[2]
- if v_2.Op != Op386SHRLconst {
- break
- }
- if v_2.AuxInt != 16 {
+ if v_2.Op != Op386SHRLconst || v_2.AuxInt != 16 {
break
}
w := v_2.Args[0]
x := v.Args[3]
- if x.Op != Op386MOVWstoreidx1 {
- break
- }
- if x.AuxInt != i-2 {
- break
- }
- if x.Aux != s {
+ if x.Op != Op386MOVWstoreidx1 || x.AuxInt != i-2 || x.Aux != s {
break
}
mem := x.Args[3]
- if idx != x.Args[0] {
- break
- }
- if p != x.Args[1] {
- break
- }
- if w != x.Args[2] {
- break
- }
- if !(x.Uses == 1 && clobber(x)) {
+ if idx != x.Args[0] || p != x.Args[1] || w != x.Args[2] || !(x.Uses == 1 && clobber(x)) {
break
}
v.reset(Op386MOVLstoreidx1)
@@ -11898,33 +10645,15 @@ func rewriteValue386_Op386MOVWstoreidx1_10(v *Value) bool {
j := v_2.AuxInt
w := v_2.Args[0]
x := v.Args[3]
- if x.Op != Op386MOVWstoreidx1 {
- break
- }
- if x.AuxInt != i-2 {
- break
- }
- if x.Aux != s {
+ if x.Op != Op386MOVWstoreidx1 || x.AuxInt != i-2 || x.Aux != s {
break
}
mem := x.Args[3]
- if p != x.Args[0] {
- break
- }
- if idx != x.Args[1] {
+ if p != x.Args[0] || idx != x.Args[1] {
break
}
w0 := x.Args[2]
- if w0.Op != Op386SHRLconst {
- break
- }
- if w0.AuxInt != j-16 {
- break
- }
- if w != w0.Args[0] {
- break
- }
- if !(x.Uses == 1 && clobber(x)) {
+ if w0.Op != Op386SHRLconst || w0.AuxInt != j-16 || w != w0.Args[0] || !(x.Uses == 1 && clobber(x)) {
break
}
v.reset(Op386MOVLstoreidx1)
@@ -11952,33 +10681,15 @@ func rewriteValue386_Op386MOVWstoreidx1_10(v *Value) bool {
j := v_2.AuxInt
w := v_2.Args[0]
x := v.Args[3]
- if x.Op != Op386MOVWstoreidx1 {
- break
- }
- if x.AuxInt != i-2 {
- break
- }
- if x.Aux != s {
+ if x.Op != Op386MOVWstoreidx1 || x.AuxInt != i-2 || x.Aux != s {
break
}
mem := x.Args[3]
- if idx != x.Args[0] {
- break
- }
- if p != x.Args[1] {
+ if idx != x.Args[0] || p != x.Args[1] {
break
}
w0 := x.Args[2]
- if w0.Op != Op386SHRLconst {
- break
- }
- if w0.AuxInt != j-16 {
- break
- }
- if w != w0.Args[0] {
- break
- }
- if !(x.Uses == 1 && clobber(x)) {
+ if w0.Op != Op386SHRLconst || w0.AuxInt != j-16 || w != w0.Args[0] || !(x.Uses == 1 && clobber(x)) {
break
}
v.reset(Op386MOVLstoreidx1)
@@ -12006,33 +10717,15 @@ func rewriteValue386_Op386MOVWstoreidx1_10(v *Value) bool {
j := v_2.AuxInt
w := v_2.Args[0]
x := v.Args[3]
- if x.Op != Op386MOVWstoreidx1 {
- break
- }
- if x.AuxInt != i-2 {
- break
- }
- if x.Aux != s {
+ if x.Op != Op386MOVWstoreidx1 || x.AuxInt != i-2 || x.Aux != s {
break
}
mem := x.Args[3]
- if p != x.Args[0] {
- break
- }
- if idx != x.Args[1] {
+ if p != x.Args[0] || idx != x.Args[1] {
break
}
w0 := x.Args[2]
- if w0.Op != Op386SHRLconst {
- break
- }
- if w0.AuxInt != j-16 {
- break
- }
- if w != w0.Args[0] {
- break
- }
- if !(x.Uses == 1 && clobber(x)) {
+ if w0.Op != Op386SHRLconst || w0.AuxInt != j-16 || w != w0.Args[0] || !(x.Uses == 1 && clobber(x)) {
break
}
v.reset(Op386MOVLstoreidx1)
@@ -12060,33 +10753,15 @@ func rewriteValue386_Op386MOVWstoreidx1_10(v *Value) bool {
j := v_2.AuxInt
w := v_2.Args[0]
x := v.Args[3]
- if x.Op != Op386MOVWstoreidx1 {
- break
- }
- if x.AuxInt != i-2 {
- break
- }
- if x.Aux != s {
+ if x.Op != Op386MOVWstoreidx1 || x.AuxInt != i-2 || x.Aux != s {
break
}
mem := x.Args[3]
- if idx != x.Args[0] {
- break
- }
- if p != x.Args[1] {
+ if idx != x.Args[0] || p != x.Args[1] {
break
}
w0 := x.Args[2]
- if w0.Op != Op386SHRLconst {
- break
- }
- if w0.AuxInt != j-16 {
- break
- }
- if w != w0.Args[0] {
- break
- }
- if !(x.Uses == 1 && clobber(x)) {
+ if w0.Op != Op386SHRLconst || w0.AuxInt != j-16 || w != w0.Args[0] || !(x.Uses == 1 && clobber(x)) {
break
}
v.reset(Op386MOVLstoreidx1)
@@ -12103,7 +10778,6 @@ func rewriteValue386_Op386MOVWstoreidx1_10(v *Value) bool {
func rewriteValue386_Op386MOVWstoreidx2_0(v *Value) bool {
b := v.Block
// match: (MOVWstoreidx2 [c] {sym} (ADDLconst [d] ptr) idx val mem)
- // cond:
// result: (MOVWstoreidx2 [int64(int32(c+d))] {sym} ptr idx val mem)
for {
c := v.AuxInt
@@ -12127,7 +10801,6 @@ func rewriteValue386_Op386MOVWstoreidx2_0(v *Value) bool {
return true
}
// match: (MOVWstoreidx2 [c] {sym} ptr (ADDLconst [d] idx) val mem)
- // cond:
// result: (MOVWstoreidx2 [int64(int32(c+2*d))] {sym} ptr idx val mem)
for {
c := v.AuxInt
@@ -12160,34 +10833,16 @@ func rewriteValue386_Op386MOVWstoreidx2_0(v *Value) bool {
p := v.Args[0]
idx := v.Args[1]
v_2 := v.Args[2]
- if v_2.Op != Op386SHRLconst {
- break
- }
- if v_2.AuxInt != 16 {
+ if v_2.Op != Op386SHRLconst || v_2.AuxInt != 16 {
break
}
w := v_2.Args[0]
x := v.Args[3]
- if x.Op != Op386MOVWstoreidx2 {
- break
- }
- if x.AuxInt != i-2 {
- break
- }
- if x.Aux != s {
+ if x.Op != Op386MOVWstoreidx2 || x.AuxInt != i-2 || x.Aux != s {
break
}
mem := x.Args[3]
- if p != x.Args[0] {
- break
- }
- if idx != x.Args[1] {
- break
- }
- if w != x.Args[2] {
- break
- }
- if !(x.Uses == 1 && clobber(x)) {
+ if p != x.Args[0] || idx != x.Args[1] || w != x.Args[2] || !(x.Uses == 1 && clobber(x)) {
break
}
v.reset(Op386MOVLstoreidx1)
@@ -12218,33 +10873,15 @@ func rewriteValue386_Op386MOVWstoreidx2_0(v *Value) bool {
j := v_2.AuxInt
w := v_2.Args[0]
x := v.Args[3]
- if x.Op != Op386MOVWstoreidx2 {
- break
- }
- if x.AuxInt != i-2 {
- break
- }
- if x.Aux != s {
+ if x.Op != Op386MOVWstoreidx2 || x.AuxInt != i-2 || x.Aux != s {
break
}
mem := x.Args[3]
- if p != x.Args[0] {
- break
- }
- if idx != x.Args[1] {
+ if p != x.Args[0] || idx != x.Args[1] {
break
}
w0 := x.Args[2]
- if w0.Op != Op386SHRLconst {
- break
- }
- if w0.AuxInt != j-16 {
- break
- }
- if w != w0.Args[0] {
- break
- }
- if !(x.Uses == 1 && clobber(x)) {
+ if w0.Op != Op386SHRLconst || w0.AuxInt != j-16 || w != w0.Args[0] || !(x.Uses == 1 && clobber(x)) {
break
}
v.reset(Op386MOVLstoreidx1)
@@ -12263,7 +10900,6 @@ func rewriteValue386_Op386MOVWstoreidx2_0(v *Value) bool {
}
func rewriteValue386_Op386MULL_0(v *Value) bool {
// match: (MULL x (MOVLconst [c]))
- // cond:
// result: (MULLconst [c] x)
for {
_ = v.Args[1]
@@ -12279,7 +10915,6 @@ func rewriteValue386_Op386MULL_0(v *Value) bool {
return true
}
// match: (MULL (MOVLconst [c]) x)
- // cond:
// result: (MULLconst [c] x)
for {
x := v.Args[1]
@@ -12400,7 +11035,6 @@ func rewriteValue386_Op386MULL_0(v *Value) bool {
func rewriteValue386_Op386MULLconst_0(v *Value) bool {
b := v.Block
// match: (MULLconst [c] (MULLconst [d] x))
- // cond:
// result: (MULLconst [int64(int32(c * d))] x)
for {
c := v.AuxInt
@@ -12416,7 +11050,6 @@ func rewriteValue386_Op386MULLconst_0(v *Value) bool {
return true
}
// match: (MULLconst [-9] x)
- // cond:
// result: (NEGL (LEAL8 <v.Type> x x))
for {
if v.AuxInt != -9 {
@@ -12431,7 +11064,6 @@ func rewriteValue386_Op386MULLconst_0(v *Value) bool {
return true
}
// match: (MULLconst [-5] x)
- // cond:
// result: (NEGL (LEAL4 <v.Type> x x))
for {
if v.AuxInt != -5 {
@@ -12446,7 +11078,6 @@ func rewriteValue386_Op386MULLconst_0(v *Value) bool {
return true
}
// match: (MULLconst [-3] x)
- // cond:
// result: (NEGL (LEAL2 <v.Type> x x))
for {
if v.AuxInt != -3 {
@@ -12461,7 +11092,6 @@ func rewriteValue386_Op386MULLconst_0(v *Value) bool {
return true
}
// match: (MULLconst [-1] x)
- // cond:
// result: (NEGL x)
for {
if v.AuxInt != -1 {
@@ -12473,7 +11103,6 @@ func rewriteValue386_Op386MULLconst_0(v *Value) bool {
return true
}
// match: (MULLconst [0] _)
- // cond:
// result: (MOVLconst [0])
for {
if v.AuxInt != 0 {
@@ -12484,7 +11113,6 @@ func rewriteValue386_Op386MULLconst_0(v *Value) bool {
return true
}
// match: (MULLconst [1] x)
- // cond:
// result: x
for {
if v.AuxInt != 1 {
@@ -12497,7 +11125,6 @@ func rewriteValue386_Op386MULLconst_0(v *Value) bool {
return true
}
// match: (MULLconst [3] x)
- // cond:
// result: (LEAL2 x x)
for {
if v.AuxInt != 3 {
@@ -12510,7 +11137,6 @@ func rewriteValue386_Op386MULLconst_0(v *Value) bool {
return true
}
// match: (MULLconst [5] x)
- // cond:
// result: (LEAL4 x x)
for {
if v.AuxInt != 5 {
@@ -12523,7 +11149,6 @@ func rewriteValue386_Op386MULLconst_0(v *Value) bool {
return true
}
// match: (MULLconst [7] x)
- // cond:
// result: (LEAL2 x (LEAL2 <v.Type> x x))
for {
if v.AuxInt != 7 {
@@ -12543,7 +11168,6 @@ func rewriteValue386_Op386MULLconst_0(v *Value) bool {
func rewriteValue386_Op386MULLconst_10(v *Value) bool {
b := v.Block
// match: (MULLconst [9] x)
- // cond:
// result: (LEAL8 x x)
for {
if v.AuxInt != 9 {
@@ -12556,7 +11180,6 @@ func rewriteValue386_Op386MULLconst_10(v *Value) bool {
return true
}
// match: (MULLconst [11] x)
- // cond:
// result: (LEAL2 x (LEAL4 <v.Type> x x))
for {
if v.AuxInt != 11 {
@@ -12572,7 +11195,6 @@ func rewriteValue386_Op386MULLconst_10(v *Value) bool {
return true
}
// match: (MULLconst [13] x)
- // cond:
// result: (LEAL4 x (LEAL2 <v.Type> x x))
for {
if v.AuxInt != 13 {
@@ -12588,7 +11210,6 @@ func rewriteValue386_Op386MULLconst_10(v *Value) bool {
return true
}
// match: (MULLconst [19] x)
- // cond:
// result: (LEAL2 x (LEAL8 <v.Type> x x))
for {
if v.AuxInt != 19 {
@@ -12604,7 +11225,6 @@ func rewriteValue386_Op386MULLconst_10(v *Value) bool {
return true
}
// match: (MULLconst [21] x)
- // cond:
// result: (LEAL4 x (LEAL4 <v.Type> x x))
for {
if v.AuxInt != 21 {
@@ -12620,7 +11240,6 @@ func rewriteValue386_Op386MULLconst_10(v *Value) bool {
return true
}
// match: (MULLconst [25] x)
- // cond:
// result: (LEAL8 x (LEAL2 <v.Type> x x))
for {
if v.AuxInt != 25 {
@@ -12636,7 +11255,6 @@ func rewriteValue386_Op386MULLconst_10(v *Value) bool {
return true
}
// match: (MULLconst [27] x)
- // cond:
// result: (LEAL8 (LEAL2 <v.Type> x x) (LEAL2 <v.Type> x x))
for {
if v.AuxInt != 27 {
@@ -12655,7 +11273,6 @@ func rewriteValue386_Op386MULLconst_10(v *Value) bool {
return true
}
// match: (MULLconst [37] x)
- // cond:
// result: (LEAL4 x (LEAL8 <v.Type> x x))
for {
if v.AuxInt != 37 {
@@ -12671,7 +11288,6 @@ func rewriteValue386_Op386MULLconst_10(v *Value) bool {
return true
}
// match: (MULLconst [41] x)
- // cond:
// result: (LEAL8 x (LEAL4 <v.Type> x x))
for {
if v.AuxInt != 41 {
@@ -12687,7 +11303,6 @@ func rewriteValue386_Op386MULLconst_10(v *Value) bool {
return true
}
// match: (MULLconst [45] x)
- // cond:
// result: (LEAL8 (LEAL4 <v.Type> x x) (LEAL4 <v.Type> x x))
for {
if v.AuxInt != 45 {
@@ -12710,7 +11325,6 @@ func rewriteValue386_Op386MULLconst_10(v *Value) bool {
func rewriteValue386_Op386MULLconst_20(v *Value) bool {
b := v.Block
// match: (MULLconst [73] x)
- // cond:
// result: (LEAL8 x (LEAL8 <v.Type> x x))
for {
if v.AuxInt != 73 {
@@ -12726,7 +11340,6 @@ func rewriteValue386_Op386MULLconst_20(v *Value) bool {
return true
}
// match: (MULLconst [81] x)
- // cond:
// result: (LEAL8 (LEAL8 <v.Type> x x) (LEAL8 <v.Type> x x))
for {
if v.AuxInt != 81 {
@@ -12884,7 +11497,6 @@ func rewriteValue386_Op386MULLconst_20(v *Value) bool {
}
func rewriteValue386_Op386MULLconst_30(v *Value) bool {
// match: (MULLconst [c] (MOVLconst [d]))
- // cond:
// result: (MOVLconst [int64(int32(c*d))])
for {
c := v.AuxInt
@@ -13292,7 +11904,6 @@ func rewriteValue386_Op386MULSSload_0(v *Value) bool {
}
func rewriteValue386_Op386NEGL_0(v *Value) bool {
// match: (NEGL (MOVLconst [c]))
- // cond:
// result: (MOVLconst [int64(int32(-c))])
for {
v_0 := v.Args[0]
@@ -13308,7 +11919,6 @@ func rewriteValue386_Op386NEGL_0(v *Value) bool {
}
func rewriteValue386_Op386NOTL_0(v *Value) bool {
// match: (NOTL (MOVLconst [c]))
- // cond:
// result: (MOVLconst [^c])
for {
v_0 := v.Args[0]
@@ -13324,7 +11934,6 @@ func rewriteValue386_Op386NOTL_0(v *Value) bool {
}
func rewriteValue386_Op386ORL_0(v *Value) bool {
// match: (ORL x (MOVLconst [c]))
- // cond:
// result: (ORLconst [c] x)
for {
_ = v.Args[1]
@@ -13340,7 +11949,6 @@ func rewriteValue386_Op386ORL_0(v *Value) bool {
return true
}
// match: (ORL (MOVLconst [c]) x)
- // cond:
// result: (ORLconst [c] x)
for {
x := v.Args[1]
@@ -13370,10 +11978,7 @@ func rewriteValue386_Op386ORL_0(v *Value) bool {
break
}
d := v_1.AuxInt
- if x != v_1.Args[0] {
- break
- }
- if !(d == 32-c) {
+ if x != v_1.Args[0] || !(d == 32-c) {
break
}
v.reset(Op386ROLLconst)
@@ -13397,10 +12002,7 @@ func rewriteValue386_Op386ORL_0(v *Value) bool {
break
}
c := v_1.AuxInt
- if x != v_1.Args[0] {
- break
- }
- if !(d == 32-c) {
+ if x != v_1.Args[0] || !(d == 32-c) {
break
}
v.reset(Op386ROLLconst)
@@ -13425,10 +12027,7 @@ func rewriteValue386_Op386ORL_0(v *Value) bool {
break
}
d := v_1.AuxInt
- if x != v_1.Args[0] {
- break
- }
- if !(c < 16 && d == 16-c && t.Size() == 2) {
+ if x != v_1.Args[0] || !(c < 16 && d == 16-c && t.Size() == 2) {
break
}
v.reset(Op386ROLWconst)
@@ -13453,10 +12052,7 @@ func rewriteValue386_Op386ORL_0(v *Value) bool {
break
}
c := v_1.AuxInt
- if x != v_1.Args[0] {
- break
- }
- if !(c < 16 && d == 16-c && t.Size() == 2) {
+ if x != v_1.Args[0] || !(c < 16 && d == 16-c && t.Size() == 2) {
break
}
v.reset(Op386ROLWconst)
@@ -13481,10 +12077,7 @@ func rewriteValue386_Op386ORL_0(v *Value) bool {
break
}
d := v_1.AuxInt
- if x != v_1.Args[0] {
- break
- }
- if !(c < 8 && d == 8-c && t.Size() == 1) {
+ if x != v_1.Args[0] || !(c < 8 && d == 8-c && t.Size() == 1) {
break
}
v.reset(Op386ROLBconst)
@@ -13509,10 +12102,7 @@ func rewriteValue386_Op386ORL_0(v *Value) bool {
break
}
c := v_1.AuxInt
- if x != v_1.Args[0] {
- break
- }
- if !(c < 8 && d == 8-c && t.Size() == 1) {
+ if x != v_1.Args[0] || !(c < 8 && d == 8-c && t.Size() == 1) {
break
}
v.reset(Op386ROLBconst)
@@ -13628,7 +12218,6 @@ func rewriteValue386_Op386ORL_10(v *Value) bool {
return true
}
// match: (ORL x x)
- // cond:
// result: x
for {
x := v.Args[1]
@@ -13654,10 +12243,7 @@ func rewriteValue386_Op386ORL_10(v *Value) bool {
mem := x0.Args[1]
p := x0.Args[0]
s0 := v.Args[1]
- if s0.Op != Op386SHLLconst {
- break
- }
- if s0.AuxInt != 8 {
+ if s0.Op != Op386SHLLconst || s0.AuxInt != 8 {
break
}
x1 := s0.Args[0]
@@ -13669,13 +12255,7 @@ func rewriteValue386_Op386ORL_10(v *Value) bool {
break
}
_ = x1.Args[1]
- if p != x1.Args[0] {
- break
- }
- if mem != x1.Args[1] {
- break
- }
- if !(i1 == i0+1 && x0.Uses == 1 && x1.Uses == 1 && s0.Uses == 1 && mergePoint(b, x0, x1) != nil && clobber(x0) && clobber(x1) && clobber(s0)) {
+ if p != x1.Args[0] || mem != x1.Args[1] || !(i1 == i0+1 && x0.Uses == 1 && x1.Uses == 1 && s0.Uses == 1 && mergePoint(b, x0, x1) != nil && clobber(x0) && clobber(x1) && clobber(s0)) {
break
}
b = mergePoint(b, x0, x1)
@@ -13694,10 +12274,7 @@ func rewriteValue386_Op386ORL_10(v *Value) bool {
for {
_ = v.Args[1]
s0 := v.Args[0]
- if s0.Op != Op386SHLLconst {
- break
- }
- if s0.AuxInt != 8 {
+ if s0.Op != Op386SHLLconst || s0.AuxInt != 8 {
break
}
x1 := s0.Args[0]
@@ -13717,13 +12294,7 @@ func rewriteValue386_Op386ORL_10(v *Value) bool {
break
}
_ = x0.Args[1]
- if p != x0.Args[0] {
- break
- }
- if mem != x0.Args[1] {
- break
- }
- if !(i1 == i0+1 && x0.Uses == 1 && x1.Uses == 1 && s0.Uses == 1 && mergePoint(b, x0, x1) != nil && clobber(x0) && clobber(x1) && clobber(s0)) {
+ if p != x0.Args[0] || mem != x0.Args[1] || !(i1 == i0+1 && x0.Uses == 1 && x1.Uses == 1 && s0.Uses == 1 && mergePoint(b, x0, x1) != nil && clobber(x0) && clobber(x1) && clobber(s0)) {
break
}
b = mergePoint(b, x0, x1)
@@ -13755,10 +12326,7 @@ func rewriteValue386_Op386ORL_10(v *Value) bool {
mem := x0.Args[1]
p := x0.Args[0]
s0 := o0.Args[1]
- if s0.Op != Op386SHLLconst {
- break
- }
- if s0.AuxInt != 16 {
+ if s0.Op != Op386SHLLconst || s0.AuxInt != 16 {
break
}
x1 := s0.Args[0]
@@ -13770,17 +12338,11 @@ func rewriteValue386_Op386ORL_10(v *Value) bool {
break
}
_ = x1.Args[1]
- if p != x1.Args[0] {
- break
- }
- if mem != x1.Args[1] {
+ if p != x1.Args[0] || mem != x1.Args[1] {
break
}
s1 := v.Args[1]
- if s1.Op != Op386SHLLconst {
- break
- }
- if s1.AuxInt != 24 {
+ if s1.Op != Op386SHLLconst || s1.AuxInt != 24 {
break
}
x2 := s1.Args[0]
@@ -13792,13 +12354,7 @@ func rewriteValue386_Op386ORL_10(v *Value) bool {
break
}
_ = x2.Args[1]
- if p != x2.Args[0] {
- break
- }
- if mem != x2.Args[1] {
- break
- }
- if !(i2 == i0+2 && i3 == i0+3 && x0.Uses == 1 && x1.Uses == 1 && x2.Uses == 1 && s0.Uses == 1 && s1.Uses == 1 && o0.Uses == 1 && mergePoint(b, x0, x1, x2) != nil && clobber(x0) && clobber(x1) && clobber(x2) && clobber(s0) && clobber(s1) && clobber(o0)) {
+ if p != x2.Args[0] || mem != x2.Args[1] || !(i2 == i0+2 && i3 == i0+3 && x0.Uses == 1 && x1.Uses == 1 && x2.Uses == 1 && s0.Uses == 1 && s1.Uses == 1 && o0.Uses == 1 && mergePoint(b, x0, x1, x2) != nil && clobber(x0) && clobber(x1) && clobber(x2) && clobber(s0) && clobber(s1) && clobber(o0)) {
break
}
b = mergePoint(b, x0, x1, x2)
@@ -13822,10 +12378,7 @@ func rewriteValue386_Op386ORL_10(v *Value) bool {
}
_ = o0.Args[1]
s0 := o0.Args[0]
- if s0.Op != Op386SHLLconst {
- break
- }
- if s0.AuxInt != 16 {
+ if s0.Op != Op386SHLLconst || s0.AuxInt != 16 {
break
}
x1 := s0.Args[0]
@@ -13845,17 +12398,11 @@ func rewriteValue386_Op386ORL_10(v *Value) bool {
break
}
_ = x0.Args[1]
- if p != x0.Args[0] {
- break
- }
- if mem != x0.Args[1] {
+ if p != x0.Args[0] || mem != x0.Args[1] {
break
}
s1 := v.Args[1]
- if s1.Op != Op386SHLLconst {
- break
- }
- if s1.AuxInt != 24 {
+ if s1.Op != Op386SHLLconst || s1.AuxInt != 24 {
break
}
x2 := s1.Args[0]
@@ -13867,13 +12414,7 @@ func rewriteValue386_Op386ORL_10(v *Value) bool {
break
}
_ = x2.Args[1]
- if p != x2.Args[0] {
- break
- }
- if mem != x2.Args[1] {
- break
- }
- if !(i2 == i0+2 && i3 == i0+3 && x0.Uses == 1 && x1.Uses == 1 && x2.Uses == 1 && s0.Uses == 1 && s1.Uses == 1 && o0.Uses == 1 && mergePoint(b, x0, x1, x2) != nil && clobber(x0) && clobber(x1) && clobber(x2) && clobber(s0) && clobber(s1) && clobber(o0)) {
+ if p != x2.Args[0] || mem != x2.Args[1] || !(i2 == i0+2 && i3 == i0+3 && x0.Uses == 1 && x1.Uses == 1 && x2.Uses == 1 && s0.Uses == 1 && s1.Uses == 1 && o0.Uses == 1 && mergePoint(b, x0, x1, x2) != nil && clobber(x0) && clobber(x1) && clobber(x2) && clobber(s0) && clobber(s1) && clobber(o0)) {
break
}
b = mergePoint(b, x0, x1, x2)
@@ -13892,10 +12433,7 @@ func rewriteValue386_Op386ORL_10(v *Value) bool {
for {
_ = v.Args[1]
s1 := v.Args[0]
- if s1.Op != Op386SHLLconst {
- break
- }
- if s1.AuxInt != 24 {
+ if s1.Op != Op386SHLLconst || s1.AuxInt != 24 {
break
}
x2 := s1.Args[0]
@@ -13920,17 +12458,11 @@ func rewriteValue386_Op386ORL_10(v *Value) bool {
break
}
_ = x0.Args[1]
- if p != x0.Args[0] {
- break
- }
- if mem != x0.Args[1] {
+ if p != x0.Args[0] || mem != x0.Args[1] {
break
}
s0 := o0.Args[1]
- if s0.Op != Op386SHLLconst {
- break
- }
- if s0.AuxInt != 16 {
+ if s0.Op != Op386SHLLconst || s0.AuxInt != 16 {
break
}
x1 := s0.Args[0]
@@ -13942,13 +12474,7 @@ func rewriteValue386_Op386ORL_10(v *Value) bool {
break
}
_ = x1.Args[1]
- if p != x1.Args[0] {
- break
- }
- if mem != x1.Args[1] {
- break
- }
- if !(i2 == i0+2 && i3 == i0+3 && x0.Uses == 1 && x1.Uses == 1 && x2.Uses == 1 && s0.Uses == 1 && s1.Uses == 1 && o0.Uses == 1 && mergePoint(b, x0, x1, x2) != nil && clobber(x0) && clobber(x1) && clobber(x2) && clobber(s0) && clobber(s1) && clobber(o0)) {
+ if p != x1.Args[0] || mem != x1.Args[1] || !(i2 == i0+2 && i3 == i0+3 && x0.Uses == 1 && x1.Uses == 1 && x2.Uses == 1 && s0.Uses == 1 && s1.Uses == 1 && o0.Uses == 1 && mergePoint(b, x0, x1, x2) != nil && clobber(x0) && clobber(x1) && clobber(x2) && clobber(s0) && clobber(s1) && clobber(o0)) {
break
}
b = mergePoint(b, x0, x1, x2)
@@ -13967,10 +12493,7 @@ func rewriteValue386_Op386ORL_10(v *Value) bool {
for {
_ = v.Args[1]
s1 := v.Args[0]
- if s1.Op != Op386SHLLconst {
- break
- }
- if s1.AuxInt != 24 {
+ if s1.Op != Op386SHLLconst || s1.AuxInt != 24 {
break
}
x2 := s1.Args[0]
@@ -13987,10 +12510,7 @@ func rewriteValue386_Op386ORL_10(v *Value) bool {
}
_ = o0.Args[1]
s0 := o0.Args[0]
- if s0.Op != Op386SHLLconst {
- break
- }
- if s0.AuxInt != 16 {
+ if s0.Op != Op386SHLLconst || s0.AuxInt != 16 {
break
}
x1 := s0.Args[0]
@@ -14002,10 +12522,7 @@ func rewriteValue386_Op386ORL_10(v *Value) bool {
break
}
_ = x1.Args[1]
- if p != x1.Args[0] {
- break
- }
- if mem != x1.Args[1] {
+ if p != x1.Args[0] || mem != x1.Args[1] {
break
}
x0 := o0.Args[1]
@@ -14017,13 +12534,7 @@ func rewriteValue386_Op386ORL_10(v *Value) bool {
break
}
_ = x0.Args[1]
- if p != x0.Args[0] {
- break
- }
- if mem != x0.Args[1] {
- break
- }
- if !(i2 == i0+2 && i3 == i0+3 && x0.Uses == 1 && x1.Uses == 1 && x2.Uses == 1 && s0.Uses == 1 && s1.Uses == 1 && o0.Uses == 1 && mergePoint(b, x0, x1, x2) != nil && clobber(x0) && clobber(x1) && clobber(x2) && clobber(s0) && clobber(s1) && clobber(o0)) {
+ if p != x0.Args[0] || mem != x0.Args[1] || !(i2 == i0+2 && i3 == i0+3 && x0.Uses == 1 && x1.Uses == 1 && x2.Uses == 1 && s0.Uses == 1 && s1.Uses == 1 && o0.Uses == 1 && mergePoint(b, x0, x1, x2) != nil && clobber(x0) && clobber(x1) && clobber(x2) && clobber(s0) && clobber(s1) && clobber(o0)) {
break
}
b = mergePoint(b, x0, x1, x2)
@@ -14051,10 +12562,7 @@ func rewriteValue386_Op386ORL_10(v *Value) bool {
p := x0.Args[0]
idx := x0.Args[1]
s0 := v.Args[1]
- if s0.Op != Op386SHLLconst {
- break
- }
- if s0.AuxInt != 8 {
+ if s0.Op != Op386SHLLconst || s0.AuxInt != 8 {
break
}
x1 := s0.Args[0]
@@ -14066,16 +12574,7 @@ func rewriteValue386_Op386ORL_10(v *Value) bool {
break
}
_ = x1.Args[2]
- if p != x1.Args[0] {
- break
- }
- if idx != x1.Args[1] {
- break
- }
- if mem != x1.Args[2] {
- break
- }
- if !(i1 == i0+1 && x0.Uses == 1 && x1.Uses == 1 && s0.Uses == 1 && mergePoint(b, x0, x1) != nil && clobber(x0) && clobber(x1) && clobber(s0)) {
+ if p != x1.Args[0] || idx != x1.Args[1] || mem != x1.Args[2] || !(i1 == i0+1 && x0.Uses == 1 && x1.Uses == 1 && s0.Uses == 1 && mergePoint(b, x0, x1) != nil && clobber(x0) && clobber(x1) && clobber(s0)) {
break
}
b = mergePoint(b, x0, x1)
@@ -14108,10 +12607,7 @@ func rewriteValue386_Op386ORL_20(v *Value) bool {
idx := x0.Args[0]
p := x0.Args[1]
s0 := v.Args[1]
- if s0.Op != Op386SHLLconst {
- break
- }
- if s0.AuxInt != 8 {
+ if s0.Op != Op386SHLLconst || s0.AuxInt != 8 {
break
}
x1 := s0.Args[0]
@@ -14123,16 +12619,7 @@ func rewriteValue386_Op386ORL_20(v *Value) bool {
break
}
_ = x1.Args[2]
- if p != x1.Args[0] {
- break
- }
- if idx != x1.Args[1] {
- break
- }
- if mem != x1.Args[2] {
- break
- }
- if !(i1 == i0+1 && x0.Uses == 1 && x1.Uses == 1 && s0.Uses == 1 && mergePoint(b, x0, x1) != nil && clobber(x0) && clobber(x1) && clobber(s0)) {
+ if p != x1.Args[0] || idx != x1.Args[1] || mem != x1.Args[2] || !(i1 == i0+1 && x0.Uses == 1 && x1.Uses == 1 && s0.Uses == 1 && mergePoint(b, x0, x1) != nil && clobber(x0) && clobber(x1) && clobber(s0)) {
break
}
b = mergePoint(b, x0, x1)
@@ -14161,10 +12648,7 @@ func rewriteValue386_Op386ORL_20(v *Value) bool {
p := x0.Args[0]
idx := x0.Args[1]
s0 := v.Args[1]
- if s0.Op != Op386SHLLconst {
- break
- }
- if s0.AuxInt != 8 {
+ if s0.Op != Op386SHLLconst || s0.AuxInt != 8 {
break
}
x1 := s0.Args[0]
@@ -14176,16 +12660,7 @@ func rewriteValue386_Op386ORL_20(v *Value) bool {
break
}
_ = x1.Args[2]
- if idx != x1.Args[0] {
- break
- }
- if p != x1.Args[1] {
- break
- }
- if mem != x1.Args[2] {
- break
- }
- if !(i1 == i0+1 && x0.Uses == 1 && x1.Uses == 1 && s0.Uses == 1 && mergePoint(b, x0, x1) != nil && clobber(x0) && clobber(x1) && clobber(s0)) {
+ if idx != x1.Args[0] || p != x1.Args[1] || mem != x1.Args[2] || !(i1 == i0+1 && x0.Uses == 1 && x1.Uses == 1 && s0.Uses == 1 && mergePoint(b, x0, x1) != nil && clobber(x0) && clobber(x1) && clobber(s0)) {
break
}
b = mergePoint(b, x0, x1)
@@ -14214,10 +12689,7 @@ func rewriteValue386_Op386ORL_20(v *Value) bool {
idx := x0.Args[0]
p := x0.Args[1]
s0 := v.Args[1]
- if s0.Op != Op386SHLLconst {
- break
- }
- if s0.AuxInt != 8 {
+ if s0.Op != Op386SHLLconst || s0.AuxInt != 8 {
break
}
x1 := s0.Args[0]
@@ -14229,16 +12701,7 @@ func rewriteValue386_Op386ORL_20(v *Value) bool {
break
}
_ = x1.Args[2]
- if idx != x1.Args[0] {
- break
- }
- if p != x1.Args[1] {
- break
- }
- if mem != x1.Args[2] {
- break
- }
- if !(i1 == i0+1 && x0.Uses == 1 && x1.Uses == 1 && s0.Uses == 1 && mergePoint(b, x0, x1) != nil && clobber(x0) && clobber(x1) && clobber(s0)) {
+ if idx != x1.Args[0] || p != x1.Args[1] || mem != x1.Args[2] || !(i1 == i0+1 && x0.Uses == 1 && x1.Uses == 1 && s0.Uses == 1 && mergePoint(b, x0, x1) != nil && clobber(x0) && clobber(x1) && clobber(s0)) {
break
}
b = mergePoint(b, x0, x1)
@@ -14258,10 +12721,7 @@ func rewriteValue386_Op386ORL_20(v *Value) bool {
for {
_ = v.Args[1]
s0 := v.Args[0]
- if s0.Op != Op386SHLLconst {
- break
- }
- if s0.AuxInt != 8 {
+ if s0.Op != Op386SHLLconst || s0.AuxInt != 8 {
break
}
x1 := s0.Args[0]
@@ -14282,16 +12742,7 @@ func rewriteValue386_Op386ORL_20(v *Value) bool {
break
}
_ = x0.Args[2]
- if p != x0.Args[0] {
- break
- }
- if idx != x0.Args[1] {
- break
- }
- if mem != x0.Args[2] {
- break
- }
- if !(i1 == i0+1 && x0.Uses == 1 && x1.Uses == 1 && s0.Uses == 1 && mergePoint(b, x0, x1) != nil && clobber(x0) && clobber(x1) && clobber(s0)) {
+ if p != x0.Args[0] || idx != x0.Args[1] || mem != x0.Args[2] || !(i1 == i0+1 && x0.Uses == 1 && x1.Uses == 1 && s0.Uses == 1 && mergePoint(b, x0, x1) != nil && clobber(x0) && clobber(x1) && clobber(s0)) {
break
}
b = mergePoint(b, x0, x1)
@@ -14311,10 +12762,7 @@ func rewriteValue386_Op386ORL_20(v *Value) bool {
for {
_ = v.Args[1]
s0 := v.Args[0]
- if s0.Op != Op386SHLLconst {
- break
- }
- if s0.AuxInt != 8 {
+ if s0.Op != Op386SHLLconst || s0.AuxInt != 8 {
break
}
x1 := s0.Args[0]
@@ -14335,16 +12783,7 @@ func rewriteValue386_Op386ORL_20(v *Value) bool {
break
}
_ = x0.Args[2]
- if p != x0.Args[0] {
- break
- }
- if idx != x0.Args[1] {
- break
- }
- if mem != x0.Args[2] {
- break
- }
- if !(i1 == i0+1 && x0.Uses == 1 && x1.Uses == 1 && s0.Uses == 1 && mergePoint(b, x0, x1) != nil && clobber(x0) && clobber(x1) && clobber(s0)) {
+ if p != x0.Args[0] || idx != x0.Args[1] || mem != x0.Args[2] || !(i1 == i0+1 && x0.Uses == 1 && x1.Uses == 1 && s0.Uses == 1 && mergePoint(b, x0, x1) != nil && clobber(x0) && clobber(x1) && clobber(s0)) {
break
}
b = mergePoint(b, x0, x1)
@@ -14364,10 +12803,7 @@ func rewriteValue386_Op386ORL_20(v *Value) bool {
for {
_ = v.Args[1]
s0 := v.Args[0]
- if s0.Op != Op386SHLLconst {
- break
- }
- if s0.AuxInt != 8 {
+ if s0.Op != Op386SHLLconst || s0.AuxInt != 8 {
break
}
x1 := s0.Args[0]
@@ -14388,16 +12824,7 @@ func rewriteValue386_Op386ORL_20(v *Value) bool {
break
}
_ = x0.Args[2]
- if idx != x0.Args[0] {
- break
- }
- if p != x0.Args[1] {
- break
- }
- if mem != x0.Args[2] {
- break
- }
- if !(i1 == i0+1 && x0.Uses == 1 && x1.Uses == 1 && s0.Uses == 1 && mergePoint(b, x0, x1) != nil && clobber(x0) && clobber(x1) && clobber(s0)) {
+ if idx != x0.Args[0] || p != x0.Args[1] || mem != x0.Args[2] || !(i1 == i0+1 && x0.Uses == 1 && x1.Uses == 1 && s0.Uses == 1 && mergePoint(b, x0, x1) != nil && clobber(x0) && clobber(x1) && clobber(s0)) {
break
}
b = mergePoint(b, x0, x1)
@@ -14417,10 +12844,7 @@ func rewriteValue386_Op386ORL_20(v *Value) bool {
for {
_ = v.Args[1]
s0 := v.Args[0]
- if s0.Op != Op386SHLLconst {
- break
- }
- if s0.AuxInt != 8 {
+ if s0.Op != Op386SHLLconst || s0.AuxInt != 8 {
break
}
x1 := s0.Args[0]
@@ -14441,16 +12865,7 @@ func rewriteValue386_Op386ORL_20(v *Value) bool {
break
}
_ = x0.Args[2]
- if idx != x0.Args[0] {
- break
- }
- if p != x0.Args[1] {
- break
- }
- if mem != x0.Args[2] {
- break
- }
- if !(i1 == i0+1 && x0.Uses == 1 && x1.Uses == 1 && s0.Uses == 1 && mergePoint(b, x0, x1) != nil && clobber(x0) && clobber(x1) && clobber(s0)) {
+ if idx != x0.Args[0] || p != x0.Args[1] || mem != x0.Args[2] || !(i1 == i0+1 && x0.Uses == 1 && x1.Uses == 1 && s0.Uses == 1 && mergePoint(b, x0, x1) != nil && clobber(x0) && clobber(x1) && clobber(s0)) {
break
}
b = mergePoint(b, x0, x1)
@@ -14484,10 +12899,7 @@ func rewriteValue386_Op386ORL_20(v *Value) bool {
p := x0.Args[0]
idx := x0.Args[1]
s0 := o0.Args[1]
- if s0.Op != Op386SHLLconst {
- break
- }
- if s0.AuxInt != 16 {
+ if s0.Op != Op386SHLLconst || s0.AuxInt != 16 {
break
}
x1 := s0.Args[0]
@@ -14499,20 +12911,11 @@ func rewriteValue386_Op386ORL_20(v *Value) bool {
break
}
_ = x1.Args[2]
- if p != x1.Args[0] {
- break
- }
- if idx != x1.Args[1] {
- break
- }
- if mem != x1.Args[2] {
+ if p != x1.Args[0] || idx != x1.Args[1] || mem != x1.Args[2] {
break
}
s1 := v.Args[1]
- if s1.Op != Op386SHLLconst {
- break
- }
- if s1.AuxInt != 24 {
+ if s1.Op != Op386SHLLconst || s1.AuxInt != 24 {
break
}
x2 := s1.Args[0]
@@ -14524,16 +12927,7 @@ func rewriteValue386_Op386ORL_20(v *Value) bool {
break
}
_ = x2.Args[2]
- if p != x2.Args[0] {
- break
- }
- if idx != x2.Args[1] {
- break
- }
- if mem != x2.Args[2] {
- break
- }
- if !(i2 == i0+2 && i3 == i0+3 && x0.Uses == 1 && x1.Uses == 1 && x2.Uses == 1 && s0.Uses == 1 && s1.Uses == 1 && o0.Uses == 1 && mergePoint(b, x0, x1, x2) != nil && clobber(x0) && clobber(x1) && clobber(x2) && clobber(s0) && clobber(s1) && clobber(o0)) {
+ if p != x2.Args[0] || idx != x2.Args[1] || mem != x2.Args[2] || !(i2 == i0+2 && i3 == i0+3 && x0.Uses == 1 && x1.Uses == 1 && x2.Uses == 1 && s0.Uses == 1 && s1.Uses == 1 && o0.Uses == 1 && mergePoint(b, x0, x1, x2) != nil && clobber(x0) && clobber(x1) && clobber(x2) && clobber(s0) && clobber(s1) && clobber(o0)) {
break
}
b = mergePoint(b, x0, x1, x2)
@@ -14567,10 +12961,7 @@ func rewriteValue386_Op386ORL_20(v *Value) bool {
idx := x0.Args[0]
p := x0.Args[1]
s0 := o0.Args[1]
- if s0.Op != Op386SHLLconst {
- break
- }
- if s0.AuxInt != 16 {
+ if s0.Op != Op386SHLLconst || s0.AuxInt != 16 {
break
}
x1 := s0.Args[0]
@@ -14582,20 +12973,11 @@ func rewriteValue386_Op386ORL_20(v *Value) bool {
break
}
_ = x1.Args[2]
- if p != x1.Args[0] {
- break
- }
- if idx != x1.Args[1] {
- break
- }
- if mem != x1.Args[2] {
+ if p != x1.Args[0] || idx != x1.Args[1] || mem != x1.Args[2] {
break
}
s1 := v.Args[1]
- if s1.Op != Op386SHLLconst {
- break
- }
- if s1.AuxInt != 24 {
+ if s1.Op != Op386SHLLconst || s1.AuxInt != 24 {
break
}
x2 := s1.Args[0]
@@ -14607,16 +12989,7 @@ func rewriteValue386_Op386ORL_20(v *Value) bool {
break
}
_ = x2.Args[2]
- if p != x2.Args[0] {
- break
- }
- if idx != x2.Args[1] {
- break
- }
- if mem != x2.Args[2] {
- break
- }
- if !(i2 == i0+2 && i3 == i0+3 && x0.Uses == 1 && x1.Uses == 1 && x2.Uses == 1 && s0.Uses == 1 && s1.Uses == 1 && o0.Uses == 1 && mergePoint(b, x0, x1, x2) != nil && clobber(x0) && clobber(x1) && clobber(x2) && clobber(s0) && clobber(s1) && clobber(o0)) {
+ if p != x2.Args[0] || idx != x2.Args[1] || mem != x2.Args[2] || !(i2 == i0+2 && i3 == i0+3 && x0.Uses == 1 && x1.Uses == 1 && x2.Uses == 1 && s0.Uses == 1 && s1.Uses == 1 && o0.Uses == 1 && mergePoint(b, x0, x1, x2) != nil && clobber(x0) && clobber(x1) && clobber(x2) && clobber(s0) && clobber(s1) && clobber(o0)) {
break
}
b = mergePoint(b, x0, x1, x2)
@@ -14650,10 +13023,7 @@ func rewriteValue386_Op386ORL_20(v *Value) bool {
p := x0.Args[0]
idx := x0.Args[1]
s0 := o0.Args[1]
- if s0.Op != Op386SHLLconst {
- break
- }
- if s0.AuxInt != 16 {
+ if s0.Op != Op386SHLLconst || s0.AuxInt != 16 {
break
}
x1 := s0.Args[0]
@@ -14665,20 +13035,11 @@ func rewriteValue386_Op386ORL_20(v *Value) bool {
break
}
_ = x1.Args[2]
- if idx != x1.Args[0] {
- break
- }
- if p != x1.Args[1] {
- break
- }
- if mem != x1.Args[2] {
+ if idx != x1.Args[0] || p != x1.Args[1] || mem != x1.Args[2] {
break
}
s1 := v.Args[1]
- if s1.Op != Op386SHLLconst {
- break
- }
- if s1.AuxInt != 24 {
+ if s1.Op != Op386SHLLconst || s1.AuxInt != 24 {
break
}
x2 := s1.Args[0]
@@ -14690,16 +13051,7 @@ func rewriteValue386_Op386ORL_20(v *Value) bool {
break
}
_ = x2.Args[2]
- if p != x2.Args[0] {
- break
- }
- if idx != x2.Args[1] {
- break
- }
- if mem != x2.Args[2] {
- break
- }
- if !(i2 == i0+2 && i3 == i0+3 && x0.Uses == 1 && x1.Uses == 1 && x2.Uses == 1 && s0.Uses == 1 && s1.Uses == 1 && o0.Uses == 1 && mergePoint(b, x0, x1, x2) != nil && clobber(x0) && clobber(x1) && clobber(x2) && clobber(s0) && clobber(s1) && clobber(o0)) {
+ if p != x2.Args[0] || idx != x2.Args[1] || mem != x2.Args[2] || !(i2 == i0+2 && i3 == i0+3 && x0.Uses == 1 && x1.Uses == 1 && x2.Uses == 1 && s0.Uses == 1 && s1.Uses == 1 && o0.Uses == 1 && mergePoint(b, x0, x1, x2) != nil && clobber(x0) && clobber(x1) && clobber(x2) && clobber(s0) && clobber(s1) && clobber(o0)) {
break
}
b = mergePoint(b, x0, x1, x2)
@@ -14737,10 +13089,7 @@ func rewriteValue386_Op386ORL_30(v *Value) bool {
idx := x0.Args[0]
p := x0.Args[1]
s0 := o0.Args[1]
- if s0.Op != Op386SHLLconst {
- break
- }
- if s0.AuxInt != 16 {
+ if s0.Op != Op386SHLLconst || s0.AuxInt != 16 {
break
}
x1 := s0.Args[0]
@@ -14752,20 +13101,11 @@ func rewriteValue386_Op386ORL_30(v *Value) bool {
break
}
_ = x1.Args[2]
- if idx != x1.Args[0] {
- break
- }
- if p != x1.Args[1] {
- break
- }
- if mem != x1.Args[2] {
+ if idx != x1.Args[0] || p != x1.Args[1] || mem != x1.Args[2] {
break
}
s1 := v.Args[1]
- if s1.Op != Op386SHLLconst {
- break
- }
- if s1.AuxInt != 24 {
+ if s1.Op != Op386SHLLconst || s1.AuxInt != 24 {
break
}
x2 := s1.Args[0]
@@ -14777,16 +13117,7 @@ func rewriteValue386_Op386ORL_30(v *Value) bool {
break
}
_ = x2.Args[2]
- if p != x2.Args[0] {
- break
- }
- if idx != x2.Args[1] {
- break
- }
- if mem != x2.Args[2] {
- break
- }
- if !(i2 == i0+2 && i3 == i0+3 && x0.Uses == 1 && x1.Uses == 1 && x2.Uses == 1 && s0.Uses == 1 && s1.Uses == 1 && o0.Uses == 1 && mergePoint(b, x0, x1, x2) != nil && clobber(x0) && clobber(x1) && clobber(x2) && clobber(s0) && clobber(s1) && clobber(o0)) {
+ if p != x2.Args[0] || idx != x2.Args[1] || mem != x2.Args[2] || !(i2 == i0+2 && i3 == i0+3 && x0.Uses == 1 && x1.Uses == 1 && x2.Uses == 1 && s0.Uses == 1 && s1.Uses == 1 && o0.Uses == 1 && mergePoint(b, x0, x1, x2) != nil && clobber(x0) && clobber(x1) && clobber(x2) && clobber(s0) && clobber(s1) && clobber(o0)) {
break
}
b = mergePoint(b, x0, x1, x2)
@@ -14811,10 +13142,7 @@ func rewriteValue386_Op386ORL_30(v *Value) bool {
}
_ = o0.Args[1]
s0 := o0.Args[0]
- if s0.Op != Op386SHLLconst {
- break
- }
- if s0.AuxInt != 16 {
+ if s0.Op != Op386SHLLconst || s0.AuxInt != 16 {
break
}
x1 := s0.Args[0]
@@ -14835,20 +13163,11 @@ func rewriteValue386_Op386ORL_30(v *Value) bool {
break
}
_ = x0.Args[2]
- if p != x0.Args[0] {
- break
- }
- if idx != x0.Args[1] {
- break
- }
- if mem != x0.Args[2] {
+ if p != x0.Args[0] || idx != x0.Args[1] || mem != x0.Args[2] {
break
}
s1 := v.Args[1]
- if s1.Op != Op386SHLLconst {
- break
- }
- if s1.AuxInt != 24 {
+ if s1.Op != Op386SHLLconst || s1.AuxInt != 24 {
break
}
x2 := s1.Args[0]
@@ -14860,16 +13179,7 @@ func rewriteValue386_Op386ORL_30(v *Value) bool {
break
}
_ = x2.Args[2]
- if p != x2.Args[0] {
- break
- }
- if idx != x2.Args[1] {
- break
- }
- if mem != x2.Args[2] {
- break
- }
- if !(i2 == i0+2 && i3 == i0+3 && x0.Uses == 1 && x1.Uses == 1 && x2.Uses == 1 && s0.Uses == 1 && s1.Uses == 1 && o0.Uses == 1 && mergePoint(b, x0, x1, x2) != nil && clobber(x0) && clobber(x1) && clobber(x2) && clobber(s0) && clobber(s1) && clobber(o0)) {
+ if p != x2.Args[0] || idx != x2.Args[1] || mem != x2.Args[2] || !(i2 == i0+2 && i3 == i0+3 && x0.Uses == 1 && x1.Uses == 1 && x2.Uses == 1 && s0.Uses == 1 && s1.Uses == 1 && o0.Uses == 1 && mergePoint(b, x0, x1, x2) != nil && clobber(x0) && clobber(x1) && clobber(x2) && clobber(s0) && clobber(s1) && clobber(o0)) {
break
}
b = mergePoint(b, x0, x1, x2)
@@ -14894,10 +13204,7 @@ func rewriteValue386_Op386ORL_30(v *Value) bool {
}
_ = o0.Args[1]
s0 := o0.Args[0]
- if s0.Op != Op386SHLLconst {
- break
- }
- if s0.AuxInt != 16 {
+ if s0.Op != Op386SHLLconst || s0.AuxInt != 16 {
break
}
x1 := s0.Args[0]
@@ -14918,20 +13225,11 @@ func rewriteValue386_Op386ORL_30(v *Value) bool {
break
}
_ = x0.Args[2]
- if p != x0.Args[0] {
- break
- }
- if idx != x0.Args[1] {
- break
- }
- if mem != x0.Args[2] {
+ if p != x0.Args[0] || idx != x0.Args[1] || mem != x0.Args[2] {
break
}
s1 := v.Args[1]
- if s1.Op != Op386SHLLconst {
- break
- }
- if s1.AuxInt != 24 {
+ if s1.Op != Op386SHLLconst || s1.AuxInt != 24 {
break
}
x2 := s1.Args[0]
@@ -14943,16 +13241,7 @@ func rewriteValue386_Op386ORL_30(v *Value) bool {
break
}
_ = x2.Args[2]
- if p != x2.Args[0] {
- break
- }
- if idx != x2.Args[1] {
- break
- }
- if mem != x2.Args[2] {
- break
- }
- if !(i2 == i0+2 && i3 == i0+3 && x0.Uses == 1 && x1.Uses == 1 && x2.Uses == 1 && s0.Uses == 1 && s1.Uses == 1 && o0.Uses == 1 && mergePoint(b, x0, x1, x2) != nil && clobber(x0) && clobber(x1) && clobber(x2) && clobber(s0) && clobber(s1) && clobber(o0)) {
+ if p != x2.Args[0] || idx != x2.Args[1] || mem != x2.Args[2] || !(i2 == i0+2 && i3 == i0+3 && x0.Uses == 1 && x1.Uses == 1 && x2.Uses == 1 && s0.Uses == 1 && s1.Uses == 1 && o0.Uses == 1 && mergePoint(b, x0, x1, x2) != nil && clobber(x0) && clobber(x1) && clobber(x2) && clobber(s0) && clobber(s1) && clobber(o0)) {
break
}
b = mergePoint(b, x0, x1, x2)
@@ -14977,10 +13266,7 @@ func rewriteValue386_Op386ORL_30(v *Value) bool {
}
_ = o0.Args[1]
s0 := o0.Args[0]
- if s0.Op != Op386SHLLconst {
- break
- }
- if s0.AuxInt != 16 {
+ if s0.Op != Op386SHLLconst || s0.AuxInt != 16 {
break
}
x1 := s0.Args[0]
@@ -15001,20 +13287,11 @@ func rewriteValue386_Op386ORL_30(v *Value) bool {
break
}
_ = x0.Args[2]
- if idx != x0.Args[0] {
- break
- }
- if p != x0.Args[1] {
- break
- }
- if mem != x0.Args[2] {
+ if idx != x0.Args[0] || p != x0.Args[1] || mem != x0.Args[2] {
break
}
s1 := v.Args[1]
- if s1.Op != Op386SHLLconst {
- break
- }
- if s1.AuxInt != 24 {
+ if s1.Op != Op386SHLLconst || s1.AuxInt != 24 {
break
}
x2 := s1.Args[0]
@@ -15026,16 +13303,7 @@ func rewriteValue386_Op386ORL_30(v *Value) bool {
break
}
_ = x2.Args[2]
- if p != x2.Args[0] {
- break
- }
- if idx != x2.Args[1] {
- break
- }
- if mem != x2.Args[2] {
- break
- }
- if !(i2 == i0+2 && i3 == i0+3 && x0.Uses == 1 && x1.Uses == 1 && x2.Uses == 1 && s0.Uses == 1 && s1.Uses == 1 && o0.Uses == 1 && mergePoint(b, x0, x1, x2) != nil && clobber(x0) && clobber(x1) && clobber(x2) && clobber(s0) && clobber(s1) && clobber(o0)) {
+ if p != x2.Args[0] || idx != x2.Args[1] || mem != x2.Args[2] || !(i2 == i0+2 && i3 == i0+3 && x0.Uses == 1 && x1.Uses == 1 && x2.Uses == 1 && s0.Uses == 1 && s1.Uses == 1 && o0.Uses == 1 && mergePoint(b, x0, x1, x2) != nil && clobber(x0) && clobber(x1) && clobber(x2) && clobber(s0) && clobber(s1) && clobber(o0)) {
break
}
b = mergePoint(b, x0, x1, x2)
@@ -15060,10 +13328,7 @@ func rewriteValue386_Op386ORL_30(v *Value) bool {
}
_ = o0.Args[1]
s0 := o0.Args[0]
- if s0.Op != Op386SHLLconst {
- break
- }
- if s0.AuxInt != 16 {
+ if s0.Op != Op386SHLLconst || s0.AuxInt != 16 {
break
}
x1 := s0.Args[0]
@@ -15084,20 +13349,11 @@ func rewriteValue386_Op386ORL_30(v *Value) bool {
break
}
_ = x0.Args[2]
- if idx != x0.Args[0] {
- break
- }
- if p != x0.Args[1] {
- break
- }
- if mem != x0.Args[2] {
+ if idx != x0.Args[0] || p != x0.Args[1] || mem != x0.Args[2] {
break
}
s1 := v.Args[1]
- if s1.Op != Op386SHLLconst {
- break
- }
- if s1.AuxInt != 24 {
+ if s1.Op != Op386SHLLconst || s1.AuxInt != 24 {
break
}
x2 := s1.Args[0]
@@ -15109,16 +13365,7 @@ func rewriteValue386_Op386ORL_30(v *Value) bool {
break
}
_ = x2.Args[2]
- if p != x2.Args[0] {
- break
- }
- if idx != x2.Args[1] {
- break
- }
- if mem != x2.Args[2] {
- break
- }
- if !(i2 == i0+2 && i3 == i0+3 && x0.Uses == 1 && x1.Uses == 1 && x2.Uses == 1 && s0.Uses == 1 && s1.Uses == 1 && o0.Uses == 1 && mergePoint(b, x0, x1, x2) != nil && clobber(x0) && clobber(x1) && clobber(x2) && clobber(s0) && clobber(s1) && clobber(o0)) {
+ if p != x2.Args[0] || idx != x2.Args[1] || mem != x2.Args[2] || !(i2 == i0+2 && i3 == i0+3 && x0.Uses == 1 && x1.Uses == 1 && x2.Uses == 1 && s0.Uses == 1 && s1.Uses == 1 && o0.Uses == 1 && mergePoint(b, x0, x1, x2) != nil && clobber(x0) && clobber(x1) && clobber(x2) && clobber(s0) && clobber(s1) && clobber(o0)) {
break
}
b = mergePoint(b, x0, x1, x2)
@@ -15152,10 +13399,7 @@ func rewriteValue386_Op386ORL_30(v *Value) bool {
p := x0.Args[0]
idx := x0.Args[1]
s0 := o0.Args[1]
- if s0.Op != Op386SHLLconst {
- break
- }
- if s0.AuxInt != 16 {
+ if s0.Op != Op386SHLLconst || s0.AuxInt != 16 {
break
}
x1 := s0.Args[0]
@@ -15167,20 +13411,11 @@ func rewriteValue386_Op386ORL_30(v *Value) bool {
break
}
_ = x1.Args[2]
- if p != x1.Args[0] {
- break
- }
- if idx != x1.Args[1] {
- break
- }
- if mem != x1.Args[2] {
+ if p != x1.Args[0] || idx != x1.Args[1] || mem != x1.Args[2] {
break
}
s1 := v.Args[1]
- if s1.Op != Op386SHLLconst {
- break
- }
- if s1.AuxInt != 24 {
+ if s1.Op != Op386SHLLconst || s1.AuxInt != 24 {
break
}
x2 := s1.Args[0]
@@ -15192,16 +13427,7 @@ func rewriteValue386_Op386ORL_30(v *Value) bool {
break
}
_ = x2.Args[2]
- if idx != x2.Args[0] {
- break
- }
- if p != x2.Args[1] {
- break
- }
- if mem != x2.Args[2] {
- break
- }
- if !(i2 == i0+2 && i3 == i0+3 && x0.Uses == 1 && x1.Uses == 1 && x2.Uses == 1 && s0.Uses == 1 && s1.Uses == 1 && o0.Uses == 1 && mergePoint(b, x0, x1, x2) != nil && clobber(x0) && clobber(x1) && clobber(x2) && clobber(s0) && clobber(s1) && clobber(o0)) {
+ if idx != x2.Args[0] || p != x2.Args[1] || mem != x2.Args[2] || !(i2 == i0+2 && i3 == i0+3 && x0.Uses == 1 && x1.Uses == 1 && x2.Uses == 1 && s0.Uses == 1 && s1.Uses == 1 && o0.Uses == 1 && mergePoint(b, x0, x1, x2) != nil && clobber(x0) && clobber(x1) && clobber(x2) && clobber(s0) && clobber(s1) && clobber(o0)) {
break
}
b = mergePoint(b, x0, x1, x2)
@@ -15235,10 +13461,7 @@ func rewriteValue386_Op386ORL_30(v *Value) bool {
idx := x0.Args[0]
p := x0.Args[1]
s0 := o0.Args[1]
- if s0.Op != Op386SHLLconst {
- break
- }
- if s0.AuxInt != 16 {
+ if s0.Op != Op386SHLLconst || s0.AuxInt != 16 {
break
}
x1 := s0.Args[0]
@@ -15250,20 +13473,11 @@ func rewriteValue386_Op386ORL_30(v *Value) bool {
break
}
_ = x1.Args[2]
- if p != x1.Args[0] {
- break
- }
- if idx != x1.Args[1] {
- break
- }
- if mem != x1.Args[2] {
+ if p != x1.Args[0] || idx != x1.Args[1] || mem != x1.Args[2] {
break
}
s1 := v.Args[1]
- if s1.Op != Op386SHLLconst {
- break
- }
- if s1.AuxInt != 24 {
+ if s1.Op != Op386SHLLconst || s1.AuxInt != 24 {
break
}
x2 := s1.Args[0]
@@ -15275,16 +13489,7 @@ func rewriteValue386_Op386ORL_30(v *Value) bool {
break
}
_ = x2.Args[2]
- if idx != x2.Args[0] {
- break
- }
- if p != x2.Args[1] {
- break
- }
- if mem != x2.Args[2] {
- break
- }
- if !(i2 == i0+2 && i3 == i0+3 && x0.Uses == 1 && x1.Uses == 1 && x2.Uses == 1 && s0.Uses == 1 && s1.Uses == 1 && o0.Uses == 1 && mergePoint(b, x0, x1, x2) != nil && clobber(x0) && clobber(x1) && clobber(x2) && clobber(s0) && clobber(s1) && clobber(o0)) {
+ if idx != x2.Args[0] || p != x2.Args[1] || mem != x2.Args[2] || !(i2 == i0+2 && i3 == i0+3 && x0.Uses == 1 && x1.Uses == 1 && x2.Uses == 1 && s0.Uses == 1 && s1.Uses == 1 && o0.Uses == 1 && mergePoint(b, x0, x1, x2) != nil && clobber(x0) && clobber(x1) && clobber(x2) && clobber(s0) && clobber(s1) && clobber(o0)) {
break
}
b = mergePoint(b, x0, x1, x2)
@@ -15318,10 +13523,7 @@ func rewriteValue386_Op386ORL_30(v *Value) bool {
p := x0.Args[0]
idx := x0.Args[1]
s0 := o0.Args[1]
- if s0.Op != Op386SHLLconst {
- break
- }
- if s0.AuxInt != 16 {
+ if s0.Op != Op386SHLLconst || s0.AuxInt != 16 {
break
}
x1 := s0.Args[0]
@@ -15333,20 +13535,11 @@ func rewriteValue386_Op386ORL_30(v *Value) bool {
break
}
_ = x1.Args[2]
- if idx != x1.Args[0] {
- break
- }
- if p != x1.Args[1] {
- break
- }
- if mem != x1.Args[2] {
+ if idx != x1.Args[0] || p != x1.Args[1] || mem != x1.Args[2] {
break
}
s1 := v.Args[1]
- if s1.Op != Op386SHLLconst {
- break
- }
- if s1.AuxInt != 24 {
+ if s1.Op != Op386SHLLconst || s1.AuxInt != 24 {
break
}
x2 := s1.Args[0]
@@ -15358,16 +13551,7 @@ func rewriteValue386_Op386ORL_30(v *Value) bool {
break
}
_ = x2.Args[2]
- if idx != x2.Args[0] {
- break
- }
- if p != x2.Args[1] {
- break
- }
- if mem != x2.Args[2] {
- break
- }
- if !(i2 == i0+2 && i3 == i0+3 && x0.Uses == 1 && x1.Uses == 1 && x2.Uses == 1 && s0.Uses == 1 && s1.Uses == 1 && o0.Uses == 1 && mergePoint(b, x0, x1, x2) != nil && clobber(x0) && clobber(x1) && clobber(x2) && clobber(s0) && clobber(s1) && clobber(o0)) {
+ if idx != x2.Args[0] || p != x2.Args[1] || mem != x2.Args[2] || !(i2 == i0+2 && i3 == i0+3 && x0.Uses == 1 && x1.Uses == 1 && x2.Uses == 1 && s0.Uses == 1 && s1.Uses == 1 && o0.Uses == 1 && mergePoint(b, x0, x1, x2) != nil && clobber(x0) && clobber(x1) && clobber(x2) && clobber(s0) && clobber(s1) && clobber(o0)) {
break
}
b = mergePoint(b, x0, x1, x2)
@@ -15401,10 +13585,7 @@ func rewriteValue386_Op386ORL_30(v *Value) bool {
idx := x0.Args[0]
p := x0.Args[1]
s0 := o0.Args[1]
- if s0.Op != Op386SHLLconst {
- break
- }
- if s0.AuxInt != 16 {
+ if s0.Op != Op386SHLLconst || s0.AuxInt != 16 {
break
}
x1 := s0.Args[0]
@@ -15416,20 +13597,11 @@ func rewriteValue386_Op386ORL_30(v *Value) bool {
break
}
_ = x1.Args[2]
- if idx != x1.Args[0] {
- break
- }
- if p != x1.Args[1] {
- break
- }
- if mem != x1.Args[2] {
+ if idx != x1.Args[0] || p != x1.Args[1] || mem != x1.Args[2] {
break
}
s1 := v.Args[1]
- if s1.Op != Op386SHLLconst {
- break
- }
- if s1.AuxInt != 24 {
+ if s1.Op != Op386SHLLconst || s1.AuxInt != 24 {
break
}
x2 := s1.Args[0]
@@ -15441,16 +13613,7 @@ func rewriteValue386_Op386ORL_30(v *Value) bool {
break
}
_ = x2.Args[2]
- if idx != x2.Args[0] {
- break
- }
- if p != x2.Args[1] {
- break
- }
- if mem != x2.Args[2] {
- break
- }
- if !(i2 == i0+2 && i3 == i0+3 && x0.Uses == 1 && x1.Uses == 1 && x2.Uses == 1 && s0.Uses == 1 && s1.Uses == 1 && o0.Uses == 1 && mergePoint(b, x0, x1, x2) != nil && clobber(x0) && clobber(x1) && clobber(x2) && clobber(s0) && clobber(s1) && clobber(o0)) {
+ if idx != x2.Args[0] || p != x2.Args[1] || mem != x2.Args[2] || !(i2 == i0+2 && i3 == i0+3 && x0.Uses == 1 && x1.Uses == 1 && x2.Uses == 1 && s0.Uses == 1 && s1.Uses == 1 && o0.Uses == 1 && mergePoint(b, x0, x1, x2) != nil && clobber(x0) && clobber(x1) && clobber(x2) && clobber(s0) && clobber(s1) && clobber(o0)) {
break
}
b = mergePoint(b, x0, x1, x2)
@@ -15475,10 +13638,7 @@ func rewriteValue386_Op386ORL_30(v *Value) bool {
}
_ = o0.Args[1]
s0 := o0.Args[0]
- if s0.Op != Op386SHLLconst {
- break
- }
- if s0.AuxInt != 16 {
+ if s0.Op != Op386SHLLconst || s0.AuxInt != 16 {
break
}
x1 := s0.Args[0]
@@ -15499,20 +13659,11 @@ func rewriteValue386_Op386ORL_30(v *Value) bool {
break
}
_ = x0.Args[2]
- if p != x0.Args[0] {
- break
- }
- if idx != x0.Args[1] {
- break
- }
- if mem != x0.Args[2] {
+ if p != x0.Args[0] || idx != x0.Args[1] || mem != x0.Args[2] {
break
}
s1 := v.Args[1]
- if s1.Op != Op386SHLLconst {
- break
- }
- if s1.AuxInt != 24 {
+ if s1.Op != Op386SHLLconst || s1.AuxInt != 24 {
break
}
x2 := s1.Args[0]
@@ -15524,16 +13675,7 @@ func rewriteValue386_Op386ORL_30(v *Value) bool {
break
}
_ = x2.Args[2]
- if idx != x2.Args[0] {
- break
- }
- if p != x2.Args[1] {
- break
- }
- if mem != x2.Args[2] {
- break
- }
- if !(i2 == i0+2 && i3 == i0+3 && x0.Uses == 1 && x1.Uses == 1 && x2.Uses == 1 && s0.Uses == 1 && s1.Uses == 1 && o0.Uses == 1 && mergePoint(b, x0, x1, x2) != nil && clobber(x0) && clobber(x1) && clobber(x2) && clobber(s0) && clobber(s1) && clobber(o0)) {
+ if idx != x2.Args[0] || p != x2.Args[1] || mem != x2.Args[2] || !(i2 == i0+2 && i3 == i0+3 && x0.Uses == 1 && x1.Uses == 1 && x2.Uses == 1 && s0.Uses == 1 && s1.Uses == 1 && o0.Uses == 1 && mergePoint(b, x0, x1, x2) != nil && clobber(x0) && clobber(x1) && clobber(x2) && clobber(s0) && clobber(s1) && clobber(o0)) {
break
}
b = mergePoint(b, x0, x1, x2)
@@ -15562,10 +13704,7 @@ func rewriteValue386_Op386ORL_40(v *Value) bool {
}
_ = o0.Args[1]
s0 := o0.Args[0]
- if s0.Op != Op386SHLLconst {
- break
- }
- if s0.AuxInt != 16 {
+ if s0.Op != Op386SHLLconst || s0.AuxInt != 16 {
break
}
x1 := s0.Args[0]
@@ -15586,20 +13725,11 @@ func rewriteValue386_Op386ORL_40(v *Value) bool {
break
}
_ = x0.Args[2]
- if p != x0.Args[0] {
- break
- }
- if idx != x0.Args[1] {
- break
- }
- if mem != x0.Args[2] {
+ if p != x0.Args[0] || idx != x0.Args[1] || mem != x0.Args[2] {
break
}
s1 := v.Args[1]
- if s1.Op != Op386SHLLconst {
- break
- }
- if s1.AuxInt != 24 {
+ if s1.Op != Op386SHLLconst || s1.AuxInt != 24 {
break
}
x2 := s1.Args[0]
@@ -15611,16 +13741,7 @@ func rewriteValue386_Op386ORL_40(v *Value) bool {
break
}
_ = x2.Args[2]
- if idx != x2.Args[0] {
- break
- }
- if p != x2.Args[1] {
- break
- }
- if mem != x2.Args[2] {
- break
- }
- if !(i2 == i0+2 && i3 == i0+3 && x0.Uses == 1 && x1.Uses == 1 && x2.Uses == 1 && s0.Uses == 1 && s1.Uses == 1 && o0.Uses == 1 && mergePoint(b, x0, x1, x2) != nil && clobber(x0) && clobber(x1) && clobber(x2) && clobber(s0) && clobber(s1) && clobber(o0)) {
+ if idx != x2.Args[0] || p != x2.Args[1] || mem != x2.Args[2] || !(i2 == i0+2 && i3 == i0+3 && x0.Uses == 1 && x1.Uses == 1 && x2.Uses == 1 && s0.Uses == 1 && s1.Uses == 1 && o0.Uses == 1 && mergePoint(b, x0, x1, x2) != nil && clobber(x0) && clobber(x1) && clobber(x2) && clobber(s0) && clobber(s1) && clobber(o0)) {
break
}
b = mergePoint(b, x0, x1, x2)
@@ -15645,10 +13766,7 @@ func rewriteValue386_Op386ORL_40(v *Value) bool {
}
_ = o0.Args[1]
s0 := o0.Args[0]
- if s0.Op != Op386SHLLconst {
- break
- }
- if s0.AuxInt != 16 {
+ if s0.Op != Op386SHLLconst || s0.AuxInt != 16 {
break
}
x1 := s0.Args[0]
@@ -15669,20 +13787,11 @@ func rewriteValue386_Op386ORL_40(v *Value) bool {
break
}
_ = x0.Args[2]
- if idx != x0.Args[0] {
- break
- }
- if p != x0.Args[1] {
- break
- }
- if mem != x0.Args[2] {
+ if idx != x0.Args[0] || p != x0.Args[1] || mem != x0.Args[2] {
break
}
s1 := v.Args[1]
- if s1.Op != Op386SHLLconst {
- break
- }
- if s1.AuxInt != 24 {
+ if s1.Op != Op386SHLLconst || s1.AuxInt != 24 {
break
}
x2 := s1.Args[0]
@@ -15694,16 +13803,7 @@ func rewriteValue386_Op386ORL_40(v *Value) bool {
break
}
_ = x2.Args[2]
- if idx != x2.Args[0] {
- break
- }
- if p != x2.Args[1] {
- break
- }
- if mem != x2.Args[2] {
- break
- }
- if !(i2 == i0+2 && i3 == i0+3 && x0.Uses == 1 && x1.Uses == 1 && x2.Uses == 1 && s0.Uses == 1 && s1.Uses == 1 && o0.Uses == 1 && mergePoint(b, x0, x1, x2) != nil && clobber(x0) && clobber(x1) && clobber(x2) && clobber(s0) && clobber(s1) && clobber(o0)) {
+ if idx != x2.Args[0] || p != x2.Args[1] || mem != x2.Args[2] || !(i2 == i0+2 && i3 == i0+3 && x0.Uses == 1 && x1.Uses == 1 && x2.Uses == 1 && s0.Uses == 1 && s1.Uses == 1 && o0.Uses == 1 && mergePoint(b, x0, x1, x2) != nil && clobber(x0) && clobber(x1) && clobber(x2) && clobber(s0) && clobber(s1) && clobber(o0)) {
break
}
b = mergePoint(b, x0, x1, x2)
@@ -15728,10 +13828,7 @@ func rewriteValue386_Op386ORL_40(v *Value) bool {
}
_ = o0.Args[1]
s0 := o0.Args[0]
- if s0.Op != Op386SHLLconst {
- break
- }
- if s0.AuxInt != 16 {
+ if s0.Op != Op386SHLLconst || s0.AuxInt != 16 {
break
}
x1 := s0.Args[0]
@@ -15752,20 +13849,11 @@ func rewriteValue386_Op386ORL_40(v *Value) bool {
break
}
_ = x0.Args[2]
- if idx != x0.Args[0] {
- break
- }
- if p != x0.Args[1] {
- break
- }
- if mem != x0.Args[2] {
+ if idx != x0.Args[0] || p != x0.Args[1] || mem != x0.Args[2] {
break
}
s1 := v.Args[1]
- if s1.Op != Op386SHLLconst {
- break
- }
- if s1.AuxInt != 24 {
+ if s1.Op != Op386SHLLconst || s1.AuxInt != 24 {
break
}
x2 := s1.Args[0]
@@ -15777,16 +13865,7 @@ func rewriteValue386_Op386ORL_40(v *Value) bool {
break
}
_ = x2.Args[2]
- if idx != x2.Args[0] {
- break
- }
- if p != x2.Args[1] {
- break
- }
- if mem != x2.Args[2] {
- break
- }
- if !(i2 == i0+2 && i3 == i0+3 && x0.Uses == 1 && x1.Uses == 1 && x2.Uses == 1 && s0.Uses == 1 && s1.Uses == 1 && o0.Uses == 1 && mergePoint(b, x0, x1, x2) != nil && clobber(x0) && clobber(x1) && clobber(x2) && clobber(s0) && clobber(s1) && clobber(o0)) {
+ if idx != x2.Args[0] || p != x2.Args[1] || mem != x2.Args[2] || !(i2 == i0+2 && i3 == i0+3 && x0.Uses == 1 && x1.Uses == 1 && x2.Uses == 1 && s0.Uses == 1 && s1.Uses == 1 && o0.Uses == 1 && mergePoint(b, x0, x1, x2) != nil && clobber(x0) && clobber(x1) && clobber(x2) && clobber(s0) && clobber(s1) && clobber(o0)) {
break
}
b = mergePoint(b, x0, x1, x2)
@@ -15806,10 +13885,7 @@ func rewriteValue386_Op386ORL_40(v *Value) bool {
for {
_ = v.Args[1]
s1 := v.Args[0]
- if s1.Op != Op386SHLLconst {
- break
- }
- if s1.AuxInt != 24 {
+ if s1.Op != Op386SHLLconst || s1.AuxInt != 24 {
break
}
x2 := s1.Args[0]
@@ -15835,20 +13911,11 @@ func rewriteValue386_Op386ORL_40(v *Value) bool {
break
}
_ = x0.Args[2]
- if p != x0.Args[0] {
- break
- }
- if idx != x0.Args[1] {
- break
- }
- if mem != x0.Args[2] {
+ if p != x0.Args[0] || idx != x0.Args[1] || mem != x0.Args[2] {
break
}
s0 := o0.Args[1]
- if s0.Op != Op386SHLLconst {
- break
- }
- if s0.AuxInt != 16 {
+ if s0.Op != Op386SHLLconst || s0.AuxInt != 16 {
break
}
x1 := s0.Args[0]
@@ -15860,16 +13927,7 @@ func rewriteValue386_Op386ORL_40(v *Value) bool {
break
}
_ = x1.Args[2]
- if p != x1.Args[0] {
- break
- }
- if idx != x1.Args[1] {
- break
- }
- if mem != x1.Args[2] {
- break
- }
- if !(i2 == i0+2 && i3 == i0+3 && x0.Uses == 1 && x1.Uses == 1 && x2.Uses == 1 && s0.Uses == 1 && s1.Uses == 1 && o0.Uses == 1 && mergePoint(b, x0, x1, x2) != nil && clobber(x0) && clobber(x1) && clobber(x2) && clobber(s0) && clobber(s1) && clobber(o0)) {
+ if p != x1.Args[0] || idx != x1.Args[1] || mem != x1.Args[2] || !(i2 == i0+2 && i3 == i0+3 && x0.Uses == 1 && x1.Uses == 1 && x2.Uses == 1 && s0.Uses == 1 && s1.Uses == 1 && o0.Uses == 1 && mergePoint(b, x0, x1, x2) != nil && clobber(x0) && clobber(x1) && clobber(x2) && clobber(s0) && clobber(s1) && clobber(o0)) {
break
}
b = mergePoint(b, x0, x1, x2)
@@ -15889,10 +13947,7 @@ func rewriteValue386_Op386ORL_40(v *Value) bool {
for {
_ = v.Args[1]
s1 := v.Args[0]
- if s1.Op != Op386SHLLconst {
- break
- }
- if s1.AuxInt != 24 {
+ if s1.Op != Op386SHLLconst || s1.AuxInt != 24 {
break
}
x2 := s1.Args[0]
@@ -15918,20 +13973,11 @@ func rewriteValue386_Op386ORL_40(v *Value) bool {
break
}
_ = x0.Args[2]
- if p != x0.Args[0] {
- break
- }
- if idx != x0.Args[1] {
- break
- }
- if mem != x0.Args[2] {
+ if p != x0.Args[0] || idx != x0.Args[1] || mem != x0.Args[2] {
break
}
s0 := o0.Args[1]
- if s0.Op != Op386SHLLconst {
- break
- }
- if s0.AuxInt != 16 {
+ if s0.Op != Op386SHLLconst || s0.AuxInt != 16 {
break
}
x1 := s0.Args[0]
@@ -15943,16 +13989,7 @@ func rewriteValue386_Op386ORL_40(v *Value) bool {
break
}
_ = x1.Args[2]
- if p != x1.Args[0] {
- break
- }
- if idx != x1.Args[1] {
- break
- }
- if mem != x1.Args[2] {
- break
- }
- if !(i2 == i0+2 && i3 == i0+3 && x0.Uses == 1 && x1.Uses == 1 && x2.Uses == 1 && s0.Uses == 1 && s1.Uses == 1 && o0.Uses == 1 && mergePoint(b, x0, x1, x2) != nil && clobber(x0) && clobber(x1) && clobber(x2) && clobber(s0) && clobber(s1) && clobber(o0)) {
+ if p != x1.Args[0] || idx != x1.Args[1] || mem != x1.Args[2] || !(i2 == i0+2 && i3 == i0+3 && x0.Uses == 1 && x1.Uses == 1 && x2.Uses == 1 && s0.Uses == 1 && s1.Uses == 1 && o0.Uses == 1 && mergePoint(b, x0, x1, x2) != nil && clobber(x0) && clobber(x1) && clobber(x2) && clobber(s0) && clobber(s1) && clobber(o0)) {
break
}
b = mergePoint(b, x0, x1, x2)
@@ -15972,10 +14009,7 @@ func rewriteValue386_Op386ORL_40(v *Value) bool {
for {
_ = v.Args[1]
s1 := v.Args[0]
- if s1.Op != Op386SHLLconst {
- break
- }
- if s1.AuxInt != 24 {
+ if s1.Op != Op386SHLLconst || s1.AuxInt != 24 {
break
}
x2 := s1.Args[0]
@@ -16001,20 +14035,11 @@ func rewriteValue386_Op386ORL_40(v *Value) bool {
break
}
_ = x0.Args[2]
- if idx != x0.Args[0] {
- break
- }
- if p != x0.Args[1] {
- break
- }
- if mem != x0.Args[2] {
+ if idx != x0.Args[0] || p != x0.Args[1] || mem != x0.Args[2] {
break
}
s0 := o0.Args[1]
- if s0.Op != Op386SHLLconst {
- break
- }
- if s0.AuxInt != 16 {
+ if s0.Op != Op386SHLLconst || s0.AuxInt != 16 {
break
}
x1 := s0.Args[0]
@@ -16026,16 +14051,7 @@ func rewriteValue386_Op386ORL_40(v *Value) bool {
break
}
_ = x1.Args[2]
- if p != x1.Args[0] {
- break
- }
- if idx != x1.Args[1] {
- break
- }
- if mem != x1.Args[2] {
- break
- }
- if !(i2 == i0+2 && i3 == i0+3 && x0.Uses == 1 && x1.Uses == 1 && x2.Uses == 1 && s0.Uses == 1 && s1.Uses == 1 && o0.Uses == 1 && mergePoint(b, x0, x1, x2) != nil && clobber(x0) && clobber(x1) && clobber(x2) && clobber(s0) && clobber(s1) && clobber(o0)) {
+ if p != x1.Args[0] || idx != x1.Args[1] || mem != x1.Args[2] || !(i2 == i0+2 && i3 == i0+3 && x0.Uses == 1 && x1.Uses == 1 && x2.Uses == 1 && s0.Uses == 1 && s1.Uses == 1 && o0.Uses == 1 && mergePoint(b, x0, x1, x2) != nil && clobber(x0) && clobber(x1) && clobber(x2) && clobber(s0) && clobber(s1) && clobber(o0)) {
break
}
b = mergePoint(b, x0, x1, x2)
@@ -16055,10 +14071,7 @@ func rewriteValue386_Op386ORL_40(v *Value) bool {
for {
_ = v.Args[1]
s1 := v.Args[0]
- if s1.Op != Op386SHLLconst {
- break
- }
- if s1.AuxInt != 24 {
+ if s1.Op != Op386SHLLconst || s1.AuxInt != 24 {
break
}
x2 := s1.Args[0]
@@ -16084,20 +14097,11 @@ func rewriteValue386_Op386ORL_40(v *Value) bool {
break
}
_ = x0.Args[2]
- if idx != x0.Args[0] {
- break
- }
- if p != x0.Args[1] {
- break
- }
- if mem != x0.Args[2] {
+ if idx != x0.Args[0] || p != x0.Args[1] || mem != x0.Args[2] {
break
}
s0 := o0.Args[1]
- if s0.Op != Op386SHLLconst {
- break
- }
- if s0.AuxInt != 16 {
+ if s0.Op != Op386SHLLconst || s0.AuxInt != 16 {
break
}
x1 := s0.Args[0]
@@ -16109,16 +14113,7 @@ func rewriteValue386_Op386ORL_40(v *Value) bool {
break
}
_ = x1.Args[2]
- if p != x1.Args[0] {
- break
- }
- if idx != x1.Args[1] {
- break
- }
- if mem != x1.Args[2] {
- break
- }
- if !(i2 == i0+2 && i3 == i0+3 && x0.Uses == 1 && x1.Uses == 1 && x2.Uses == 1 && s0.Uses == 1 && s1.Uses == 1 && o0.Uses == 1 && mergePoint(b, x0, x1, x2) != nil && clobber(x0) && clobber(x1) && clobber(x2) && clobber(s0) && clobber(s1) && clobber(o0)) {
+ if p != x1.Args[0] || idx != x1.Args[1] || mem != x1.Args[2] || !(i2 == i0+2 && i3 == i0+3 && x0.Uses == 1 && x1.Uses == 1 && x2.Uses == 1 && s0.Uses == 1 && s1.Uses == 1 && o0.Uses == 1 && mergePoint(b, x0, x1, x2) != nil && clobber(x0) && clobber(x1) && clobber(x2) && clobber(s0) && clobber(s1) && clobber(o0)) {
break
}
b = mergePoint(b, x0, x1, x2)
@@ -16138,10 +14133,7 @@ func rewriteValue386_Op386ORL_40(v *Value) bool {
for {
_ = v.Args[1]
s1 := v.Args[0]
- if s1.Op != Op386SHLLconst {
- break
- }
- if s1.AuxInt != 24 {
+ if s1.Op != Op386SHLLconst || s1.AuxInt != 24 {
break
}
x2 := s1.Args[0]
@@ -16167,20 +14159,11 @@ func rewriteValue386_Op386ORL_40(v *Value) bool {
break
}
_ = x0.Args[2]
- if p != x0.Args[0] {
- break
- }
- if idx != x0.Args[1] {
- break
- }
- if mem != x0.Args[2] {
+ if p != x0.Args[0] || idx != x0.Args[1] || mem != x0.Args[2] {
break
}
s0 := o0.Args[1]
- if s0.Op != Op386SHLLconst {
- break
- }
- if s0.AuxInt != 16 {
+ if s0.Op != Op386SHLLconst || s0.AuxInt != 16 {
break
}
x1 := s0.Args[0]
@@ -16192,16 +14175,7 @@ func rewriteValue386_Op386ORL_40(v *Value) bool {
break
}
_ = x1.Args[2]
- if idx != x1.Args[0] {
- break
- }
- if p != x1.Args[1] {
- break
- }
- if mem != x1.Args[2] {
- break
- }
- if !(i2 == i0+2 && i3 == i0+3 && x0.Uses == 1 && x1.Uses == 1 && x2.Uses == 1 && s0.Uses == 1 && s1.Uses == 1 && o0.Uses == 1 && mergePoint(b, x0, x1, x2) != nil && clobber(x0) && clobber(x1) && clobber(x2) && clobber(s0) && clobber(s1) && clobber(o0)) {
+ if idx != x1.Args[0] || p != x1.Args[1] || mem != x1.Args[2] || !(i2 == i0+2 && i3 == i0+3 && x0.Uses == 1 && x1.Uses == 1 && x2.Uses == 1 && s0.Uses == 1 && s1.Uses == 1 && o0.Uses == 1 && mergePoint(b, x0, x1, x2) != nil && clobber(x0) && clobber(x1) && clobber(x2) && clobber(s0) && clobber(s1) && clobber(o0)) {
break
}
b = mergePoint(b, x0, x1, x2)
@@ -16221,10 +14195,7 @@ func rewriteValue386_Op386ORL_40(v *Value) bool {
for {
_ = v.Args[1]
s1 := v.Args[0]
- if s1.Op != Op386SHLLconst {
- break
- }
- if s1.AuxInt != 24 {
+ if s1.Op != Op386SHLLconst || s1.AuxInt != 24 {
break
}
x2 := s1.Args[0]
@@ -16250,20 +14221,11 @@ func rewriteValue386_Op386ORL_40(v *Value) bool {
break
}
_ = x0.Args[2]
- if p != x0.Args[0] {
- break
- }
- if idx != x0.Args[1] {
- break
- }
- if mem != x0.Args[2] {
+ if p != x0.Args[0] || idx != x0.Args[1] || mem != x0.Args[2] {
break
}
s0 := o0.Args[1]
- if s0.Op != Op386SHLLconst {
- break
- }
- if s0.AuxInt != 16 {
+ if s0.Op != Op386SHLLconst || s0.AuxInt != 16 {
break
}
x1 := s0.Args[0]
@@ -16275,16 +14237,7 @@ func rewriteValue386_Op386ORL_40(v *Value) bool {
break
}
_ = x1.Args[2]
- if idx != x1.Args[0] {
- break
- }
- if p != x1.Args[1] {
- break
- }
- if mem != x1.Args[2] {
- break
- }
- if !(i2 == i0+2 && i3 == i0+3 && x0.Uses == 1 && x1.Uses == 1 && x2.Uses == 1 && s0.Uses == 1 && s1.Uses == 1 && o0.Uses == 1 && mergePoint(b, x0, x1, x2) != nil && clobber(x0) && clobber(x1) && clobber(x2) && clobber(s0) && clobber(s1) && clobber(o0)) {
+ if idx != x1.Args[0] || p != x1.Args[1] || mem != x1.Args[2] || !(i2 == i0+2 && i3 == i0+3 && x0.Uses == 1 && x1.Uses == 1 && x2.Uses == 1 && s0.Uses == 1 && s1.Uses == 1 && o0.Uses == 1 && mergePoint(b, x0, x1, x2) != nil && clobber(x0) && clobber(x1) && clobber(x2) && clobber(s0) && clobber(s1) && clobber(o0)) {
break
}
b = mergePoint(b, x0, x1, x2)
@@ -16304,10 +14257,7 @@ func rewriteValue386_Op386ORL_40(v *Value) bool {
for {
_ = v.Args[1]
s1 := v.Args[0]
- if s1.Op != Op386SHLLconst {
- break
- }
- if s1.AuxInt != 24 {
+ if s1.Op != Op386SHLLconst || s1.AuxInt != 24 {
break
}
x2 := s1.Args[0]
@@ -16333,20 +14283,11 @@ func rewriteValue386_Op386ORL_40(v *Value) bool {
break
}
_ = x0.Args[2]
- if idx != x0.Args[0] {
- break
- }
- if p != x0.Args[1] {
- break
- }
- if mem != x0.Args[2] {
+ if idx != x0.Args[0] || p != x0.Args[1] || mem != x0.Args[2] {
break
}
s0 := o0.Args[1]
- if s0.Op != Op386SHLLconst {
- break
- }
- if s0.AuxInt != 16 {
+ if s0.Op != Op386SHLLconst || s0.AuxInt != 16 {
break
}
x1 := s0.Args[0]
@@ -16358,16 +14299,7 @@ func rewriteValue386_Op386ORL_40(v *Value) bool {
break
}
_ = x1.Args[2]
- if idx != x1.Args[0] {
- break
- }
- if p != x1.Args[1] {
- break
- }
- if mem != x1.Args[2] {
- break
- }
- if !(i2 == i0+2 && i3 == i0+3 && x0.Uses == 1 && x1.Uses == 1 && x2.Uses == 1 && s0.Uses == 1 && s1.Uses == 1 && o0.Uses == 1 && mergePoint(b, x0, x1, x2) != nil && clobber(x0) && clobber(x1) && clobber(x2) && clobber(s0) && clobber(s1) && clobber(o0)) {
+ if idx != x1.Args[0] || p != x1.Args[1] || mem != x1.Args[2] || !(i2 == i0+2 && i3 == i0+3 && x0.Uses == 1 && x1.Uses == 1 && x2.Uses == 1 && s0.Uses == 1 && s1.Uses == 1 && o0.Uses == 1 && mergePoint(b, x0, x1, x2) != nil && clobber(x0) && clobber(x1) && clobber(x2) && clobber(s0) && clobber(s1) && clobber(o0)) {
break
}
b = mergePoint(b, x0, x1, x2)
@@ -16391,10 +14323,7 @@ func rewriteValue386_Op386ORL_50(v *Value) bool {
for {
_ = v.Args[1]
s1 := v.Args[0]
- if s1.Op != Op386SHLLconst {
- break
- }
- if s1.AuxInt != 24 {
+ if s1.Op != Op386SHLLconst || s1.AuxInt != 24 {
break
}
x2 := s1.Args[0]
@@ -16420,20 +14349,11 @@ func rewriteValue386_Op386ORL_50(v *Value) bool {
break
}
_ = x0.Args[2]
- if idx != x0.Args[0] {
- break
- }
- if p != x0.Args[1] {
- break
- }
- if mem != x0.Args[2] {
+ if idx != x0.Args[0] || p != x0.Args[1] || mem != x0.Args[2] {
break
}
s0 := o0.Args[1]
- if s0.Op != Op386SHLLconst {
- break
- }
- if s0.AuxInt != 16 {
+ if s0.Op != Op386SHLLconst || s0.AuxInt != 16 {
break
}
x1 := s0.Args[0]
@@ -16445,16 +14365,7 @@ func rewriteValue386_Op386ORL_50(v *Value) bool {
break
}
_ = x1.Args[2]
- if idx != x1.Args[0] {
- break
- }
- if p != x1.Args[1] {
- break
- }
- if mem != x1.Args[2] {
- break
- }
- if !(i2 == i0+2 && i3 == i0+3 && x0.Uses == 1 && x1.Uses == 1 && x2.Uses == 1 && s0.Uses == 1 && s1.Uses == 1 && o0.Uses == 1 && mergePoint(b, x0, x1, x2) != nil && clobber(x0) && clobber(x1) && clobber(x2) && clobber(s0) && clobber(s1) && clobber(o0)) {
+ if idx != x1.Args[0] || p != x1.Args[1] || mem != x1.Args[2] || !(i2 == i0+2 && i3 == i0+3 && x0.Uses == 1 && x1.Uses == 1 && x2.Uses == 1 && s0.Uses == 1 && s1.Uses == 1 && o0.Uses == 1 && mergePoint(b, x0, x1, x2) != nil && clobber(x0) && clobber(x1) && clobber(x2) && clobber(s0) && clobber(s1) && clobber(o0)) {
break
}
b = mergePoint(b, x0, x1, x2)
@@ -16474,10 +14385,7 @@ func rewriteValue386_Op386ORL_50(v *Value) bool {
for {
_ = v.Args[1]
s1 := v.Args[0]
- if s1.Op != Op386SHLLconst {
- break
- }
- if s1.AuxInt != 24 {
+ if s1.Op != Op386SHLLconst || s1.AuxInt != 24 {
break
}
x2 := s1.Args[0]
@@ -16495,10 +14403,7 @@ func rewriteValue386_Op386ORL_50(v *Value) bool {
}
_ = o0.Args[1]
s0 := o0.Args[0]
- if s0.Op != Op386SHLLconst {
- break
- }
- if s0.AuxInt != 16 {
+ if s0.Op != Op386SHLLconst || s0.AuxInt != 16 {
break
}
x1 := s0.Args[0]
@@ -16510,13 +14415,7 @@ func rewriteValue386_Op386ORL_50(v *Value) bool {
break
}
_ = x1.Args[2]
- if p != x1.Args[0] {
- break
- }
- if idx != x1.Args[1] {
- break
- }
- if mem != x1.Args[2] {
+ if p != x1.Args[0] || idx != x1.Args[1] || mem != x1.Args[2] {
break
}
x0 := o0.Args[1]
@@ -16528,16 +14427,7 @@ func rewriteValue386_Op386ORL_50(v *Value) bool {
break
}
_ = x0.Args[2]
- if p != x0.Args[0] {
- break
- }
- if idx != x0.Args[1] {
- break
- }
- if mem != x0.Args[2] {
- break
- }
- if !(i2 == i0+2 && i3 == i0+3 && x0.Uses == 1 && x1.Uses == 1 && x2.Uses == 1 && s0.Uses == 1 && s1.Uses == 1 && o0.Uses == 1 && mergePoint(b, x0, x1, x2) != nil && clobber(x0) && clobber(x1) && clobber(x2) && clobber(s0) && clobber(s1) && clobber(o0)) {
+ if p != x0.Args[0] || idx != x0.Args[1] || mem != x0.Args[2] || !(i2 == i0+2 && i3 == i0+3 && x0.Uses == 1 && x1.Uses == 1 && x2.Uses == 1 && s0.Uses == 1 && s1.Uses == 1 && o0.Uses == 1 && mergePoint(b, x0, x1, x2) != nil && clobber(x0) && clobber(x1) && clobber(x2) && clobber(s0) && clobber(s1) && clobber(o0)) {
break
}
b = mergePoint(b, x0, x1, x2)
@@ -16557,10 +14447,7 @@ func rewriteValue386_Op386ORL_50(v *Value) bool {
for {
_ = v.Args[1]
s1 := v.Args[0]
- if s1.Op != Op386SHLLconst {
- break
- }
- if s1.AuxInt != 24 {
+ if s1.Op != Op386SHLLconst || s1.AuxInt != 24 {
break
}
x2 := s1.Args[0]
@@ -16578,10 +14465,7 @@ func rewriteValue386_Op386ORL_50(v *Value) bool {
}
_ = o0.Args[1]
s0 := o0.Args[0]
- if s0.Op != Op386SHLLconst {
- break
- }
- if s0.AuxInt != 16 {
+ if s0.Op != Op386SHLLconst || s0.AuxInt != 16 {
break
}
x1 := s0.Args[0]
@@ -16593,13 +14477,7 @@ func rewriteValue386_Op386ORL_50(v *Value) bool {
break
}
_ = x1.Args[2]
- if p != x1.Args[0] {
- break
- }
- if idx != x1.Args[1] {
- break
- }
- if mem != x1.Args[2] {
+ if p != x1.Args[0] || idx != x1.Args[1] || mem != x1.Args[2] {
break
}
x0 := o0.Args[1]
@@ -16611,16 +14489,7 @@ func rewriteValue386_Op386ORL_50(v *Value) bool {
break
}
_ = x0.Args[2]
- if p != x0.Args[0] {
- break
- }
- if idx != x0.Args[1] {
- break
- }
- if mem != x0.Args[2] {
- break
- }
- if !(i2 == i0+2 && i3 == i0+3 && x0.Uses == 1 && x1.Uses == 1 && x2.Uses == 1 && s0.Uses == 1 && s1.Uses == 1 && o0.Uses == 1 && mergePoint(b, x0, x1, x2) != nil && clobber(x0) && clobber(x1) && clobber(x2) && clobber(s0) && clobber(s1) && clobber(o0)) {
+ if p != x0.Args[0] || idx != x0.Args[1] || mem != x0.Args[2] || !(i2 == i0+2 && i3 == i0+3 && x0.Uses == 1 && x1.Uses == 1 && x2.Uses == 1 && s0.Uses == 1 && s1.Uses == 1 && o0.Uses == 1 && mergePoint(b, x0, x1, x2) != nil && clobber(x0) && clobber(x1) && clobber(x2) && clobber(s0) && clobber(s1) && clobber(o0)) {
break
}
b = mergePoint(b, x0, x1, x2)
@@ -16640,10 +14509,7 @@ func rewriteValue386_Op386ORL_50(v *Value) bool {
for {
_ = v.Args[1]
s1 := v.Args[0]
- if s1.Op != Op386SHLLconst {
- break
- }
- if s1.AuxInt != 24 {
+ if s1.Op != Op386SHLLconst || s1.AuxInt != 24 {
break
}
x2 := s1.Args[0]
@@ -16661,10 +14527,7 @@ func rewriteValue386_Op386ORL_50(v *Value) bool {
}
_ = o0.Args[1]
s0 := o0.Args[0]
- if s0.Op != Op386SHLLconst {
- break
- }
- if s0.AuxInt != 16 {
+ if s0.Op != Op386SHLLconst || s0.AuxInt != 16 {
break
}
x1 := s0.Args[0]
@@ -16676,13 +14539,7 @@ func rewriteValue386_Op386ORL_50(v *Value) bool {
break
}
_ = x1.Args[2]
- if idx != x1.Args[0] {
- break
- }
- if p != x1.Args[1] {
- break
- }
- if mem != x1.Args[2] {
+ if idx != x1.Args[0] || p != x1.Args[1] || mem != x1.Args[2] {
break
}
x0 := o0.Args[1]
@@ -16694,16 +14551,7 @@ func rewriteValue386_Op386ORL_50(v *Value) bool {
break
}
_ = x0.Args[2]
- if p != x0.Args[0] {
- break
- }
- if idx != x0.Args[1] {
- break
- }
- if mem != x0.Args[2] {
- break
- }
- if !(i2 == i0+2 && i3 == i0+3 && x0.Uses == 1 && x1.Uses == 1 && x2.Uses == 1 && s0.Uses == 1 && s1.Uses == 1 && o0.Uses == 1 && mergePoint(b, x0, x1, x2) != nil && clobber(x0) && clobber(x1) && clobber(x2) && clobber(s0) && clobber(s1) && clobber(o0)) {
+ if p != x0.Args[0] || idx != x0.Args[1] || mem != x0.Args[2] || !(i2 == i0+2 && i3 == i0+3 && x0.Uses == 1 && x1.Uses == 1 && x2.Uses == 1 && s0.Uses == 1 && s1.Uses == 1 && o0.Uses == 1 && mergePoint(b, x0, x1, x2) != nil && clobber(x0) && clobber(x1) && clobber(x2) && clobber(s0) && clobber(s1) && clobber(o0)) {
break
}
b = mergePoint(b, x0, x1, x2)
@@ -16723,10 +14571,7 @@ func rewriteValue386_Op386ORL_50(v *Value) bool {
for {
_ = v.Args[1]
s1 := v.Args[0]
- if s1.Op != Op386SHLLconst {
- break
- }
- if s1.AuxInt != 24 {
+ if s1.Op != Op386SHLLconst || s1.AuxInt != 24 {
break
}
x2 := s1.Args[0]
@@ -16744,10 +14589,7 @@ func rewriteValue386_Op386ORL_50(v *Value) bool {
}
_ = o0.Args[1]
s0 := o0.Args[0]
- if s0.Op != Op386SHLLconst {
- break
- }
- if s0.AuxInt != 16 {
+ if s0.Op != Op386SHLLconst || s0.AuxInt != 16 {
break
}
x1 := s0.Args[0]
@@ -16759,13 +14601,7 @@ func rewriteValue386_Op386ORL_50(v *Value) bool {
break
}
_ = x1.Args[2]
- if idx != x1.Args[0] {
- break
- }
- if p != x1.Args[1] {
- break
- }
- if mem != x1.Args[2] {
+ if idx != x1.Args[0] || p != x1.Args[1] || mem != x1.Args[2] {
break
}
x0 := o0.Args[1]
@@ -16777,16 +14613,7 @@ func rewriteValue386_Op386ORL_50(v *Value) bool {
break
}
_ = x0.Args[2]
- if p != x0.Args[0] {
- break
- }
- if idx != x0.Args[1] {
- break
- }
- if mem != x0.Args[2] {
- break
- }
- if !(i2 == i0+2 && i3 == i0+3 && x0.Uses == 1 && x1.Uses == 1 && x2.Uses == 1 && s0.Uses == 1 && s1.Uses == 1 && o0.Uses == 1 && mergePoint(b, x0, x1, x2) != nil && clobber(x0) && clobber(x1) && clobber(x2) && clobber(s0) && clobber(s1) && clobber(o0)) {
+ if p != x0.Args[0] || idx != x0.Args[1] || mem != x0.Args[2] || !(i2 == i0+2 && i3 == i0+3 && x0.Uses == 1 && x1.Uses == 1 && x2.Uses == 1 && s0.Uses == 1 && s1.Uses == 1 && o0.Uses == 1 && mergePoint(b, x0, x1, x2) != nil && clobber(x0) && clobber(x1) && clobber(x2) && clobber(s0) && clobber(s1) && clobber(o0)) {
break
}
b = mergePoint(b, x0, x1, x2)
@@ -16806,10 +14633,7 @@ func rewriteValue386_Op386ORL_50(v *Value) bool {
for {
_ = v.Args[1]
s1 := v.Args[0]
- if s1.Op != Op386SHLLconst {
- break
- }
- if s1.AuxInt != 24 {
+ if s1.Op != Op386SHLLconst || s1.AuxInt != 24 {
break
}
x2 := s1.Args[0]
@@ -16827,10 +14651,7 @@ func rewriteValue386_Op386ORL_50(v *Value) bool {
}
_ = o0.Args[1]
s0 := o0.Args[0]
- if s0.Op != Op386SHLLconst {
- break
- }
- if s0.AuxInt != 16 {
+ if s0.Op != Op386SHLLconst || s0.AuxInt != 16 {
break
}
x1 := s0.Args[0]
@@ -16842,13 +14663,7 @@ func rewriteValue386_Op386ORL_50(v *Value) bool {
break
}
_ = x1.Args[2]
- if p != x1.Args[0] {
- break
- }
- if idx != x1.Args[1] {
- break
- }
- if mem != x1.Args[2] {
+ if p != x1.Args[0] || idx != x1.Args[1] || mem != x1.Args[2] {
break
}
x0 := o0.Args[1]
@@ -16860,16 +14675,7 @@ func rewriteValue386_Op386ORL_50(v *Value) bool {
break
}
_ = x0.Args[2]
- if idx != x0.Args[0] {
- break
- }
- if p != x0.Args[1] {
- break
- }
- if mem != x0.Args[2] {
- break
- }
- if !(i2 == i0+2 && i3 == i0+3 && x0.Uses == 1 && x1.Uses == 1 && x2.Uses == 1 && s0.Uses == 1 && s1.Uses == 1 && o0.Uses == 1 && mergePoint(b, x0, x1, x2) != nil && clobber(x0) && clobber(x1) && clobber(x2) && clobber(s0) && clobber(s1) && clobber(o0)) {
+ if idx != x0.Args[0] || p != x0.Args[1] || mem != x0.Args[2] || !(i2 == i0+2 && i3 == i0+3 && x0.Uses == 1 && x1.Uses == 1 && x2.Uses == 1 && s0.Uses == 1 && s1.Uses == 1 && o0.Uses == 1 && mergePoint(b, x0, x1, x2) != nil && clobber(x0) && clobber(x1) && clobber(x2) && clobber(s0) && clobber(s1) && clobber(o0)) {
break
}
b = mergePoint(b, x0, x1, x2)
@@ -16889,10 +14695,7 @@ func rewriteValue386_Op386ORL_50(v *Value) bool {
for {
_ = v.Args[1]
s1 := v.Args[0]
- if s1.Op != Op386SHLLconst {
- break
- }
- if s1.AuxInt != 24 {
+ if s1.Op != Op386SHLLconst || s1.AuxInt != 24 {
break
}
x2 := s1.Args[0]
@@ -16910,10 +14713,7 @@ func rewriteValue386_Op386ORL_50(v *Value) bool {
}
_ = o0.Args[1]
s0 := o0.Args[0]
- if s0.Op != Op386SHLLconst {
- break
- }
- if s0.AuxInt != 16 {
+ if s0.Op != Op386SHLLconst || s0.AuxInt != 16 {
break
}
x1 := s0.Args[0]
@@ -16925,13 +14725,7 @@ func rewriteValue386_Op386ORL_50(v *Value) bool {
break
}
_ = x1.Args[2]
- if p != x1.Args[0] {
- break
- }
- if idx != x1.Args[1] {
- break
- }
- if mem != x1.Args[2] {
+ if p != x1.Args[0] || idx != x1.Args[1] || mem != x1.Args[2] {
break
}
x0 := o0.Args[1]
@@ -16943,16 +14737,7 @@ func rewriteValue386_Op386ORL_50(v *Value) bool {
break
}
_ = x0.Args[2]
- if idx != x0.Args[0] {
- break
- }
- if p != x0.Args[1] {
- break
- }
- if mem != x0.Args[2] {
- break
- }
- if !(i2 == i0+2 && i3 == i0+3 && x0.Uses == 1 && x1.Uses == 1 && x2.Uses == 1 && s0.Uses == 1 && s1.Uses == 1 && o0.Uses == 1 && mergePoint(b, x0, x1, x2) != nil && clobber(x0) && clobber(x1) && clobber(x2) && clobber(s0) && clobber(s1) && clobber(o0)) {
+ if idx != x0.Args[0] || p != x0.Args[1] || mem != x0.Args[2] || !(i2 == i0+2 && i3 == i0+3 && x0.Uses == 1 && x1.Uses == 1 && x2.Uses == 1 && s0.Uses == 1 && s1.Uses == 1 && o0.Uses == 1 && mergePoint(b, x0, x1, x2) != nil && clobber(x0) && clobber(x1) && clobber(x2) && clobber(s0) && clobber(s1) && clobber(o0)) {
break
}
b = mergePoint(b, x0, x1, x2)
@@ -16972,10 +14757,7 @@ func rewriteValue386_Op386ORL_50(v *Value) bool {
for {
_ = v.Args[1]
s1 := v.Args[0]
- if s1.Op != Op386SHLLconst {
- break
- }
- if s1.AuxInt != 24 {
+ if s1.Op != Op386SHLLconst || s1.AuxInt != 24 {
break
}
x2 := s1.Args[0]
@@ -16993,10 +14775,7 @@ func rewriteValue386_Op386ORL_50(v *Value) bool {
}
_ = o0.Args[1]
s0 := o0.Args[0]
- if s0.Op != Op386SHLLconst {
- break
- }
- if s0.AuxInt != 16 {
+ if s0.Op != Op386SHLLconst || s0.AuxInt != 16 {
break
}
x1 := s0.Args[0]
@@ -17008,13 +14787,7 @@ func rewriteValue386_Op386ORL_50(v *Value) bool {
break
}
_ = x1.Args[2]
- if idx != x1.Args[0] {
- break
- }
- if p != x1.Args[1] {
- break
- }
- if mem != x1.Args[2] {
+ if idx != x1.Args[0] || p != x1.Args[1] || mem != x1.Args[2] {
break
}
x0 := o0.Args[1]
@@ -17026,16 +14799,7 @@ func rewriteValue386_Op386ORL_50(v *Value) bool {
break
}
_ = x0.Args[2]
- if idx != x0.Args[0] {
- break
- }
- if p != x0.Args[1] {
- break
- }
- if mem != x0.Args[2] {
- break
- }
- if !(i2 == i0+2 && i3 == i0+3 && x0.Uses == 1 && x1.Uses == 1 && x2.Uses == 1 && s0.Uses == 1 && s1.Uses == 1 && o0.Uses == 1 && mergePoint(b, x0, x1, x2) != nil && clobber(x0) && clobber(x1) && clobber(x2) && clobber(s0) && clobber(s1) && clobber(o0)) {
+ if idx != x0.Args[0] || p != x0.Args[1] || mem != x0.Args[2] || !(i2 == i0+2 && i3 == i0+3 && x0.Uses == 1 && x1.Uses == 1 && x2.Uses == 1 && s0.Uses == 1 && s1.Uses == 1 && o0.Uses == 1 && mergePoint(b, x0, x1, x2) != nil && clobber(x0) && clobber(x1) && clobber(x2) && clobber(s0) && clobber(s1) && clobber(o0)) {
break
}
b = mergePoint(b, x0, x1, x2)
@@ -17055,10 +14819,7 @@ func rewriteValue386_Op386ORL_50(v *Value) bool {
for {
_ = v.Args[1]
s1 := v.Args[0]
- if s1.Op != Op386SHLLconst {
- break
- }
- if s1.AuxInt != 24 {
+ if s1.Op != Op386SHLLconst || s1.AuxInt != 24 {
break
}
x2 := s1.Args[0]
@@ -17076,10 +14837,7 @@ func rewriteValue386_Op386ORL_50(v *Value) bool {
}
_ = o0.Args[1]
s0 := o0.Args[0]
- if s0.Op != Op386SHLLconst {
- break
- }
- if s0.AuxInt != 16 {
+ if s0.Op != Op386SHLLconst || s0.AuxInt != 16 {
break
}
x1 := s0.Args[0]
@@ -17091,13 +14849,7 @@ func rewriteValue386_Op386ORL_50(v *Value) bool {
break
}
_ = x1.Args[2]
- if idx != x1.Args[0] {
- break
- }
- if p != x1.Args[1] {
- break
- }
- if mem != x1.Args[2] {
+ if idx != x1.Args[0] || p != x1.Args[1] || mem != x1.Args[2] {
break
}
x0 := o0.Args[1]
@@ -17109,16 +14861,7 @@ func rewriteValue386_Op386ORL_50(v *Value) bool {
break
}
_ = x0.Args[2]
- if idx != x0.Args[0] {
- break
- }
- if p != x0.Args[1] {
- break
- }
- if mem != x0.Args[2] {
- break
- }
- if !(i2 == i0+2 && i3 == i0+3 && x0.Uses == 1 && x1.Uses == 1 && x2.Uses == 1 && s0.Uses == 1 && s1.Uses == 1 && o0.Uses == 1 && mergePoint(b, x0, x1, x2) != nil && clobber(x0) && clobber(x1) && clobber(x2) && clobber(s0) && clobber(s1) && clobber(o0)) {
+ if idx != x0.Args[0] || p != x0.Args[1] || mem != x0.Args[2] || !(i2 == i0+2 && i3 == i0+3 && x0.Uses == 1 && x1.Uses == 1 && x2.Uses == 1 && s0.Uses == 1 && s1.Uses == 1 && o0.Uses == 1 && mergePoint(b, x0, x1, x2) != nil && clobber(x0) && clobber(x1) && clobber(x2) && clobber(s0) && clobber(s1) && clobber(o0)) {
break
}
b = mergePoint(b, x0, x1, x2)
@@ -17162,7 +14905,6 @@ func rewriteValue386_Op386ORLconst_0(v *Value) bool {
return true
}
// match: (ORLconst [c] (MOVLconst [d]))
- // cond:
// result: (MOVLconst [c|d])
for {
c := v.AuxInt
@@ -17651,7 +15393,6 @@ func rewriteValue386_Op386ORLmodifyidx4_0(v *Value) bool {
}
func rewriteValue386_Op386ROLBconst_0(v *Value) bool {
// match: (ROLBconst [c] (ROLBconst [d] x))
- // cond:
// result: (ROLBconst [(c+d)& 7] x)
for {
c := v.AuxInt
@@ -17667,7 +15408,6 @@ func rewriteValue386_Op386ROLBconst_0(v *Value) bool {
return true
}
// match: (ROLBconst [0] x)
- // cond:
// result: x
for {
if v.AuxInt != 0 {
@@ -17683,7 +15423,6 @@ func rewriteValue386_Op386ROLBconst_0(v *Value) bool {
}
func rewriteValue386_Op386ROLLconst_0(v *Value) bool {
// match: (ROLLconst [c] (ROLLconst [d] x))
- // cond:
// result: (ROLLconst [(c+d)&31] x)
for {
c := v.AuxInt
@@ -17699,7 +15438,6 @@ func rewriteValue386_Op386ROLLconst_0(v *Value) bool {
return true
}
// match: (ROLLconst [0] x)
- // cond:
// result: x
for {
if v.AuxInt != 0 {
@@ -17715,7 +15453,6 @@ func rewriteValue386_Op386ROLLconst_0(v *Value) bool {
}
func rewriteValue386_Op386ROLWconst_0(v *Value) bool {
// match: (ROLWconst [c] (ROLWconst [d] x))
- // cond:
// result: (ROLWconst [(c+d)&15] x)
for {
c := v.AuxInt
@@ -17731,7 +15468,6 @@ func rewriteValue386_Op386ROLWconst_0(v *Value) bool {
return true
}
// match: (ROLWconst [0] x)
- // cond:
// result: x
for {
if v.AuxInt != 0 {
@@ -17747,7 +15483,6 @@ func rewriteValue386_Op386ROLWconst_0(v *Value) bool {
}
func rewriteValue386_Op386SARB_0(v *Value) bool {
// match: (SARB x (MOVLconst [c]))
- // cond:
// result: (SARBconst [min(c&31,7)] x)
for {
_ = v.Args[1]
@@ -17766,7 +15501,6 @@ func rewriteValue386_Op386SARB_0(v *Value) bool {
}
func rewriteValue386_Op386SARBconst_0(v *Value) bool {
// match: (SARBconst x [0])
- // cond:
// result: x
for {
if v.AuxInt != 0 {
@@ -17779,7 +15513,6 @@ func rewriteValue386_Op386SARBconst_0(v *Value) bool {
return true
}
// match: (SARBconst [c] (MOVLconst [d]))
- // cond:
// result: (MOVLconst [d>>uint64(c)])
for {
c := v.AuxInt
@@ -17796,7 +15529,6 @@ func rewriteValue386_Op386SARBconst_0(v *Value) bool {
}
func rewriteValue386_Op386SARL_0(v *Value) bool {
// match: (SARL x (MOVLconst [c]))
- // cond:
// result: (SARLconst [c&31] x)
for {
_ = v.Args[1]
@@ -17812,16 +15544,12 @@ func rewriteValue386_Op386SARL_0(v *Value) bool {
return true
}
// match: (SARL x (ANDLconst [31] y))
- // cond:
// result: (SARL x y)
for {
_ = v.Args[1]
x := v.Args[0]
v_1 := v.Args[1]
- if v_1.Op != Op386ANDLconst {
- break
- }
- if v_1.AuxInt != 31 {
+ if v_1.Op != Op386ANDLconst || v_1.AuxInt != 31 {
break
}
y := v_1.Args[0]
@@ -17834,7 +15562,6 @@ func rewriteValue386_Op386SARL_0(v *Value) bool {
}
func rewriteValue386_Op386SARLconst_0(v *Value) bool {
// match: (SARLconst x [0])
- // cond:
// result: x
for {
if v.AuxInt != 0 {
@@ -17847,7 +15574,6 @@ func rewriteValue386_Op386SARLconst_0(v *Value) bool {
return true
}
// match: (SARLconst [c] (MOVLconst [d]))
- // cond:
// result: (MOVLconst [d>>uint64(c)])
for {
c := v.AuxInt
@@ -17864,7 +15590,6 @@ func rewriteValue386_Op386SARLconst_0(v *Value) bool {
}
func rewriteValue386_Op386SARW_0(v *Value) bool {
// match: (SARW x (MOVLconst [c]))
- // cond:
// result: (SARWconst [min(c&31,15)] x)
for {
_ = v.Args[1]
@@ -17883,7 +15608,6 @@ func rewriteValue386_Op386SARW_0(v *Value) bool {
}
func rewriteValue386_Op386SARWconst_0(v *Value) bool {
// match: (SARWconst x [0])
- // cond:
// result: x
for {
if v.AuxInt != 0 {
@@ -17896,7 +15620,6 @@ func rewriteValue386_Op386SARWconst_0(v *Value) bool {
return true
}
// match: (SARWconst [c] (MOVLconst [d]))
- // cond:
// result: (MOVLconst [d>>uint64(c)])
for {
c := v.AuxInt
@@ -17913,7 +15636,6 @@ func rewriteValue386_Op386SARWconst_0(v *Value) bool {
}
func rewriteValue386_Op386SBBL_0(v *Value) bool {
// match: (SBBL x (MOVLconst [c]) f)
- // cond:
// result: (SBBLconst [c] x f)
for {
f := v.Args[2]
@@ -17933,7 +15655,6 @@ func rewriteValue386_Op386SBBL_0(v *Value) bool {
}
func rewriteValue386_Op386SBBLcarrymask_0(v *Value) bool {
// match: (SBBLcarrymask (FlagEQ))
- // cond:
// result: (MOVLconst [0])
for {
v_0 := v.Args[0]
@@ -17945,7 +15666,6 @@ func rewriteValue386_Op386SBBLcarrymask_0(v *Value) bool {
return true
}
// match: (SBBLcarrymask (FlagLT_ULT))
- // cond:
// result: (MOVLconst [-1])
for {
v_0 := v.Args[0]
@@ -17957,7 +15677,6 @@ func rewriteValue386_Op386SBBLcarrymask_0(v *Value) bool {
return true
}
// match: (SBBLcarrymask (FlagLT_UGT))
- // cond:
// result: (MOVLconst [0])
for {
v_0 := v.Args[0]
@@ -17969,7 +15688,6 @@ func rewriteValue386_Op386SBBLcarrymask_0(v *Value) bool {
return true
}
// match: (SBBLcarrymask (FlagGT_ULT))
- // cond:
// result: (MOVLconst [-1])
for {
v_0 := v.Args[0]
@@ -17981,7 +15699,6 @@ func rewriteValue386_Op386SBBLcarrymask_0(v *Value) bool {
return true
}
// match: (SBBLcarrymask (FlagGT_UGT))
- // cond:
// result: (MOVLconst [0])
for {
v_0 := v.Args[0]
@@ -17996,7 +15713,6 @@ func rewriteValue386_Op386SBBLcarrymask_0(v *Value) bool {
}
func rewriteValue386_Op386SETA_0(v *Value) bool {
// match: (SETA (InvertFlags x))
- // cond:
// result: (SETB x)
for {
v_0 := v.Args[0]
@@ -18009,7 +15725,6 @@ func rewriteValue386_Op386SETA_0(v *Value) bool {
return true
}
// match: (SETA (FlagEQ))
- // cond:
// result: (MOVLconst [0])
for {
v_0 := v.Args[0]
@@ -18021,7 +15736,6 @@ func rewriteValue386_Op386SETA_0(v *Value) bool {
return true
}
// match: (SETA (FlagLT_ULT))
- // cond:
// result: (MOVLconst [0])
for {
v_0 := v.Args[0]
@@ -18033,7 +15747,6 @@ func rewriteValue386_Op386SETA_0(v *Value) bool {
return true
}
// match: (SETA (FlagLT_UGT))
- // cond:
// result: (MOVLconst [1])
for {
v_0 := v.Args[0]
@@ -18045,7 +15758,6 @@ func rewriteValue386_Op386SETA_0(v *Value) bool {
return true
}
// match: (SETA (FlagGT_ULT))
- // cond:
// result: (MOVLconst [0])
for {
v_0 := v.Args[0]
@@ -18057,7 +15769,6 @@ func rewriteValue386_Op386SETA_0(v *Value) bool {
return true
}
// match: (SETA (FlagGT_UGT))
- // cond:
// result: (MOVLconst [1])
for {
v_0 := v.Args[0]
@@ -18072,7 +15783,6 @@ func rewriteValue386_Op386SETA_0(v *Value) bool {
}
func rewriteValue386_Op386SETAE_0(v *Value) bool {
// match: (SETAE (InvertFlags x))
- // cond:
// result: (SETBE x)
for {
v_0 := v.Args[0]
@@ -18085,7 +15795,6 @@ func rewriteValue386_Op386SETAE_0(v *Value) bool {
return true
}
// match: (SETAE (FlagEQ))
- // cond:
// result: (MOVLconst [1])
for {
v_0 := v.Args[0]
@@ -18097,7 +15806,6 @@ func rewriteValue386_Op386SETAE_0(v *Value) bool {
return true
}
// match: (SETAE (FlagLT_ULT))
- // cond:
// result: (MOVLconst [0])
for {
v_0 := v.Args[0]
@@ -18109,7 +15817,6 @@ func rewriteValue386_Op386SETAE_0(v *Value) bool {
return true
}
// match: (SETAE (FlagLT_UGT))
- // cond:
// result: (MOVLconst [1])
for {
v_0 := v.Args[0]
@@ -18121,7 +15828,6 @@ func rewriteValue386_Op386SETAE_0(v *Value) bool {
return true
}
// match: (SETAE (FlagGT_ULT))
- // cond:
// result: (MOVLconst [0])
for {
v_0 := v.Args[0]
@@ -18133,7 +15839,6 @@ func rewriteValue386_Op386SETAE_0(v *Value) bool {
return true
}
// match: (SETAE (FlagGT_UGT))
- // cond:
// result: (MOVLconst [1])
for {
v_0 := v.Args[0]
@@ -18148,7 +15853,6 @@ func rewriteValue386_Op386SETAE_0(v *Value) bool {
}
func rewriteValue386_Op386SETB_0(v *Value) bool {
// match: (SETB (InvertFlags x))
- // cond:
// result: (SETA x)
for {
v_0 := v.Args[0]
@@ -18161,7 +15865,6 @@ func rewriteValue386_Op386SETB_0(v *Value) bool {
return true
}
// match: (SETB (FlagEQ))
- // cond:
// result: (MOVLconst [0])
for {
v_0 := v.Args[0]
@@ -18173,7 +15876,6 @@ func rewriteValue386_Op386SETB_0(v *Value) bool {
return true
}
// match: (SETB (FlagLT_ULT))
- // cond:
// result: (MOVLconst [1])
for {
v_0 := v.Args[0]
@@ -18185,7 +15887,6 @@ func rewriteValue386_Op386SETB_0(v *Value) bool {
return true
}
// match: (SETB (FlagLT_UGT))
- // cond:
// result: (MOVLconst [0])
for {
v_0 := v.Args[0]
@@ -18197,7 +15898,6 @@ func rewriteValue386_Op386SETB_0(v *Value) bool {
return true
}
// match: (SETB (FlagGT_ULT))
- // cond:
// result: (MOVLconst [1])
for {
v_0 := v.Args[0]
@@ -18209,7 +15909,6 @@ func rewriteValue386_Op386SETB_0(v *Value) bool {
return true
}
// match: (SETB (FlagGT_UGT))
- // cond:
// result: (MOVLconst [0])
for {
v_0 := v.Args[0]
@@ -18224,7 +15923,6 @@ func rewriteValue386_Op386SETB_0(v *Value) bool {
}
func rewriteValue386_Op386SETBE_0(v *Value) bool {
// match: (SETBE (InvertFlags x))
- // cond:
// result: (SETAE x)
for {
v_0 := v.Args[0]
@@ -18237,7 +15935,6 @@ func rewriteValue386_Op386SETBE_0(v *Value) bool {
return true
}
// match: (SETBE (FlagEQ))
- // cond:
// result: (MOVLconst [1])
for {
v_0 := v.Args[0]
@@ -18249,7 +15946,6 @@ func rewriteValue386_Op386SETBE_0(v *Value) bool {
return true
}
// match: (SETBE (FlagLT_ULT))
- // cond:
// result: (MOVLconst [1])
for {
v_0 := v.Args[0]
@@ -18261,7 +15957,6 @@ func rewriteValue386_Op386SETBE_0(v *Value) bool {
return true
}
// match: (SETBE (FlagLT_UGT))
- // cond:
// result: (MOVLconst [0])
for {
v_0 := v.Args[0]
@@ -18273,7 +15968,6 @@ func rewriteValue386_Op386SETBE_0(v *Value) bool {
return true
}
// match: (SETBE (FlagGT_ULT))
- // cond:
// result: (MOVLconst [1])
for {
v_0 := v.Args[0]
@@ -18285,7 +15979,6 @@ func rewriteValue386_Op386SETBE_0(v *Value) bool {
return true
}
// match: (SETBE (FlagGT_UGT))
- // cond:
// result: (MOVLconst [0])
for {
v_0 := v.Args[0]
@@ -18300,7 +15993,6 @@ func rewriteValue386_Op386SETBE_0(v *Value) bool {
}
func rewriteValue386_Op386SETEQ_0(v *Value) bool {
// match: (SETEQ (InvertFlags x))
- // cond:
// result: (SETEQ x)
for {
v_0 := v.Args[0]
@@ -18313,7 +16005,6 @@ func rewriteValue386_Op386SETEQ_0(v *Value) bool {
return true
}
// match: (SETEQ (FlagEQ))
- // cond:
// result: (MOVLconst [1])
for {
v_0 := v.Args[0]
@@ -18325,7 +16016,6 @@ func rewriteValue386_Op386SETEQ_0(v *Value) bool {
return true
}
// match: (SETEQ (FlagLT_ULT))
- // cond:
// result: (MOVLconst [0])
for {
v_0 := v.Args[0]
@@ -18337,7 +16027,6 @@ func rewriteValue386_Op386SETEQ_0(v *Value) bool {
return true
}
// match: (SETEQ (FlagLT_UGT))
- // cond:
// result: (MOVLconst [0])
for {
v_0 := v.Args[0]
@@ -18349,7 +16038,6 @@ func rewriteValue386_Op386SETEQ_0(v *Value) bool {
return true
}
// match: (SETEQ (FlagGT_ULT))
- // cond:
// result: (MOVLconst [0])
for {
v_0 := v.Args[0]
@@ -18361,7 +16049,6 @@ func rewriteValue386_Op386SETEQ_0(v *Value) bool {
return true
}
// match: (SETEQ (FlagGT_UGT))
- // cond:
// result: (MOVLconst [0])
for {
v_0 := v.Args[0]
@@ -18376,7 +16063,6 @@ func rewriteValue386_Op386SETEQ_0(v *Value) bool {
}
func rewriteValue386_Op386SETG_0(v *Value) bool {
// match: (SETG (InvertFlags x))
- // cond:
// result: (SETL x)
for {
v_0 := v.Args[0]
@@ -18389,7 +16075,6 @@ func rewriteValue386_Op386SETG_0(v *Value) bool {
return true
}
// match: (SETG (FlagEQ))
- // cond:
// result: (MOVLconst [0])
for {
v_0 := v.Args[0]
@@ -18401,7 +16086,6 @@ func rewriteValue386_Op386SETG_0(v *Value) bool {
return true
}
// match: (SETG (FlagLT_ULT))
- // cond:
// result: (MOVLconst [0])
for {
v_0 := v.Args[0]
@@ -18413,7 +16097,6 @@ func rewriteValue386_Op386SETG_0(v *Value) bool {
return true
}
// match: (SETG (FlagLT_UGT))
- // cond:
// result: (MOVLconst [0])
for {
v_0 := v.Args[0]
@@ -18425,7 +16108,6 @@ func rewriteValue386_Op386SETG_0(v *Value) bool {
return true
}
// match: (SETG (FlagGT_ULT))
- // cond:
// result: (MOVLconst [1])
for {
v_0 := v.Args[0]
@@ -18437,7 +16119,6 @@ func rewriteValue386_Op386SETG_0(v *Value) bool {
return true
}
// match: (SETG (FlagGT_UGT))
- // cond:
// result: (MOVLconst [1])
for {
v_0 := v.Args[0]
@@ -18452,7 +16133,6 @@ func rewriteValue386_Op386SETG_0(v *Value) bool {
}
func rewriteValue386_Op386SETGE_0(v *Value) bool {
// match: (SETGE (InvertFlags x))
- // cond:
// result: (SETLE x)
for {
v_0 := v.Args[0]
@@ -18465,7 +16145,6 @@ func rewriteValue386_Op386SETGE_0(v *Value) bool {
return true
}
// match: (SETGE (FlagEQ))
- // cond:
// result: (MOVLconst [1])
for {
v_0 := v.Args[0]
@@ -18477,7 +16156,6 @@ func rewriteValue386_Op386SETGE_0(v *Value) bool {
return true
}
// match: (SETGE (FlagLT_ULT))
- // cond:
// result: (MOVLconst [0])
for {
v_0 := v.Args[0]
@@ -18489,7 +16167,6 @@ func rewriteValue386_Op386SETGE_0(v *Value) bool {
return true
}
// match: (SETGE (FlagLT_UGT))
- // cond:
// result: (MOVLconst [0])
for {
v_0 := v.Args[0]
@@ -18501,7 +16178,6 @@ func rewriteValue386_Op386SETGE_0(v *Value) bool {
return true
}
// match: (SETGE (FlagGT_ULT))
- // cond:
// result: (MOVLconst [1])
for {
v_0 := v.Args[0]
@@ -18513,7 +16189,6 @@ func rewriteValue386_Op386SETGE_0(v *Value) bool {
return true
}
// match: (SETGE (FlagGT_UGT))
- // cond:
// result: (MOVLconst [1])
for {
v_0 := v.Args[0]
@@ -18528,7 +16203,6 @@ func rewriteValue386_Op386SETGE_0(v *Value) bool {
}
func rewriteValue386_Op386SETL_0(v *Value) bool {
// match: (SETL (InvertFlags x))
- // cond:
// result: (SETG x)
for {
v_0 := v.Args[0]
@@ -18541,7 +16215,6 @@ func rewriteValue386_Op386SETL_0(v *Value) bool {
return true
}
// match: (SETL (FlagEQ))
- // cond:
// result: (MOVLconst [0])
for {
v_0 := v.Args[0]
@@ -18553,7 +16226,6 @@ func rewriteValue386_Op386SETL_0(v *Value) bool {
return true
}
// match: (SETL (FlagLT_ULT))
- // cond:
// result: (MOVLconst [1])
for {
v_0 := v.Args[0]
@@ -18565,7 +16237,6 @@ func rewriteValue386_Op386SETL_0(v *Value) bool {
return true
}
// match: (SETL (FlagLT_UGT))
- // cond:
// result: (MOVLconst [1])
for {
v_0 := v.Args[0]
@@ -18577,7 +16248,6 @@ func rewriteValue386_Op386SETL_0(v *Value) bool {
return true
}
// match: (SETL (FlagGT_ULT))
- // cond:
// result: (MOVLconst [0])
for {
v_0 := v.Args[0]
@@ -18589,7 +16259,6 @@ func rewriteValue386_Op386SETL_0(v *Value) bool {
return true
}
// match: (SETL (FlagGT_UGT))
- // cond:
// result: (MOVLconst [0])
for {
v_0 := v.Args[0]
@@ -18604,7 +16273,6 @@ func rewriteValue386_Op386SETL_0(v *Value) bool {
}
func rewriteValue386_Op386SETLE_0(v *Value) bool {
// match: (SETLE (InvertFlags x))
- // cond:
// result: (SETGE x)
for {
v_0 := v.Args[0]
@@ -18617,7 +16285,6 @@ func rewriteValue386_Op386SETLE_0(v *Value) bool {
return true
}
// match: (SETLE (FlagEQ))
- // cond:
// result: (MOVLconst [1])
for {
v_0 := v.Args[0]
@@ -18629,7 +16296,6 @@ func rewriteValue386_Op386SETLE_0(v *Value) bool {
return true
}
// match: (SETLE (FlagLT_ULT))
- // cond:
// result: (MOVLconst [1])
for {
v_0 := v.Args[0]
@@ -18641,7 +16307,6 @@ func rewriteValue386_Op386SETLE_0(v *Value) bool {
return true
}
// match: (SETLE (FlagLT_UGT))
- // cond:
// result: (MOVLconst [1])
for {
v_0 := v.Args[0]
@@ -18653,7 +16318,6 @@ func rewriteValue386_Op386SETLE_0(v *Value) bool {
return true
}
// match: (SETLE (FlagGT_ULT))
- // cond:
// result: (MOVLconst [0])
for {
v_0 := v.Args[0]
@@ -18665,7 +16329,6 @@ func rewriteValue386_Op386SETLE_0(v *Value) bool {
return true
}
// match: (SETLE (FlagGT_UGT))
- // cond:
// result: (MOVLconst [0])
for {
v_0 := v.Args[0]
@@ -18680,7 +16343,6 @@ func rewriteValue386_Op386SETLE_0(v *Value) bool {
}
func rewriteValue386_Op386SETNE_0(v *Value) bool {
// match: (SETNE (InvertFlags x))
- // cond:
// result: (SETNE x)
for {
v_0 := v.Args[0]
@@ -18693,7 +16355,6 @@ func rewriteValue386_Op386SETNE_0(v *Value) bool {
return true
}
// match: (SETNE (FlagEQ))
- // cond:
// result: (MOVLconst [0])
for {
v_0 := v.Args[0]
@@ -18705,7 +16366,6 @@ func rewriteValue386_Op386SETNE_0(v *Value) bool {
return true
}
// match: (SETNE (FlagLT_ULT))
- // cond:
// result: (MOVLconst [1])
for {
v_0 := v.Args[0]
@@ -18717,7 +16377,6 @@ func rewriteValue386_Op386SETNE_0(v *Value) bool {
return true
}
// match: (SETNE (FlagLT_UGT))
- // cond:
// result: (MOVLconst [1])
for {
v_0 := v.Args[0]
@@ -18729,7 +16388,6 @@ func rewriteValue386_Op386SETNE_0(v *Value) bool {
return true
}
// match: (SETNE (FlagGT_ULT))
- // cond:
// result: (MOVLconst [1])
for {
v_0 := v.Args[0]
@@ -18741,7 +16399,6 @@ func rewriteValue386_Op386SETNE_0(v *Value) bool {
return true
}
// match: (SETNE (FlagGT_UGT))
- // cond:
// result: (MOVLconst [1])
for {
v_0 := v.Args[0]
@@ -18756,7 +16413,6 @@ func rewriteValue386_Op386SETNE_0(v *Value) bool {
}
func rewriteValue386_Op386SHLL_0(v *Value) bool {
// match: (SHLL x (MOVLconst [c]))
- // cond:
// result: (SHLLconst [c&31] x)
for {
_ = v.Args[1]
@@ -18772,16 +16428,12 @@ func rewriteValue386_Op386SHLL_0(v *Value) bool {
return true
}
// match: (SHLL x (ANDLconst [31] y))
- // cond:
// result: (SHLL x y)
for {
_ = v.Args[1]
x := v.Args[0]
v_1 := v.Args[1]
- if v_1.Op != Op386ANDLconst {
- break
- }
- if v_1.AuxInt != 31 {
+ if v_1.Op != Op386ANDLconst || v_1.AuxInt != 31 {
break
}
y := v_1.Args[0]
@@ -18794,7 +16446,6 @@ func rewriteValue386_Op386SHLL_0(v *Value) bool {
}
func rewriteValue386_Op386SHLLconst_0(v *Value) bool {
// match: (SHLLconst x [0])
- // cond:
// result: x
for {
if v.AuxInt != 0 {
@@ -18849,7 +16500,6 @@ func rewriteValue386_Op386SHRB_0(v *Value) bool {
}
func rewriteValue386_Op386SHRBconst_0(v *Value) bool {
// match: (SHRBconst x [0])
- // cond:
// result: x
for {
if v.AuxInt != 0 {
@@ -18865,7 +16515,6 @@ func rewriteValue386_Op386SHRBconst_0(v *Value) bool {
}
func rewriteValue386_Op386SHRL_0(v *Value) bool {
// match: (SHRL x (MOVLconst [c]))
- // cond:
// result: (SHRLconst [c&31] x)
for {
_ = v.Args[1]
@@ -18881,16 +16530,12 @@ func rewriteValue386_Op386SHRL_0(v *Value) bool {
return true
}
// match: (SHRL x (ANDLconst [31] y))
- // cond:
// result: (SHRL x y)
for {
_ = v.Args[1]
x := v.Args[0]
v_1 := v.Args[1]
- if v_1.Op != Op386ANDLconst {
- break
- }
- if v_1.AuxInt != 31 {
+ if v_1.Op != Op386ANDLconst || v_1.AuxInt != 31 {
break
}
y := v_1.Args[0]
@@ -18903,7 +16548,6 @@ func rewriteValue386_Op386SHRL_0(v *Value) bool {
}
func rewriteValue386_Op386SHRLconst_0(v *Value) bool {
// match: (SHRLconst x [0])
- // cond:
// result: x
for {
if v.AuxInt != 0 {
@@ -18958,7 +16602,6 @@ func rewriteValue386_Op386SHRW_0(v *Value) bool {
}
func rewriteValue386_Op386SHRWconst_0(v *Value) bool {
// match: (SHRWconst x [0])
- // cond:
// result: x
for {
if v.AuxInt != 0 {
@@ -18975,7 +16618,6 @@ func rewriteValue386_Op386SHRWconst_0(v *Value) bool {
func rewriteValue386_Op386SUBL_0(v *Value) bool {
b := v.Block
// match: (SUBL x (MOVLconst [c]))
- // cond:
// result: (SUBLconst x [c])
for {
_ = v.Args[1]
@@ -18991,7 +16633,6 @@ func rewriteValue386_Op386SUBL_0(v *Value) bool {
return true
}
// match: (SUBL (MOVLconst [c]) x)
- // cond:
// result: (NEGL (SUBLconst <v.Type> x [c]))
for {
x := v.Args[1]
@@ -19060,7 +16701,6 @@ func rewriteValue386_Op386SUBL_0(v *Value) bool {
return true
}
// match: (SUBL x x)
- // cond:
// result: (MOVLconst [0])
for {
x := v.Args[1]
@@ -19075,7 +16715,6 @@ func rewriteValue386_Op386SUBL_0(v *Value) bool {
}
func rewriteValue386_Op386SUBLcarry_0(v *Value) bool {
// match: (SUBLcarry x (MOVLconst [c]))
- // cond:
// result: (SUBLconstcarry [c] x)
for {
_ = v.Args[1]
@@ -19108,7 +16747,6 @@ func rewriteValue386_Op386SUBLconst_0(v *Value) bool {
return true
}
// match: (SUBLconst [c] x)
- // cond:
// result: (ADDLconst [int64(int32(-c))] x)
for {
c := v.AuxInt
@@ -19632,7 +17270,6 @@ func rewriteValue386_Op386SUBSSload_0(v *Value) bool {
}
func rewriteValue386_Op386XORL_0(v *Value) bool {
// match: (XORL x (MOVLconst [c]))
- // cond:
// result: (XORLconst [c] x)
for {
_ = v.Args[1]
@@ -19648,7 +17285,6 @@ func rewriteValue386_Op386XORL_0(v *Value) bool {
return true
}
// match: (XORL (MOVLconst [c]) x)
- // cond:
// result: (XORLconst [c] x)
for {
x := v.Args[1]
@@ -19678,10 +17314,7 @@ func rewriteValue386_Op386XORL_0(v *Value) bool {
break
}
d := v_1.AuxInt
- if x != v_1.Args[0] {
- break
- }
- if !(d == 32-c) {
+ if x != v_1.Args[0] || !(d == 32-c) {
break
}
v.reset(Op386ROLLconst)
@@ -19705,10 +17338,7 @@ func rewriteValue386_Op386XORL_0(v *Value) bool {
break
}
c := v_1.AuxInt
- if x != v_1.Args[0] {
- break
- }
- if !(d == 32-c) {
+ if x != v_1.Args[0] || !(d == 32-c) {
break
}
v.reset(Op386ROLLconst)
@@ -19733,10 +17363,7 @@ func rewriteValue386_Op386XORL_0(v *Value) bool {
break
}
d := v_1.AuxInt
- if x != v_1.Args[0] {
- break
- }
- if !(c < 16 && d == 16-c && t.Size() == 2) {
+ if x != v_1.Args[0] || !(c < 16 && d == 16-c && t.Size() == 2) {
break
}
v.reset(Op386ROLWconst)
@@ -19761,10 +17388,7 @@ func rewriteValue386_Op386XORL_0(v *Value) bool {
break
}
c := v_1.AuxInt
- if x != v_1.Args[0] {
- break
- }
- if !(c < 16 && d == 16-c && t.Size() == 2) {
+ if x != v_1.Args[0] || !(c < 16 && d == 16-c && t.Size() == 2) {
break
}
v.reset(Op386ROLWconst)
@@ -19789,10 +17413,7 @@ func rewriteValue386_Op386XORL_0(v *Value) bool {
break
}
d := v_1.AuxInt
- if x != v_1.Args[0] {
- break
- }
- if !(c < 8 && d == 8-c && t.Size() == 1) {
+ if x != v_1.Args[0] || !(c < 8 && d == 8-c && t.Size() == 1) {
break
}
v.reset(Op386ROLBconst)
@@ -19817,10 +17438,7 @@ func rewriteValue386_Op386XORL_0(v *Value) bool {
break
}
c := v_1.AuxInt
- if x != v_1.Args[0] {
- break
- }
- if !(c < 8 && d == 8-c && t.Size() == 1) {
+ if x != v_1.Args[0] || !(c < 8 && d == 8-c && t.Size() == 1) {
break
}
v.reset(Op386ROLBconst)
@@ -19934,7 +17552,6 @@ func rewriteValue386_Op386XORL_10(v *Value) bool {
return true
}
// match: (XORL x x)
- // cond:
// result: (MOVLconst [0])
for {
x := v.Args[1]
@@ -19949,7 +17566,6 @@ func rewriteValue386_Op386XORL_10(v *Value) bool {
}
func rewriteValue386_Op386XORLconst_0(v *Value) bool {
// match: (XORLconst [c] (XORLconst [d] x))
- // cond:
// result: (XORLconst [c ^ d] x)
for {
c := v.AuxInt
@@ -19979,7 +17595,6 @@ func rewriteValue386_Op386XORLconst_0(v *Value) bool {
return true
}
// match: (XORLconst [c] (MOVLconst [d]))
- // cond:
// result: (MOVLconst [c^d])
for {
c := v.AuxInt
@@ -20468,7 +18083,6 @@ func rewriteValue386_Op386XORLmodifyidx4_0(v *Value) bool {
}
func rewriteValue386_OpAdd16_0(v *Value) bool {
// match: (Add16 x y)
- // cond:
// result: (ADDL x y)
for {
y := v.Args[1]
@@ -20481,7 +18095,6 @@ func rewriteValue386_OpAdd16_0(v *Value) bool {
}
func rewriteValue386_OpAdd32_0(v *Value) bool {
// match: (Add32 x y)
- // cond:
// result: (ADDL x y)
for {
y := v.Args[1]
@@ -20494,7 +18107,6 @@ func rewriteValue386_OpAdd32_0(v *Value) bool {
}
func rewriteValue386_OpAdd32F_0(v *Value) bool {
// match: (Add32F x y)
- // cond:
// result: (ADDSS x y)
for {
y := v.Args[1]
@@ -20507,7 +18119,6 @@ func rewriteValue386_OpAdd32F_0(v *Value) bool {
}
func rewriteValue386_OpAdd32carry_0(v *Value) bool {
// match: (Add32carry x y)
- // cond:
// result: (ADDLcarry x y)
for {
y := v.Args[1]
@@ -20520,7 +18131,6 @@ func rewriteValue386_OpAdd32carry_0(v *Value) bool {
}
func rewriteValue386_OpAdd32withcarry_0(v *Value) bool {
// match: (Add32withcarry x y c)
- // cond:
// result: (ADCL x y c)
for {
c := v.Args[2]
@@ -20535,7 +18145,6 @@ func rewriteValue386_OpAdd32withcarry_0(v *Value) bool {
}
func rewriteValue386_OpAdd64F_0(v *Value) bool {
// match: (Add64F x y)
- // cond:
// result: (ADDSD x y)
for {
y := v.Args[1]
@@ -20548,7 +18157,6 @@ func rewriteValue386_OpAdd64F_0(v *Value) bool {
}
func rewriteValue386_OpAdd8_0(v *Value) bool {
// match: (Add8 x y)
- // cond:
// result: (ADDL x y)
for {
y := v.Args[1]
@@ -20561,7 +18169,6 @@ func rewriteValue386_OpAdd8_0(v *Value) bool {
}
func rewriteValue386_OpAddPtr_0(v *Value) bool {
// match: (AddPtr x y)
- // cond:
// result: (ADDL x y)
for {
y := v.Args[1]
@@ -20574,7 +18181,6 @@ func rewriteValue386_OpAddPtr_0(v *Value) bool {
}
func rewriteValue386_OpAddr_0(v *Value) bool {
// match: (Addr {sym} base)
- // cond:
// result: (LEAL {sym} base)
for {
sym := v.Aux
@@ -20587,7 +18193,6 @@ func rewriteValue386_OpAddr_0(v *Value) bool {
}
func rewriteValue386_OpAnd16_0(v *Value) bool {
// match: (And16 x y)
- // cond:
// result: (ANDL x y)
for {
y := v.Args[1]
@@ -20600,7 +18205,6 @@ func rewriteValue386_OpAnd16_0(v *Value) bool {
}
func rewriteValue386_OpAnd32_0(v *Value) bool {
// match: (And32 x y)
- // cond:
// result: (ANDL x y)
for {
y := v.Args[1]
@@ -20613,7 +18217,6 @@ func rewriteValue386_OpAnd32_0(v *Value) bool {
}
func rewriteValue386_OpAnd8_0(v *Value) bool {
// match: (And8 x y)
- // cond:
// result: (ANDL x y)
for {
y := v.Args[1]
@@ -20626,7 +18229,6 @@ func rewriteValue386_OpAnd8_0(v *Value) bool {
}
func rewriteValue386_OpAndB_0(v *Value) bool {
// match: (AndB x y)
- // cond:
// result: (ANDL x y)
for {
y := v.Args[1]
@@ -20639,7 +18241,6 @@ func rewriteValue386_OpAndB_0(v *Value) bool {
}
func rewriteValue386_OpAvg32u_0(v *Value) bool {
// match: (Avg32u x y)
- // cond:
// result: (AVGLU x y)
for {
y := v.Args[1]
@@ -20652,7 +18253,6 @@ func rewriteValue386_OpAvg32u_0(v *Value) bool {
}
func rewriteValue386_OpBswap32_0(v *Value) bool {
// match: (Bswap32 x)
- // cond:
// result: (BSWAPL x)
for {
x := v.Args[0]
@@ -20663,7 +18263,6 @@ func rewriteValue386_OpBswap32_0(v *Value) bool {
}
func rewriteValue386_OpClosureCall_0(v *Value) bool {
// match: (ClosureCall [argwid] entry closure mem)
- // cond:
// result: (CALLclosure [argwid] entry closure mem)
for {
argwid := v.AuxInt
@@ -20680,7 +18279,6 @@ func rewriteValue386_OpClosureCall_0(v *Value) bool {
}
func rewriteValue386_OpCom16_0(v *Value) bool {
// match: (Com16 x)
- // cond:
// result: (NOTL x)
for {
x := v.Args[0]
@@ -20691,7 +18289,6 @@ func rewriteValue386_OpCom16_0(v *Value) bool {
}
func rewriteValue386_OpCom32_0(v *Value) bool {
// match: (Com32 x)
- // cond:
// result: (NOTL x)
for {
x := v.Args[0]
@@ -20702,7 +18299,6 @@ func rewriteValue386_OpCom32_0(v *Value) bool {
}
func rewriteValue386_OpCom8_0(v *Value) bool {
// match: (Com8 x)
- // cond:
// result: (NOTL x)
for {
x := v.Args[0]
@@ -20713,7 +18309,6 @@ func rewriteValue386_OpCom8_0(v *Value) bool {
}
func rewriteValue386_OpConst16_0(v *Value) bool {
// match: (Const16 [val])
- // cond:
// result: (MOVLconst [val])
for {
val := v.AuxInt
@@ -20724,7 +18319,6 @@ func rewriteValue386_OpConst16_0(v *Value) bool {
}
func rewriteValue386_OpConst32_0(v *Value) bool {
// match: (Const32 [val])
- // cond:
// result: (MOVLconst [val])
for {
val := v.AuxInt
@@ -20735,7 +18329,6 @@ func rewriteValue386_OpConst32_0(v *Value) bool {
}
func rewriteValue386_OpConst32F_0(v *Value) bool {
// match: (Const32F [val])
- // cond:
// result: (MOVSSconst [val])
for {
val := v.AuxInt
@@ -20746,7 +18339,6 @@ func rewriteValue386_OpConst32F_0(v *Value) bool {
}
func rewriteValue386_OpConst64F_0(v *Value) bool {
// match: (Const64F [val])
- // cond:
// result: (MOVSDconst [val])
for {
val := v.AuxInt
@@ -20757,7 +18349,6 @@ func rewriteValue386_OpConst64F_0(v *Value) bool {
}
func rewriteValue386_OpConst8_0(v *Value) bool {
// match: (Const8 [val])
- // cond:
// result: (MOVLconst [val])
for {
val := v.AuxInt
@@ -20768,7 +18359,6 @@ func rewriteValue386_OpConst8_0(v *Value) bool {
}
func rewriteValue386_OpConstBool_0(v *Value) bool {
// match: (ConstBool [b])
- // cond:
// result: (MOVLconst [b])
for {
b := v.AuxInt
@@ -20779,7 +18369,6 @@ func rewriteValue386_OpConstBool_0(v *Value) bool {
}
func rewriteValue386_OpConstNil_0(v *Value) bool {
// match: (ConstNil)
- // cond:
// result: (MOVLconst [0])
for {
v.reset(Op386MOVLconst)
@@ -20791,7 +18380,6 @@ func rewriteValue386_OpCtz16_0(v *Value) bool {
b := v.Block
typ := &b.Func.Config.Types
// match: (Ctz16 x)
- // cond:
// result: (BSFL (ORLconst <typ.UInt32> [0x10000] x))
for {
x := v.Args[0]
@@ -20805,7 +18393,6 @@ func rewriteValue386_OpCtz16_0(v *Value) bool {
}
func rewriteValue386_OpCtz16NonZero_0(v *Value) bool {
// match: (Ctz16NonZero x)
- // cond:
// result: (BSFL x)
for {
x := v.Args[0]
@@ -20816,7 +18403,6 @@ func rewriteValue386_OpCtz16NonZero_0(v *Value) bool {
}
func rewriteValue386_OpCvt32Fto32_0(v *Value) bool {
// match: (Cvt32Fto32 x)
- // cond:
// result: (CVTTSS2SL x)
for {
x := v.Args[0]
@@ -20827,7 +18413,6 @@ func rewriteValue386_OpCvt32Fto32_0(v *Value) bool {
}
func rewriteValue386_OpCvt32Fto64F_0(v *Value) bool {
// match: (Cvt32Fto64F x)
- // cond:
// result: (CVTSS2SD x)
for {
x := v.Args[0]
@@ -20838,7 +18423,6 @@ func rewriteValue386_OpCvt32Fto64F_0(v *Value) bool {
}
func rewriteValue386_OpCvt32to32F_0(v *Value) bool {
// match: (Cvt32to32F x)
- // cond:
// result: (CVTSL2SS x)
for {
x := v.Args[0]
@@ -20849,7 +18433,6 @@ func rewriteValue386_OpCvt32to32F_0(v *Value) bool {
}
func rewriteValue386_OpCvt32to64F_0(v *Value) bool {
// match: (Cvt32to64F x)
- // cond:
// result: (CVTSL2SD x)
for {
x := v.Args[0]
@@ -20860,7 +18443,6 @@ func rewriteValue386_OpCvt32to64F_0(v *Value) bool {
}
func rewriteValue386_OpCvt64Fto32_0(v *Value) bool {
// match: (Cvt64Fto32 x)
- // cond:
// result: (CVTTSD2SL x)
for {
x := v.Args[0]
@@ -20871,7 +18453,6 @@ func rewriteValue386_OpCvt64Fto32_0(v *Value) bool {
}
func rewriteValue386_OpCvt64Fto32F_0(v *Value) bool {
// match: (Cvt64Fto32F x)
- // cond:
// result: (CVTSD2SS x)
for {
x := v.Args[0]
@@ -20882,7 +18463,6 @@ func rewriteValue386_OpCvt64Fto32F_0(v *Value) bool {
}
func rewriteValue386_OpDiv16_0(v *Value) bool {
// match: (Div16 [a] x y)
- // cond:
// result: (DIVW [a] x y)
for {
a := v.AuxInt
@@ -20897,7 +18477,6 @@ func rewriteValue386_OpDiv16_0(v *Value) bool {
}
func rewriteValue386_OpDiv16u_0(v *Value) bool {
// match: (Div16u x y)
- // cond:
// result: (DIVWU x y)
for {
y := v.Args[1]
@@ -20910,7 +18489,6 @@ func rewriteValue386_OpDiv16u_0(v *Value) bool {
}
func rewriteValue386_OpDiv32_0(v *Value) bool {
// match: (Div32 [a] x y)
- // cond:
// result: (DIVL [a] x y)
for {
a := v.AuxInt
@@ -20925,7 +18503,6 @@ func rewriteValue386_OpDiv32_0(v *Value) bool {
}
func rewriteValue386_OpDiv32F_0(v *Value) bool {
// match: (Div32F x y)
- // cond:
// result: (DIVSS x y)
for {
y := v.Args[1]
@@ -20938,7 +18515,6 @@ func rewriteValue386_OpDiv32F_0(v *Value) bool {
}
func rewriteValue386_OpDiv32u_0(v *Value) bool {
// match: (Div32u x y)
- // cond:
// result: (DIVLU x y)
for {
y := v.Args[1]
@@ -20951,7 +18527,6 @@ func rewriteValue386_OpDiv32u_0(v *Value) bool {
}
func rewriteValue386_OpDiv64F_0(v *Value) bool {
// match: (Div64F x y)
- // cond:
// result: (DIVSD x y)
for {
y := v.Args[1]
@@ -20966,7 +18541,6 @@ func rewriteValue386_OpDiv8_0(v *Value) bool {
b := v.Block
typ := &b.Func.Config.Types
// match: (Div8 x y)
- // cond:
// result: (DIVW (SignExt8to16 x) (SignExt8to16 y))
for {
y := v.Args[1]
@@ -20985,7 +18559,6 @@ func rewriteValue386_OpDiv8u_0(v *Value) bool {
b := v.Block
typ := &b.Func.Config.Types
// match: (Div8u x y)
- // cond:
// result: (DIVWU (ZeroExt8to16 x) (ZeroExt8to16 y))
for {
y := v.Args[1]
@@ -21003,7 +18576,6 @@ func rewriteValue386_OpDiv8u_0(v *Value) bool {
func rewriteValue386_OpEq16_0(v *Value) bool {
b := v.Block
// match: (Eq16 x y)
- // cond:
// result: (SETEQ (CMPW x y))
for {
y := v.Args[1]
@@ -21019,7 +18591,6 @@ func rewriteValue386_OpEq16_0(v *Value) bool {
func rewriteValue386_OpEq32_0(v *Value) bool {
b := v.Block
// match: (Eq32 x y)
- // cond:
// result: (SETEQ (CMPL x y))
for {
y := v.Args[1]
@@ -21035,7 +18606,6 @@ func rewriteValue386_OpEq32_0(v *Value) bool {
func rewriteValue386_OpEq32F_0(v *Value) bool {
b := v.Block
// match: (Eq32F x y)
- // cond:
// result: (SETEQF (UCOMISS x y))
for {
y := v.Args[1]
@@ -21051,7 +18621,6 @@ func rewriteValue386_OpEq32F_0(v *Value) bool {
func rewriteValue386_OpEq64F_0(v *Value) bool {
b := v.Block
// match: (Eq64F x y)
- // cond:
// result: (SETEQF (UCOMISD x y))
for {
y := v.Args[1]
@@ -21067,7 +18636,6 @@ func rewriteValue386_OpEq64F_0(v *Value) bool {
func rewriteValue386_OpEq8_0(v *Value) bool {
b := v.Block
// match: (Eq8 x y)
- // cond:
// result: (SETEQ (CMPB x y))
for {
y := v.Args[1]
@@ -21083,7 +18651,6 @@ func rewriteValue386_OpEq8_0(v *Value) bool {
func rewriteValue386_OpEqB_0(v *Value) bool {
b := v.Block
// match: (EqB x y)
- // cond:
// result: (SETEQ (CMPB x y))
for {
y := v.Args[1]
@@ -21099,7 +18666,6 @@ func rewriteValue386_OpEqB_0(v *Value) bool {
func rewriteValue386_OpEqPtr_0(v *Value) bool {
b := v.Block
// match: (EqPtr x y)
- // cond:
// result: (SETEQ (CMPL x y))
for {
y := v.Args[1]
@@ -21115,7 +18681,6 @@ func rewriteValue386_OpEqPtr_0(v *Value) bool {
func rewriteValue386_OpGeq16_0(v *Value) bool {
b := v.Block
// match: (Geq16 x y)
- // cond:
// result: (SETGE (CMPW x y))
for {
y := v.Args[1]
@@ -21131,7 +18696,6 @@ func rewriteValue386_OpGeq16_0(v *Value) bool {
func rewriteValue386_OpGeq16U_0(v *Value) bool {
b := v.Block
// match: (Geq16U x y)
- // cond:
// result: (SETAE (CMPW x y))
for {
y := v.Args[1]
@@ -21147,7 +18711,6 @@ func rewriteValue386_OpGeq16U_0(v *Value) bool {
func rewriteValue386_OpGeq32_0(v *Value) bool {
b := v.Block
// match: (Geq32 x y)
- // cond:
// result: (SETGE (CMPL x y))
for {
y := v.Args[1]
@@ -21163,7 +18726,6 @@ func rewriteValue386_OpGeq32_0(v *Value) bool {
func rewriteValue386_OpGeq32F_0(v *Value) bool {
b := v.Block
// match: (Geq32F x y)
- // cond:
// result: (SETGEF (UCOMISS x y))
for {
y := v.Args[1]
@@ -21179,7 +18741,6 @@ func rewriteValue386_OpGeq32F_0(v *Value) bool {
func rewriteValue386_OpGeq32U_0(v *Value) bool {
b := v.Block
// match: (Geq32U x y)
- // cond:
// result: (SETAE (CMPL x y))
for {
y := v.Args[1]
@@ -21195,7 +18756,6 @@ func rewriteValue386_OpGeq32U_0(v *Value) bool {
func rewriteValue386_OpGeq64F_0(v *Value) bool {
b := v.Block
// match: (Geq64F x y)
- // cond:
// result: (SETGEF (UCOMISD x y))
for {
y := v.Args[1]
@@ -21211,7 +18771,6 @@ func rewriteValue386_OpGeq64F_0(v *Value) bool {
func rewriteValue386_OpGeq8_0(v *Value) bool {
b := v.Block
// match: (Geq8 x y)
- // cond:
// result: (SETGE (CMPB x y))
for {
y := v.Args[1]
@@ -21227,7 +18786,6 @@ func rewriteValue386_OpGeq8_0(v *Value) bool {
func rewriteValue386_OpGeq8U_0(v *Value) bool {
b := v.Block
// match: (Geq8U x y)
- // cond:
// result: (SETAE (CMPB x y))
for {
y := v.Args[1]
@@ -21242,7 +18800,6 @@ func rewriteValue386_OpGeq8U_0(v *Value) bool {
}
func rewriteValue386_OpGetCallerPC_0(v *Value) bool {
// match: (GetCallerPC)
- // cond:
// result: (LoweredGetCallerPC)
for {
v.reset(Op386LoweredGetCallerPC)
@@ -21251,7 +18808,6 @@ func rewriteValue386_OpGetCallerPC_0(v *Value) bool {
}
func rewriteValue386_OpGetCallerSP_0(v *Value) bool {
// match: (GetCallerSP)
- // cond:
// result: (LoweredGetCallerSP)
for {
v.reset(Op386LoweredGetCallerSP)
@@ -21260,7 +18816,6 @@ func rewriteValue386_OpGetCallerSP_0(v *Value) bool {
}
func rewriteValue386_OpGetClosurePtr_0(v *Value) bool {
// match: (GetClosurePtr)
- // cond:
// result: (LoweredGetClosurePtr)
for {
v.reset(Op386LoweredGetClosurePtr)
@@ -21269,7 +18824,6 @@ func rewriteValue386_OpGetClosurePtr_0(v *Value) bool {
}
func rewriteValue386_OpGetG_0(v *Value) bool {
// match: (GetG mem)
- // cond:
// result: (LoweredGetG mem)
for {
mem := v.Args[0]
@@ -21281,7 +18835,6 @@ func rewriteValue386_OpGetG_0(v *Value) bool {
func rewriteValue386_OpGreater16_0(v *Value) bool {
b := v.Block
// match: (Greater16 x y)
- // cond:
// result: (SETG (CMPW x y))
for {
y := v.Args[1]
@@ -21297,7 +18850,6 @@ func rewriteValue386_OpGreater16_0(v *Value) bool {
func rewriteValue386_OpGreater16U_0(v *Value) bool {
b := v.Block
// match: (Greater16U x y)
- // cond:
// result: (SETA (CMPW x y))
for {
y := v.Args[1]
@@ -21313,7 +18865,6 @@ func rewriteValue386_OpGreater16U_0(v *Value) bool {
func rewriteValue386_OpGreater32_0(v *Value) bool {
b := v.Block
// match: (Greater32 x y)
- // cond:
// result: (SETG (CMPL x y))
for {
y := v.Args[1]
@@ -21329,7 +18880,6 @@ func rewriteValue386_OpGreater32_0(v *Value) bool {
func rewriteValue386_OpGreater32F_0(v *Value) bool {
b := v.Block
// match: (Greater32F x y)
- // cond:
// result: (SETGF (UCOMISS x y))
for {
y := v.Args[1]
@@ -21345,7 +18895,6 @@ func rewriteValue386_OpGreater32F_0(v *Value) bool {
func rewriteValue386_OpGreater32U_0(v *Value) bool {
b := v.Block
// match: (Greater32U x y)
- // cond:
// result: (SETA (CMPL x y))
for {
y := v.Args[1]
@@ -21361,7 +18910,6 @@ func rewriteValue386_OpGreater32U_0(v *Value) bool {
func rewriteValue386_OpGreater64F_0(v *Value) bool {
b := v.Block
// match: (Greater64F x y)
- // cond:
// result: (SETGF (UCOMISD x y))
for {
y := v.Args[1]
@@ -21377,7 +18925,6 @@ func rewriteValue386_OpGreater64F_0(v *Value) bool {
func rewriteValue386_OpGreater8_0(v *Value) bool {
b := v.Block
// match: (Greater8 x y)
- // cond:
// result: (SETG (CMPB x y))
for {
y := v.Args[1]
@@ -21393,7 +18940,6 @@ func rewriteValue386_OpGreater8_0(v *Value) bool {
func rewriteValue386_OpGreater8U_0(v *Value) bool {
b := v.Block
// match: (Greater8U x y)
- // cond:
// result: (SETA (CMPB x y))
for {
y := v.Args[1]
@@ -21408,7 +18954,6 @@ func rewriteValue386_OpGreater8U_0(v *Value) bool {
}
func rewriteValue386_OpHmul32_0(v *Value) bool {
// match: (Hmul32 x y)
- // cond:
// result: (HMULL x y)
for {
y := v.Args[1]
@@ -21421,7 +18966,6 @@ func rewriteValue386_OpHmul32_0(v *Value) bool {
}
func rewriteValue386_OpHmul32u_0(v *Value) bool {
// match: (Hmul32u x y)
- // cond:
// result: (HMULLU x y)
for {
y := v.Args[1]
@@ -21434,7 +18978,6 @@ func rewriteValue386_OpHmul32u_0(v *Value) bool {
}
func rewriteValue386_OpInterCall_0(v *Value) bool {
// match: (InterCall [argwid] entry mem)
- // cond:
// result: (CALLinter [argwid] entry mem)
for {
argwid := v.AuxInt
@@ -21450,7 +18993,6 @@ func rewriteValue386_OpInterCall_0(v *Value) bool {
func rewriteValue386_OpIsInBounds_0(v *Value) bool {
b := v.Block
// match: (IsInBounds idx len)
- // cond:
// result: (SETB (CMPL idx len))
for {
len := v.Args[1]
@@ -21466,7 +19008,6 @@ func rewriteValue386_OpIsInBounds_0(v *Value) bool {
func rewriteValue386_OpIsNonNil_0(v *Value) bool {
b := v.Block
// match: (IsNonNil p)
- // cond:
// result: (SETNE (TESTL p p))
for {
p := v.Args[0]
@@ -21481,7 +19022,6 @@ func rewriteValue386_OpIsNonNil_0(v *Value) bool {
func rewriteValue386_OpIsSliceInBounds_0(v *Value) bool {
b := v.Block
// match: (IsSliceInBounds idx len)
- // cond:
// result: (SETBE (CMPL idx len))
for {
len := v.Args[1]
@@ -21497,7 +19037,6 @@ func rewriteValue386_OpIsSliceInBounds_0(v *Value) bool {
func rewriteValue386_OpLeq16_0(v *Value) bool {
b := v.Block
// match: (Leq16 x y)
- // cond:
// result: (SETLE (CMPW x y))
for {
y := v.Args[1]
@@ -21513,7 +19052,6 @@ func rewriteValue386_OpLeq16_0(v *Value) bool {
func rewriteValue386_OpLeq16U_0(v *Value) bool {
b := v.Block
// match: (Leq16U x y)
- // cond:
// result: (SETBE (CMPW x y))
for {
y := v.Args[1]
@@ -21529,7 +19067,6 @@ func rewriteValue386_OpLeq16U_0(v *Value) bool {
func rewriteValue386_OpLeq32_0(v *Value) bool {
b := v.Block
// match: (Leq32 x y)
- // cond:
// result: (SETLE (CMPL x y))
for {
y := v.Args[1]
@@ -21545,7 +19082,6 @@ func rewriteValue386_OpLeq32_0(v *Value) bool {
func rewriteValue386_OpLeq32F_0(v *Value) bool {
b := v.Block
// match: (Leq32F x y)
- // cond:
// result: (SETGEF (UCOMISS y x))
for {
y := v.Args[1]
@@ -21561,7 +19097,6 @@ func rewriteValue386_OpLeq32F_0(v *Value) bool {
func rewriteValue386_OpLeq32U_0(v *Value) bool {
b := v.Block
// match: (Leq32U x y)
- // cond:
// result: (SETBE (CMPL x y))
for {
y := v.Args[1]
@@ -21577,7 +19112,6 @@ func rewriteValue386_OpLeq32U_0(v *Value) bool {
func rewriteValue386_OpLeq64F_0(v *Value) bool {
b := v.Block
// match: (Leq64F x y)
- // cond:
// result: (SETGEF (UCOMISD y x))
for {
y := v.Args[1]
@@ -21593,7 +19127,6 @@ func rewriteValue386_OpLeq64F_0(v *Value) bool {
func rewriteValue386_OpLeq8_0(v *Value) bool {
b := v.Block
// match: (Leq8 x y)
- // cond:
// result: (SETLE (CMPB x y))
for {
y := v.Args[1]
@@ -21609,7 +19142,6 @@ func rewriteValue386_OpLeq8_0(v *Value) bool {
func rewriteValue386_OpLeq8U_0(v *Value) bool {
b := v.Block
// match: (Leq8U x y)
- // cond:
// result: (SETBE (CMPB x y))
for {
y := v.Args[1]
@@ -21625,7 +19157,6 @@ func rewriteValue386_OpLeq8U_0(v *Value) bool {
func rewriteValue386_OpLess16_0(v *Value) bool {
b := v.Block
// match: (Less16 x y)
- // cond:
// result: (SETL (CMPW x y))
for {
y := v.Args[1]
@@ -21641,7 +19172,6 @@ func rewriteValue386_OpLess16_0(v *Value) bool {
func rewriteValue386_OpLess16U_0(v *Value) bool {
b := v.Block
// match: (Less16U x y)
- // cond:
// result: (SETB (CMPW x y))
for {
y := v.Args[1]
@@ -21657,7 +19187,6 @@ func rewriteValue386_OpLess16U_0(v *Value) bool {
func rewriteValue386_OpLess32_0(v *Value) bool {
b := v.Block
// match: (Less32 x y)
- // cond:
// result: (SETL (CMPL x y))
for {
y := v.Args[1]
@@ -21673,7 +19202,6 @@ func rewriteValue386_OpLess32_0(v *Value) bool {
func rewriteValue386_OpLess32F_0(v *Value) bool {
b := v.Block
// match: (Less32F x y)
- // cond:
// result: (SETGF (UCOMISS y x))
for {
y := v.Args[1]
@@ -21689,7 +19217,6 @@ func rewriteValue386_OpLess32F_0(v *Value) bool {
func rewriteValue386_OpLess32U_0(v *Value) bool {
b := v.Block
// match: (Less32U x y)
- // cond:
// result: (SETB (CMPL x y))
for {
y := v.Args[1]
@@ -21705,7 +19232,6 @@ func rewriteValue386_OpLess32U_0(v *Value) bool {
func rewriteValue386_OpLess64F_0(v *Value) bool {
b := v.Block
// match: (Less64F x y)
- // cond:
// result: (SETGF (UCOMISD y x))
for {
y := v.Args[1]
@@ -21721,7 +19247,6 @@ func rewriteValue386_OpLess64F_0(v *Value) bool {
func rewriteValue386_OpLess8_0(v *Value) bool {
b := v.Block
// match: (Less8 x y)
- // cond:
// result: (SETL (CMPB x y))
for {
y := v.Args[1]
@@ -21737,7 +19262,6 @@ func rewriteValue386_OpLess8_0(v *Value) bool {
func rewriteValue386_OpLess8U_0(v *Value) bool {
b := v.Block
// match: (Less8U x y)
- // cond:
// result: (SETB (CMPB x y))
for {
y := v.Args[1]
@@ -21830,7 +19354,6 @@ func rewriteValue386_OpLoad_0(v *Value) bool {
}
func rewriteValue386_OpLocalAddr_0(v *Value) bool {
// match: (LocalAddr {sym} base _)
- // cond:
// result: (LEAL {sym} base)
for {
sym := v.Aux
@@ -21845,7 +19368,6 @@ func rewriteValue386_OpLocalAddr_0(v *Value) bool {
func rewriteValue386_OpLsh16x16_0(v *Value) bool {
b := v.Block
// match: (Lsh16x16 <t> x y)
- // cond:
// result: (ANDL (SHLL <t> x y) (SBBLcarrymask <t> (CMPWconst y [32])))
for {
t := v.Type
@@ -21868,7 +19390,6 @@ func rewriteValue386_OpLsh16x16_0(v *Value) bool {
func rewriteValue386_OpLsh16x32_0(v *Value) bool {
b := v.Block
// match: (Lsh16x32 <t> x y)
- // cond:
// result: (ANDL (SHLL <t> x y) (SBBLcarrymask <t> (CMPLconst y [32])))
for {
t := v.Type
@@ -21930,7 +19451,6 @@ func rewriteValue386_OpLsh16x64_0(v *Value) bool {
func rewriteValue386_OpLsh16x8_0(v *Value) bool {
b := v.Block
// match: (Lsh16x8 <t> x y)
- // cond:
// result: (ANDL (SHLL <t> x y) (SBBLcarrymask <t> (CMPBconst y [32])))
for {
t := v.Type
@@ -21953,7 +19473,6 @@ func rewriteValue386_OpLsh16x8_0(v *Value) bool {
func rewriteValue386_OpLsh32x16_0(v *Value) bool {
b := v.Block
// match: (Lsh32x16 <t> x y)
- // cond:
// result: (ANDL (SHLL <t> x y) (SBBLcarrymask <t> (CMPWconst y [32])))
for {
t := v.Type
@@ -21976,7 +19495,6 @@ func rewriteValue386_OpLsh32x16_0(v *Value) bool {
func rewriteValue386_OpLsh32x32_0(v *Value) bool {
b := v.Block
// match: (Lsh32x32 <t> x y)
- // cond:
// result: (ANDL (SHLL <t> x y) (SBBLcarrymask <t> (CMPLconst y [32])))
for {
t := v.Type
@@ -22038,7 +19556,6 @@ func rewriteValue386_OpLsh32x64_0(v *Value) bool {
func rewriteValue386_OpLsh32x8_0(v *Value) bool {
b := v.Block
// match: (Lsh32x8 <t> x y)
- // cond:
// result: (ANDL (SHLL <t> x y) (SBBLcarrymask <t> (CMPBconst y [32])))
for {
t := v.Type
@@ -22061,7 +19578,6 @@ func rewriteValue386_OpLsh32x8_0(v *Value) bool {
func rewriteValue386_OpLsh8x16_0(v *Value) bool {
b := v.Block
// match: (Lsh8x16 <t> x y)
- // cond:
// result: (ANDL (SHLL <t> x y) (SBBLcarrymask <t> (CMPWconst y [32])))
for {
t := v.Type
@@ -22084,7 +19600,6 @@ func rewriteValue386_OpLsh8x16_0(v *Value) bool {
func rewriteValue386_OpLsh8x32_0(v *Value) bool {
b := v.Block
// match: (Lsh8x32 <t> x y)
- // cond:
// result: (ANDL (SHLL <t> x y) (SBBLcarrymask <t> (CMPLconst y [32])))
for {
t := v.Type
@@ -22146,7 +19661,6 @@ func rewriteValue386_OpLsh8x64_0(v *Value) bool {
func rewriteValue386_OpLsh8x8_0(v *Value) bool {
b := v.Block
// match: (Lsh8x8 <t> x y)
- // cond:
// result: (ANDL (SHLL <t> x y) (SBBLcarrymask <t> (CMPBconst y [32])))
for {
t := v.Type
@@ -22168,7 +19682,6 @@ func rewriteValue386_OpLsh8x8_0(v *Value) bool {
}
func rewriteValue386_OpMod16_0(v *Value) bool {
// match: (Mod16 [a] x y)
- // cond:
// result: (MODW [a] x y)
for {
a := v.AuxInt
@@ -22183,7 +19696,6 @@ func rewriteValue386_OpMod16_0(v *Value) bool {
}
func rewriteValue386_OpMod16u_0(v *Value) bool {
// match: (Mod16u x y)
- // cond:
// result: (MODWU x y)
for {
y := v.Args[1]
@@ -22196,7 +19708,6 @@ func rewriteValue386_OpMod16u_0(v *Value) bool {
}
func rewriteValue386_OpMod32_0(v *Value) bool {
// match: (Mod32 [a] x y)
- // cond:
// result: (MODL [a] x y)
for {
a := v.AuxInt
@@ -22211,7 +19722,6 @@ func rewriteValue386_OpMod32_0(v *Value) bool {
}
func rewriteValue386_OpMod32u_0(v *Value) bool {
// match: (Mod32u x y)
- // cond:
// result: (MODLU x y)
for {
y := v.Args[1]
@@ -22226,7 +19736,6 @@ func rewriteValue386_OpMod8_0(v *Value) bool {
b := v.Block
typ := &b.Func.Config.Types
// match: (Mod8 x y)
- // cond:
// result: (MODW (SignExt8to16 x) (SignExt8to16 y))
for {
y := v.Args[1]
@@ -22245,7 +19754,6 @@ func rewriteValue386_OpMod8u_0(v *Value) bool {
b := v.Block
typ := &b.Func.Config.Types
// match: (Mod8u x y)
- // cond:
// result: (MODWU (ZeroExt8to16 x) (ZeroExt8to16 y))
for {
y := v.Args[1]
@@ -22264,7 +19772,6 @@ func rewriteValue386_OpMove_0(v *Value) bool {
b := v.Block
typ := &b.Func.Config.Types
// match: (Move [0] _ _ mem)
- // cond:
// result: mem
for {
if v.AuxInt != 0 {
@@ -22277,7 +19784,6 @@ func rewriteValue386_OpMove_0(v *Value) bool {
return true
}
// match: (Move [1] dst src mem)
- // cond:
// result: (MOVBstore dst (MOVBload src mem) mem)
for {
if v.AuxInt != 1 {
@@ -22296,7 +19802,6 @@ func rewriteValue386_OpMove_0(v *Value) bool {
return true
}
// match: (Move [2] dst src mem)
- // cond:
// result: (MOVWstore dst (MOVWload src mem) mem)
for {
if v.AuxInt != 2 {
@@ -22315,7 +19820,6 @@ func rewriteValue386_OpMove_0(v *Value) bool {
return true
}
// match: (Move [4] dst src mem)
- // cond:
// result: (MOVLstore dst (MOVLload src mem) mem)
for {
if v.AuxInt != 4 {
@@ -22334,7 +19838,6 @@ func rewriteValue386_OpMove_0(v *Value) bool {
return true
}
// match: (Move [3] dst src mem)
- // cond:
// result: (MOVBstore [2] dst (MOVBload [2] src mem) (MOVWstore dst (MOVWload src mem) mem))
for {
if v.AuxInt != 3 {
@@ -22362,7 +19865,6 @@ func rewriteValue386_OpMove_0(v *Value) bool {
return true
}
// match: (Move [5] dst src mem)
- // cond:
// result: (MOVBstore [4] dst (MOVBload [4] src mem) (MOVLstore dst (MOVLload src mem) mem))
for {
if v.AuxInt != 5 {
@@ -22390,7 +19892,6 @@ func rewriteValue386_OpMove_0(v *Value) bool {
return true
}
// match: (Move [6] dst src mem)
- // cond:
// result: (MOVWstore [4] dst (MOVWload [4] src mem) (MOVLstore dst (MOVLload src mem) mem))
for {
if v.AuxInt != 6 {
@@ -22418,7 +19919,6 @@ func rewriteValue386_OpMove_0(v *Value) bool {
return true
}
// match: (Move [7] dst src mem)
- // cond:
// result: (MOVLstore [3] dst (MOVLload [3] src mem) (MOVLstore dst (MOVLload src mem) mem))
for {
if v.AuxInt != 7 {
@@ -22446,7 +19946,6 @@ func rewriteValue386_OpMove_0(v *Value) bool {
return true
}
// match: (Move [8] dst src mem)
- // cond:
// result: (MOVLstore [4] dst (MOVLload [4] src mem) (MOVLstore dst (MOVLload src mem) mem))
for {
if v.AuxInt != 8 {
@@ -22552,7 +20051,6 @@ func rewriteValue386_OpMove_10(v *Value) bool {
}
func rewriteValue386_OpMul16_0(v *Value) bool {
// match: (Mul16 x y)
- // cond:
// result: (MULL x y)
for {
y := v.Args[1]
@@ -22565,7 +20063,6 @@ func rewriteValue386_OpMul16_0(v *Value) bool {
}
func rewriteValue386_OpMul32_0(v *Value) bool {
// match: (Mul32 x y)
- // cond:
// result: (MULL x y)
for {
y := v.Args[1]
@@ -22578,7 +20075,6 @@ func rewriteValue386_OpMul32_0(v *Value) bool {
}
func rewriteValue386_OpMul32F_0(v *Value) bool {
// match: (Mul32F x y)
- // cond:
// result: (MULSS x y)
for {
y := v.Args[1]
@@ -22591,7 +20087,6 @@ func rewriteValue386_OpMul32F_0(v *Value) bool {
}
func rewriteValue386_OpMul32uhilo_0(v *Value) bool {
// match: (Mul32uhilo x y)
- // cond:
// result: (MULLQU x y)
for {
y := v.Args[1]
@@ -22604,7 +20099,6 @@ func rewriteValue386_OpMul32uhilo_0(v *Value) bool {
}
func rewriteValue386_OpMul64F_0(v *Value) bool {
// match: (Mul64F x y)
- // cond:
// result: (MULSD x y)
for {
y := v.Args[1]
@@ -22617,7 +20111,6 @@ func rewriteValue386_OpMul64F_0(v *Value) bool {
}
func rewriteValue386_OpMul8_0(v *Value) bool {
// match: (Mul8 x y)
- // cond:
// result: (MULL x y)
for {
y := v.Args[1]
@@ -22630,7 +20123,6 @@ func rewriteValue386_OpMul8_0(v *Value) bool {
}
func rewriteValue386_OpNeg16_0(v *Value) bool {
// match: (Neg16 x)
- // cond:
// result: (NEGL x)
for {
x := v.Args[0]
@@ -22641,7 +20133,6 @@ func rewriteValue386_OpNeg16_0(v *Value) bool {
}
func rewriteValue386_OpNeg32_0(v *Value) bool {
// match: (Neg32 x)
- // cond:
// result: (NEGL x)
for {
x := v.Args[0]
@@ -22718,7 +20209,6 @@ func rewriteValue386_OpNeg64F_0(v *Value) bool {
}
func rewriteValue386_OpNeg8_0(v *Value) bool {
// match: (Neg8 x)
- // cond:
// result: (NEGL x)
for {
x := v.Args[0]
@@ -22730,7 +20220,6 @@ func rewriteValue386_OpNeg8_0(v *Value) bool {
func rewriteValue386_OpNeq16_0(v *Value) bool {
b := v.Block
// match: (Neq16 x y)
- // cond:
// result: (SETNE (CMPW x y))
for {
y := v.Args[1]
@@ -22746,7 +20235,6 @@ func rewriteValue386_OpNeq16_0(v *Value) bool {
func rewriteValue386_OpNeq32_0(v *Value) bool {
b := v.Block
// match: (Neq32 x y)
- // cond:
// result: (SETNE (CMPL x y))
for {
y := v.Args[1]
@@ -22762,7 +20250,6 @@ func rewriteValue386_OpNeq32_0(v *Value) bool {
func rewriteValue386_OpNeq32F_0(v *Value) bool {
b := v.Block
// match: (Neq32F x y)
- // cond:
// result: (SETNEF (UCOMISS x y))
for {
y := v.Args[1]
@@ -22778,7 +20265,6 @@ func rewriteValue386_OpNeq32F_0(v *Value) bool {
func rewriteValue386_OpNeq64F_0(v *Value) bool {
b := v.Block
// match: (Neq64F x y)
- // cond:
// result: (SETNEF (UCOMISD x y))
for {
y := v.Args[1]
@@ -22794,7 +20280,6 @@ func rewriteValue386_OpNeq64F_0(v *Value) bool {
func rewriteValue386_OpNeq8_0(v *Value) bool {
b := v.Block
// match: (Neq8 x y)
- // cond:
// result: (SETNE (CMPB x y))
for {
y := v.Args[1]
@@ -22810,7 +20295,6 @@ func rewriteValue386_OpNeq8_0(v *Value) bool {
func rewriteValue386_OpNeqB_0(v *Value) bool {
b := v.Block
// match: (NeqB x y)
- // cond:
// result: (SETNE (CMPB x y))
for {
y := v.Args[1]
@@ -22826,7 +20310,6 @@ func rewriteValue386_OpNeqB_0(v *Value) bool {
func rewriteValue386_OpNeqPtr_0(v *Value) bool {
b := v.Block
// match: (NeqPtr x y)
- // cond:
// result: (SETNE (CMPL x y))
for {
y := v.Args[1]
@@ -22841,7 +20324,6 @@ func rewriteValue386_OpNeqPtr_0(v *Value) bool {
}
func rewriteValue386_OpNilCheck_0(v *Value) bool {
// match: (NilCheck ptr mem)
- // cond:
// result: (LoweredNilCheck ptr mem)
for {
mem := v.Args[1]
@@ -22854,7 +20336,6 @@ func rewriteValue386_OpNilCheck_0(v *Value) bool {
}
func rewriteValue386_OpNot_0(v *Value) bool {
// match: (Not x)
- // cond:
// result: (XORLconst [1] x)
for {
x := v.Args[0]
@@ -22866,7 +20347,6 @@ func rewriteValue386_OpNot_0(v *Value) bool {
}
func rewriteValue386_OpOffPtr_0(v *Value) bool {
// match: (OffPtr [off] ptr)
- // cond:
// result: (ADDLconst [off] ptr)
for {
off := v.AuxInt
@@ -22879,7 +20359,6 @@ func rewriteValue386_OpOffPtr_0(v *Value) bool {
}
func rewriteValue386_OpOr16_0(v *Value) bool {
// match: (Or16 x y)
- // cond:
// result: (ORL x y)
for {
y := v.Args[1]
@@ -22892,7 +20371,6 @@ func rewriteValue386_OpOr16_0(v *Value) bool {
}
func rewriteValue386_OpOr32_0(v *Value) bool {
// match: (Or32 x y)
- // cond:
// result: (ORL x y)
for {
y := v.Args[1]
@@ -22905,7 +20383,6 @@ func rewriteValue386_OpOr32_0(v *Value) bool {
}
func rewriteValue386_OpOr8_0(v *Value) bool {
// match: (Or8 x y)
- // cond:
// result: (ORL x y)
for {
y := v.Args[1]
@@ -22918,7 +20395,6 @@ func rewriteValue386_OpOr8_0(v *Value) bool {
}
func rewriteValue386_OpOrB_0(v *Value) bool {
// match: (OrB x y)
- // cond:
// result: (ORL x y)
for {
y := v.Args[1]
@@ -23051,7 +20527,6 @@ func rewriteValue386_OpPanicExtend_0(v *Value) bool {
}
func rewriteValue386_OpRotateLeft16_0(v *Value) bool {
// match: (RotateLeft16 x (MOVLconst [c]))
- // cond:
// result: (ROLWconst [c&15] x)
for {
_ = v.Args[1]
@@ -23070,7 +20545,6 @@ func rewriteValue386_OpRotateLeft16_0(v *Value) bool {
}
func rewriteValue386_OpRotateLeft32_0(v *Value) bool {
// match: (RotateLeft32 x (MOVLconst [c]))
- // cond:
// result: (ROLLconst [c&31] x)
for {
_ = v.Args[1]
@@ -23089,7 +20563,6 @@ func rewriteValue386_OpRotateLeft32_0(v *Value) bool {
}
func rewriteValue386_OpRotateLeft8_0(v *Value) bool {
// match: (RotateLeft8 x (MOVLconst [c]))
- // cond:
// result: (ROLBconst [c&7] x)
for {
_ = v.Args[1]
@@ -23108,7 +20581,6 @@ func rewriteValue386_OpRotateLeft8_0(v *Value) bool {
}
func rewriteValue386_OpRound32F_0(v *Value) bool {
// match: (Round32F x)
- // cond:
// result: x
for {
x := v.Args[0]
@@ -23120,7 +20592,6 @@ func rewriteValue386_OpRound32F_0(v *Value) bool {
}
func rewriteValue386_OpRound64F_0(v *Value) bool {
// match: (Round64F x)
- // cond:
// result: x
for {
x := v.Args[0]
@@ -23133,7 +20604,6 @@ func rewriteValue386_OpRound64F_0(v *Value) bool {
func rewriteValue386_OpRsh16Ux16_0(v *Value) bool {
b := v.Block
// match: (Rsh16Ux16 <t> x y)
- // cond:
// result: (ANDL (SHRW <t> x y) (SBBLcarrymask <t> (CMPWconst y [16])))
for {
t := v.Type
@@ -23156,7 +20626,6 @@ func rewriteValue386_OpRsh16Ux16_0(v *Value) bool {
func rewriteValue386_OpRsh16Ux32_0(v *Value) bool {
b := v.Block
// match: (Rsh16Ux32 <t> x y)
- // cond:
// result: (ANDL (SHRW <t> x y) (SBBLcarrymask <t> (CMPLconst y [16])))
for {
t := v.Type
@@ -23218,7 +20687,6 @@ func rewriteValue386_OpRsh16Ux64_0(v *Value) bool {
func rewriteValue386_OpRsh16Ux8_0(v *Value) bool {
b := v.Block
// match: (Rsh16Ux8 <t> x y)
- // cond:
// result: (ANDL (SHRW <t> x y) (SBBLcarrymask <t> (CMPBconst y [16])))
for {
t := v.Type
@@ -23241,7 +20709,6 @@ func rewriteValue386_OpRsh16Ux8_0(v *Value) bool {
func rewriteValue386_OpRsh16x16_0(v *Value) bool {
b := v.Block
// match: (Rsh16x16 <t> x y)
- // cond:
// result: (SARW <t> x (ORL <y.Type> y (NOTL <y.Type> (SBBLcarrymask <y.Type> (CMPWconst y [16])))))
for {
t := v.Type
@@ -23267,7 +20734,6 @@ func rewriteValue386_OpRsh16x16_0(v *Value) bool {
func rewriteValue386_OpRsh16x32_0(v *Value) bool {
b := v.Block
// match: (Rsh16x32 <t> x y)
- // cond:
// result: (SARW <t> x (ORL <y.Type> y (NOTL <y.Type> (SBBLcarrymask <y.Type> (CMPLconst y [16])))))
for {
t := v.Type
@@ -23334,7 +20800,6 @@ func rewriteValue386_OpRsh16x64_0(v *Value) bool {
func rewriteValue386_OpRsh16x8_0(v *Value) bool {
b := v.Block
// match: (Rsh16x8 <t> x y)
- // cond:
// result: (SARW <t> x (ORL <y.Type> y (NOTL <y.Type> (SBBLcarrymask <y.Type> (CMPBconst y [16])))))
for {
t := v.Type
@@ -23360,7 +20825,6 @@ func rewriteValue386_OpRsh16x8_0(v *Value) bool {
func rewriteValue386_OpRsh32Ux16_0(v *Value) bool {
b := v.Block
// match: (Rsh32Ux16 <t> x y)
- // cond:
// result: (ANDL (SHRL <t> x y) (SBBLcarrymask <t> (CMPWconst y [32])))
for {
t := v.Type
@@ -23383,7 +20847,6 @@ func rewriteValue386_OpRsh32Ux16_0(v *Value) bool {
func rewriteValue386_OpRsh32Ux32_0(v *Value) bool {
b := v.Block
// match: (Rsh32Ux32 <t> x y)
- // cond:
// result: (ANDL (SHRL <t> x y) (SBBLcarrymask <t> (CMPLconst y [32])))
for {
t := v.Type
@@ -23445,7 +20908,6 @@ func rewriteValue386_OpRsh32Ux64_0(v *Value) bool {
func rewriteValue386_OpRsh32Ux8_0(v *Value) bool {
b := v.Block
// match: (Rsh32Ux8 <t> x y)
- // cond:
// result: (ANDL (SHRL <t> x y) (SBBLcarrymask <t> (CMPBconst y [32])))
for {
t := v.Type
@@ -23468,7 +20930,6 @@ func rewriteValue386_OpRsh32Ux8_0(v *Value) bool {
func rewriteValue386_OpRsh32x16_0(v *Value) bool {
b := v.Block
// match: (Rsh32x16 <t> x y)
- // cond:
// result: (SARL <t> x (ORL <y.Type> y (NOTL <y.Type> (SBBLcarrymask <y.Type> (CMPWconst y [32])))))
for {
t := v.Type
@@ -23494,7 +20955,6 @@ func rewriteValue386_OpRsh32x16_0(v *Value) bool {
func rewriteValue386_OpRsh32x32_0(v *Value) bool {
b := v.Block
// match: (Rsh32x32 <t> x y)
- // cond:
// result: (SARL <t> x (ORL <y.Type> y (NOTL <y.Type> (SBBLcarrymask <y.Type> (CMPLconst y [32])))))
for {
t := v.Type
@@ -23561,7 +21021,6 @@ func rewriteValue386_OpRsh32x64_0(v *Value) bool {
func rewriteValue386_OpRsh32x8_0(v *Value) bool {
b := v.Block
// match: (Rsh32x8 <t> x y)
- // cond:
// result: (SARL <t> x (ORL <y.Type> y (NOTL <y.Type> (SBBLcarrymask <y.Type> (CMPBconst y [32])))))
for {
t := v.Type
@@ -23587,7 +21046,6 @@ func rewriteValue386_OpRsh32x8_0(v *Value) bool {
func rewriteValue386_OpRsh8Ux16_0(v *Value) bool {
b := v.Block
// match: (Rsh8Ux16 <t> x y)
- // cond:
// result: (ANDL (SHRB <t> x y) (SBBLcarrymask <t> (CMPWconst y [8])))
for {
t := v.Type
@@ -23610,7 +21068,6 @@ func rewriteValue386_OpRsh8Ux16_0(v *Value) bool {
func rewriteValue386_OpRsh8Ux32_0(v *Value) bool {
b := v.Block
// match: (Rsh8Ux32 <t> x y)
- // cond:
// result: (ANDL (SHRB <t> x y) (SBBLcarrymask <t> (CMPLconst y [8])))
for {
t := v.Type
@@ -23672,7 +21129,6 @@ func rewriteValue386_OpRsh8Ux64_0(v *Value) bool {
func rewriteValue386_OpRsh8Ux8_0(v *Value) bool {
b := v.Block
// match: (Rsh8Ux8 <t> x y)
- // cond:
// result: (ANDL (SHRB <t> x y) (SBBLcarrymask <t> (CMPBconst y [8])))
for {
t := v.Type
@@ -23695,7 +21151,6 @@ func rewriteValue386_OpRsh8Ux8_0(v *Value) bool {
func rewriteValue386_OpRsh8x16_0(v *Value) bool {
b := v.Block
// match: (Rsh8x16 <t> x y)
- // cond:
// result: (SARB <t> x (ORL <y.Type> y (NOTL <y.Type> (SBBLcarrymask <y.Type> (CMPWconst y [8])))))
for {
t := v.Type
@@ -23721,7 +21176,6 @@ func rewriteValue386_OpRsh8x16_0(v *Value) bool {
func rewriteValue386_OpRsh8x32_0(v *Value) bool {
b := v.Block
// match: (Rsh8x32 <t> x y)
- // cond:
// result: (SARB <t> x (ORL <y.Type> y (NOTL <y.Type> (SBBLcarrymask <y.Type> (CMPLconst y [8])))))
for {
t := v.Type
@@ -23788,7 +21242,6 @@ func rewriteValue386_OpRsh8x64_0(v *Value) bool {
func rewriteValue386_OpRsh8x8_0(v *Value) bool {
b := v.Block
// match: (Rsh8x8 <t> x y)
- // cond:
// result: (SARB <t> x (ORL <y.Type> y (NOTL <y.Type> (SBBLcarrymask <y.Type> (CMPBconst y [8])))))
for {
t := v.Type
@@ -23815,7 +21268,6 @@ func rewriteValue386_OpSelect0_0(v *Value) bool {
b := v.Block
typ := &b.Func.Config.Types
// match: (Select0 (Mul32uover x y))
- // cond:
// result: (Select0 <typ.UInt32> (MULLU x y))
for {
v_0 := v.Args[0]
@@ -23838,7 +21290,6 @@ func rewriteValue386_OpSelect1_0(v *Value) bool {
b := v.Block
typ := &b.Func.Config.Types
// match: (Select1 (Mul32uover x y))
- // cond:
// result: (SETO (Select1 <types.TypeFlags> (MULLU x y)))
for {
v_0 := v.Args[0]
@@ -23860,7 +21311,6 @@ func rewriteValue386_OpSelect1_0(v *Value) bool {
}
func rewriteValue386_OpSignExt16to32_0(v *Value) bool {
// match: (SignExt16to32 x)
- // cond:
// result: (MOVWLSX x)
for {
x := v.Args[0]
@@ -23871,7 +21321,6 @@ func rewriteValue386_OpSignExt16to32_0(v *Value) bool {
}
func rewriteValue386_OpSignExt8to16_0(v *Value) bool {
// match: (SignExt8to16 x)
- // cond:
// result: (MOVBLSX x)
for {
x := v.Args[0]
@@ -23882,7 +21331,6 @@ func rewriteValue386_OpSignExt8to16_0(v *Value) bool {
}
func rewriteValue386_OpSignExt8to32_0(v *Value) bool {
// match: (SignExt8to32 x)
- // cond:
// result: (MOVBLSX x)
for {
x := v.Args[0]
@@ -23893,7 +21341,6 @@ func rewriteValue386_OpSignExt8to32_0(v *Value) bool {
}
func rewriteValue386_OpSignmask_0(v *Value) bool {
// match: (Signmask x)
- // cond:
// result: (SARLconst x [31])
for {
x := v.Args[0]
@@ -23906,7 +21353,6 @@ func rewriteValue386_OpSignmask_0(v *Value) bool {
func rewriteValue386_OpSlicemask_0(v *Value) bool {
b := v.Block
// match: (Slicemask <t> x)
- // cond:
// result: (SARLconst (NEGL <t> x) [31])
for {
t := v.Type
@@ -23921,7 +21367,6 @@ func rewriteValue386_OpSlicemask_0(v *Value) bool {
}
func rewriteValue386_OpSqrt_0(v *Value) bool {
// match: (Sqrt x)
- // cond:
// result: (SQRTSD x)
for {
x := v.Args[0]
@@ -23932,7 +21377,6 @@ func rewriteValue386_OpSqrt_0(v *Value) bool {
}
func rewriteValue386_OpStaticCall_0(v *Value) bool {
// match: (StaticCall [argwid] {target} mem)
- // cond:
// result: (CALLstatic [argwid] {target} mem)
for {
argwid := v.AuxInt
@@ -24035,7 +21479,6 @@ func rewriteValue386_OpStore_0(v *Value) bool {
}
func rewriteValue386_OpSub16_0(v *Value) bool {
// match: (Sub16 x y)
- // cond:
// result: (SUBL x y)
for {
y := v.Args[1]
@@ -24048,7 +21491,6 @@ func rewriteValue386_OpSub16_0(v *Value) bool {
}
func rewriteValue386_OpSub32_0(v *Value) bool {
// match: (Sub32 x y)
- // cond:
// result: (SUBL x y)
for {
y := v.Args[1]
@@ -24061,7 +21503,6 @@ func rewriteValue386_OpSub32_0(v *Value) bool {
}
func rewriteValue386_OpSub32F_0(v *Value) bool {
// match: (Sub32F x y)
- // cond:
// result: (SUBSS x y)
for {
y := v.Args[1]
@@ -24074,7 +21515,6 @@ func rewriteValue386_OpSub32F_0(v *Value) bool {
}
func rewriteValue386_OpSub32carry_0(v *Value) bool {
// match: (Sub32carry x y)
- // cond:
// result: (SUBLcarry x y)
for {
y := v.Args[1]
@@ -24087,7 +21527,6 @@ func rewriteValue386_OpSub32carry_0(v *Value) bool {
}
func rewriteValue386_OpSub32withcarry_0(v *Value) bool {
// match: (Sub32withcarry x y c)
- // cond:
// result: (SBBL x y c)
for {
c := v.Args[2]
@@ -24102,7 +21541,6 @@ func rewriteValue386_OpSub32withcarry_0(v *Value) bool {
}
func rewriteValue386_OpSub64F_0(v *Value) bool {
// match: (Sub64F x y)
- // cond:
// result: (SUBSD x y)
for {
y := v.Args[1]
@@ -24115,7 +21553,6 @@ func rewriteValue386_OpSub64F_0(v *Value) bool {
}
func rewriteValue386_OpSub8_0(v *Value) bool {
// match: (Sub8 x y)
- // cond:
// result: (SUBL x y)
for {
y := v.Args[1]
@@ -24128,7 +21565,6 @@ func rewriteValue386_OpSub8_0(v *Value) bool {
}
func rewriteValue386_OpSubPtr_0(v *Value) bool {
// match: (SubPtr x y)
- // cond:
// result: (SUBL x y)
for {
y := v.Args[1]
@@ -24141,7 +21577,6 @@ func rewriteValue386_OpSubPtr_0(v *Value) bool {
}
func rewriteValue386_OpTrunc16to8_0(v *Value) bool {
// match: (Trunc16to8 x)
- // cond:
// result: x
for {
x := v.Args[0]
@@ -24153,7 +21588,6 @@ func rewriteValue386_OpTrunc16to8_0(v *Value) bool {
}
func rewriteValue386_OpTrunc32to16_0(v *Value) bool {
// match: (Trunc32to16 x)
- // cond:
// result: x
for {
x := v.Args[0]
@@ -24165,7 +21599,6 @@ func rewriteValue386_OpTrunc32to16_0(v *Value) bool {
}
func rewriteValue386_OpTrunc32to8_0(v *Value) bool {
// match: (Trunc32to8 x)
- // cond:
// result: x
for {
x := v.Args[0]
@@ -24177,7 +21610,6 @@ func rewriteValue386_OpTrunc32to8_0(v *Value) bool {
}
func rewriteValue386_OpWB_0(v *Value) bool {
// match: (WB {fn} destptr srcptr mem)
- // cond:
// result: (LoweredWB {fn} destptr srcptr mem)
for {
fn := v.Aux
@@ -24194,7 +21626,6 @@ func rewriteValue386_OpWB_0(v *Value) bool {
}
func rewriteValue386_OpXor16_0(v *Value) bool {
// match: (Xor16 x y)
- // cond:
// result: (XORL x y)
for {
y := v.Args[1]
@@ -24207,7 +21638,6 @@ func rewriteValue386_OpXor16_0(v *Value) bool {
}
func rewriteValue386_OpXor32_0(v *Value) bool {
// match: (Xor32 x y)
- // cond:
// result: (XORL x y)
for {
y := v.Args[1]
@@ -24220,7 +21650,6 @@ func rewriteValue386_OpXor32_0(v *Value) bool {
}
func rewriteValue386_OpXor8_0(v *Value) bool {
// match: (Xor8 x y)
- // cond:
// result: (XORL x y)
for {
y := v.Args[1]
@@ -24235,7 +21664,6 @@ func rewriteValue386_OpZero_0(v *Value) bool {
b := v.Block
typ := &b.Func.Config.Types
// match: (Zero [0] _ mem)
- // cond:
// result: mem
for {
if v.AuxInt != 0 {
@@ -24248,7 +21676,6 @@ func rewriteValue386_OpZero_0(v *Value) bool {
return true
}
// match: (Zero [1] destptr mem)
- // cond:
// result: (MOVBstoreconst [0] destptr mem)
for {
if v.AuxInt != 1 {
@@ -24263,7 +21690,6 @@ func rewriteValue386_OpZero_0(v *Value) bool {
return true
}
// match: (Zero [2] destptr mem)
- // cond:
// result: (MOVWstoreconst [0] destptr mem)
for {
if v.AuxInt != 2 {
@@ -24278,7 +21704,6 @@ func rewriteValue386_OpZero_0(v *Value) bool {
return true
}
// match: (Zero [4] destptr mem)
- // cond:
// result: (MOVLstoreconst [0] destptr mem)
for {
if v.AuxInt != 4 {
@@ -24293,7 +21718,6 @@ func rewriteValue386_OpZero_0(v *Value) bool {
return true
}
// match: (Zero [3] destptr mem)
- // cond:
// result: (MOVBstoreconst [makeValAndOff(0,2)] destptr (MOVWstoreconst [0] destptr mem))
for {
if v.AuxInt != 3 {
@@ -24312,7 +21736,6 @@ func rewriteValue386_OpZero_0(v *Value) bool {
return true
}
// match: (Zero [5] destptr mem)
- // cond:
// result: (MOVBstoreconst [makeValAndOff(0,4)] destptr (MOVLstoreconst [0] destptr mem))
for {
if v.AuxInt != 5 {
@@ -24331,7 +21754,6 @@ func rewriteValue386_OpZero_0(v *Value) bool {
return true
}
// match: (Zero [6] destptr mem)
- // cond:
// result: (MOVWstoreconst [makeValAndOff(0,4)] destptr (MOVLstoreconst [0] destptr mem))
for {
if v.AuxInt != 6 {
@@ -24350,7 +21772,6 @@ func rewriteValue386_OpZero_0(v *Value) bool {
return true
}
// match: (Zero [7] destptr mem)
- // cond:
// result: (MOVLstoreconst [makeValAndOff(0,3)] destptr (MOVLstoreconst [0] destptr mem))
for {
if v.AuxInt != 7 {
@@ -24392,7 +21813,6 @@ func rewriteValue386_OpZero_0(v *Value) bool {
return true
}
// match: (Zero [8] destptr mem)
- // cond:
// result: (MOVLstoreconst [makeValAndOff(0,4)] destptr (MOVLstoreconst [0] destptr mem))
for {
if v.AuxInt != 8 {
@@ -24417,7 +21837,6 @@ func rewriteValue386_OpZero_10(v *Value) bool {
config := b.Func.Config
typ := &b.Func.Config.Types
// match: (Zero [12] destptr mem)
- // cond:
// result: (MOVLstoreconst [makeValAndOff(0,8)] destptr (MOVLstoreconst [makeValAndOff(0,4)] destptr (MOVLstoreconst [0] destptr mem)))
for {
if v.AuxInt != 12 {
@@ -24440,7 +21859,6 @@ func rewriteValue386_OpZero_10(v *Value) bool {
return true
}
// match: (Zero [16] destptr mem)
- // cond:
// result: (MOVLstoreconst [makeValAndOff(0,12)] destptr (MOVLstoreconst [makeValAndOff(0,8)] destptr (MOVLstoreconst [makeValAndOff(0,4)] destptr (MOVLstoreconst [0] destptr mem))))
for {
if v.AuxInt != 16 {
@@ -24510,7 +21928,6 @@ func rewriteValue386_OpZero_10(v *Value) bool {
}
func rewriteValue386_OpZeroExt16to32_0(v *Value) bool {
// match: (ZeroExt16to32 x)
- // cond:
// result: (MOVWLZX x)
for {
x := v.Args[0]
@@ -24521,7 +21938,6 @@ func rewriteValue386_OpZeroExt16to32_0(v *Value) bool {
}
func rewriteValue386_OpZeroExt8to16_0(v *Value) bool {
// match: (ZeroExt8to16 x)
- // cond:
// result: (MOVBLZX x)
for {
x := v.Args[0]
@@ -24532,7 +21948,6 @@ func rewriteValue386_OpZeroExt8to16_0(v *Value) bool {
}
func rewriteValue386_OpZeroExt8to32_0(v *Value) bool {
// match: (ZeroExt8to32 x)
- // cond:
// result: (MOVBLZX x)
for {
x := v.Args[0]
@@ -24544,7 +21959,6 @@ func rewriteValue386_OpZeroExt8to32_0(v *Value) bool {
func rewriteValue386_OpZeromask_0(v *Value) bool {
b := v.Block
// match: (Zeromask <t> x)
- // cond:
// result: (XORLconst [-1] (SBBLcarrymask <t> (CMPLconst x [1])))
for {
t := v.Type
@@ -24565,7 +21979,6 @@ func rewriteBlock386(b *Block) bool {
switch b.Kind {
case Block386EQ:
// match: (EQ (InvertFlags cmp) yes no)
- // cond:
// result: (EQ cmp yes no)
for v.Op == Op386InvertFlags {
cmp := v.Args[0]
@@ -24575,7 +21988,6 @@ func rewriteBlock386(b *Block) bool {
return true
}
// match: (EQ (FlagEQ) yes no)
- // cond:
// result: (First nil yes no)
for v.Op == Op386FlagEQ {
b.Kind = BlockFirst
@@ -24584,7 +21996,6 @@ func rewriteBlock386(b *Block) bool {
return true
}
// match: (EQ (FlagLT_ULT) yes no)
- // cond:
// result: (First nil no yes)
for v.Op == Op386FlagLT_ULT {
b.Kind = BlockFirst
@@ -24594,7 +22005,6 @@ func rewriteBlock386(b *Block) bool {
return true
}
// match: (EQ (FlagLT_UGT) yes no)
- // cond:
// result: (First nil no yes)
for v.Op == Op386FlagLT_UGT {
b.Kind = BlockFirst
@@ -24604,7 +22014,6 @@ func rewriteBlock386(b *Block) bool {
return true
}
// match: (EQ (FlagGT_ULT) yes no)
- // cond:
// result: (First nil no yes)
for v.Op == Op386FlagGT_ULT {
b.Kind = BlockFirst
@@ -24614,7 +22023,6 @@ func rewriteBlock386(b *Block) bool {
return true
}
// match: (EQ (FlagGT_UGT) yes no)
- // cond:
// result: (First nil no yes)
for v.Op == Op386FlagGT_UGT {
b.Kind = BlockFirst
@@ -24625,7 +22033,6 @@ func rewriteBlock386(b *Block) bool {
}
case Block386GE:
// match: (GE (InvertFlags cmp) yes no)
- // cond:
// result: (LE cmp yes no)
for v.Op == Op386InvertFlags {
cmp := v.Args[0]
@@ -24635,7 +22042,6 @@ func rewriteBlock386(b *Block) bool {
return true
}
// match: (GE (FlagEQ) yes no)
- // cond:
// result: (First nil yes no)
for v.Op == Op386FlagEQ {
b.Kind = BlockFirst
@@ -24644,7 +22050,6 @@ func rewriteBlock386(b *Block) bool {
return true
}
// match: (GE (FlagLT_ULT) yes no)
- // cond:
// result: (First nil no yes)
for v.Op == Op386FlagLT_ULT {
b.Kind = BlockFirst
@@ -24654,7 +22059,6 @@ func rewriteBlock386(b *Block) bool {
return true
}
// match: (GE (FlagLT_UGT) yes no)
- // cond:
// result: (First nil no yes)
for v.Op == Op386FlagLT_UGT {
b.Kind = BlockFirst
@@ -24664,7 +22068,6 @@ func rewriteBlock386(b *Block) bool {
return true
}
// match: (GE (FlagGT_ULT) yes no)
- // cond:
// result: (First nil yes no)
for v.Op == Op386FlagGT_ULT {
b.Kind = BlockFirst
@@ -24673,7 +22076,6 @@ func rewriteBlock386(b *Block) bool {
return true
}
// match: (GE (FlagGT_UGT) yes no)
- // cond:
// result: (First nil yes no)
for v.Op == Op386FlagGT_UGT {
b.Kind = BlockFirst
@@ -24683,7 +22085,6 @@ func rewriteBlock386(b *Block) bool {
}
case Block386GT:
// match: (GT (InvertFlags cmp) yes no)
- // cond:
// result: (LT cmp yes no)
for v.Op == Op386InvertFlags {
cmp := v.Args[0]
@@ -24693,7 +22094,6 @@ func rewriteBlock386(b *Block) bool {
return true
}
// match: (GT (FlagEQ) yes no)
- // cond:
// result: (First nil no yes)
for v.Op == Op386FlagEQ {
b.Kind = BlockFirst
@@ -24703,7 +22103,6 @@ func rewriteBlock386(b *Block) bool {
return true
}
// match: (GT (FlagLT_ULT) yes no)
- // cond:
// result: (First nil no yes)
for v.Op == Op386FlagLT_ULT {
b.Kind = BlockFirst
@@ -24713,7 +22112,6 @@ func rewriteBlock386(b *Block) bool {
return true
}
// match: (GT (FlagLT_UGT) yes no)
- // cond:
// result: (First nil no yes)
for v.Op == Op386FlagLT_UGT {
b.Kind = BlockFirst
@@ -24723,7 +22121,6 @@ func rewriteBlock386(b *Block) bool {
return true
}
// match: (GT (FlagGT_ULT) yes no)
- // cond:
// result: (First nil yes no)
for v.Op == Op386FlagGT_ULT {
b.Kind = BlockFirst
@@ -24732,7 +22129,6 @@ func rewriteBlock386(b *Block) bool {
return true
}
// match: (GT (FlagGT_UGT) yes no)
- // cond:
// result: (First nil yes no)
for v.Op == Op386FlagGT_UGT {
b.Kind = BlockFirst
@@ -24742,7 +22138,6 @@ func rewriteBlock386(b *Block) bool {
}
case BlockIf:
// match: (If (SETL cmp) yes no)
- // cond:
// result: (LT cmp yes no)
for v.Op == Op386SETL {
cmp := v.Args[0]
@@ -24752,7 +22147,6 @@ func rewriteBlock386(b *Block) bool {
return true
}
// match: (If (SETLE cmp) yes no)
- // cond:
// result: (LE cmp yes no)
for v.Op == Op386SETLE {
cmp := v.Args[0]
@@ -24762,7 +22156,6 @@ func rewriteBlock386(b *Block) bool {
return true
}
// match: (If (SETG cmp) yes no)
- // cond:
// result: (GT cmp yes no)
for v.Op == Op386SETG {
cmp := v.Args[0]
@@ -24772,7 +22165,6 @@ func rewriteBlock386(b *Block) bool {
return true
}
// match: (If (SETGE cmp) yes no)
- // cond:
// result: (GE cmp yes no)
for v.Op == Op386SETGE {
cmp := v.Args[0]
@@ -24782,7 +22174,6 @@ func rewriteBlock386(b *Block) bool {
return true
}
// match: (If (SETEQ cmp) yes no)
- // cond:
// result: (EQ cmp yes no)
for v.Op == Op386SETEQ {
cmp := v.Args[0]
@@ -24792,7 +22183,6 @@ func rewriteBlock386(b *Block) bool {
return true
}
// match: (If (SETNE cmp) yes no)
- // cond:
// result: (NE cmp yes no)
for v.Op == Op386SETNE {
cmp := v.Args[0]
@@ -24802,7 +22192,6 @@ func rewriteBlock386(b *Block) bool {
return true
}
// match: (If (SETB cmp) yes no)
- // cond:
// result: (ULT cmp yes no)
for v.Op == Op386SETB {
cmp := v.Args[0]
@@ -24812,7 +22201,6 @@ func rewriteBlock386(b *Block) bool {
return true
}
// match: (If (SETBE cmp) yes no)
- // cond:
// result: (ULE cmp yes no)
for v.Op == Op386SETBE {
cmp := v.Args[0]
@@ -24822,7 +22210,6 @@ func rewriteBlock386(b *Block) bool {
return true
}
// match: (If (SETA cmp) yes no)
- // cond:
// result: (UGT cmp yes no)
for v.Op == Op386SETA {
cmp := v.Args[0]
@@ -24832,7 +22219,6 @@ func rewriteBlock386(b *Block) bool {
return true
}
// match: (If (SETAE cmp) yes no)
- // cond:
// result: (UGE cmp yes no)
for v.Op == Op386SETAE {
cmp := v.Args[0]
@@ -24842,7 +22228,6 @@ func rewriteBlock386(b *Block) bool {
return true
}
// match: (If (SETO cmp) yes no)
- // cond:
// result: (OS cmp yes no)
for v.Op == Op386SETO {
cmp := v.Args[0]
@@ -24852,7 +22237,6 @@ func rewriteBlock386(b *Block) bool {
return true
}
// match: (If (SETGF cmp) yes no)
- // cond:
// result: (UGT cmp yes no)
for v.Op == Op386SETGF {
cmp := v.Args[0]
@@ -24862,7 +22246,6 @@ func rewriteBlock386(b *Block) bool {
return true
}
// match: (If (SETGEF cmp) yes no)
- // cond:
// result: (UGE cmp yes no)
for v.Op == Op386SETGEF {
cmp := v.Args[0]
@@ -24872,7 +22255,6 @@ func rewriteBlock386(b *Block) bool {
return true
}
// match: (If (SETEQF cmp) yes no)
- // cond:
// result: (EQF cmp yes no)
for v.Op == Op386SETEQF {
cmp := v.Args[0]
@@ -24882,7 +22264,6 @@ func rewriteBlock386(b *Block) bool {
return true
}
// match: (If (SETNEF cmp) yes no)
- // cond:
// result: (NEF cmp yes no)
for v.Op == Op386SETNEF {
cmp := v.Args[0]
@@ -24892,7 +22273,6 @@ func rewriteBlock386(b *Block) bool {
return true
}
// match: (If cond yes no)
- // cond:
// result: (NE (TESTB cond cond) yes no)
for {
cond := b.Control
@@ -24906,7 +22286,6 @@ func rewriteBlock386(b *Block) bool {
}
case Block386LE:
// match: (LE (InvertFlags cmp) yes no)
- // cond:
// result: (GE cmp yes no)
for v.Op == Op386InvertFlags {
cmp := v.Args[0]
@@ -24916,7 +22295,6 @@ func rewriteBlock386(b *Block) bool {
return true
}
// match: (LE (FlagEQ) yes no)
- // cond:
// result: (First nil yes no)
for v.Op == Op386FlagEQ {
b.Kind = BlockFirst
@@ -24925,7 +22303,6 @@ func rewriteBlock386(b *Block) bool {
return true
}
// match: (LE (FlagLT_ULT) yes no)
- // cond:
// result: (First nil yes no)
for v.Op == Op386FlagLT_ULT {
b.Kind = BlockFirst
@@ -24934,7 +22311,6 @@ func rewriteBlock386(b *Block) bool {
return true
}
// match: (LE (FlagLT_UGT) yes no)
- // cond:
// result: (First nil yes no)
for v.Op == Op386FlagLT_UGT {
b.Kind = BlockFirst
@@ -24943,7 +22319,6 @@ func rewriteBlock386(b *Block) bool {
return true
}
// match: (LE (FlagGT_ULT) yes no)
- // cond:
// result: (First nil no yes)
for v.Op == Op386FlagGT_ULT {
b.Kind = BlockFirst
@@ -24953,7 +22328,6 @@ func rewriteBlock386(b *Block) bool {
return true
}
// match: (LE (FlagGT_UGT) yes no)
- // cond:
// result: (First nil no yes)
for v.Op == Op386FlagGT_UGT {
b.Kind = BlockFirst
@@ -24964,7 +22338,6 @@ func rewriteBlock386(b *Block) bool {
}
case Block386LT:
// match: (LT (InvertFlags cmp) yes no)
- // cond:
// result: (GT cmp yes no)
for v.Op == Op386InvertFlags {
cmp := v.Args[0]
@@ -24974,7 +22347,6 @@ func rewriteBlock386(b *Block) bool {
return true
}
// match: (LT (FlagEQ) yes no)
- // cond:
// result: (First nil no yes)
for v.Op == Op386FlagEQ {
b.Kind = BlockFirst
@@ -24984,7 +22356,6 @@ func rewriteBlock386(b *Block) bool {
return true
}
// match: (LT (FlagLT_ULT) yes no)
- // cond:
// result: (First nil yes no)
for v.Op == Op386FlagLT_ULT {
b.Kind = BlockFirst
@@ -24993,7 +22364,6 @@ func rewriteBlock386(b *Block) bool {
return true
}
// match: (LT (FlagLT_UGT) yes no)
- // cond:
// result: (First nil yes no)
for v.Op == Op386FlagLT_UGT {
b.Kind = BlockFirst
@@ -25002,7 +22372,6 @@ func rewriteBlock386(b *Block) bool {
return true
}
// match: (LT (FlagGT_ULT) yes no)
- // cond:
// result: (First nil no yes)
for v.Op == Op386FlagGT_ULT {
b.Kind = BlockFirst
@@ -25012,7 +22381,6 @@ func rewriteBlock386(b *Block) bool {
return true
}
// match: (LT (FlagGT_UGT) yes no)
- // cond:
// result: (First nil no yes)
for v.Op == Op386FlagGT_UGT {
b.Kind = BlockFirst
@@ -25023,7 +22391,6 @@ func rewriteBlock386(b *Block) bool {
}
case Block386NE:
// match: (NE (TESTB (SETL cmp) (SETL cmp)) yes no)
- // cond:
// result: (LT cmp yes no)
for v.Op == Op386TESTB {
_ = v.Args[1]
@@ -25033,10 +22400,7 @@ func rewriteBlock386(b *Block) bool {
}
cmp := v_0.Args[0]
v_1 := v.Args[1]
- if v_1.Op != Op386SETL {
- break
- }
- if cmp != v_1.Args[0] {
+ if v_1.Op != Op386SETL || cmp != v_1.Args[0] {
break
}
b.Kind = Block386LT
@@ -25045,7 +22409,6 @@ func rewriteBlock386(b *Block) bool {
return true
}
// match: (NE (TESTB (SETL cmp) (SETL cmp)) yes no)
- // cond:
// result: (LT cmp yes no)
for v.Op == Op386TESTB {
_ = v.Args[1]
@@ -25055,10 +22418,7 @@ func rewriteBlock386(b *Block) bool {
}
cmp := v_0.Args[0]
v_1 := v.Args[1]
- if v_1.Op != Op386SETL {
- break
- }
- if cmp != v_1.Args[0] {
+ if v_1.Op != Op386SETL || cmp != v_1.Args[0] {
break
}
b.Kind = Block386LT
@@ -25067,7 +22427,6 @@ func rewriteBlock386(b *Block) bool {
return true
}
// match: (NE (TESTB (SETLE cmp) (SETLE cmp)) yes no)
- // cond:
// result: (LE cmp yes no)
for v.Op == Op386TESTB {
_ = v.Args[1]
@@ -25077,10 +22436,7 @@ func rewriteBlock386(b *Block) bool {
}
cmp := v_0.Args[0]
v_1 := v.Args[1]
- if v_1.Op != Op386SETLE {
- break
- }
- if cmp != v_1.Args[0] {
+ if v_1.Op != Op386SETLE || cmp != v_1.Args[0] {
break
}
b.Kind = Block386LE
@@ -25089,7 +22445,6 @@ func rewriteBlock386(b *Block) bool {
return true
}
// match: (NE (TESTB (SETLE cmp) (SETLE cmp)) yes no)
- // cond:
// result: (LE cmp yes no)
for v.Op == Op386TESTB {
_ = v.Args[1]
@@ -25099,10 +22454,7 @@ func rewriteBlock386(b *Block) bool {
}
cmp := v_0.Args[0]
v_1 := v.Args[1]
- if v_1.Op != Op386SETLE {
- break
- }
- if cmp != v_1.Args[0] {
+ if v_1.Op != Op386SETLE || cmp != v_1.Args[0] {
break
}
b.Kind = Block386LE
@@ -25111,7 +22463,6 @@ func rewriteBlock386(b *Block) bool {
return true
}
// match: (NE (TESTB (SETG cmp) (SETG cmp)) yes no)
- // cond:
// result: (GT cmp yes no)
for v.Op == Op386TESTB {
_ = v.Args[1]
@@ -25121,10 +22472,7 @@ func rewriteBlock386(b *Block) bool {
}
cmp := v_0.Args[0]
v_1 := v.Args[1]
- if v_1.Op != Op386SETG {
- break
- }
- if cmp != v_1.Args[0] {
+ if v_1.Op != Op386SETG || cmp != v_1.Args[0] {
break
}
b.Kind = Block386GT
@@ -25133,7 +22481,6 @@ func rewriteBlock386(b *Block) bool {
return true
}
// match: (NE (TESTB (SETG cmp) (SETG cmp)) yes no)
- // cond:
// result: (GT cmp yes no)
for v.Op == Op386TESTB {
_ = v.Args[1]
@@ -25143,10 +22490,7 @@ func rewriteBlock386(b *Block) bool {
}
cmp := v_0.Args[0]
v_1 := v.Args[1]
- if v_1.Op != Op386SETG {
- break
- }
- if cmp != v_1.Args[0] {
+ if v_1.Op != Op386SETG || cmp != v_1.Args[0] {
break
}
b.Kind = Block386GT
@@ -25155,7 +22499,6 @@ func rewriteBlock386(b *Block) bool {
return true
}
// match: (NE (TESTB (SETGE cmp) (SETGE cmp)) yes no)
- // cond:
// result: (GE cmp yes no)
for v.Op == Op386TESTB {
_ = v.Args[1]
@@ -25165,10 +22508,7 @@ func rewriteBlock386(b *Block) bool {
}
cmp := v_0.Args[0]
v_1 := v.Args[1]
- if v_1.Op != Op386SETGE {
- break
- }
- if cmp != v_1.Args[0] {
+ if v_1.Op != Op386SETGE || cmp != v_1.Args[0] {
break
}
b.Kind = Block386GE
@@ -25177,7 +22517,6 @@ func rewriteBlock386(b *Block) bool {
return true
}
// match: (NE (TESTB (SETGE cmp) (SETGE cmp)) yes no)
- // cond:
// result: (GE cmp yes no)
for v.Op == Op386TESTB {
_ = v.Args[1]
@@ -25187,10 +22526,7 @@ func rewriteBlock386(b *Block) bool {
}
cmp := v_0.Args[0]
v_1 := v.Args[1]
- if v_1.Op != Op386SETGE {
- break
- }
- if cmp != v_1.Args[0] {
+ if v_1.Op != Op386SETGE || cmp != v_1.Args[0] {
break
}
b.Kind = Block386GE
@@ -25199,7 +22535,6 @@ func rewriteBlock386(b *Block) bool {
return true
}
// match: (NE (TESTB (SETEQ cmp) (SETEQ cmp)) yes no)
- // cond:
// result: (EQ cmp yes no)
for v.Op == Op386TESTB {
_ = v.Args[1]
@@ -25209,10 +22544,7 @@ func rewriteBlock386(b *Block) bool {
}
cmp := v_0.Args[0]
v_1 := v.Args[1]
- if v_1.Op != Op386SETEQ {
- break
- }
- if cmp != v_1.Args[0] {
+ if v_1.Op != Op386SETEQ || cmp != v_1.Args[0] {
break
}
b.Kind = Block386EQ
@@ -25221,7 +22553,6 @@ func rewriteBlock386(b *Block) bool {
return true
}
// match: (NE (TESTB (SETEQ cmp) (SETEQ cmp)) yes no)
- // cond:
// result: (EQ cmp yes no)
for v.Op == Op386TESTB {
_ = v.Args[1]
@@ -25231,10 +22562,7 @@ func rewriteBlock386(b *Block) bool {
}
cmp := v_0.Args[0]
v_1 := v.Args[1]
- if v_1.Op != Op386SETEQ {
- break
- }
- if cmp != v_1.Args[0] {
+ if v_1.Op != Op386SETEQ || cmp != v_1.Args[0] {
break
}
b.Kind = Block386EQ
@@ -25243,7 +22571,6 @@ func rewriteBlock386(b *Block) bool {
return true
}
// match: (NE (TESTB (SETNE cmp) (SETNE cmp)) yes no)
- // cond:
// result: (NE cmp yes no)
for v.Op == Op386TESTB {
_ = v.Args[1]
@@ -25253,10 +22580,7 @@ func rewriteBlock386(b *Block) bool {
}
cmp := v_0.Args[0]
v_1 := v.Args[1]
- if v_1.Op != Op386SETNE {
- break
- }
- if cmp != v_1.Args[0] {
+ if v_1.Op != Op386SETNE || cmp != v_1.Args[0] {
break
}
b.Kind = Block386NE
@@ -25265,7 +22589,6 @@ func rewriteBlock386(b *Block) bool {
return true
}
// match: (NE (TESTB (SETNE cmp) (SETNE cmp)) yes no)
- // cond:
// result: (NE cmp yes no)
for v.Op == Op386TESTB {
_ = v.Args[1]
@@ -25275,10 +22598,7 @@ func rewriteBlock386(b *Block) bool {
}
cmp := v_0.Args[0]
v_1 := v.Args[1]
- if v_1.Op != Op386SETNE {
- break
- }
- if cmp != v_1.Args[0] {
+ if v_1.Op != Op386SETNE || cmp != v_1.Args[0] {
break
}
b.Kind = Block386NE
@@ -25287,7 +22607,6 @@ func rewriteBlock386(b *Block) bool {
return true
}
// match: (NE (TESTB (SETB cmp) (SETB cmp)) yes no)
- // cond:
// result: (ULT cmp yes no)
for v.Op == Op386TESTB {
_ = v.Args[1]
@@ -25297,10 +22616,7 @@ func rewriteBlock386(b *Block) bool {
}
cmp := v_0.Args[0]
v_1 := v.Args[1]
- if v_1.Op != Op386SETB {
- break
- }
- if cmp != v_1.Args[0] {
+ if v_1.Op != Op386SETB || cmp != v_1.Args[0] {
break
}
b.Kind = Block386ULT
@@ -25309,7 +22625,6 @@ func rewriteBlock386(b *Block) bool {
return true
}
// match: (NE (TESTB (SETB cmp) (SETB cmp)) yes no)
- // cond:
// result: (ULT cmp yes no)
for v.Op == Op386TESTB {
_ = v.Args[1]
@@ -25319,10 +22634,7 @@ func rewriteBlock386(b *Block) bool {
}
cmp := v_0.Args[0]
v_1 := v.Args[1]
- if v_1.Op != Op386SETB {
- break
- }
- if cmp != v_1.Args[0] {
+ if v_1.Op != Op386SETB || cmp != v_1.Args[0] {
break
}
b.Kind = Block386ULT
@@ -25331,7 +22643,6 @@ func rewriteBlock386(b *Block) bool {
return true
}
// match: (NE (TESTB (SETBE cmp) (SETBE cmp)) yes no)
- // cond:
// result: (ULE cmp yes no)
for v.Op == Op386TESTB {
_ = v.Args[1]
@@ -25341,10 +22652,7 @@ func rewriteBlock386(b *Block) bool {
}
cmp := v_0.Args[0]
v_1 := v.Args[1]
- if v_1.Op != Op386SETBE {
- break
- }
- if cmp != v_1.Args[0] {
+ if v_1.Op != Op386SETBE || cmp != v_1.Args[0] {
break
}
b.Kind = Block386ULE
@@ -25353,7 +22661,6 @@ func rewriteBlock386(b *Block) bool {
return true
}
// match: (NE (TESTB (SETBE cmp) (SETBE cmp)) yes no)
- // cond:
// result: (ULE cmp yes no)
for v.Op == Op386TESTB {
_ = v.Args[1]
@@ -25363,10 +22670,7 @@ func rewriteBlock386(b *Block) bool {
}
cmp := v_0.Args[0]
v_1 := v.Args[1]
- if v_1.Op != Op386SETBE {
- break
- }
- if cmp != v_1.Args[0] {
+ if v_1.Op != Op386SETBE || cmp != v_1.Args[0] {
break
}
b.Kind = Block386ULE
@@ -25375,7 +22679,6 @@ func rewriteBlock386(b *Block) bool {
return true
}
// match: (NE (TESTB (SETA cmp) (SETA cmp)) yes no)
- // cond:
// result: (UGT cmp yes no)
for v.Op == Op386TESTB {
_ = v.Args[1]
@@ -25385,10 +22688,7 @@ func rewriteBlock386(b *Block) bool {
}
cmp := v_0.Args[0]
v_1 := v.Args[1]
- if v_1.Op != Op386SETA {
- break
- }
- if cmp != v_1.Args[0] {
+ if v_1.Op != Op386SETA || cmp != v_1.Args[0] {
break
}
b.Kind = Block386UGT
@@ -25397,7 +22697,6 @@ func rewriteBlock386(b *Block) bool {
return true
}
// match: (NE (TESTB (SETA cmp) (SETA cmp)) yes no)
- // cond:
// result: (UGT cmp yes no)
for v.Op == Op386TESTB {
_ = v.Args[1]
@@ -25407,10 +22706,7 @@ func rewriteBlock386(b *Block) bool {
}
cmp := v_0.Args[0]
v_1 := v.Args[1]
- if v_1.Op != Op386SETA {
- break
- }
- if cmp != v_1.Args[0] {
+ if v_1.Op != Op386SETA || cmp != v_1.Args[0] {
break
}
b.Kind = Block386UGT
@@ -25419,7 +22715,6 @@ func rewriteBlock386(b *Block) bool {
return true
}
// match: (NE (TESTB (SETAE cmp) (SETAE cmp)) yes no)
- // cond:
// result: (UGE cmp yes no)
for v.Op == Op386TESTB {
_ = v.Args[1]
@@ -25429,10 +22724,7 @@ func rewriteBlock386(b *Block) bool {
}
cmp := v_0.Args[0]
v_1 := v.Args[1]
- if v_1.Op != Op386SETAE {
- break
- }
- if cmp != v_1.Args[0] {
+ if v_1.Op != Op386SETAE || cmp != v_1.Args[0] {
break
}
b.Kind = Block386UGE
@@ -25441,7 +22733,6 @@ func rewriteBlock386(b *Block) bool {
return true
}
// match: (NE (TESTB (SETAE cmp) (SETAE cmp)) yes no)
- // cond:
// result: (UGE cmp yes no)
for v.Op == Op386TESTB {
_ = v.Args[1]
@@ -25451,10 +22742,7 @@ func rewriteBlock386(b *Block) bool {
}
cmp := v_0.Args[0]
v_1 := v.Args[1]
- if v_1.Op != Op386SETAE {
- break
- }
- if cmp != v_1.Args[0] {
+ if v_1.Op != Op386SETAE || cmp != v_1.Args[0] {
break
}
b.Kind = Block386UGE
@@ -25463,7 +22751,6 @@ func rewriteBlock386(b *Block) bool {
return true
}
// match: (NE (TESTB (SETO cmp) (SETO cmp)) yes no)
- // cond:
// result: (OS cmp yes no)
for v.Op == Op386TESTB {
_ = v.Args[1]
@@ -25473,10 +22760,7 @@ func rewriteBlock386(b *Block) bool {
}
cmp := v_0.Args[0]
v_1 := v.Args[1]
- if v_1.Op != Op386SETO {
- break
- }
- if cmp != v_1.Args[0] {
+ if v_1.Op != Op386SETO || cmp != v_1.Args[0] {
break
}
b.Kind = Block386OS
@@ -25485,7 +22769,6 @@ func rewriteBlock386(b *Block) bool {
return true
}
// match: (NE (TESTB (SETO cmp) (SETO cmp)) yes no)
- // cond:
// result: (OS cmp yes no)
for v.Op == Op386TESTB {
_ = v.Args[1]
@@ -25495,10 +22778,7 @@ func rewriteBlock386(b *Block) bool {
}
cmp := v_0.Args[0]
v_1 := v.Args[1]
- if v_1.Op != Op386SETO {
- break
- }
- if cmp != v_1.Args[0] {
+ if v_1.Op != Op386SETO || cmp != v_1.Args[0] {
break
}
b.Kind = Block386OS
@@ -25507,7 +22787,6 @@ func rewriteBlock386(b *Block) bool {
return true
}
// match: (NE (TESTB (SETGF cmp) (SETGF cmp)) yes no)
- // cond:
// result: (UGT cmp yes no)
for v.Op == Op386TESTB {
_ = v.Args[1]
@@ -25517,10 +22796,7 @@ func rewriteBlock386(b *Block) bool {
}
cmp := v_0.Args[0]
v_1 := v.Args[1]
- if v_1.Op != Op386SETGF {
- break
- }
- if cmp != v_1.Args[0] {
+ if v_1.Op != Op386SETGF || cmp != v_1.Args[0] {
break
}
b.Kind = Block386UGT
@@ -25529,7 +22805,6 @@ func rewriteBlock386(b *Block) bool {
return true
}
// match: (NE (TESTB (SETGF cmp) (SETGF cmp)) yes no)
- // cond:
// result: (UGT cmp yes no)
for v.Op == Op386TESTB {
_ = v.Args[1]
@@ -25539,10 +22814,7 @@ func rewriteBlock386(b *Block) bool {
}
cmp := v_0.Args[0]
v_1 := v.Args[1]
- if v_1.Op != Op386SETGF {
- break
- }
- if cmp != v_1.Args[0] {
+ if v_1.Op != Op386SETGF || cmp != v_1.Args[0] {
break
}
b.Kind = Block386UGT
@@ -25551,7 +22823,6 @@ func rewriteBlock386(b *Block) bool {
return true
}
// match: (NE (TESTB (SETGEF cmp) (SETGEF cmp)) yes no)
- // cond:
// result: (UGE cmp yes no)
for v.Op == Op386TESTB {
_ = v.Args[1]
@@ -25561,10 +22832,7 @@ func rewriteBlock386(b *Block) bool {
}
cmp := v_0.Args[0]
v_1 := v.Args[1]
- if v_1.Op != Op386SETGEF {
- break
- }
- if cmp != v_1.Args[0] {
+ if v_1.Op != Op386SETGEF || cmp != v_1.Args[0] {
break
}
b.Kind = Block386UGE
@@ -25573,7 +22841,6 @@ func rewriteBlock386(b *Block) bool {
return true
}
// match: (NE (TESTB (SETGEF cmp) (SETGEF cmp)) yes no)
- // cond:
// result: (UGE cmp yes no)
for v.Op == Op386TESTB {
_ = v.Args[1]
@@ -25583,10 +22850,7 @@ func rewriteBlock386(b *Block) bool {
}
cmp := v_0.Args[0]
v_1 := v.Args[1]
- if v_1.Op != Op386SETGEF {
- break
- }
- if cmp != v_1.Args[0] {
+ if v_1.Op != Op386SETGEF || cmp != v_1.Args[0] {
break
}
b.Kind = Block386UGE
@@ -25595,7 +22859,6 @@ func rewriteBlock386(b *Block) bool {
return true
}
// match: (NE (TESTB (SETEQF cmp) (SETEQF cmp)) yes no)
- // cond:
// result: (EQF cmp yes no)
for v.Op == Op386TESTB {
_ = v.Args[1]
@@ -25605,10 +22868,7 @@ func rewriteBlock386(b *Block) bool {
}
cmp := v_0.Args[0]
v_1 := v.Args[1]
- if v_1.Op != Op386SETEQF {
- break
- }
- if cmp != v_1.Args[0] {
+ if v_1.Op != Op386SETEQF || cmp != v_1.Args[0] {
break
}
b.Kind = Block386EQF
@@ -25617,7 +22877,6 @@ func rewriteBlock386(b *Block) bool {
return true
}
// match: (NE (TESTB (SETEQF cmp) (SETEQF cmp)) yes no)
- // cond:
// result: (EQF cmp yes no)
for v.Op == Op386TESTB {
_ = v.Args[1]
@@ -25627,10 +22886,7 @@ func rewriteBlock386(b *Block) bool {
}
cmp := v_0.Args[0]
v_1 := v.Args[1]
- if v_1.Op != Op386SETEQF {
- break
- }
- if cmp != v_1.Args[0] {
+ if v_1.Op != Op386SETEQF || cmp != v_1.Args[0] {
break
}
b.Kind = Block386EQF
@@ -25639,7 +22895,6 @@ func rewriteBlock386(b *Block) bool {
return true
}
// match: (NE (TESTB (SETNEF cmp) (SETNEF cmp)) yes no)
- // cond:
// result: (NEF cmp yes no)
for v.Op == Op386TESTB {
_ = v.Args[1]
@@ -25649,10 +22904,7 @@ func rewriteBlock386(b *Block) bool {
}
cmp := v_0.Args[0]
v_1 := v.Args[1]
- if v_1.Op != Op386SETNEF {
- break
- }
- if cmp != v_1.Args[0] {
+ if v_1.Op != Op386SETNEF || cmp != v_1.Args[0] {
break
}
b.Kind = Block386NEF
@@ -25661,7 +22913,6 @@ func rewriteBlock386(b *Block) bool {
return true
}
// match: (NE (TESTB (SETNEF cmp) (SETNEF cmp)) yes no)
- // cond:
// result: (NEF cmp yes no)
for v.Op == Op386TESTB {
_ = v.Args[1]
@@ -25671,10 +22922,7 @@ func rewriteBlock386(b *Block) bool {
}
cmp := v_0.Args[0]
v_1 := v.Args[1]
- if v_1.Op != Op386SETNEF {
- break
- }
- if cmp != v_1.Args[0] {
+ if v_1.Op != Op386SETNEF || cmp != v_1.Args[0] {
break
}
b.Kind = Block386NEF
@@ -25683,7 +22931,6 @@ func rewriteBlock386(b *Block) bool {
return true
}
// match: (NE (InvertFlags cmp) yes no)
- // cond:
// result: (NE cmp yes no)
for v.Op == Op386InvertFlags {
cmp := v.Args[0]
@@ -25693,7 +22940,6 @@ func rewriteBlock386(b *Block) bool {
return true
}
// match: (NE (FlagEQ) yes no)
- // cond:
// result: (First nil no yes)
for v.Op == Op386FlagEQ {
b.Kind = BlockFirst
@@ -25703,7 +22949,6 @@ func rewriteBlock386(b *Block) bool {
return true
}
// match: (NE (FlagLT_ULT) yes no)
- // cond:
// result: (First nil yes no)
for v.Op == Op386FlagLT_ULT {
b.Kind = BlockFirst
@@ -25712,7 +22957,6 @@ func rewriteBlock386(b *Block) bool {
return true
}
// match: (NE (FlagLT_UGT) yes no)
- // cond:
// result: (First nil yes no)
for v.Op == Op386FlagLT_UGT {
b.Kind = BlockFirst
@@ -25721,7 +22965,6 @@ func rewriteBlock386(b *Block) bool {
return true
}
// match: (NE (FlagGT_ULT) yes no)
- // cond:
// result: (First nil yes no)
for v.Op == Op386FlagGT_ULT {
b.Kind = BlockFirst
@@ -25730,7 +22973,6 @@ func rewriteBlock386(b *Block) bool {
return true
}
// match: (NE (FlagGT_UGT) yes no)
- // cond:
// result: (First nil yes no)
for v.Op == Op386FlagGT_UGT {
b.Kind = BlockFirst
@@ -25740,7 +22982,6 @@ func rewriteBlock386(b *Block) bool {
}
case Block386UGE:
// match: (UGE (InvertFlags cmp) yes no)
- // cond:
// result: (ULE cmp yes no)
for v.Op == Op386InvertFlags {
cmp := v.Args[0]
@@ -25750,7 +22991,6 @@ func rewriteBlock386(b *Block) bool {
return true
}
// match: (UGE (FlagEQ) yes no)
- // cond:
// result: (First nil yes no)
for v.Op == Op386FlagEQ {
b.Kind = BlockFirst
@@ -25759,7 +22999,6 @@ func rewriteBlock386(b *Block) bool {
return true
}
// match: (UGE (FlagLT_ULT) yes no)
- // cond:
// result: (First nil no yes)
for v.Op == Op386FlagLT_ULT {
b.Kind = BlockFirst
@@ -25769,7 +23008,6 @@ func rewriteBlock386(b *Block) bool {
return true
}
// match: (UGE (FlagLT_UGT) yes no)
- // cond:
// result: (First nil yes no)
for v.Op == Op386FlagLT_UGT {
b.Kind = BlockFirst
@@ -25778,7 +23016,6 @@ func rewriteBlock386(b *Block) bool {
return true
}
// match: (UGE (FlagGT_ULT) yes no)
- // cond:
// result: (First nil no yes)
for v.Op == Op386FlagGT_ULT {
b.Kind = BlockFirst
@@ -25788,7 +23025,6 @@ func rewriteBlock386(b *Block) bool {
return true
}
// match: (UGE (FlagGT_UGT) yes no)
- // cond:
// result: (First nil yes no)
for v.Op == Op386FlagGT_UGT {
b.Kind = BlockFirst
@@ -25798,7 +23034,6 @@ func rewriteBlock386(b *Block) bool {
}
case Block386UGT:
// match: (UGT (InvertFlags cmp) yes no)
- // cond:
// result: (ULT cmp yes no)
for v.Op == Op386InvertFlags {
cmp := v.Args[0]
@@ -25808,7 +23043,6 @@ func rewriteBlock386(b *Block) bool {
return true
}
// match: (UGT (FlagEQ) yes no)
- // cond:
// result: (First nil no yes)
for v.Op == Op386FlagEQ {
b.Kind = BlockFirst
@@ -25818,7 +23052,6 @@ func rewriteBlock386(b *Block) bool {
return true
}
// match: (UGT (FlagLT_ULT) yes no)
- // cond:
// result: (First nil no yes)
for v.Op == Op386FlagLT_ULT {
b.Kind = BlockFirst
@@ -25828,7 +23061,6 @@ func rewriteBlock386(b *Block) bool {
return true
}
// match: (UGT (FlagLT_UGT) yes no)
- // cond:
// result: (First nil yes no)
for v.Op == Op386FlagLT_UGT {
b.Kind = BlockFirst
@@ -25837,7 +23069,6 @@ func rewriteBlock386(b *Block) bool {
return true
}
// match: (UGT (FlagGT_ULT) yes no)
- // cond:
// result: (First nil no yes)
for v.Op == Op386FlagGT_ULT {
b.Kind = BlockFirst
@@ -25847,7 +23078,6 @@ func rewriteBlock386(b *Block) bool {
return true
}
// match: (UGT (FlagGT_UGT) yes no)
- // cond:
// result: (First nil yes no)
for v.Op == Op386FlagGT_UGT {
b.Kind = BlockFirst
@@ -25857,7 +23087,6 @@ func rewriteBlock386(b *Block) bool {
}
case Block386ULE:
// match: (ULE (InvertFlags cmp) yes no)
- // cond:
// result: (UGE cmp yes no)
for v.Op == Op386InvertFlags {
cmp := v.Args[0]
@@ -25867,7 +23096,6 @@ func rewriteBlock386(b *Block) bool {
return true
}
// match: (ULE (FlagEQ) yes no)
- // cond:
// result: (First nil yes no)
for v.Op == Op386FlagEQ {
b.Kind = BlockFirst
@@ -25876,7 +23104,6 @@ func rewriteBlock386(b *Block) bool {
return true
}
// match: (ULE (FlagLT_ULT) yes no)
- // cond:
// result: (First nil yes no)
for v.Op == Op386FlagLT_ULT {
b.Kind = BlockFirst
@@ -25885,7 +23112,6 @@ func rewriteBlock386(b *Block) bool {
return true
}
// match: (ULE (FlagLT_UGT) yes no)
- // cond:
// result: (First nil no yes)
for v.Op == Op386FlagLT_UGT {
b.Kind = BlockFirst
@@ -25895,7 +23121,6 @@ func rewriteBlock386(b *Block) bool {
return true
}
// match: (ULE (FlagGT_ULT) yes no)
- // cond:
// result: (First nil yes no)
for v.Op == Op386FlagGT_ULT {
b.Kind = BlockFirst
@@ -25904,7 +23129,6 @@ func rewriteBlock386(b *Block) bool {
return true
}
// match: (ULE (FlagGT_UGT) yes no)
- // cond:
// result: (First nil no yes)
for v.Op == Op386FlagGT_UGT {
b.Kind = BlockFirst
@@ -25915,7 +23139,6 @@ func rewriteBlock386(b *Block) bool {
}
case Block386ULT:
// match: (ULT (InvertFlags cmp) yes no)
- // cond:
// result: (UGT cmp yes no)
for v.Op == Op386InvertFlags {
cmp := v.Args[0]
@@ -25925,7 +23148,6 @@ func rewriteBlock386(b *Block) bool {
return true
}
// match: (ULT (FlagEQ) yes no)
- // cond:
// result: (First nil no yes)
for v.Op == Op386FlagEQ {
b.Kind = BlockFirst
@@ -25935,7 +23157,6 @@ func rewriteBlock386(b *Block) bool {
return true
}
// match: (ULT (FlagLT_ULT) yes no)
- // cond:
// result: (First nil yes no)
for v.Op == Op386FlagLT_ULT {
b.Kind = BlockFirst
@@ -25944,7 +23165,6 @@ func rewriteBlock386(b *Block) bool {
return true
}
// match: (ULT (FlagLT_UGT) yes no)
- // cond:
// result: (First nil no yes)
for v.Op == Op386FlagLT_UGT {
b.Kind = BlockFirst
@@ -25954,7 +23174,6 @@ func rewriteBlock386(b *Block) bool {
return true
}
// match: (ULT (FlagGT_ULT) yes no)
- // cond:
// result: (First nil yes no)
for v.Op == Op386FlagGT_ULT {
b.Kind = BlockFirst
@@ -25963,7 +23182,6 @@ func rewriteBlock386(b *Block) bool {
return true
}
// match: (ULT (FlagGT_UGT) yes no)
- // cond:
// result: (First nil no yes)
for v.Op == Op386FlagGT_UGT {
b.Kind = BlockFirst