gcc uses operand modifier 'x' in inline asm for VSX registers. Without this modifier, instructions which use VSX numbering for their operands are printed as VMX registers. This patch adds support for the operand modifier 'x'.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
Is this also supported and defined in Intel syntax? Do we need to check AsmVariant here?
Comment Actions
LGTM after Jinsong's comments are addressed.
+1 for the test case comments.
I don't think we need to worry about Intel syntax for this modifier since we don't for any of the other modifiers. In fact, I don't think we have any support for Intel syntax on PPC.