Skip to content

Commit 07d64b0

Browse files
committed
resolve comment
1 parent f6cdc37 commit 07d64b0

File tree

3 files changed

+17
-15
lines changed

3 files changed

+17
-15
lines changed

llvm/lib/Target/X86/X86InstrMisc.td

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1168,13 +1168,13 @@ def MOVBE64rr_EVEX : RI<0x61, MRMDestReg, (outs GR64:$dst), (ins GR64:$src),
11681168

11691169
def MOVBE16rr_EVEX_REV : I<0x60, MRMSrcReg, (outs GR16:$dst), (ins GR16:$src),
11701170
"movbe{w}\t{$src, $dst|$dst, $src}", []>,
1171-
EVEX, NoCD8, T_MAP4, PD;
1171+
EVEX, NoCD8, T_MAP4, PD, DisassembleOnly;
11721172
def MOVBE32rr_EVEX_REV : I<0x60, MRMSrcReg, (outs GR32:$dst), (ins GR32:$src),
11731173
"movbe{l}\t{$src, $dst|$dst, $src}", []>,
1174-
EVEX, NoCD8, T_MAP4;
1174+
EVEX, NoCD8, T_MAP4, DisassembleOnly;
11751175
def MOVBE64rr_EVEX_REV : RI<0x60, MRMSrcReg, (outs GR64:$dst), (ins GR64:$src),
11761176
"movbe{q}\t{$src, $dst|$dst, $src}", []>,
1177-
EVEX, NoCD8, T_MAP4;
1177+
EVEX, NoCD8, T_MAP4, DisassembleOnly;
11781178
}
11791179

11801180
//===----------------------------------------------------------------------===//

llvm/test/MC/Disassembler/X86/apx/movbe.txt

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -72,15 +72,3 @@
7272
# ATT: movbeq 291(%r28,%r29,4), %r19
7373
# INTEL: movbe r19, qword ptr [r28 + 4*r29 + 291]
7474
0x62,0x8c,0xf8,0x08,0x60,0x9c,0xac,0x23,0x01,0x00,0x00
75-
76-
# ATT: movbew %r16w, %r17w
77-
# INTEL: movbe r17w, r16w
78-
0x62,0xec,0x7d,0x08,0x60,0xc8
79-
80-
# ATT: movbel %r16d, %r17d
81-
# INTEL: movbe r17d, r16d
82-
0x62,0xec,0x7c,0x08,0x60,0xc8
83-
84-
# ATT: movbeq %r16, %r17
85-
# INTEL: movbe r17, r16
86-
0x62,0xec,0xfc,0x08,0x60,0xc8

llvm/test/MC/Disassembler/X86/apx/reverse-encoding.txt

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -398,3 +398,17 @@
398398
# ATT: sbbq %r17, %r16, %r18
399399
# INTEL: sbb r18, r16, r17
400400
0x62,0xec,0xec,0x10,0x1b,0xc1
401+
402+
## movbe
403+
404+
# ATT: movbew %r16w, %r17w
405+
# INTEL: movbe r17w, r16w
406+
0x62,0xec,0x7d,0x08,0x60,0xc8
407+
408+
# ATT: movbel %r16d, %r17d
409+
# INTEL: movbe r17d, r16d
410+
0x62,0xec,0x7c,0x08,0x60,0xc8
411+
412+
# ATT: movbeq %r16, %r17
413+
# INTEL: movbe r17, r16
414+
0x62,0xec,0xfc,0x08,0x60,0xc8

0 commit comments

Comments
 (0)