1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 19:52:54 +01:00
llvm-mirror/test/MC/AsmParser/directive_ascii.s
Daniel Dunbar 3c9ab92a24 llvm-mc: Fix bugs where bytes were unintentionally being printed as signed.
- We now print all of 403.gcc cleanly (llvm-mc -> 'as' as diffed to 'as'), minus two 
   'rep;movsl' instructions (which I missed before).

llvm-svn: 79031
2009-08-14 19:59:24 +00:00

50 lines
790 B
ArmAsm

# RUN: llvm-mc -triple i386-unknown-unknown %s | FileCheck %s
.data
# CHECK: TEST0:
TEST0:
.ascii
# CHECK: TEST1:
TEST1:
.asciz
# CHECK: TEST2:
# CHECK: .byte 65
TEST2:
.ascii "A"
# CHECK: TEST3:
# CHECK: .byte 66
# CHECK: .byte 0
# CHECK: .byte 67
# CHECK: .byte 0
TEST3:
.asciz "B", "C"
# CHECK: TEST4:
# CHECK: .byte 1
# CHECK: .byte 1
# CHECK: .byte 7
# CHECK: .byte 0
# CHECK: .byte 56
# CHECK: .byte 1
# CHECK: .byte 0
# CHECK: .byte 49
# CHECK: .byte 128
# CHECK: .byte 0
TEST4:
.ascii "\1\01\07\08\001\0001\200\0"
# CHECK: TEST5:
# CHECK: .byte 8
# CHECK: .byte 12
# CHECK: .byte 10
# CHECK: .byte 13
# CHECK: .byte 9
# CHECK: .byte 92
# CHECK: .byte 34
TEST5:
.ascii "\b\f\n\r\t\\\""