[x86 asm] allow fwait alias in both At&t and Intel modes (PR21208)
[oota-llvm.git] / test / MC / X86 / x86_64-signed-reloc.s
1 // RUN: llvm-mc -triple x86_64-linux-gnu -filetype=obj %s | llvm-readobj -r | FileCheck %s
2
3
4                                 // CHECK:      Relocations [
5                                 // CHECK-NEXT:   Section ({{[0-9]+}}) .rela.text {
6
7 pushq $foo                      // CHECK-NEXT:     R_X86_64_32S
8 addq $foo, %rax                 // CHECK-NEXT:     R_X86_64_32S
9 andq $foo, %rax                 // CHECK-NEXT:     R_X86_64_32S
10 movq $foo, %rax                 // CHECK-NEXT:     R_X86_64_32S
11 bextr $foo, (%edi), %eax        // CHECK-NEXT:     R_X86_64_32
12 bextr $foo, (%rdi), %rax        // CHECK-NEXT:     R_X86_64_32S
13 imul $foo, %rax                 // CHECK-NEXT:     R_X86_64_32S
14
15                                 // CHECK-NEXT:   }
16                                 // CHECK-NEXT: ]