• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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:
20fadd
21// CHECK: faddp %st(1)
22fmul
23// CHECK: fmulp %st(1)
24fsub
25// CHECK: fsubp %st(1)
26fsubr
27// CHECK: fsubrp %st(1)
28fdiv
29// CHECK: fdivp %st(1)
30fdivr
31// CHECK: fdivrp %st(1)
32