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
56 lines
1.3 KiB
ArmAsm
56 lines
1.3 KiB
ArmAsm
@RUN: llvm-mc -triple armv7-unknown-linux-gnueabi %s | FileCheck --check-prefix=CHECK %s
|
|
@RUN: llvm-mc -triple thumbv7-unknown-linux-gnueabi %s | FileCheck --check-prefix=CHECK %s
|
|
|
|
@
|
|
@ Check that ldr to constant pool correctly transfers the condition codes
|
|
@
|
|
@ simple test
|
|
.section a,"ax",%progbits
|
|
@ CHECK-LABEL: f0:
|
|
f0:
|
|
it eq
|
|
ldreq r0, =0x10002
|
|
@ CHECK: ldreq r0, .Ltmp[[TMP0:[0-9]+]]
|
|
|
|
@ loading multiple constants
|
|
.section b,"ax",%progbits
|
|
@ CHECK-LABEL: f1:
|
|
f1:
|
|
ite eq
|
|
ldreq r0, =0x10003
|
|
@ CHECK: ldreq r0, .Ltmp[[TMP1:[0-9]+]]
|
|
ldrne r0, =0x10004
|
|
@ CHECK: ldrne r0, .Ltmp[[TMP2:[0-9]+]]
|
|
|
|
@ transformation to mov
|
|
.section c, "ax", %progbits
|
|
@ CHECK-LABEL: f2:
|
|
f2:
|
|
@ Can use the narrow Thumb mov as it does not set flags in an IT block
|
|
it eq
|
|
ldreq r1, =0x1
|
|
@ CHECK: moveq r1, #1
|
|
|
|
@ Must use the wide Thumb mov if the constant can't be represented
|
|
ite eq
|
|
ldreq r2, = 0x1f000000
|
|
@ CHECK-ARM moveq r2, #520093696
|
|
@ CHECK-THUMB2 moveq.w r2, #520093696
|
|
ldrne r3, = 0x00001234
|
|
@ CHECK: movwne r3, #4660
|
|
|
|
@
|
|
@ Constant Pools
|
|
@
|
|
@ CHECK: .section a,"ax",%progbits
|
|
@ CHECK: .p2align 2
|
|
@ CHECK: .Ltmp[[TMP0]]
|
|
@ CHECK: .long 65538
|
|
|
|
@ CHECK: .section b,"ax",%progbits
|
|
@ CHECK: .p2align 2
|
|
@ CHECK: .Ltmp[[TMP1]]
|
|
@ CHECK: .long 65539
|
|
@ CHECK: .Ltmp[[TMP2]]
|
|
@ CHECK: .long 65540
|