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
60 lines
1.2 KiB
ArmAsm
60 lines
1.2 KiB
ArmAsm
// RUN: llvm-mc -triple=amdgcn %s | FileCheck %s
|
|
|
|
.byte .kernel.sgpr_count
|
|
// CHECK: .byte 0
|
|
.byte .kernel.vgpr_count
|
|
// CHECK: .byte 0
|
|
v_mov_b32_e32 v5, s8
|
|
s_endpgm
|
|
.byte .kernel.sgpr_count
|
|
// CHECK: .byte 9
|
|
.byte .kernel.vgpr_count
|
|
// CHECK: .byte 6
|
|
|
|
.amdgpu_hsa_kernel K1
|
|
K1:
|
|
.byte .kernel.sgpr_count
|
|
// CHECK: .byte 0
|
|
.byte .kernel.vgpr_count
|
|
// CHECK: .byte 0
|
|
v_mov_b32_e32 v1, s86
|
|
s_endpgm
|
|
.byte .kernel.sgpr_count
|
|
// CHECK: .byte 87
|
|
.byte .kernel.vgpr_count
|
|
// CHECK: .byte 2
|
|
|
|
.amdgpu_hsa_kernel K2
|
|
.byte .kernel.sgpr_count
|
|
// CHECK: .byte 0
|
|
.byte .kernel.vgpr_count
|
|
// CHECK: .byte 0
|
|
K2:
|
|
s_load_dwordx8 s[16:23], s[0:1], 0x0
|
|
v_mov_b32_e32 v0, v0
|
|
s_endpgm
|
|
.byte .kernel.sgpr_count
|
|
// CHECK: .byte 24
|
|
.byte .kernel.vgpr_count
|
|
// CHECK: .byte 1
|
|
|
|
.text
|
|
.amdgpu_hsa_kernel K3
|
|
K3:
|
|
A = .kernel.vgpr_count
|
|
v_mov_b32_e32 v[A], s0
|
|
B = .kernel.vgpr_count
|
|
v_mov_b32_e32 v[B], s0
|
|
v_mov_b32_e32 v[B], v[A]
|
|
C = .kernel.vgpr_count
|
|
v_mov_b32_e32 v[C], v[A]
|
|
D = .kernel.sgpr_count + 3 // align
|
|
E = D + 4
|
|
s_load_dwordx4 s[D:D+3], s[E:E+1], 0x0
|
|
s_endpgm
|
|
|
|
.byte .kernel.sgpr_count
|
|
// CHECK: .byte 10
|
|
.byte .kernel.vgpr_count
|
|
// CHECK: .byte 3
|