Skip to content

Commit b12703e

Browse files
benshi001bradfitz
authored andcommitted
cmd/compile: remove amd64p32 related SSA rules
Updates #30439 Change-Id: Iadc737e4c6bb05bb576fe4bb344ad92403697352 Reviewed-on: https://go-review.googlesource.com/c/go/+/201380 Run-TryBot: Ben Shi <[email protected]> TryBot-Result: Gobot Gobot <[email protected]> Reviewed-by: Keith Randall <[email protected]>
1 parent eff3c1e commit b12703e

File tree

2 files changed

+0
-29
lines changed

2 files changed

+0
-29
lines changed

src/cmd/compile/internal/ssa/gen/AMD64.rules

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -226,9 +226,6 @@
226226
(NeqPtr x y) && config.PtrSize == 4 -> (SETNE (CMPL x y))
227227
(Neq(32|64)F x y) -> (SETNEF (UCOMIS(S|D) x y))
228228

229-
(Int64Hi x) -> (SHRQconst [32] x) // needed for amd64p32
230-
(Int64Lo x) -> x
231-
232229
// Lowering loads
233230
(Load <t> ptr mem) && (is64BitInt(t) || isPtr(t) && config.PtrSize == 8) -> (MOVQload ptr mem)
234231
(Load <t> ptr mem) && (is32BitInt(t) || isPtr(t) && config.PtrSize == 4) -> (MOVLload ptr mem)

src/cmd/compile/internal/ssa/rewriteAMD64.go

Lines changed: 0 additions & 26 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)