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
42 lines
1.9 KiB
ArmAsm
42 lines
1.9 KiB
ArmAsm
// RUN: not llvm-mc -triple arm64 -show-encoding < %s 2>%t | FileCheck %s
|
|
// RUN: FileCheck --check-prefix=CHECK-ERRORS < %t %s
|
|
|
|
adr x0, #0
|
|
adr x0, #1
|
|
adr x0, 1f
|
|
adr x0, foo
|
|
// CHECK: adr x0, #0 // encoding: [0x00,0x00,0x00,0x10]
|
|
// CHECK: adr x0, #1 // encoding: [0x00,0x00,0x00,0x30]
|
|
// CHECK: adr x0, .Ltmp0 // encoding: [A,A,A,0x10'A']
|
|
// CHECK-NEXT: // fixup A - offset: 0, value: .Ltmp0, kind: fixup_aarch64_pcrel_adr_imm21
|
|
// CHECK: adr x0, foo // encoding: [A,A,A,0x10'A']
|
|
// CHECK-NEXT: // fixup A - offset: 0, value: foo, kind: fixup_aarch64_pcrel_adr_imm21
|
|
|
|
adrp x0, #0
|
|
adrp x0, #4096
|
|
adrp x0, 1f
|
|
adrp x0, foo
|
|
// CHECK: adrp x0, #0 // encoding: [0x00,0x00,0x00,0x90]
|
|
// CHECK: adrp x0, #4096 // encoding: [0x00,0x00,0x00,0xb0]
|
|
// CHECK: adrp x0, .Ltmp0 // encoding: [A,A,A,0x90'A']
|
|
// CHECK-NEXT: // fixup A - offset: 0, value: .Ltmp0, kind: fixup_aarch64_pcrel_adrp_imm21
|
|
// CHECK: adrp x0, foo // encoding: [A,A,A,0x90'A']
|
|
// CHECK-NEXT: // fixup A - offset: 0, value: foo, kind: fixup_aarch64_pcrel_adrp_imm21
|
|
|
|
// CHECK: adrp x0, lsl // encoding: [A,A,A,0x90'A']
|
|
// CHECK-NEXT: // fixup A - offset: 0, value: lsl, kind: fixup_aarch64_pcrel_adrp_imm21
|
|
// CHECK-NEXT: adrp x0, ror // encoding: [A,A,A,0x90'A']
|
|
// CHECK-NEXT: // fixup A - offset: 0, value: ror, kind: fixup_aarch64_pcrel_adrp_imm21
|
|
// CHECK-NEXT: adr x0, uxtb // encoding: [A,A,A,0x10'A']
|
|
// CHECK-NEXT: // fixup A - offset: 0, value: uxtb, kind: fixup_aarch64_pcrel_adr_imm21
|
|
adrp x0, lsl
|
|
adrp x0, ror
|
|
adr x0, uxtb
|
|
|
|
adr x0, #0xffffffff
|
|
adrp x0, #0xffffffff
|
|
adrp x0, #1
|
|
// CHECK-ERRORS: error: expected label or encodable integer pc offset
|
|
// CHECK-ERRORS: error: expected label or encodable integer pc offset
|
|
// CHECK-ERRORS: error: expected label or encodable integer pc offset
|