[PATCH] D121570: [X86] Fix cosmetic issues in instruction mnemonics
Amir Ayupov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Mar 13 23:07:09 PDT 2022
Amir created this revision.
Amir added reviewers: skan, MaskRay, craig.topper, GGanesh.
Herald added subscribers: pengfei, hiraditya.
Herald added a project: All.
Amir published this revision for review.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
- Remove spurious } in invlpgb mnemonic
- Add \t between mnemonic and operands for ud1 instructions
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D121570
Files:
llvm/lib/Target/X86/X86InstrInfo.td
llvm/lib/Target/X86/X86InstrSystem.td
Index: llvm/lib/Target/X86/X86InstrSystem.td
===================================================================
--- llvm/lib/Target/X86/X86InstrSystem.td
+++ llvm/lib/Target/X86/X86InstrSystem.td
@@ -25,18 +25,18 @@
def TRAP : I<0x0B, RawFrm, (outs), (ins), "ud2", [(trap)]>, TB;
def UD1Wm : I<0xB9, MRMSrcMem, (outs), (ins GR16:$src1, i16mem:$src2),
- "ud1{w} {$src2, $src1|$src1, $src2}", []>, TB, OpSize16;
+ "ud1{w}\t{$src2, $src1|$src1, $src2}", []>, TB, OpSize16;
def UD1Lm : I<0xB9, MRMSrcMem, (outs), (ins GR32:$src1, i32mem:$src2),
- "ud1{l} {$src2, $src1|$src1, $src2}", []>, TB, OpSize32;
+ "ud1{l}\t{$src2, $src1|$src1, $src2}", []>, TB, OpSize32;
def UD1Qm : RI<0xB9, MRMSrcMem, (outs), (ins GR64:$src1, i64mem:$src2),
- "ud1{q} {$src2, $src1|$src1, $src2}", []>, TB;
+ "ud1{q}\t{$src2, $src1|$src1, $src2}", []>, TB;
def UD1Wr : I<0xB9, MRMSrcReg, (outs), (ins GR16:$src1, GR16:$src2),
- "ud1{w} {$src2, $src1|$src1, $src2}", []>, TB, OpSize16;
+ "ud1{w}\t{$src2, $src1|$src1, $src2}", []>, TB, OpSize16;
def UD1Lr : I<0xB9, MRMSrcReg, (outs), (ins GR32:$src1, GR32:$src2),
- "ud1{l} {$src2, $src1|$src1, $src2}", []>, TB, OpSize32;
+ "ud1{l}\t{$src2, $src1|$src1, $src2}", []>, TB, OpSize32;
def UD1Qr : RI<0xB9, MRMSrcReg, (outs), (ins GR64:$src1, GR64:$src2),
- "ud1{q} {$src2, $src1|$src1, $src2}", []>, TB;
+ "ud1{q}\t{$src2, $src1|$src1, $src2}", []>, TB;
}
let isTerminator = 1 in
Index: llvm/lib/Target/X86/X86InstrInfo.td
===================================================================
--- llvm/lib/Target/X86/X86InstrInfo.td
+++ llvm/lib/Target/X86/X86InstrInfo.td
@@ -2939,7 +2939,7 @@
let SchedRW = [WriteSystem] in {
let Uses = [EAX, EDX] in
def INVLPGB32 : I<0x01, MRM_FE, (outs), (ins),
- "invlpgb}", []>,
+ "invlpgb", []>,
PS, Requires<[Not64BitMode]>;
let Uses = [RAX, EDX] in
def INVLPGB64 : I<0x01, MRM_FE, (outs), (ins),
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D121570.415007.patch
Type: text/x-patch
Size: 2178 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220314/2dfe538b/attachment.bin>
More information about the llvm-commits
mailing list