brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.1 KiB · 269cf20 Raw
43 lines · plain
1# RUN: llvm-mc -triple=xtensa -filetype obj -o - %s \2# RUN:   | llvm-readobj -S --sd - \3# RUN:   | FileCheck -check-prefix=CHECK-LITERAL %s4 5# RUN: llvm-mc %s -triple=xtensa  -show-encoding \6# RUN:   | FileCheck -check-prefix=CHECK-INST %s7 8	.text9	.literal_position10	.literal .LCPI0_0, 30541989611	.literal .LCPI1_0, ext_var12	.global	test_literal13	.p2align	214	.type	test_literal,@function15test_literal:16	l32r	a2, .LCPI0_017	l32r	a3, .LCPI1_018	movi    a4, 3000019	movi    a5, 100020	ret21 22# CHECK-LITERAL: Section {23# CHECK-LITERAL:   Name: .literal24# CHECK-LITERAL:   SectionData (25# CHECK-LITERAL:     0000: 78563412 00000000 3075000026# CHECK-LITERAL:   )27# CHECK-LITERAL: }28 29# CHECK-INST: .literal_position30# CHECK-INST: .literal .LCPI0_0, 30541989631# CHECK-INST: .literal .LCPI1_0, ext_var32# CHECK-INST: .global test_literal33# CHECK-INST: .p2align 234# CHECK-INST: .type test_literal,@function35# CHECK-INST: test_literal:36# CHECK-INST: l32r a2, .LCPI0_037# CHECK-INST: l32r a3, .LCPI1_038# CHECK-INST: .literal .Ltmp0, 3000039# CHECK-INST: l32r a4, .Ltmp040# CHECK-INST: movi a5, 100041# CHECK-INST: ret42 43