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
145 lines
7.6 KiB
ArmAsm
145 lines
7.6 KiB
ArmAsm
// NOTE: Assertions have been autogenerated by utils/update_mc_test_checks.py UTC_ARGS: --version 6
|
|
// RUN: llvm-mc -triple=amdgcn -mcpu=gfx1030 -show-encoding %s | FileCheck --check-prefix=GFX10 %s
|
|
// RUN: not llvm-mc -triple=amdgcn -mcpu=gfx1100 -show-encoding %s | FileCheck --check-prefix=GFX11 %s
|
|
// RUN: not llvm-mc -triple=amdgcn -mcpu=gfx1100 -filetype=null %s 2>&1 | FileCheck --check-prefixes=GFX11-ERR %s
|
|
|
|
// On GFX11+, EXECZ and VCCZ are no longer allowed to be used as sources to SALU and VALU instructions.
|
|
// The inline constants are removed. VCCZ and EXECZ still exist and can be use for conditional branches.
|
|
// LDS_DIRECT and POPS_EXITING_WAVE_ID are also no longer allowed.
|
|
|
|
//---------------------------------------------------------------------------//
|
|
// EXECZ
|
|
//---------------------------------------------------------------------------//
|
|
|
|
s_cbranch_execz 0x100
|
|
// GFX10: s_cbranch_execz 256 ; encoding: [0x00,0x01,0x88,0xbf]
|
|
// GFX11: s_cbranch_execz 256 ; encoding: [0x00,0x01,0xa5,0xbf]
|
|
|
|
s_add_i32 s0, execz, s2
|
|
// GFX10: s_add_i32 s0, src_execz, s2 ; encoding: [0xfc,0x02,0x00,0x81]
|
|
// GFX11-ERR: :[[@LINE-2]]:15: error: src_execz register not available on this GPU
|
|
|
|
s_add_i32 s0, src_execz, s2
|
|
// GFX10: s_add_i32 s0, src_execz, s2 ; encoding: [0xfc,0x02,0x00,0x81]
|
|
// GFX11-ERR: :[[@LINE-2]]:15: error: src_execz register not available on this GPU
|
|
|
|
s_add_i32 s0, s1, execz
|
|
// GFX10: s_add_i32 s0, s1, src_execz ; encoding: [0x01,0xfc,0x00,0x81]
|
|
// GFX11-ERR: :[[@LINE-2]]:19: error: src_execz register not available on this GPU
|
|
|
|
s_add_i32 s0, s1, src_execz
|
|
// GFX10: s_add_i32 s0, s1, src_execz ; encoding: [0x01,0xfc,0x00,0x81]
|
|
// GFX11-ERR: :[[@LINE-2]]:19: error: src_execz register not available on this GPU
|
|
|
|
v_add_f64 v[0:1], execz, v[2:3]
|
|
// GFX10: v_add_f64 v[0:1], src_execz, v[2:3] ; encoding: [0x00,0x00,0x64,0xd5,0xfc,0x04,0x02,0x02]
|
|
// GFX11-ERR: :[[@LINE-2]]:19: error: src_execz register not available on this GPU
|
|
|
|
v_add_f64 v[0:1], src_execz, v[2:3]
|
|
// GFX10: v_add_f64 v[0:1], src_execz, v[2:3] ; encoding: [0x00,0x00,0x64,0xd5,0xfc,0x04,0x02,0x02]
|
|
// GFX11-ERR: :[[@LINE-2]]:19: error: src_execz register not available on this GPU
|
|
|
|
v_add_f64 v[0:1], v[1:2], execz
|
|
// GFX10: v_add_f64 v[0:1], v[1:2], src_execz ; encoding: [0x00,0x00,0x64,0xd5,0x01,0xf9,0x01,0x02]
|
|
// GFX11-ERR: :[[@LINE-2]]:27: error: src_execz register not available on this GPU
|
|
|
|
v_add_f64 v[0:1], v[1:2], src_execz
|
|
// GFX10: v_add_f64 v[0:1], v[1:2], src_execz ; encoding: [0x00,0x00,0x64,0xd5,0x01,0xf9,0x01,0x02]
|
|
// GFX11-ERR: :[[@LINE-2]]:27: error: src_execz register not available on this GPU
|
|
|
|
//---------------------------------------------------------------------------//
|
|
// VCCZ
|
|
//---------------------------------------------------------------------------//
|
|
|
|
s_cbranch_vccz 0x100
|
|
// GFX10: s_cbranch_vccz 256 ; encoding: [0x00,0x01,0x86,0xbf]
|
|
// GFX11: s_cbranch_vccz 256 ; encoding: [0x00,0x01,0xa3,0xbf]
|
|
|
|
s_add_i32 s0, vccz, s2
|
|
// GFX10: s_add_i32 s0, src_vccz, s2 ; encoding: [0xfb,0x02,0x00,0x81]
|
|
// GFX11-ERR: :[[@LINE-2]]:15: error: src_vccz register not available on this GPU
|
|
|
|
s_add_i32 s0, src_vccz, s2
|
|
// GFX10: s_add_i32 s0, src_vccz, s2 ; encoding: [0xfb,0x02,0x00,0x81]
|
|
// GFX11-ERR: :[[@LINE-2]]:15: error: src_vccz register not available on this GPU
|
|
|
|
s_add_i32 s0, s1, vccz
|
|
// GFX10: s_add_i32 s0, s1, src_vccz ; encoding: [0x01,0xfb,0x00,0x81]
|
|
// GFX11-ERR: :[[@LINE-2]]:19: error: src_vccz register not available on this GPU
|
|
|
|
s_add_i32 s0, s1, src_vccz
|
|
// GFX10: s_add_i32 s0, s1, src_vccz ; encoding: [0x01,0xfb,0x00,0x81]
|
|
// GFX11-ERR: :[[@LINE-2]]:19: error: src_vccz register not available on this GPU
|
|
|
|
v_add_f64 v[0:1], vccz, v[2:3]
|
|
// GFX10: v_add_f64 v[0:1], src_vccz, v[2:3] ; encoding: [0x00,0x00,0x64,0xd5,0xfb,0x04,0x02,0x02]
|
|
// GFX11-ERR: :[[@LINE-2]]:19: error: src_vccz register not available on this GPU
|
|
|
|
v_add_f64 v[0:1], src_vccz, v[2:3]
|
|
// GFX10: v_add_f64 v[0:1], src_vccz, v[2:3] ; encoding: [0x00,0x00,0x64,0xd5,0xfb,0x04,0x02,0x02]
|
|
// GFX11-ERR: :[[@LINE-2]]:19: error: src_vccz register not available on this GPU
|
|
|
|
v_add_f64 v[0:1], v[1:2], vccz
|
|
// GFX10: v_add_f64 v[0:1], v[1:2], src_vccz ; encoding: [0x00,0x00,0x64,0xd5,0x01,0xf7,0x01,0x02]
|
|
// GFX11-ERR: :[[@LINE-2]]:27: error: src_vccz register not available on this GPU
|
|
|
|
v_add_f64 v[0:1], v[1:2], src_vccz
|
|
// GFX10: v_add_f64 v[0:1], v[1:2], src_vccz ; encoding: [0x00,0x00,0x64,0xd5,0x01,0xf7,0x01,0x02]
|
|
// GFX11-ERR: :[[@LINE-2]]:27: error: src_vccz register not available on this GPU
|
|
|
|
//---------------------------------------------------------------------------//
|
|
// LDS_DIRECT
|
|
//---------------------------------------------------------------------------//
|
|
|
|
v_readfirstlane_b32 s0, lds_direct
|
|
// GFX10: v_readfirstlane_b32 s0, src_lds_direct ; encoding: [0xfe,0x04,0x00,0x7e]
|
|
// GFX11-ERR: :[[@LINE-2]]:25: error: lds_direct is not supported on this GPU
|
|
|
|
v_readfirstlane_b32 s0, src_lds_direct
|
|
// GFX10: v_readfirstlane_b32 s0, src_lds_direct ; encoding: [0xfe,0x04,0x00,0x7e]
|
|
// GFX11-ERR: :[[@LINE-2]]:25: error: lds_direct is not supported on this GPU
|
|
|
|
v_mov_b32 v0, lds_direct
|
|
// GFX10: v_mov_b32_e32 v0, src_lds_direct ; encoding: [0xfe,0x02,0x00,0x7e]
|
|
// GFX11-ERR: :[[@LINE-2]]:15: error: lds_direct is not supported on this GPU
|
|
|
|
v_mov_b32 v0, src_lds_direct
|
|
// GFX10: v_mov_b32_e32 v0, src_lds_direct ; encoding: [0xfe,0x02,0x00,0x7e]
|
|
// GFX11-ERR: :[[@LINE-2]]:15: error: lds_direct is not supported on this GPU
|
|
|
|
//---------------------------------------------------------------------------//
|
|
// POPS_EXITING_WAVE_ID
|
|
//---------------------------------------------------------------------------//
|
|
|
|
s_add_i32 s0, src_pops_exiting_wave_id, s1
|
|
// GFX10: s_add_i32 s0, src_pops_exiting_wave_id, s1 ; encoding: [0xef,0x01,0x00,0x81]
|
|
// GFX11-ERR: :[[@LINE-2]]:15: error: src_pops_exiting_wave_id register not available on this GPU
|
|
|
|
s_add_i32 s0, s1, src_pops_exiting_wave_id
|
|
// GFX10: s_add_i32 s0, s1, src_pops_exiting_wave_id ; encoding: [0x01,0xef,0x00,0x81]
|
|
// GFX11-ERR: :[[@LINE-2]]:19: error: src_pops_exiting_wave_id register not available on this GPU
|
|
|
|
s_add_i32 s0, pops_exiting_wave_id, s1
|
|
// GFX10: s_add_i32 s0, src_pops_exiting_wave_id, s1 ; encoding: [0xef,0x01,0x00,0x81]
|
|
// GFX11-ERR: :[[@LINE-2]]:15: error: src_pops_exiting_wave_id register not available on this GPU
|
|
|
|
s_add_i32 s0, s1, pops_exiting_wave_id
|
|
// GFX10: s_add_i32 s0, s1, src_pops_exiting_wave_id ; encoding: [0x01,0xef,0x00,0x81]
|
|
// GFX11-ERR: :[[@LINE-2]]:19: error: src_pops_exiting_wave_id register not available on this GPU
|
|
|
|
v_add_co_u32 v0, s0, pops_exiting_wave_id, v1
|
|
// GFX10: v_add_co_u32 v0, s0, src_pops_exiting_wave_id, v1 ; encoding: [0x00,0x00,0x0f,0xd7,0xef,0x02,0x02,0x02]
|
|
// GFX11-ERR: :[[@LINE-2]]:22: error: src_pops_exiting_wave_id register not available on this GPU
|
|
|
|
v_add_co_u32 v0, s0, src_pops_exiting_wave_id, v1
|
|
// GFX10: v_add_co_u32 v0, s0, src_pops_exiting_wave_id, v1 ; encoding: [0x00,0x00,0x0f,0xd7,0xef,0x02,0x02,0x02]
|
|
// GFX11-ERR: :[[@LINE-2]]:22: error: src_pops_exiting_wave_id register not available on this GPU
|
|
|
|
v_add_co_u32 v0, s0, v1, pops_exiting_wave_id
|
|
// GFX10: v_add_co_u32 v0, s0, v1, src_pops_exiting_wave_id ; encoding: [0x00,0x00,0x0f,0xd7,0x01,0xdf,0x01,0x02]
|
|
// GFX11-ERR: :[[@LINE-2]]:26: error: src_pops_exiting_wave_id register not available on this GPU
|
|
|
|
v_add_co_u32 v0, s0, v1, src_pops_exiting_wave_id
|
|
// GFX10: v_add_co_u32 v0, s0, v1, src_pops_exiting_wave_id ; encoding: [0x00,0x00,0x0f,0xd7,0x01,0xdf,0x01,0x02]
|
|
// GFX11-ERR: :[[@LINE-2]]:26: error: src_pops_exiting_wave_id register not available on this GPU
|