mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-28 04:33:05 +00:00
Unbreak these tests. Chris, please verify that these changes are intended.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81217 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
930e4d96e8
commit
cd60c1fb74
@ -1,6 +1,6 @@
|
||||
# RUN: llvm-mc -triple i386-unknown-unknown %s -I %p | FileCheck %s
|
||||
|
||||
# CHECK: .byte (1 + 1)
|
||||
# CHECK: .byte 1+1
|
||||
.if 1+2
|
||||
.if 1-1
|
||||
.byte 1
|
||||
|
@ -15,7 +15,7 @@ a:
|
||||
foo:
|
||||
// CHECK: addl $24, a$b(%eax)
|
||||
addl $24, "a$b"(%eax)
|
||||
// CHECK: addl $24, (a$b + 10)(%eax)
|
||||
// CHECK: addl $24, a$b+10(%eax)
|
||||
addl $24, ("a$b" + 10)(%eax)
|
||||
|
||||
// CHECK: b$c = 10
|
||||
@ -52,7 +52,7 @@ foo:
|
||||
// CHECX: .lsym "a 8",1
|
||||
// .lsym "a 8", 1
|
||||
|
||||
// CHECK: "a 9" = (a - b)
|
||||
// CHECK: "a 9" = a-b
|
||||
.set "a 9", a - b
|
||||
|
||||
// CHECK: .long "a 9"
|
||||
|
@ -5,11 +5,11 @@
|
||||
# Immediates
|
||||
# CHECK: addl $1, %eax
|
||||
addl $1, %eax
|
||||
# CHECK: addl $(1 + 2), %eax
|
||||
# CHECK: addl $1+2, %eax
|
||||
addl $(1+2), %eax
|
||||
# CHECK: addl $a, %eax
|
||||
addl $a, %eax
|
||||
# CHECK: addl $(1 + 2), %eax
|
||||
# CHECK: addl $1+2, %eax
|
||||
addl $1 + 2, %eax
|
||||
|
||||
# Disambiguation
|
||||
@ -18,15 +18,15 @@
|
||||
#addl $1, 4+4
|
||||
# FIXME: Add back when we can match this.
|
||||
#addl $1, (4+4)
|
||||
# CHECK: addl $1, (4 + 4)(%eax)
|
||||
# CHECK: addl $1, 4+4(%eax)
|
||||
addl $1, 4+4(%eax)
|
||||
# CHECK: addl $1, (4 + 4)(%eax)
|
||||
# CHECK: addl $1, 4+4(%eax)
|
||||
addl $1, (4+4)(%eax)
|
||||
# CHECK: addl $1, 8(%eax)
|
||||
addl $1, 8(%eax)
|
||||
# CHECK: addl $1, 0(%eax)
|
||||
addl $1, (%eax)
|
||||
# CHECK: addl $1, (4 + 4)(,%eax)
|
||||
# CHECK: addl $1, 4+4(,%eax)
|
||||
addl $1, (4+4)(,%eax)
|
||||
|
||||
# Indirect Memory Operands
|
||||
|
Loading…
Reference in New Issue
Block a user