diff options
author | Carlos Amedee <carlos@golang.org> | 2023-01-10 13:50:39 -0500 |
---|---|---|
committer | Carlos Amedee <carlos@golang.org> | 2023-01-10 13:50:39 -0500 |
commit | 7058c2cb4132291e1b6c9498a9a6f13a9a70ff85 (patch) | |
tree | 7701af5d953be20ade9ca141c562b3262c703716 /src/cmd/compile/internal/ssa/gen/PPC64.rules | |
parent | fc1ed37e824b2f87e287e1bc4597253f1b30b3b3 (diff) | |
parent | 581603cb7d02019bbf4ff508014038f3120a3dcb (diff) | |
download | go-7058c2cb4132291e1b6c9498a9a6f13a9a70ff85.tar.gz go-7058c2cb4132291e1b6c9498a9a6f13a9a70ff85.zip |
[dev.boringcrypto.go1.18] all: merge go1.18.10 into dev.boringcrypto.go1.18dev.boringcrypto.go1.18
Change-Id: I0dcc4e288cba62382f6bd06b2cf0ff843309220c
Diffstat (limited to 'src/cmd/compile/internal/ssa/gen/PPC64.rules')
-rw-r--r-- | src/cmd/compile/internal/ssa/gen/PPC64.rules | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd/compile/internal/ssa/gen/PPC64.rules b/src/cmd/compile/internal/ssa/gen/PPC64.rules index a90a3d0937..f83ed78bab 100644 --- a/src/cmd/compile/internal/ssa/gen/PPC64.rules +++ b/src/cmd/compile/internal/ssa/gen/PPC64.rules @@ -562,9 +562,9 @@ ((EQ|NE|LT|LE|GT|GE) (CMPconst [0] z:(XOR x y)) yes no) && z.Uses == 1 => ((EQ|NE|LT|LE|GT|GE) (XORCC x y) yes no) // Only lower after bool is lowered. It should always lower. This helps ensure the folding below happens reliably. -(CondSelect x y bool) && flagArg(bool) == nil => (ISEL [6] x y (CMPWconst [0] bool)) +(CondSelect x y bool) && flagArg(bool) == nil => (ISEL [6] x y (Select1 <types.TypeFlags> (ANDCCconst [1] bool))) // Fold any CR -> GPR -> CR transfers when applying the above rule. -(ISEL [6] x y (CMPWconst [0] (ISELB [c] one cmp))) => (ISEL [c] x y cmp) +(ISEL [6] x y (Select1 (ANDCCconst [1] (ISELB [c] one cmp)))) => (ISEL [c] x y cmp) // Lowering loads (Load <t> ptr mem) && (is64BitInt(t) || isPtr(t)) => (MOVDload ptr mem) |