Files
TheRock/compiler/amd-llvm/llvm/test/MC/ELF/layout-interdependency2.s
T
derek.holloway 7502bf64a4
CodeQL / Analyze (actions) (push) Canceled after 0s
CodeQL / Analyze (python) (push) Canceled after 0s
pre-commit / pre-commit (push) Canceled after 0s
Multi-Arch CI / setup (push) Canceled after 0s
Publish build_manylinux_x86_64 images / publish_build_manylinux_x86_64 (push) Canceled after 0s
Setup (Multi-Arch) / setup (push) Canceled after 0s
Multi-Arch CI / Linux::${{ fromJSON(needs.setup.outputs.linux_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubi10 image / publish_no_rocm_image_ubi10 (push) Canceled after 0s
Multi-Arch CI / Windows::${{ fromJSON(needs.setup.outputs.windows_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Multi-Arch CI / Manifest Diff (push) Canceled after 0s
TheRock Manifest Diff Report / Generate Manifest Diff Report (push) Canceled after 0s
Multi-Arch CI / CI Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_ocl_rt images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_rocgdb images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Unit Tests / Unit Tests :: ubuntu-24.04 (push) Canceled after 0s
Unit Tests / Unit Tests :: windows-2022 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_media (push) Canceled after 0s
Unit Tests / Unit Tests Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_openmpi (push) Canceled after 0s
Flatten subprojects into a single base monorepo
2026-09-02 16:34:47 -07:00

85 lines
1.4 KiB
ArmAsm

## Contrived .zero directive example, simplified from the Linux kernel use case,
## which requires multiple iterations to converge.
## https://github.com/llvm/llvm-project/issues/100283
# RUN: llvm-mc -filetype=obj -triple=x86_64 %s -o %t
# RUN: llvm-objdump -d --no-show-raw-insn %t | FileCheck %s
# CHECK: 80: jne 0x0 <.text>
# CHECK-EMPTY:
.text
.Ltmp0:
.Ltmp1:
cli
popq %rdi
text1:
.zero (.Ltmp2-.Ltmp3)
.section "","ax",@progbits
.Ltmp3:
movq $0, %rax
.Ltmp4:
.Ltmp5:
.section .discard.intra_function_calls,"ax",@progbits
.long .Ltmp5
.section "","ax",@progbits
callq .Ltmp6
int3
.Ltmp7:
.Ltmp8:
.section .discard.intra_function_calls,"ax",@progbits
.long .Ltmp8
.section "","ax",@progbits
callq .Ltmp6
int3
.Ltmp6:
addq $0, %rsp
decq %rax
jne .Ltmp4
lfence
movq $-1, %gs:pcpu_hot+6
.Ltmp2:
.text
text2:
.zero (.Ltmp9-.Ltmp10)
.section "","ax",@progbits
.Ltmp10:
jmp .Ltmp11
.Ltmp9:
.text
text3:
.Ltmp12:
.zero (.Ltmp13-.Ltmp14)
.section "","ax",@progbits
.Ltmp14:
callq entry_untrain_ret
.Ltmp13:
.text
.zero (.Ltmp15-.Ltmp16)
.section "","ax",@progbits
.Ltmp16:
xorl %eax, %eax
btsq $63, %rax
movq %rax, %gs:pcpu_hot+6
.Ltmp15:
.text
popq %r12
popq rbp
jmp __x86_return_thunk
movl 936(%rdi), %eax
cmpl %gs:x86_spec_ctrl_current, %eax
je .Ltmp0
movl edx, %edx
wrmsr
jmp .Ltmp0
.Ltmp11:
movl $72, %ecx
jmp .Ltmp12
cmpb $0, kvm_rebooting
jne .Ltmp1