[PATCH] D29133: [PowerPC][Altivec] Add some extended mnemonics
Nemanja Ivanovic via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 26 04:04:17 PST 2017
nemanjai added inline comments.
================
Comment at: lib/Target/PowerPC/PPCInstrVSX.td:1450
+// be emitted with a VSX reg. So leave Emit = 0 here.
+def : InstAlias<"mfvrd $rA, $XT",
+ (MFVRD g8rc:$rA, vrrc:$XT), 0>;
----------------
@hfinkel Do you think this is an acceptable way to get this support implemented? Or do you have a preferred suggestion? Maybe some custom handling of the register operand (or even the mnemonic itself) in the Asm parser/printer or something along those lines...
Once we decide how we want to approach this, we can add a test case.
Repository:
rL LLVM
https://reviews.llvm.org/D29133
More information about the llvm-commits
mailing list