diff options
| author | Jayanth Krishnamurthy <jayanth.krishnamurthy@ibm.com> | 2023-09-27 08:11:49 -0500 |
|---|---|---|
| committer | Paul Murphy <murp@ibm.com> | 2023-10-18 18:04:25 +0000 |
| commit | 3550a84840c3922477dc78abc4677d485600f705 (patch) | |
| tree | 303aecad6cbe8ffe64d94bb846c11b2701aa6b89 /src/database/sql | |
| parent | 91bb19a59ac41bfa52245cd390ead6ee0058417f (diff) | |
| download | go-3550a84840c3922477dc78abc4677d485600f705.tar.xz | |
cmd/compile: update to rules on PPC64 folding bit reversal to load
In the Power10 rule to fold bit reversal into load, the MOVWZreg or
MOVHZreg (Zeroing out the upper bits of a word or halfword) becomes
redundant since byte reverse (BR) load clears the upper bits. Hence
removing for Power10. Similarly for < Power10 cases in the rule used to
fold bit reversal into load (Bswap), the above redundant operation is removed.
Change-Id: Idb027e8b6e79b6acfb81d48a9a6cc06f8e9cd2db
Reviewed-on: https://go-review.googlesource.com/c/go/+/531377
Reviewed-by: Than McIntosh <thanm@google.com>
Reviewed-by: Jayanth Krishnamurthy <jayanth.krishnamurthy@ibm.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Lynn Boger <laboger@linux.vnet.ibm.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Diffstat (limited to 'src/database/sql')
0 files changed, 0 insertions, 0 deletions
