OSDN Git Service

[NFC] [Power] Fix instruction format for xsrqpi
authorZaara Syeda <syzaara@ca.ibm.com>
Mon, 14 May 2018 15:45:15 +0000 (15:45 +0000)
committerZaara Syeda <syzaara@ca.ibm.com>
Mon, 14 May 2018 15:45:15 +0000 (15:45 +0000)
commit3b3c5030615e258a2a1c3f6894bcec5dc046c1f7
tree0544daad3c538df1d21f6321bf797f9c28cc4dbf
parent29ab6ce3aab3402841eccc07228e8d4e96b62e3f
[NFC] [Power] Fix instruction format for xsrqpi

xsrqpi is currently using Z23Form_1.
The instruction format is xsrqpi R,VRT,VRB,RMC.
Rathar than bits 11-15 being used for FRA, it should have
bits 11-14 reserved and bit 15 for R. This patch adds a new
class Z23Form_4 to fix the instruction format.

Differential Revision: https://reviews.llvm.org/D46761

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@332253 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/PowerPC/PPCInstrFormats.td
lib/Target/PowerPC/PPCInstrVSX.td