[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>
Wed, 10 Apr 2024 11:24:01 +0000 (14:24 +0300)
commitd43fba7f6d6ec5ef09bbf246c6a5a710a04029ce
treeae3f04b0ec2258e4c3c94bb1c0b9c3df0e3e4d3e
parentdc89650faa1022d6257bb83d661a311e6639b577
[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