[obj2yaml] - Fix a comment. NFC.
[llvm-complete.git] / test / MC / X86 / intel-syntax-2.s
blobb23965ae52e88ebfd2649bbb01cb1df500f22187
1 // RUN: llvm-mc -triple x86_64-unknown-unknown -x86-asm-syntax=att %s | FileCheck %s
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)
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)
19 _test3:
20 fadd
21 // CHECK: faddp %st, %st(1)
22 fmul
23 // CHECK: fmulp %st, %st(1)
24 fsub
25 // CHECK: fsubp %st, %st(1)
26 fsubr
27 // CHECK: fsubrp %st, %st(1)
28 fdiv
29 // CHECK: fdivp %st, %st(1)
30 fdivr
31 // CHECK: fdivrp %st, %st(1)