[PATCH] PPC NCG: Generate clear right insn at arch width
authorPeter Trommler <ptrommler@acm.org>
Tue, 7 Nov 2023 20:47:24 +0000 (21:47 +0100)
committerIlias Tsitsimpis <iliastsi@debian.org>
Sun, 15 Sep 2024 21:17:25 +0000 (00:17 +0300)
commitfe5e67fd6c6591ea1aa4d43bb7538cf251661530
tree8c6e053d2a88c81c5850bb5a19e666702432a9da
parent13ae49659132beabff7c054a6c95f9d04fe53b3b
[PATCH] PPC NCG: Generate clear right insn at arch width

The clear right immediate (clrrxi) is only available in word and
doubleword width. Generate clrrxi instructions at architecture
width for all MachOp widths.

Fixes #24145

Gbp-Pq: Name ppc64el-fix-clrri
compiler/GHC/CmmToAsm/PPC/CodeGen.hs