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
48 lines
1.6 KiB
ArmAsm
48 lines
1.6 KiB
ArmAsm
/// Checks that various hexagon scenarios are handled correctly:
|
|
/// - branch targets
|
|
/// - endloops
|
|
/// - inline-relocs
|
|
/// - multi-insn bundles
|
|
|
|
{
|
|
r6 = sub(r1, r0)
|
|
r7 = and(r4, #0x0)
|
|
if (p1) jump:t target1
|
|
if (p2) jump:nt target2
|
|
}
|
|
|
|
{
|
|
r8 = r7
|
|
r9 = add(r8, #0)
|
|
r10 = memw(r9)
|
|
} :endloop0
|
|
|
|
{ jump ##sym }
|
|
|
|
target1:
|
|
nop
|
|
|
|
target2:
|
|
nop
|
|
|
|
// RUN: llvm-mc %s --triple=hexagon -filetype=obj | llvm-objdump -d -r - | FileCheck %s
|
|
|
|
// CHECK: 00000000 <.text>:
|
|
// CHECK-NEXT: 0: 12 51 00 5c 5c005112 { if (p1) jump:t 0x24 <target1>
|
|
// CHECK-NEXT: 4: 14 42 00 5c 5c004214 if (p2) jump:nt 0x28 <target2>
|
|
// CHECK-NEXT: 8: 06 41 20 f3 f3204106 r6 = sub(r1,r0)
|
|
// CHECK-NEXT: c: 07 c0 04 76 7604c007 r7 = and(r4,#0x0) }
|
|
// CHECK-NEXT: 10: 08 80 67 70 70678008 { r8 = r7
|
|
// CHECK-NEXT: 14: 09 40 08 b0 b0084009 r9 = add(r8,#0x0)
|
|
// CHECK-NEXT: 18: 0a c0 89 91 9189c00a r10 = memw(r9+#0x0) } :endloop0
|
|
// CHECK-NEXT: 1c: 00 40 00 00 00004000 { immext(#0x0)
|
|
// CHECK-NEXT: 0000001c: R_HEX_B32_PCREL_X sym
|
|
// CHECK-NEXT: 20: 00 c0 00 58 5800c000 jump 0x1c <.text+0x1c> }
|
|
// CHECK-NEXT: 00000020: R_HEX_B22_PCREL_X sym+0x4
|
|
// CHECK-EMPTY:
|
|
// CHECK-NEXT: 00000024 <target1>:
|
|
// CHECK-NEXT: 24: 00 c0 00 7f 7f00c000 { nop }
|
|
// CHECK-EMPTY:
|
|
// CHECK-NEXT: 00000028 <target2>:
|
|
// CHECK-NEXT: 28: 00 c0 00 7f 7f00c000 { nop }
|