Files
clang-p2996/bolt/test/X86/Inputs/rodata_simpl_loads.s
Amir Ayupov 0e7dd1aad1 [BOLT][TEST] Import small tests
Summary: Imported small internal tests.

(cherry picked from FBD32371964)
2021-11-11 14:28:46 -08:00

24 lines
370 B
ArmAsm

.globl main
main:
movzbl s1(%rip), %eax
cmpb s2(%rip), %al
movzbl s1+1(%rip), %eax
cmpb s2+1(%rip), %al
movzbl s1+2(%rip), %eax
cmpb s2+2(%rip), %al
movzbl s1+3(%rip), %eax
cmpb s2+3(%rip), %al
movl I1(%rip), %eax
addl I2(%rip), %eax
movl I2(%rip), %eax
.rodata
"I1":
.long 6
"I2":
.long 67
"s1":
.string "ABC"
"s2":
.string "ABC"