Home | History | Annotate | Download | only in X86
      1 // RUN: llvm-mc -triple x86_64-unknown-unknown -x86-asm-syntax=att %s | FileCheck %s
      2 
      3 	.intel_syntax
      4 _test:
      5 // CHECK:	movl	$257, -4(%rsp)
      6 	mov	DWORD PTR [RSP - 4], 257
      7     .att_syntax
      8 // CHECK:	movl	$257, -4(%rsp)
      9     movl $257, -4(%rsp)
     10 
     11 _test2:
     12 .intel_syntax noprefix
     13 	mov	DWORD PTR [RSP - 4], 255
     14 // CHECK:	movl	$255, -4(%rsp)
     15 .att_syntax prefix
     16 	movl $255, -4(%rsp)
     17 // CHECK:	movl	$255, -4(%rsp)
     18 
     19 _test3:
     20 fadd
     21 // CHECK: faddp %st(1)
     22 fmul
     23 // CHECK: fmulp %st(1)
     24 fsub
     25 // CHECK: fsubp %st(1)
     26 fsubr
     27 // CHECK: fsubrp %st(1)
     28 fdiv
     29 // CHECK: fdivp %st(1)
     30 fdivr
     31 // CHECK: fdivrp %st(1)
     32