Debian Codegraph @

llvm/test/MC/X86/apx/movdiri-att.s

raw
1 # RUN: llvm-mc -triple x86_64 --show-encoding %s | FileCheck %s
2 # RUN: not llvm-mc -triple i386 -show-encoding %s 2>&1 | FileCheck %s --check-prefix=ERROR
3
4 # ERROR-COUNT-4: error:
5 # ERROR-NOT: error:
6 # CHECK: {evex} movdiri %ecx, 123(%eax,%ebx,4)
7 # CHECK: encoding: [0x67,0x62,0xf4,0x7c,0x08,0xf9,0x4c,0x98,0x7b]
8 {evex} movdiri %ecx, 123(%eax,%ebx,4)
9
10 # CHECK: {evex} movdiri %r9, 123(%rax,%rbx,4)
11 # CHECK: encoding: [0x62,0x74,0xfc,0x08,0xf9,0x4c,0x98,0x7b]
12 {evex} movdiri %r9, 123(%rax,%rbx,4)
13
14 # CHECK: movdiri %r18d, 291(%r28,%r29,4)
15 # CHECK: encoding: [0x62,0x8c,0x78,0x08,0xf9,0x94,0xac,0x23,0x01,0x00,0x00]
16 movdiri %r18d, 291(%r28,%r29,4)
17
18 # CHECK: movdiri %r19, 291(%r28,%r29,4)
19 # CHECK: encoding: [0x62,0x8c,0xf8,0x08,0xf9,0x9c,0xac,0x23,0x01,0x00,0x00]
20 movdiri %r19, 291(%r28,%r29,4)