[obj2yaml] - Fix a comment. NFC.
[llvm-complete.git] / test / MC / X86 / XSAVEOPT-64.s
blobcfa208862c184fadfb40ceb3048f3b4c15d7ee99
1 // RUN: llvm-mc -triple x86_64-unknown-unknown --show-encoding %s | FileCheck %s
3 // CHECK: xsaveopt 485498096
4 // CHECK: encoding: [0x0f,0xae,0x34,0x25,0xf0,0x1c,0xf0,0x1c]
5 xsaveopt 485498096
7 // CHECK: xsaveopt64 485498096
8 // CHECK: encoding: [0x48,0x0f,0xae,0x34,0x25,0xf0,0x1c,0xf0,0x1c]
9 xsaveopt64 485498096
11 // CHECK: xsaveopt64 64(%rdx)
12 // CHECK: encoding: [0x48,0x0f,0xae,0x72,0x40]
13 xsaveopt64 64(%rdx)
15 // CHECK: xsaveopt64 64(%rdx,%rax,4)
16 // CHECK: encoding: [0x48,0x0f,0xae,0x74,0x82,0x40]
17 xsaveopt64 64(%rdx,%rax,4)
19 // CHECK: xsaveopt64 -64(%rdx,%rax,4)
20 // CHECK: encoding: [0x48,0x0f,0xae,0x74,0x82,0xc0]
21 xsaveopt64 -64(%rdx,%rax,4)
23 // CHECK: xsaveopt64 64(%rdx,%rax)
24 // CHECK: encoding: [0x48,0x0f,0xae,0x74,0x02,0x40]
25 xsaveopt64 64(%rdx,%rax)
27 // CHECK: xsaveopt 64(%rdx)
28 // CHECK: encoding: [0x0f,0xae,0x72,0x40]
29 xsaveopt 64(%rdx)
31 // CHECK: xsaveopt64 (%rdx)
32 // CHECK: encoding: [0x48,0x0f,0xae,0x32]
33 xsaveopt64 (%rdx)
35 // CHECK: xsaveopt 64(%rdx,%rax,4)
36 // CHECK: encoding: [0x0f,0xae,0x74,0x82,0x40]
37 xsaveopt 64(%rdx,%rax,4)
39 // CHECK: xsaveopt -64(%rdx,%rax,4)
40 // CHECK: encoding: [0x0f,0xae,0x74,0x82,0xc0]
41 xsaveopt -64(%rdx,%rax,4)
43 // CHECK: xsaveopt 64(%rdx,%rax)
44 // CHECK: encoding: [0x0f,0xae,0x74,0x02,0x40]
45 xsaveopt 64(%rdx,%rax)
47 // CHECK: xsaveopt (%rdx)
48 // CHECK: encoding: [0x0f,0xae,0x32]
49 xsaveopt (%rdx)