diff options
Diffstat (limited to 'llvm/test')
-rw-r--r-- | llvm/test/MC/Disassembler/X86/x86-16.txt | 4 | ||||
-rw-r--r-- | llvm/test/MC/X86/x86-16.s | 12 | ||||
-rw-r--r-- | llvm/test/MC/X86/x86-32.s | 12 | ||||
-rw-r--r-- | llvm/test/MC/X86/x86-64.s | 4 |
4 files changed, 16 insertions, 16 deletions
diff --git a/llvm/test/MC/Disassembler/X86/x86-16.txt b/llvm/test/MC/Disassembler/X86/x86-16.txt index 104a56b9848..d8a5c4b2b7b 100644 --- a/llvm/test/MC/Disassembler/X86/x86-16.txt +++ b/llvm/test/MC/Disassembler/X86/x86-16.txt @@ -207,7 +207,7 @@ # CHECK: movw %cs, %ax 0x8c 0xc8 -# CHECK: movl %cs, (%eax) +# CHECK: movw %cs, (%eax) 0x67 0x66 0x8c 0x08 # CHECK: movw %cs, (%eax) @@ -216,7 +216,7 @@ # CHECK: movl %eax, %cs 0x66 0x8e 0xc8 -# CHECK: movl (%eax), %cs +# CHECK: movw (%eax), %cs 0x67 0x66 0x8e 0x08 # CHECK: movw (%eax), %cs diff --git a/llvm/test/MC/X86/x86-16.s b/llvm/test/MC/X86/x86-16.s index 5ab1f23d7f2..fc682b6a39b 100644 --- a/llvm/test/MC/X86/x86-16.s +++ b/llvm/test/MC/X86/x86-16.s @@ -248,9 +248,9 @@ cmovnae %bx,%bx // CHECK: encoding: [0x8c,0xc8] movw %cs, %ax -// CHECK: movl %cs, (%eax) -// CHECK: encoding: [0x67,0x66,0x8c,0x08] - movl %cs, (%eax) +// CHECK: movw %cs, (%eax) +// CHECK: encoding: [0x67,0x8c,0x08] + mov %cs, (%eax) // CHECK: movw %cs, (%eax) // CHECK: encoding: [0x67,0x8c,0x08] @@ -272,9 +272,9 @@ cmovnae %bx,%bx // CHECK: encoding: [0x8e,0xc8] mov %ax, %cs -// CHECK: movl (%eax), %cs -// CHECK: encoding: [0x67,0x66,0x8e,0x08] - movl (%eax), %cs +// CHECK: movw (%eax), %cs +// CHECK: encoding: [0x67,0x8e,0x08] + mov (%eax), %cs // CHECK: movw (%eax), %cs // CHECK: encoding: [0x67,0x8e,0x08] diff --git a/llvm/test/MC/X86/x86-32.s b/llvm/test/MC/X86/x86-32.s index 9171a07233b..fcc36ceecf8 100644 --- a/llvm/test/MC/X86/x86-32.s +++ b/llvm/test/MC/X86/x86-32.s @@ -355,12 +355,12 @@ cmovnae %bx,%bx // CHECK: encoding: [0x66,0x8c,0xc8] movw %cs, %ax -// CHECK: movl %cs, (%eax) +// CHECK: movw %cs, (%eax) // CHECK: encoding: [0x8c,0x08] - movl %cs, (%eax) + mov %cs, (%eax) // CHECK: movw %cs, (%eax) -// CHECK: encoding: [0x66,0x8c,0x08] +// CHECK: encoding: [0x8c,0x08] movw %cs, (%eax) // CHECK: movl %eax, %cs @@ -379,12 +379,12 @@ cmovnae %bx,%bx // CHECK: encoding: [0x8e,0xc8] mov %ax, %cs -// CHECK: movl (%eax), %cs +// CHECK: movw (%eax), %cs // CHECK: encoding: [0x8e,0x08] - movl (%eax), %cs + mov (%eax), %cs // CHECK: movw (%eax), %cs -// CHECK: encoding: [0x66,0x8e,0x08] +// CHECK: encoding: [0x8e,0x08] movw (%eax), %cs // radr://8033374 diff --git a/llvm/test/MC/X86/x86-64.s b/llvm/test/MC/X86/x86-64.s index 1afc3f5683a..aca0445f7ac 100644 --- a/llvm/test/MC/X86/x86-64.s +++ b/llvm/test/MC/X86/x86-64.s @@ -1082,8 +1082,8 @@ decl %eax // CHECK: decl %eax # encoding: [0xff,0xc8] // rdar://8208615 -mov (%rsi), %gs // CHECK: movl (%rsi), %gs # encoding: [0x8e,0x2e] -mov %gs, (%rsi) // CHECK: movl %gs, (%rsi) # encoding: [0x8c,0x2e] +mov (%rsi), %gs // CHECK: movw (%rsi), %gs # encoding: [0x8e,0x2e] +mov %gs, (%rsi) // CHECK: movw %gs, (%rsi) # encoding: [0x8c,0x2e] // rdar://8431864 |