aboutsummaryrefslogtreecommitdiff
path: root/test/MC/X86/intel-syntax-2.s
blob: d6dbe152cd5808e8b89e03a5a4f969f4ccfb7d39 (plain)
1
2
3
4
5
6
7
8
9
// RUN: llvm-mc -triple x86_64-unknown-unknown -x86-asm-syntax=att %s | FileCheck %s

	.intel_syntax
_test:
// CHECK:	movl	$257, -4(%rsp)
	mov	DWORD PTR [RSP - 4], 257
    .att_syntax
// CHECK:	movl	$257, -4(%rsp)
    movl $257, -4(%rsp)