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
111 lines
3.0 KiB
ArmAsm
111 lines
3.0 KiB
ArmAsm
# RUN: llvm-mc -filetype=obj --mattr=+experimental-zibi -triple=riscv32 %s \
|
|
# RUN: | llvm-objdump --mattr=+experimental-zibi -d -M no-aliases - \
|
|
# RUN: | FileCheck --check-prefix=CHECK-INST %s
|
|
# RUN: llvm-mc -filetype=obj -triple=riscv32 -mattr=+relax,+experimental-zibi %s \
|
|
# RUN: | llvm-objdump --mattr=+experimental-zibi -dr -M no-aliases - \
|
|
# RUN: | FileCheck --check-prefix=CHECK-INST-RELAX %s
|
|
|
|
# Tests that are forward in range.
|
|
|
|
# CHECK-INST-LABEL: beqi_in_range_forward
|
|
# CHECK-INST: beqi a0, 0xa, {{.*}}
|
|
|
|
# CHECK-INST-RELAX-LABEL: beqi_in_range_forward
|
|
# CHECK-INST-RELAX: beqi a0, 0xa, {{.*}}
|
|
beqi_in_range_forward:
|
|
beqi a0, 10, .L1
|
|
.fill 1000, 4, 0
|
|
.L1:
|
|
ret
|
|
|
|
# CHECK-INST-LABEL: bnei_in_range_forward
|
|
# CHECK-INST: bnei a0, 0xa, {{.*}}
|
|
|
|
# CHECK-INST-RELAX-LABEL: bnei_in_range_forward
|
|
# CHECK-INST-RELAX: bnei a0, 0xa, {{.*}}
|
|
bnei_in_range_forward:
|
|
bnei a0, 10, .L2
|
|
.fill 1000, 4, 0
|
|
.L2:
|
|
ret
|
|
|
|
# Tests that are backward in range.
|
|
|
|
# CHECK-INST-LABEL: beqi_in_range_backward
|
|
# CHECK-INST: beqi a0, 0xa, {{.*}}
|
|
|
|
# CHECK-INST-RELAX-LABEL: beqi_in_range_backward
|
|
# CHECK-INST-RELAX: beqi a0, 0xa, {{.*}}
|
|
beqi_in_range_backward:
|
|
.L3:
|
|
.fill 1000, 4, 0
|
|
beqi a0, 10, .L3
|
|
ret
|
|
|
|
# CHECK-INST-LABEL: bnei_in_range_backward
|
|
# CHECK-INST: bnei a0, 0xa, {{.*}}
|
|
|
|
# CHECK-INST-RELAX-LABEL: bnei_in_range_backward
|
|
# CHECK-INST-RELAX: bnei a0, 0xa, {{.*}}
|
|
bnei_in_range_backward:
|
|
.L4:
|
|
.fill 1000, 4, 0
|
|
bnei a0, 10, .L4
|
|
ret
|
|
|
|
# Tests that are forward out of range.
|
|
|
|
# CHECK-INST-LABEL: beqi_out_of_range_forward
|
|
# CHECK-INST: bnei a0, 0xa, {{.*}}+0x8
|
|
# CHECK-INST-NEXT: jal zero, {{.*}}
|
|
|
|
# CHECK-INST-RELAX-LABEL: beqi_out_of_range_forward
|
|
# CHECK-INST-RELAX: bnei a0, 0xa, {{.*}}+0x8
|
|
# CHECK-INST-RELAX-NEXT: jal zero, {{.*}}
|
|
beqi_out_of_range_forward:
|
|
beqi a0, 10, .L5
|
|
.fill 1300, 4, 0
|
|
.L5:
|
|
ret
|
|
|
|
# CHECK-INST-LABEL: bnei_out_of_range_forward
|
|
# CHECK-INST: beqi a0, 0xa, {{.*}}+0x8
|
|
# CHECK-INST-NEXT: jal zero, {{.*}}
|
|
|
|
# CHECK-INST-RELAX-LABEL: bnei_out_of_range_forward
|
|
# CHECK-INST-RELAX: beqi a0, 0xa, {{.*}}+0x8
|
|
# CHECK-INST-RELAX-NEXT: jal zero, {{.*}}
|
|
bnei_out_of_range_forward:
|
|
bnei a0, 10, .L6
|
|
.fill 1300, 4, 0
|
|
.L6:
|
|
ret
|
|
|
|
# Tests that are backward out of range.
|
|
|
|
# CHECK-INST-LABEL: beqi_out_of_range_backward
|
|
# CHECK-INST: bnei a0, 0xa, {{.*}}+0x1458
|
|
# CHECK-INST-NEXT: jal zero, {{.*}}
|
|
|
|
# CHECK-INST-RELAX-LABEL: beqi_out_of_range_backward
|
|
# CHECK-INST-RELAX: bnei a0, 0xa, {{.*}}+0x1458
|
|
# CHECK-INST-RELAX-NEXT: jal zero, {{.*}}
|
|
beqi_out_of_range_backward:
|
|
.L7:
|
|
.fill 1300, 4, 0
|
|
beqi a0, 10, .L7
|
|
ret
|
|
|
|
# CHECK-INST-LABEL: bnei_out_of_range_backward
|
|
# CHECK-INST: beqi a0, 0xa, {{.*}}+0x1458
|
|
# CHECK-INST-NEXT: jal zero, {{.*}}
|
|
|
|
# CHECK-INST-RELAX-LABEL: bnei_out_of_range_backward
|
|
# CHECK-INST-RELAX: beqi a0, 0xa, {{.*}}+0x1458
|
|
# CHECK-INST-RELAX-NEXT: jal zero, {{.*}}
|
|
bnei_out_of_range_backward:
|
|
.L8:
|
|
.fill 1300, 4, 0
|
|
bnei a0, 10, .L8
|
|
ret
|