aboutsummaryrefslogtreecommitdiffstats
path: root/test/MC/AsmParser/macro-args.s
blob: 4b878999e42479b34831c83b3871c4d30e301af2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// RUN: llvm-mc -triple x86_64-apple-darwin10 %s | FileCheck %s

.macro GET   var,re2g
    movl   \var@GOTOFF(%ebx),\re2g
.endm


GET    is_sse, %eax

// CHECK: movl	is_sse@GOTOFF(%ebx), %eax

.macro bar
    .long $n
.endm

bar 1, 2, 3
bar

// CHECK: .long 3
// CHECK: .long 0