xref: /aosp_15_r20/external/llvm/test/MC/AsmParser/directive_rept.s (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker# RUN: llvm-mc -triple i686-elf -filetype asm -o - %s | FileCheck %s
2*9880d681SAndroid Build Coastguard Worker
3*9880d681SAndroid Build Coastguard Worker	.data
4*9880d681SAndroid Build Coastguard Worker
5*9880d681SAndroid Build Coastguard Worker	.global two_bad_calls
6*9880d681SAndroid Build Coastguard Worker	.type two_bad_calls,@function
7*9880d681SAndroid Build Coastguard Workertwo_bad_calls:
8*9880d681SAndroid Build Coastguard Worker	.rept 2
9*9880d681SAndroid Build Coastguard Worker	.long 0xbadca11
10*9880d681SAndroid Build Coastguard Worker	.endr
11*9880d681SAndroid Build Coastguard Worker
12*9880d681SAndroid Build Coastguard Worker# CHECK-LABEL: two_bad_calls
13*9880d681SAndroid Build Coastguard Worker# CHECK: .long	195938833
14*9880d681SAndroid Build Coastguard Worker# CHECK: .long	195938833
15*9880d681SAndroid Build Coastguard Worker
16*9880d681SAndroid Build Coastguard Worker	.global half_a_dozen_daffodils
17*9880d681SAndroid Build Coastguard Worker	.type half_a_dozen_daffodils,@function
18*9880d681SAndroid Build Coastguard Workerhalf_a_dozen_daffodils:
19*9880d681SAndroid Build Coastguard Worker	.rep 6
20*9880d681SAndroid Build Coastguard Worker	.long 0xdaff0d11
21*9880d681SAndroid Build Coastguard Worker	.endr
22*9880d681SAndroid Build Coastguard Worker
23*9880d681SAndroid Build Coastguard Worker# CHECK-LABEL: half_a_dozen_daffodils
24*9880d681SAndroid Build Coastguard Worker# CHECK: .long	3674148113
25*9880d681SAndroid Build Coastguard Worker# CHECK: .long	3674148113
26*9880d681SAndroid Build Coastguard Worker# CHECK: .long	3674148113
27*9880d681SAndroid Build Coastguard Worker# CHECK: .long	3674148113
28*9880d681SAndroid Build Coastguard Worker# CHECK: .long	3674148113
29*9880d681SAndroid Build Coastguard Worker# CHECK: .long	3674148113
30*9880d681SAndroid Build Coastguard Worker
31