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
67 lines
2.1 KiB
ArmAsm
67 lines
2.1 KiB
ArmAsm
@@ Check that PC-relative memory addressing is annotated
|
|
|
|
@ RUN: llvm-mc %s -triple=thumbv8a --mattr=+fullfp16 -filetype=obj | \
|
|
@ RUN: llvm-objdump -d --no-show-raw-insn --triple=thumbv8a --mattr=+fullfp16 - | \
|
|
@ RUN: FileCheck %s
|
|
|
|
.text
|
|
foo:
|
|
@ CHECK: 00000000 <foo>:
|
|
.short 0x0102
|
|
foo2:
|
|
@ CHECK: 00000002 <foo2>:
|
|
.short 0x0304
|
|
|
|
_start:
|
|
@@ Check AddrMode5 instructions, with positive and negative immediates
|
|
.balign 4
|
|
vldr d0, foo
|
|
vldr s0, bar
|
|
@ CHECK: 4: vldr d0, [pc, #-8] @ 0x0 <foo>
|
|
@ CHECK-NEXT: 8: vldr s0, [pc, #56] @ 0x44 <bar>
|
|
|
|
@@ Same instructions, but the addresses are not 4-byte aligned
|
|
nop
|
|
vldr d0, foo
|
|
vldr s0, bar
|
|
@ CHECK: e: vldr d0, [pc, #-16] @ 0x0 <foo>
|
|
@ CHECK-NEXT: 12: vldr s0, [pc, #48] @ 0x44 <bar>
|
|
|
|
@@ Check that AddrMode5 instructions which do not use PC-relative addressing are not annotated
|
|
vldr d0, [r1, #8]
|
|
@ CHECK: 16: vldr d0, [r1, #8]{{$}}
|
|
|
|
@@ Check AddrMode5FP16 instructions, with positive and negative immediates
|
|
.balign 4
|
|
vldr.16 s0, foo
|
|
vldr.16 s0, foo2
|
|
vldr.16 s1, bar
|
|
vldr.16 s1, bar2
|
|
@ CHECK: 1c: vldr.16 s0, [pc, #-32] @ 0x0 <foo>
|
|
@ CHECK-NEXT: 20: vldr.16 s0, [pc, #-34] @ 0x2 <foo2>
|
|
@ CHECK-NEXT: 24: vldr.16 s1, [pc, #28] @ 0x44 <bar>
|
|
@ CHECK-NEXT: 28: vldr.16 s1, [pc, #26] @ 0x46 <bar2>
|
|
|
|
@@ Same instructions, but the addresses are not 4-byte aligned
|
|
nop
|
|
vldr.16 s0, foo
|
|
vldr.16 s0, foo2
|
|
vldr.16 s1, bar
|
|
vldr.16 s1, bar2
|
|
@ CHECK: 2e: vldr.16 s0, [pc, #-48] @ 0x0 <foo>
|
|
@ CHECK-NEXT: 32: vldr.16 s0, [pc, #-50] @ 0x2 <foo2>
|
|
@ CHECK-NEXT: 36: vldr.16 s1, [pc, #12] @ 0x44 <bar>
|
|
@ CHECK-NEXT: 3a: vldr.16 s1, [pc, #10] @ 0x46 <bar2>
|
|
|
|
@@ Check that AddrMode5FP16 instructions which do not use PC-relative addressing are not annotated
|
|
vldr.16 s0, [r1, #8]
|
|
@ CHECK: 3e: vldr.16 s0, [r1, #8]{{$}}
|
|
|
|
.balign 4
|
|
bar:
|
|
@ CHECK: 00000044 <bar>:
|
|
.short 0x0102
|
|
bar2:
|
|
@ CHECK: 00000046 <bar2>:
|
|
.short 0x0304
|