1
0
mirror of https://github.com/golang/go synced 2024-11-23 07:00:05 -07:00

cmd/compile: regenerate rewrite rules

Change-Id: I7e921b7b4665ff76dc8bae493b2a49318690770b
Reviewed-on: https://go-review.googlesource.com/c/go/+/168637
Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Michael Munday <mike.munday@ibm.com>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
Josh Bleecher Snyder 2019-03-21 09:16:56 -07:00
parent 7ae8e53de2
commit 700e969d5b
10 changed files with 50 additions and 128 deletions

View File

@ -22907,10 +22907,9 @@ func rewriteValue386_OpPanicBounds_0(v *Value) bool {
// result: (LoweredPanicBoundsA [kind] x y mem) // result: (LoweredPanicBoundsA [kind] x y mem)
for { for {
kind := v.AuxInt kind := v.AuxInt
_ = v.Args[2] mem := v.Args[2]
x := v.Args[0] x := v.Args[0]
y := v.Args[1] y := v.Args[1]
mem := v.Args[2]
if !(boundsABI(kind) == 0) { if !(boundsABI(kind) == 0) {
break break
} }
@ -22926,10 +22925,9 @@ func rewriteValue386_OpPanicBounds_0(v *Value) bool {
// result: (LoweredPanicBoundsB [kind] x y mem) // result: (LoweredPanicBoundsB [kind] x y mem)
for { for {
kind := v.AuxInt kind := v.AuxInt
_ = v.Args[2] mem := v.Args[2]
x := v.Args[0] x := v.Args[0]
y := v.Args[1] y := v.Args[1]
mem := v.Args[2]
if !(boundsABI(kind) == 1) { if !(boundsABI(kind) == 1) {
break break
} }
@ -22945,10 +22943,9 @@ func rewriteValue386_OpPanicBounds_0(v *Value) bool {
// result: (LoweredPanicBoundsC [kind] x y mem) // result: (LoweredPanicBoundsC [kind] x y mem)
for { for {
kind := v.AuxInt kind := v.AuxInt
_ = v.Args[2] mem := v.Args[2]
x := v.Args[0] x := v.Args[0]
y := v.Args[1] y := v.Args[1]
mem := v.Args[2]
if !(boundsABI(kind) == 2) { if !(boundsABI(kind) == 2) {
break break
} }
@ -22967,11 +22964,10 @@ func rewriteValue386_OpPanicExtend_0(v *Value) bool {
// result: (LoweredPanicExtendA [kind] hi lo y mem) // result: (LoweredPanicExtendA [kind] hi lo y mem)
for { for {
kind := v.AuxInt kind := v.AuxInt
_ = v.Args[3] mem := v.Args[3]
hi := v.Args[0] hi := v.Args[0]
lo := v.Args[1] lo := v.Args[1]
y := v.Args[2] y := v.Args[2]
mem := v.Args[3]
if !(boundsABI(kind) == 0) { if !(boundsABI(kind) == 0) {
break break
} }
@ -22988,11 +22984,10 @@ func rewriteValue386_OpPanicExtend_0(v *Value) bool {
// result: (LoweredPanicExtendB [kind] hi lo y mem) // result: (LoweredPanicExtendB [kind] hi lo y mem)
for { for {
kind := v.AuxInt kind := v.AuxInt
_ = v.Args[3] mem := v.Args[3]
hi := v.Args[0] hi := v.Args[0]
lo := v.Args[1] lo := v.Args[1]
y := v.Args[2] y := v.Args[2]
mem := v.Args[3]
if !(boundsABI(kind) == 1) { if !(boundsABI(kind) == 1) {
break break
} }
@ -23009,11 +23004,10 @@ func rewriteValue386_OpPanicExtend_0(v *Value) bool {
// result: (LoweredPanicExtendC [kind] hi lo y mem) // result: (LoweredPanicExtendC [kind] hi lo y mem)
for { for {
kind := v.AuxInt kind := v.AuxInt
_ = v.Args[3] mem := v.Args[3]
hi := v.Args[0] hi := v.Args[0]
lo := v.Args[1] lo := v.Args[1]
y := v.Args[2] y := v.Args[2]
mem := v.Args[3]
if !(boundsABI(kind) == 2) { if !(boundsABI(kind) == 2) {
break break
} }

View File

@ -34,18 +34,15 @@ func rewriteValue386splitload(v *Value) bool {
} }
func rewriteValue386splitload_Op386CMPBconstload_0(v *Value) bool { func rewriteValue386splitload_Op386CMPBconstload_0(v *Value) bool {
b := v.Block b := v.Block
_ = b
typ := &b.Func.Config.Types typ := &b.Func.Config.Types
_ = typ
// match: (CMPBconstload {sym} [vo] ptr mem) // match: (CMPBconstload {sym} [vo] ptr mem)
// cond: // cond:
// result: (CMPBconst (MOVBload {sym} [offOnly(vo)] ptr mem) [valOnly(vo)]) // result: (CMPBconst (MOVBload {sym} [offOnly(vo)] ptr mem) [valOnly(vo)])
for { for {
vo := v.AuxInt vo := v.AuxInt
sym := v.Aux sym := v.Aux
_ = v.Args[1]
ptr := v.Args[0]
mem := v.Args[1] mem := v.Args[1]
ptr := v.Args[0]
v.reset(Op386CMPBconst) v.reset(Op386CMPBconst)
v.AuxInt = valOnly(vo) v.AuxInt = valOnly(vo)
v0 := b.NewValue0(v.Pos, Op386MOVBload, typ.UInt8) v0 := b.NewValue0(v.Pos, Op386MOVBload, typ.UInt8)
@ -59,19 +56,16 @@ func rewriteValue386splitload_Op386CMPBconstload_0(v *Value) bool {
} }
func rewriteValue386splitload_Op386CMPBload_0(v *Value) bool { func rewriteValue386splitload_Op386CMPBload_0(v *Value) bool {
b := v.Block b := v.Block
_ = b
typ := &b.Func.Config.Types typ := &b.Func.Config.Types
_ = typ
// match: (CMPBload {sym} [off] ptr x mem) // match: (CMPBload {sym} [off] ptr x mem)
// cond: // cond:
// result: (CMPB (MOVBload {sym} [off] ptr mem) x) // result: (CMPB (MOVBload {sym} [off] ptr mem) x)
for { for {
off := v.AuxInt off := v.AuxInt
sym := v.Aux sym := v.Aux
_ = v.Args[2] mem := v.Args[2]
ptr := v.Args[0] ptr := v.Args[0]
x := v.Args[1] x := v.Args[1]
mem := v.Args[2]
v.reset(Op386CMPB) v.reset(Op386CMPB)
v0 := b.NewValue0(v.Pos, Op386MOVBload, typ.UInt8) v0 := b.NewValue0(v.Pos, Op386MOVBload, typ.UInt8)
v0.AuxInt = off v0.AuxInt = off
@ -85,18 +79,15 @@ func rewriteValue386splitload_Op386CMPBload_0(v *Value) bool {
} }
func rewriteValue386splitload_Op386CMPLconstload_0(v *Value) bool { func rewriteValue386splitload_Op386CMPLconstload_0(v *Value) bool {
b := v.Block b := v.Block
_ = b
typ := &b.Func.Config.Types typ := &b.Func.Config.Types
_ = typ
// match: (CMPLconstload {sym} [vo] ptr mem) // match: (CMPLconstload {sym} [vo] ptr mem)
// cond: // cond:
// result: (CMPLconst (MOVLload {sym} [offOnly(vo)] ptr mem) [valOnly(vo)]) // result: (CMPLconst (MOVLload {sym} [offOnly(vo)] ptr mem) [valOnly(vo)])
for { for {
vo := v.AuxInt vo := v.AuxInt
sym := v.Aux sym := v.Aux
_ = v.Args[1]
ptr := v.Args[0]
mem := v.Args[1] mem := v.Args[1]
ptr := v.Args[0]
v.reset(Op386CMPLconst) v.reset(Op386CMPLconst)
v.AuxInt = valOnly(vo) v.AuxInt = valOnly(vo)
v0 := b.NewValue0(v.Pos, Op386MOVLload, typ.UInt32) v0 := b.NewValue0(v.Pos, Op386MOVLload, typ.UInt32)
@ -110,19 +101,16 @@ func rewriteValue386splitload_Op386CMPLconstload_0(v *Value) bool {
} }
func rewriteValue386splitload_Op386CMPLload_0(v *Value) bool { func rewriteValue386splitload_Op386CMPLload_0(v *Value) bool {
b := v.Block b := v.Block
_ = b
typ := &b.Func.Config.Types typ := &b.Func.Config.Types
_ = typ
// match: (CMPLload {sym} [off] ptr x mem) // match: (CMPLload {sym} [off] ptr x mem)
// cond: // cond:
// result: (CMPL (MOVLload {sym} [off] ptr mem) x) // result: (CMPL (MOVLload {sym} [off] ptr mem) x)
for { for {
off := v.AuxInt off := v.AuxInt
sym := v.Aux sym := v.Aux
_ = v.Args[2] mem := v.Args[2]
ptr := v.Args[0] ptr := v.Args[0]
x := v.Args[1] x := v.Args[1]
mem := v.Args[2]
v.reset(Op386CMPL) v.reset(Op386CMPL)
v0 := b.NewValue0(v.Pos, Op386MOVLload, typ.UInt32) v0 := b.NewValue0(v.Pos, Op386MOVLload, typ.UInt32)
v0.AuxInt = off v0.AuxInt = off
@ -136,18 +124,15 @@ func rewriteValue386splitload_Op386CMPLload_0(v *Value) bool {
} }
func rewriteValue386splitload_Op386CMPWconstload_0(v *Value) bool { func rewriteValue386splitload_Op386CMPWconstload_0(v *Value) bool {
b := v.Block b := v.Block
_ = b
typ := &b.Func.Config.Types typ := &b.Func.Config.Types
_ = typ
// match: (CMPWconstload {sym} [vo] ptr mem) // match: (CMPWconstload {sym} [vo] ptr mem)
// cond: // cond:
// result: (CMPWconst (MOVWload {sym} [offOnly(vo)] ptr mem) [valOnly(vo)]) // result: (CMPWconst (MOVWload {sym} [offOnly(vo)] ptr mem) [valOnly(vo)])
for { for {
vo := v.AuxInt vo := v.AuxInt
sym := v.Aux sym := v.Aux
_ = v.Args[1]
ptr := v.Args[0]
mem := v.Args[1] mem := v.Args[1]
ptr := v.Args[0]
v.reset(Op386CMPWconst) v.reset(Op386CMPWconst)
v.AuxInt = valOnly(vo) v.AuxInt = valOnly(vo)
v0 := b.NewValue0(v.Pos, Op386MOVWload, typ.UInt16) v0 := b.NewValue0(v.Pos, Op386MOVWload, typ.UInt16)
@ -161,19 +146,16 @@ func rewriteValue386splitload_Op386CMPWconstload_0(v *Value) bool {
} }
func rewriteValue386splitload_Op386CMPWload_0(v *Value) bool { func rewriteValue386splitload_Op386CMPWload_0(v *Value) bool {
b := v.Block b := v.Block
_ = b
typ := &b.Func.Config.Types typ := &b.Func.Config.Types
_ = typ
// match: (CMPWload {sym} [off] ptr x mem) // match: (CMPWload {sym} [off] ptr x mem)
// cond: // cond:
// result: (CMPW (MOVWload {sym} [off] ptr mem) x) // result: (CMPW (MOVWload {sym} [off] ptr mem) x)
for { for {
off := v.AuxInt off := v.AuxInt
sym := v.Aux sym := v.Aux
_ = v.Args[2] mem := v.Args[2]
ptr := v.Args[0] ptr := v.Args[0]
x := v.Args[1] x := v.Args[1]
mem := v.Args[2]
v.reset(Op386CMPW) v.reset(Op386CMPW)
v0 := b.NewValue0(v.Pos, Op386MOVWload, typ.UInt16) v0 := b.NewValue0(v.Pos, Op386MOVWload, typ.UInt16)
v0.AuxInt = off v0.AuxInt = off

View File

@ -61719,10 +61719,9 @@ func rewriteValueAMD64_OpPanicBounds_0(v *Value) bool {
// result: (LoweredPanicBoundsA [kind] x y mem) // result: (LoweredPanicBoundsA [kind] x y mem)
for { for {
kind := v.AuxInt kind := v.AuxInt
_ = v.Args[2] mem := v.Args[2]
x := v.Args[0] x := v.Args[0]
y := v.Args[1] y := v.Args[1]
mem := v.Args[2]
if !(boundsABI(kind) == 0) { if !(boundsABI(kind) == 0) {
break break
} }
@ -61738,10 +61737,9 @@ func rewriteValueAMD64_OpPanicBounds_0(v *Value) bool {
// result: (LoweredPanicBoundsB [kind] x y mem) // result: (LoweredPanicBoundsB [kind] x y mem)
for { for {
kind := v.AuxInt kind := v.AuxInt
_ = v.Args[2] mem := v.Args[2]
x := v.Args[0] x := v.Args[0]
y := v.Args[1] y := v.Args[1]
mem := v.Args[2]
if !(boundsABI(kind) == 1) { if !(boundsABI(kind) == 1) {
break break
} }
@ -61757,10 +61755,9 @@ func rewriteValueAMD64_OpPanicBounds_0(v *Value) bool {
// result: (LoweredPanicBoundsC [kind] x y mem) // result: (LoweredPanicBoundsC [kind] x y mem)
for { for {
kind := v.AuxInt kind := v.AuxInt
_ = v.Args[2] mem := v.Args[2]
x := v.Args[0] x := v.Args[0]
y := v.Args[1] y := v.Args[1]
mem := v.Args[2]
if !(boundsABI(kind) == 2) { if !(boundsABI(kind) == 2) {
break break
} }
@ -61779,11 +61776,10 @@ func rewriteValueAMD64_OpPanicExtend_0(v *Value) bool {
// result: (LoweredPanicExtendA [kind] hi lo y mem) // result: (LoweredPanicExtendA [kind] hi lo y mem)
for { for {
kind := v.AuxInt kind := v.AuxInt
_ = v.Args[3] mem := v.Args[3]
hi := v.Args[0] hi := v.Args[0]
lo := v.Args[1] lo := v.Args[1]
y := v.Args[2] y := v.Args[2]
mem := v.Args[3]
if !(boundsABI(kind) == 0) { if !(boundsABI(kind) == 0) {
break break
} }
@ -61800,11 +61796,10 @@ func rewriteValueAMD64_OpPanicExtend_0(v *Value) bool {
// result: (LoweredPanicExtendB [kind] hi lo y mem) // result: (LoweredPanicExtendB [kind] hi lo y mem)
for { for {
kind := v.AuxInt kind := v.AuxInt
_ = v.Args[3] mem := v.Args[3]
hi := v.Args[0] hi := v.Args[0]
lo := v.Args[1] lo := v.Args[1]
y := v.Args[2] y := v.Args[2]
mem := v.Args[3]
if !(boundsABI(kind) == 1) { if !(boundsABI(kind) == 1) {
break break
} }
@ -61821,11 +61816,10 @@ func rewriteValueAMD64_OpPanicExtend_0(v *Value) bool {
// result: (LoweredPanicExtendC [kind] hi lo y mem) // result: (LoweredPanicExtendC [kind] hi lo y mem)
for { for {
kind := v.AuxInt kind := v.AuxInt
_ = v.Args[3] mem := v.Args[3]
hi := v.Args[0] hi := v.Args[0]
lo := v.Args[1] lo := v.Args[1]
y := v.Args[2] y := v.Args[2]
mem := v.Args[3]
if !(boundsABI(kind) == 2) { if !(boundsABI(kind) == 2) {
break break
} }

View File

@ -38,18 +38,15 @@ func rewriteValueAMD64splitload(v *Value) bool {
} }
func rewriteValueAMD64splitload_OpAMD64CMPBconstload_0(v *Value) bool { func rewriteValueAMD64splitload_OpAMD64CMPBconstload_0(v *Value) bool {
b := v.Block b := v.Block
_ = b
typ := &b.Func.Config.Types typ := &b.Func.Config.Types
_ = typ
// match: (CMPBconstload {sym} [vo] ptr mem) // match: (CMPBconstload {sym} [vo] ptr mem)
// cond: // cond:
// result: (CMPBconst (MOVBload {sym} [offOnly(vo)] ptr mem) [valOnly(vo)]) // result: (CMPBconst (MOVBload {sym} [offOnly(vo)] ptr mem) [valOnly(vo)])
for { for {
vo := v.AuxInt vo := v.AuxInt
sym := v.Aux sym := v.Aux
_ = v.Args[1]
ptr := v.Args[0]
mem := v.Args[1] mem := v.Args[1]
ptr := v.Args[0]
v.reset(OpAMD64CMPBconst) v.reset(OpAMD64CMPBconst)
v.AuxInt = valOnly(vo) v.AuxInt = valOnly(vo)
v0 := b.NewValue0(v.Pos, OpAMD64MOVBload, typ.UInt8) v0 := b.NewValue0(v.Pos, OpAMD64MOVBload, typ.UInt8)
@ -63,19 +60,16 @@ func rewriteValueAMD64splitload_OpAMD64CMPBconstload_0(v *Value) bool {
} }
func rewriteValueAMD64splitload_OpAMD64CMPBload_0(v *Value) bool { func rewriteValueAMD64splitload_OpAMD64CMPBload_0(v *Value) bool {
b := v.Block b := v.Block
_ = b
typ := &b.Func.Config.Types typ := &b.Func.Config.Types
_ = typ
// match: (CMPBload {sym} [off] ptr x mem) // match: (CMPBload {sym} [off] ptr x mem)
// cond: // cond:
// result: (CMPB (MOVBload {sym} [off] ptr mem) x) // result: (CMPB (MOVBload {sym} [off] ptr mem) x)
for { for {
off := v.AuxInt off := v.AuxInt
sym := v.Aux sym := v.Aux
_ = v.Args[2] mem := v.Args[2]
ptr := v.Args[0] ptr := v.Args[0]
x := v.Args[1] x := v.Args[1]
mem := v.Args[2]
v.reset(OpAMD64CMPB) v.reset(OpAMD64CMPB)
v0 := b.NewValue0(v.Pos, OpAMD64MOVBload, typ.UInt8) v0 := b.NewValue0(v.Pos, OpAMD64MOVBload, typ.UInt8)
v0.AuxInt = off v0.AuxInt = off
@ -89,18 +83,15 @@ func rewriteValueAMD64splitload_OpAMD64CMPBload_0(v *Value) bool {
} }
func rewriteValueAMD64splitload_OpAMD64CMPLconstload_0(v *Value) bool { func rewriteValueAMD64splitload_OpAMD64CMPLconstload_0(v *Value) bool {
b := v.Block b := v.Block
_ = b
typ := &b.Func.Config.Types typ := &b.Func.Config.Types
_ = typ
// match: (CMPLconstload {sym} [vo] ptr mem) // match: (CMPLconstload {sym} [vo] ptr mem)
// cond: // cond:
// result: (CMPLconst (MOVLload {sym} [offOnly(vo)] ptr mem) [valOnly(vo)]) // result: (CMPLconst (MOVLload {sym} [offOnly(vo)] ptr mem) [valOnly(vo)])
for { for {
vo := v.AuxInt vo := v.AuxInt
sym := v.Aux sym := v.Aux
_ = v.Args[1]
ptr := v.Args[0]
mem := v.Args[1] mem := v.Args[1]
ptr := v.Args[0]
v.reset(OpAMD64CMPLconst) v.reset(OpAMD64CMPLconst)
v.AuxInt = valOnly(vo) v.AuxInt = valOnly(vo)
v0 := b.NewValue0(v.Pos, OpAMD64MOVLload, typ.UInt32) v0 := b.NewValue0(v.Pos, OpAMD64MOVLload, typ.UInt32)
@ -114,19 +105,16 @@ func rewriteValueAMD64splitload_OpAMD64CMPLconstload_0(v *Value) bool {
} }
func rewriteValueAMD64splitload_OpAMD64CMPLload_0(v *Value) bool { func rewriteValueAMD64splitload_OpAMD64CMPLload_0(v *Value) bool {
b := v.Block b := v.Block
_ = b
typ := &b.Func.Config.Types typ := &b.Func.Config.Types
_ = typ
// match: (CMPLload {sym} [off] ptr x mem) // match: (CMPLload {sym} [off] ptr x mem)
// cond: // cond:
// result: (CMPL (MOVLload {sym} [off] ptr mem) x) // result: (CMPL (MOVLload {sym} [off] ptr mem) x)
for { for {
off := v.AuxInt off := v.AuxInt
sym := v.Aux sym := v.Aux
_ = v.Args[2] mem := v.Args[2]
ptr := v.Args[0] ptr := v.Args[0]
x := v.Args[1] x := v.Args[1]
mem := v.Args[2]
v.reset(OpAMD64CMPL) v.reset(OpAMD64CMPL)
v0 := b.NewValue0(v.Pos, OpAMD64MOVLload, typ.UInt32) v0 := b.NewValue0(v.Pos, OpAMD64MOVLload, typ.UInt32)
v0.AuxInt = off v0.AuxInt = off
@ -140,18 +128,15 @@ func rewriteValueAMD64splitload_OpAMD64CMPLload_0(v *Value) bool {
} }
func rewriteValueAMD64splitload_OpAMD64CMPQconstload_0(v *Value) bool { func rewriteValueAMD64splitload_OpAMD64CMPQconstload_0(v *Value) bool {
b := v.Block b := v.Block
_ = b
typ := &b.Func.Config.Types typ := &b.Func.Config.Types
_ = typ
// match: (CMPQconstload {sym} [vo] ptr mem) // match: (CMPQconstload {sym} [vo] ptr mem)
// cond: // cond:
// result: (CMPQconst (MOVQload {sym} [offOnly(vo)] ptr mem) [valOnly(vo)]) // result: (CMPQconst (MOVQload {sym} [offOnly(vo)] ptr mem) [valOnly(vo)])
for { for {
vo := v.AuxInt vo := v.AuxInt
sym := v.Aux sym := v.Aux
_ = v.Args[1]
ptr := v.Args[0]
mem := v.Args[1] mem := v.Args[1]
ptr := v.Args[0]
v.reset(OpAMD64CMPQconst) v.reset(OpAMD64CMPQconst)
v.AuxInt = valOnly(vo) v.AuxInt = valOnly(vo)
v0 := b.NewValue0(v.Pos, OpAMD64MOVQload, typ.UInt64) v0 := b.NewValue0(v.Pos, OpAMD64MOVQload, typ.UInt64)
@ -165,19 +150,16 @@ func rewriteValueAMD64splitload_OpAMD64CMPQconstload_0(v *Value) bool {
} }
func rewriteValueAMD64splitload_OpAMD64CMPQload_0(v *Value) bool { func rewriteValueAMD64splitload_OpAMD64CMPQload_0(v *Value) bool {
b := v.Block b := v.Block
_ = b
typ := &b.Func.Config.Types typ := &b.Func.Config.Types
_ = typ
// match: (CMPQload {sym} [off] ptr x mem) // match: (CMPQload {sym} [off] ptr x mem)
// cond: // cond:
// result: (CMPQ (MOVQload {sym} [off] ptr mem) x) // result: (CMPQ (MOVQload {sym} [off] ptr mem) x)
for { for {
off := v.AuxInt off := v.AuxInt
sym := v.Aux sym := v.Aux
_ = v.Args[2] mem := v.Args[2]
ptr := v.Args[0] ptr := v.Args[0]
x := v.Args[1] x := v.Args[1]
mem := v.Args[2]
v.reset(OpAMD64CMPQ) v.reset(OpAMD64CMPQ)
v0 := b.NewValue0(v.Pos, OpAMD64MOVQload, typ.UInt64) v0 := b.NewValue0(v.Pos, OpAMD64MOVQload, typ.UInt64)
v0.AuxInt = off v0.AuxInt = off
@ -191,18 +173,15 @@ func rewriteValueAMD64splitload_OpAMD64CMPQload_0(v *Value) bool {
} }
func rewriteValueAMD64splitload_OpAMD64CMPWconstload_0(v *Value) bool { func rewriteValueAMD64splitload_OpAMD64CMPWconstload_0(v *Value) bool {
b := v.Block b := v.Block
_ = b
typ := &b.Func.Config.Types typ := &b.Func.Config.Types
_ = typ
// match: (CMPWconstload {sym} [vo] ptr mem) // match: (CMPWconstload {sym} [vo] ptr mem)
// cond: // cond:
// result: (CMPWconst (MOVWload {sym} [offOnly(vo)] ptr mem) [valOnly(vo)]) // result: (CMPWconst (MOVWload {sym} [offOnly(vo)] ptr mem) [valOnly(vo)])
for { for {
vo := v.AuxInt vo := v.AuxInt
sym := v.Aux sym := v.Aux
_ = v.Args[1]
ptr := v.Args[0]
mem := v.Args[1] mem := v.Args[1]
ptr := v.Args[0]
v.reset(OpAMD64CMPWconst) v.reset(OpAMD64CMPWconst)
v.AuxInt = valOnly(vo) v.AuxInt = valOnly(vo)
v0 := b.NewValue0(v.Pos, OpAMD64MOVWload, typ.UInt16) v0 := b.NewValue0(v.Pos, OpAMD64MOVWload, typ.UInt16)
@ -216,19 +195,16 @@ func rewriteValueAMD64splitload_OpAMD64CMPWconstload_0(v *Value) bool {
} }
func rewriteValueAMD64splitload_OpAMD64CMPWload_0(v *Value) bool { func rewriteValueAMD64splitload_OpAMD64CMPWload_0(v *Value) bool {
b := v.Block b := v.Block
_ = b
typ := &b.Func.Config.Types typ := &b.Func.Config.Types
_ = typ
// match: (CMPWload {sym} [off] ptr x mem) // match: (CMPWload {sym} [off] ptr x mem)
// cond: // cond:
// result: (CMPW (MOVWload {sym} [off] ptr mem) x) // result: (CMPW (MOVWload {sym} [off] ptr mem) x)
for { for {
off := v.AuxInt off := v.AuxInt
sym := v.Aux sym := v.Aux
_ = v.Args[2] mem := v.Args[2]
ptr := v.Args[0] ptr := v.Args[0]
x := v.Args[1] x := v.Args[1]
mem := v.Args[2]
v.reset(OpAMD64CMPW) v.reset(OpAMD64CMPW)
v0 := b.NewValue0(v.Pos, OpAMD64MOVWload, typ.UInt16) v0 := b.NewValue0(v.Pos, OpAMD64MOVWload, typ.UInt16)
v0.AuxInt = off v0.AuxInt = off

View File

@ -20085,10 +20085,9 @@ func rewriteValueARM_OpPanicBounds_0(v *Value) bool {
// result: (LoweredPanicBoundsA [kind] x y mem) // result: (LoweredPanicBoundsA [kind] x y mem)
for { for {
kind := v.AuxInt kind := v.AuxInt
_ = v.Args[2] mem := v.Args[2]
x := v.Args[0] x := v.Args[0]
y := v.Args[1] y := v.Args[1]
mem := v.Args[2]
if !(boundsABI(kind) == 0) { if !(boundsABI(kind) == 0) {
break break
} }
@ -20104,10 +20103,9 @@ func rewriteValueARM_OpPanicBounds_0(v *Value) bool {
// result: (LoweredPanicBoundsB [kind] x y mem) // result: (LoweredPanicBoundsB [kind] x y mem)
for { for {
kind := v.AuxInt kind := v.AuxInt
_ = v.Args[2] mem := v.Args[2]
x := v.Args[0] x := v.Args[0]
y := v.Args[1] y := v.Args[1]
mem := v.Args[2]
if !(boundsABI(kind) == 1) { if !(boundsABI(kind) == 1) {
break break
} }
@ -20123,10 +20121,9 @@ func rewriteValueARM_OpPanicBounds_0(v *Value) bool {
// result: (LoweredPanicBoundsC [kind] x y mem) // result: (LoweredPanicBoundsC [kind] x y mem)
for { for {
kind := v.AuxInt kind := v.AuxInt
_ = v.Args[2] mem := v.Args[2]
x := v.Args[0] x := v.Args[0]
y := v.Args[1] y := v.Args[1]
mem := v.Args[2]
if !(boundsABI(kind) == 2) { if !(boundsABI(kind) == 2) {
break break
} }
@ -20145,11 +20142,10 @@ func rewriteValueARM_OpPanicExtend_0(v *Value) bool {
// result: (LoweredPanicExtendA [kind] hi lo y mem) // result: (LoweredPanicExtendA [kind] hi lo y mem)
for { for {
kind := v.AuxInt kind := v.AuxInt
_ = v.Args[3] mem := v.Args[3]
hi := v.Args[0] hi := v.Args[0]
lo := v.Args[1] lo := v.Args[1]
y := v.Args[2] y := v.Args[2]
mem := v.Args[3]
if !(boundsABI(kind) == 0) { if !(boundsABI(kind) == 0) {
break break
} }
@ -20166,11 +20162,10 @@ func rewriteValueARM_OpPanicExtend_0(v *Value) bool {
// result: (LoweredPanicExtendB [kind] hi lo y mem) // result: (LoweredPanicExtendB [kind] hi lo y mem)
for { for {
kind := v.AuxInt kind := v.AuxInt
_ = v.Args[3] mem := v.Args[3]
hi := v.Args[0] hi := v.Args[0]
lo := v.Args[1] lo := v.Args[1]
y := v.Args[2] y := v.Args[2]
mem := v.Args[3]
if !(boundsABI(kind) == 1) { if !(boundsABI(kind) == 1) {
break break
} }
@ -20187,11 +20182,10 @@ func rewriteValueARM_OpPanicExtend_0(v *Value) bool {
// result: (LoweredPanicExtendC [kind] hi lo y mem) // result: (LoweredPanicExtendC [kind] hi lo y mem)
for { for {
kind := v.AuxInt kind := v.AuxInt
_ = v.Args[3] mem := v.Args[3]
hi := v.Args[0] hi := v.Args[0]
lo := v.Args[1] lo := v.Args[1]
y := v.Args[2] y := v.Args[2]
mem := v.Args[3]
if !(boundsABI(kind) == 2) { if !(boundsABI(kind) == 2) {
break break
} }

View File

@ -35685,10 +35685,9 @@ func rewriteValueARM64_OpPanicBounds_0(v *Value) bool {
// result: (LoweredPanicBoundsA [kind] x y mem) // result: (LoweredPanicBoundsA [kind] x y mem)
for { for {
kind := v.AuxInt kind := v.AuxInt
_ = v.Args[2] mem := v.Args[2]
x := v.Args[0] x := v.Args[0]
y := v.Args[1] y := v.Args[1]
mem := v.Args[2]
if !(boundsABI(kind) == 0) { if !(boundsABI(kind) == 0) {
break break
} }
@ -35704,10 +35703,9 @@ func rewriteValueARM64_OpPanicBounds_0(v *Value) bool {
// result: (LoweredPanicBoundsB [kind] x y mem) // result: (LoweredPanicBoundsB [kind] x y mem)
for { for {
kind := v.AuxInt kind := v.AuxInt
_ = v.Args[2] mem := v.Args[2]
x := v.Args[0] x := v.Args[0]
y := v.Args[1] y := v.Args[1]
mem := v.Args[2]
if !(boundsABI(kind) == 1) { if !(boundsABI(kind) == 1) {
break break
} }
@ -35723,10 +35721,9 @@ func rewriteValueARM64_OpPanicBounds_0(v *Value) bool {
// result: (LoweredPanicBoundsC [kind] x y mem) // result: (LoweredPanicBoundsC [kind] x y mem)
for { for {
kind := v.AuxInt kind := v.AuxInt
_ = v.Args[2] mem := v.Args[2]
x := v.Args[0] x := v.Args[0]
y := v.Args[1] y := v.Args[1]
mem := v.Args[2]
if !(boundsABI(kind) == 2) { if !(boundsABI(kind) == 2) {
break break
} }

View File

@ -6985,10 +6985,9 @@ func rewriteValueMIPS_OpPanicBounds_0(v *Value) bool {
// result: (LoweredPanicBoundsA [kind] x y mem) // result: (LoweredPanicBoundsA [kind] x y mem)
for { for {
kind := v.AuxInt kind := v.AuxInt
_ = v.Args[2] mem := v.Args[2]
x := v.Args[0] x := v.Args[0]
y := v.Args[1] y := v.Args[1]
mem := v.Args[2]
if !(boundsABI(kind) == 0) { if !(boundsABI(kind) == 0) {
break break
} }
@ -7004,10 +7003,9 @@ func rewriteValueMIPS_OpPanicBounds_0(v *Value) bool {
// result: (LoweredPanicBoundsB [kind] x y mem) // result: (LoweredPanicBoundsB [kind] x y mem)
for { for {
kind := v.AuxInt kind := v.AuxInt
_ = v.Args[2] mem := v.Args[2]
x := v.Args[0] x := v.Args[0]
y := v.Args[1] y := v.Args[1]
mem := v.Args[2]
if !(boundsABI(kind) == 1) { if !(boundsABI(kind) == 1) {
break break
} }
@ -7023,10 +7021,9 @@ func rewriteValueMIPS_OpPanicBounds_0(v *Value) bool {
// result: (LoweredPanicBoundsC [kind] x y mem) // result: (LoweredPanicBoundsC [kind] x y mem)
for { for {
kind := v.AuxInt kind := v.AuxInt
_ = v.Args[2] mem := v.Args[2]
x := v.Args[0] x := v.Args[0]
y := v.Args[1] y := v.Args[1]
mem := v.Args[2]
if !(boundsABI(kind) == 2) { if !(boundsABI(kind) == 2) {
break break
} }
@ -7045,11 +7042,10 @@ func rewriteValueMIPS_OpPanicExtend_0(v *Value) bool {
// result: (LoweredPanicExtendA [kind] hi lo y mem) // result: (LoweredPanicExtendA [kind] hi lo y mem)
for { for {
kind := v.AuxInt kind := v.AuxInt
_ = v.Args[3] mem := v.Args[3]
hi := v.Args[0] hi := v.Args[0]
lo := v.Args[1] lo := v.Args[1]
y := v.Args[2] y := v.Args[2]
mem := v.Args[3]
if !(boundsABI(kind) == 0) { if !(boundsABI(kind) == 0) {
break break
} }
@ -7066,11 +7062,10 @@ func rewriteValueMIPS_OpPanicExtend_0(v *Value) bool {
// result: (LoweredPanicExtendB [kind] hi lo y mem) // result: (LoweredPanicExtendB [kind] hi lo y mem)
for { for {
kind := v.AuxInt kind := v.AuxInt
_ = v.Args[3] mem := v.Args[3]
hi := v.Args[0] hi := v.Args[0]
lo := v.Args[1] lo := v.Args[1]
y := v.Args[2] y := v.Args[2]
mem := v.Args[3]
if !(boundsABI(kind) == 1) { if !(boundsABI(kind) == 1) {
break break
} }
@ -7087,11 +7082,10 @@ func rewriteValueMIPS_OpPanicExtend_0(v *Value) bool {
// result: (LoweredPanicExtendC [kind] hi lo y mem) // result: (LoweredPanicExtendC [kind] hi lo y mem)
for { for {
kind := v.AuxInt kind := v.AuxInt
_ = v.Args[3] mem := v.Args[3]
hi := v.Args[0] hi := v.Args[0]
lo := v.Args[1] lo := v.Args[1]
y := v.Args[2] y := v.Args[2]
mem := v.Args[3]
if !(boundsABI(kind) == 2) { if !(boundsABI(kind) == 2) {
break break
} }

View File

@ -7420,10 +7420,9 @@ func rewriteValueMIPS64_OpPanicBounds_0(v *Value) bool {
// result: (LoweredPanicBoundsA [kind] x y mem) // result: (LoweredPanicBoundsA [kind] x y mem)
for { for {
kind := v.AuxInt kind := v.AuxInt
_ = v.Args[2] mem := v.Args[2]
x := v.Args[0] x := v.Args[0]
y := v.Args[1] y := v.Args[1]
mem := v.Args[2]
if !(boundsABI(kind) == 0) { if !(boundsABI(kind) == 0) {
break break
} }
@ -7439,10 +7438,9 @@ func rewriteValueMIPS64_OpPanicBounds_0(v *Value) bool {
// result: (LoweredPanicBoundsB [kind] x y mem) // result: (LoweredPanicBoundsB [kind] x y mem)
for { for {
kind := v.AuxInt kind := v.AuxInt
_ = v.Args[2] mem := v.Args[2]
x := v.Args[0] x := v.Args[0]
y := v.Args[1] y := v.Args[1]
mem := v.Args[2]
if !(boundsABI(kind) == 1) { if !(boundsABI(kind) == 1) {
break break
} }
@ -7458,10 +7456,9 @@ func rewriteValueMIPS64_OpPanicBounds_0(v *Value) bool {
// result: (LoweredPanicBoundsC [kind] x y mem) // result: (LoweredPanicBoundsC [kind] x y mem)
for { for {
kind := v.AuxInt kind := v.AuxInt
_ = v.Args[2] mem := v.Args[2]
x := v.Args[0] x := v.Args[0]
y := v.Args[1] y := v.Args[1]
mem := v.Args[2]
if !(boundsABI(kind) == 2) { if !(boundsABI(kind) == 2) {
break break
} }

View File

@ -26110,10 +26110,9 @@ func rewriteValuePPC64_OpPanicBounds_0(v *Value) bool {
// result: (LoweredPanicBoundsA [kind] x y mem) // result: (LoweredPanicBoundsA [kind] x y mem)
for { for {
kind := v.AuxInt kind := v.AuxInt
_ = v.Args[2] mem := v.Args[2]
x := v.Args[0] x := v.Args[0]
y := v.Args[1] y := v.Args[1]
mem := v.Args[2]
if !(boundsABI(kind) == 0) { if !(boundsABI(kind) == 0) {
break break
} }
@ -26129,10 +26128,9 @@ func rewriteValuePPC64_OpPanicBounds_0(v *Value) bool {
// result: (LoweredPanicBoundsB [kind] x y mem) // result: (LoweredPanicBoundsB [kind] x y mem)
for { for {
kind := v.AuxInt kind := v.AuxInt
_ = v.Args[2] mem := v.Args[2]
x := v.Args[0] x := v.Args[0]
y := v.Args[1] y := v.Args[1]
mem := v.Args[2]
if !(boundsABI(kind) == 1) { if !(boundsABI(kind) == 1) {
break break
} }
@ -26148,10 +26146,9 @@ func rewriteValuePPC64_OpPanicBounds_0(v *Value) bool {
// result: (LoweredPanicBoundsC [kind] x y mem) // result: (LoweredPanicBoundsC [kind] x y mem)
for { for {
kind := v.AuxInt kind := v.AuxInt
_ = v.Args[2] mem := v.Args[2]
x := v.Args[0] x := v.Args[0]
y := v.Args[1] y := v.Args[1]
mem := v.Args[2]
if !(boundsABI(kind) == 2) { if !(boundsABI(kind) == 2) {
break break
} }

View File

@ -4973,10 +4973,9 @@ func rewriteValueS390X_OpPanicBounds_0(v *Value) bool {
// result: (LoweredPanicBoundsA [kind] x y mem) // result: (LoweredPanicBoundsA [kind] x y mem)
for { for {
kind := v.AuxInt kind := v.AuxInt
_ = v.Args[2] mem := v.Args[2]
x := v.Args[0] x := v.Args[0]
y := v.Args[1] y := v.Args[1]
mem := v.Args[2]
if !(boundsABI(kind) == 0) { if !(boundsABI(kind) == 0) {
break break
} }
@ -4992,10 +4991,9 @@ func rewriteValueS390X_OpPanicBounds_0(v *Value) bool {
// result: (LoweredPanicBoundsB [kind] x y mem) // result: (LoweredPanicBoundsB [kind] x y mem)
for { for {
kind := v.AuxInt kind := v.AuxInt
_ = v.Args[2] mem := v.Args[2]
x := v.Args[0] x := v.Args[0]
y := v.Args[1] y := v.Args[1]
mem := v.Args[2]
if !(boundsABI(kind) == 1) { if !(boundsABI(kind) == 1) {
break break
} }
@ -5011,10 +5009,9 @@ func rewriteValueS390X_OpPanicBounds_0(v *Value) bool {
// result: (LoweredPanicBoundsC [kind] x y mem) // result: (LoweredPanicBoundsC [kind] x y mem)
for { for {
kind := v.AuxInt kind := v.AuxInt
_ = v.Args[2] mem := v.Args[2]
x := v.Args[0] x := v.Args[0]
y := v.Args[1] y := v.Args[1]
mem := v.Args[2]
if !(boundsABI(kind) == 2) { if !(boundsABI(kind) == 2) {
break break
} }