projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Implement parsing support for the .comm directive. Patch by
[oota-llvm.git]
/
test
/
MC
/
AsmParser
/
x86_operands.s
1
// FIXME: Actually test that we get the expected results.
2
3
// RUN: llvm-mc %s > %t
4
5
# Immediates
6
push $1
7
push $(1+2)
8
push $a
9
push $1 + 2
10
11
# Disambiguation
12
push 4+4
13
push (4+4)
14
push (4+4)(%eax)
15
push 8(%eax)
16
push (%eax)
17
push (4+4)(,%eax)
18
19
# Indirect Memory Operands
20
push 1(%eax)
21
push 1(%eax,%ebx)
22
push 1(%eax,%ebx,)
23
push 1(%eax,%ebx,4)
24
push 1(,%ebx)
25
push 1(,%ebx,)
26
push 1(,%ebx,4)
27
push 1(,%ebx,(2+2))
28
29
# '*'
30
call a
31
call *a
32
call *%eax
33
call 4(%eax) # FIXME: Warn or reject.
34
call *4(%eax)
35
36