mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-26 21:32:10 +00:00
b5191e98e8
The GNU assembler supports .rep as an alias for .rept. This simply creates the alias for it and introduces a test for both .rept and .rep. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@198097 91177308-0d34-0410-b5e6-96231b3b80d8
31 lines
586 B
ArmAsm
31 lines
586 B
ArmAsm
# RUN: llvm-mc -triple i686-elf -filetype asm -o - %s | FileCheck %s
|
|
|
|
.data
|
|
|
|
.global two_bad_calls
|
|
.type two_bad_calls,@function
|
|
two_bad_calls:
|
|
.rept 2
|
|
.long 0xbadca11
|
|
.endr
|
|
|
|
# CHECK-LABEL: two_bad_calls
|
|
# CHECK: .long 195938833
|
|
# CHECK: .long 195938833
|
|
|
|
.global half_a_dozen_daffodils
|
|
.type half_a_dozen_daffodils,@function
|
|
half_a_dozen_daffodils:
|
|
.rep 6
|
|
.long 0xdaff0d11
|
|
.endr
|
|
|
|
# CHECK-LABEL: half_a_dozen_daffodils
|
|
# CHECK: .long 3674148113
|
|
# CHECK: .long 3674148113
|
|
# CHECK: .long 3674148113
|
|
# CHECK: .long 3674148113
|
|
# CHECK: .long 3674148113
|
|
# CHECK: .long 3674148113
|
|
|