[PowerPC][AIX]Do not emit xxspltd mnemonic on AIX.
authorSean Fertile <sd.fertile@gmail.com>
Fri, 15 Jan 2021 21:36:50 +0000 (16:36 -0500)
committerSean Fertile <sd.fertile@gmail.com>
Mon, 18 Jan 2021 14:25:31 +0000 (09:25 -0500)
commitead71a23edde5f8a1acfdd75bd01f1fa6e0c4014
tree1e0a7958bfd63db47b2846c55ed89bd464065a3c
parente6d758de82b6f93f81e71617aeb5a37e57d6ada9
[PowerPC][AIX]Do not emit xxspltd mnemonic on AIX.

A bug in the system assembler can assemble the xxspltd extended
menemonic into the wrong instruction (extracting the wrong element).
Emit the full xxpermdi with all operands to work around the problem.

Differential Revision: https://reviews.llvm.org/D94419
llvm/lib/Target/PowerPC/PPCInstrVSX.td
llvm/test/CodeGen/PowerPC/xxpermdi_mnemonics.s [new file with mode: 0644]
llvm/test/MC/PowerPC/modern-aix-as.s