aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/compile/internal/ssa/addressingmodes.go
diff options
context:
space:
mode:
authorKeith Randall <khr@golang.org>2020-03-22 13:27:02 -0700
committerKeith Randall <khr@golang.org>2020-03-23 18:27:37 +0000
commit3adbdb6d9931276894c5e2524f5ca8ca26bfeab5 (patch)
treeec2caf9eba48fb909cf7781cd47134117970f3e1 /src/cmd/compile/internal/ssa/addressingmodes.go
parent5c9bd499e103709a181f7a1a895d221ae6e7ffc8 (diff)
downloadgo-3adbdb6d9931276894c5e2524f5ca8ca26bfeab5.tar.gz
go-3adbdb6d9931276894c5e2524f5ca8ca26bfeab5.zip
cmd/compile: disable mem+op operations on 386
Rolling back portions of CL 222782 to see if that helps issue #37881 any. Update #37881 Change-Id: I9cc3ff8c469fa5e4b22daec715d04148033f46f7 Reviewed-on: https://go-review.googlesource.com/c/go/+/224837 Run-TryBot: Keith Randall <khr@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Bryan C. Mills <bcmills@google.com>
Diffstat (limited to 'src/cmd/compile/internal/ssa/addressingmodes.go')
-rw-r--r--src/cmd/compile/internal/ssa/addressingmodes.go37
1 files changed, 19 insertions, 18 deletions
diff --git a/src/cmd/compile/internal/ssa/addressingmodes.go b/src/cmd/compile/internal/ssa/addressingmodes.go
index 2af8a4d1fc..77d14dcfb8 100644
--- a/src/cmd/compile/internal/ssa/addressingmodes.go
+++ b/src/cmd/compile/internal/ssa/addressingmodes.go
@@ -204,22 +204,23 @@ var combine = map[[2]Op]Op{
[2]Op{Op386MOVWstoreconst, Op386LEAL2}: Op386MOVWstoreconstidx2,
[2]Op{Op386MOVLstoreconst, Op386LEAL1}: Op386MOVLstoreconstidx1,
[2]Op{Op386MOVLstoreconst, Op386LEAL4}: Op386MOVLstoreconstidx4,
-
- [2]Op{Op386ADDLload, Op386LEAL4}: Op386ADDLloadidx4,
- [2]Op{Op386SUBLload, Op386LEAL4}: Op386SUBLloadidx4,
- [2]Op{Op386MULLload, Op386LEAL4}: Op386MULLloadidx4,
- [2]Op{Op386ANDLload, Op386LEAL4}: Op386ANDLloadidx4,
- [2]Op{Op386ORLload, Op386LEAL4}: Op386ORLloadidx4,
- [2]Op{Op386XORLload, Op386LEAL4}: Op386XORLloadidx4,
-
- [2]Op{Op386ADDLmodify, Op386LEAL4}: Op386ADDLmodifyidx4,
- [2]Op{Op386SUBLmodify, Op386LEAL4}: Op386SUBLmodifyidx4,
- [2]Op{Op386ANDLmodify, Op386LEAL4}: Op386ANDLmodifyidx4,
- [2]Op{Op386ORLmodify, Op386LEAL4}: Op386ORLmodifyidx4,
- [2]Op{Op386XORLmodify, Op386LEAL4}: Op386XORLmodifyidx4,
-
- [2]Op{Op386ADDLconstmodify, Op386LEAL4}: Op386ADDLconstmodifyidx4,
- [2]Op{Op386ANDLconstmodify, Op386LEAL4}: Op386ANDLconstmodifyidx4,
- [2]Op{Op386ORLconstmodify, Op386LEAL4}: Op386ORLconstmodifyidx4,
- [2]Op{Op386XORLconstmodify, Op386LEAL4}: Op386XORLconstmodifyidx4,
+ /*
+ [2]Op{Op386ADDLload, Op386LEAL4}: Op386ADDLloadidx4,
+ [2]Op{Op386SUBLload, Op386LEAL4}: Op386SUBLloadidx4,
+ [2]Op{Op386MULLload, Op386LEAL4}: Op386MULLloadidx4,
+ [2]Op{Op386ANDLload, Op386LEAL4}: Op386ANDLloadidx4,
+ [2]Op{Op386ORLload, Op386LEAL4}: Op386ORLloadidx4,
+ [2]Op{Op386XORLload, Op386LEAL4}: Op386XORLloadidx4,
+
+ [2]Op{Op386ADDLmodify, Op386LEAL4}: Op386ADDLmodifyidx4,
+ [2]Op{Op386SUBLmodify, Op386LEAL4}: Op386SUBLmodifyidx4,
+ [2]Op{Op386ANDLmodify, Op386LEAL4}: Op386ANDLmodifyidx4,
+ [2]Op{Op386ORLmodify, Op386LEAL4}: Op386ORLmodifyidx4,
+ [2]Op{Op386XORLmodify, Op386LEAL4}: Op386XORLmodifyidx4,
+
+ [2]Op{Op386ADDLconstmodify, Op386LEAL4}: Op386ADDLconstmodifyidx4,
+ [2]Op{Op386ANDLconstmodify, Op386LEAL4}: Op386ANDLconstmodifyidx4,
+ [2]Op{Op386ORLconstmodify, Op386LEAL4}: Op386ORLconstmodifyidx4,
+ [2]Op{Op386XORLconstmodify, Op386LEAL4}: Op386XORLconstmodifyidx4,
+ */
}