Files
TheRock/compiler/amd-llvm/llvm/test/MC/AMDGPU/flat-scratch-st-mode.s
T
derek.holloway 7502bf64a4
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
Flatten subprojects into a single base monorepo
2026-09-02 16:34:47 -07:00

130 lines
8.5 KiB
ArmAsm

// NOTE: Assertions have been autogenerated by utils/update_mc_test_checks.py UTC_ARGS: --unique --sort --version 6
// RUN: not llvm-mc -triple=amdgcn -mcpu=tonga -filetype=null 2>&1 %s | FileCheck -check-prefix=VI-ERR --implicit-check-not=error: %s
// RUN: not llvm-mc -triple=amdgcn -mcpu=gfx900 -filetype=null 2>&1 %s | FileCheck -check-prefixes=GFX9-ERR,GFX9_10-ERR --implicit-check-not=error: %s
// RUN: not llvm-mc -triple=amdgcn -mcpu=gfx1010 -filetype=null 2>&1 %s | FileCheck --check-prefixes=GFX1010-ERR,GFX9_10-ERR --implicit-check-not=error: %s
// RUN: llvm-mc -triple=amdgcn -mcpu=gfx1030 -show-encoding %s | FileCheck --check-prefixes=GFX1030 %s
scratch_load_dword v1, off, off
// GFX1030: scratch_load_dword v1, off, off ; encoding: [0x00,0x40,0x30,0xdc,0x00,0x00,0x7f,0x01]
// GFX9_10-ERR: :[[@LINE-2]]:1: error: operands are not valid for this GPU or mode
// VI-ERR: :[[@LINE-3]]:1: error: instruction not supported on this GPU (tonga): scratch_load_dword
scratch_load_dword v1, off, off offset:2047
// GFX1030: scratch_load_dword v1, off, off offset:2047 ; encoding: [0xff,0x47,0x30,0xdc,0x00,0x00,0x7f,0x01]
// GFX9_10-ERR: :[[@LINE-2]]:1: error: operands are not valid for this GPU or mode
// VI-ERR: :[[@LINE-3]]:1: error: instruction not supported on this GPU (tonga): scratch_load_dword
scratch_load_dwordx2 v[1:2], off, off
// GFX1030: scratch_load_dwordx2 v[1:2], off, off ; encoding: [0x00,0x40,0x34,0xdc,0x00,0x00,0x7f,0x01]
// GFX9_10-ERR: :[[@LINE-2]]:1: error: operands are not valid for this GPU or mode
// VI-ERR: :[[@LINE-3]]:1: error: instruction not supported on this GPU (tonga): scratch_load_dwordx2
scratch_load_dwordx3 v[1:3], off, off
// GFX1030: scratch_load_dwordx3 v[1:3], off, off ; encoding: [0x00,0x40,0x3c,0xdc,0x00,0x00,0x7f,0x01]
// GFX9_10-ERR: :[[@LINE-2]]:1: error: operands are not valid for this GPU or mode
// VI-ERR: :[[@LINE-3]]:1: error: instruction not supported on this GPU (tonga): scratch_load_dwordx3
scratch_load_dwordx4 v[1:4], off, off
// GFX1030: scratch_load_dwordx4 v[1:4], off, off ; encoding: [0x00,0x40,0x38,0xdc,0x00,0x00,0x7f,0x01]
// GFX9_10-ERR: :[[@LINE-2]]:1: error: operands are not valid for this GPU or mode
// VI-ERR: :[[@LINE-3]]:1: error: instruction not supported on this GPU (tonga): scratch_load_dwordx4
scratch_load_sbyte v1, off, off
// GFX1030: scratch_load_sbyte v1, off, off ; encoding: [0x00,0x40,0x24,0xdc,0x00,0x00,0x7f,0x01]
// GFX9_10-ERR: :[[@LINE-2]]:1: error: operands are not valid for this GPU or mode
// VI-ERR: :[[@LINE-3]]:1: error: instruction not supported on this GPU (tonga): scratch_load_sbyte
scratch_load_sbyte_d16 v1, off, off
// GFX1030: scratch_load_sbyte_d16 v1, off, off ; encoding: [0x00,0x40,0x88,0xdc,0x00,0x00,0x7f,0x01]
// GFX9_10-ERR: :[[@LINE-2]]:1: error: operands are not valid for this GPU or mode
// VI-ERR: :[[@LINE-3]]:1: error: instruction not supported on this GPU (tonga): scratch_load_sbyte_d16
scratch_load_sbyte_d16_hi v1, off, off
// GFX1030: scratch_load_sbyte_d16_hi v1, off, off ; encoding: [0x00,0x40,0x8c,0xdc,0x00,0x00,0x7f,0x01]
// GFX9_10-ERR: :[[@LINE-2]]:1: error: operands are not valid for this GPU or mode
// VI-ERR: :[[@LINE-3]]:1: error: instruction not supported on this GPU (tonga): scratch_load_sbyte_d16_hi
scratch_load_short_d16 v1, off, off
// GFX1030: scratch_load_short_d16 v1, off, off ; encoding: [0x00,0x40,0x90,0xdc,0x00,0x00,0x7f,0x01]
// GFX9_10-ERR: :[[@LINE-2]]:1: error: operands are not valid for this GPU or mode
// VI-ERR: :[[@LINE-3]]:1: error: instruction not supported on this GPU (tonga): scratch_load_short_d16
scratch_load_short_d16_hi v1, off, off
// GFX1030: scratch_load_short_d16_hi v1, off, off ; encoding: [0x00,0x40,0x94,0xdc,0x00,0x00,0x7f,0x01]
// GFX9_10-ERR: :[[@LINE-2]]:1: error: operands are not valid for this GPU or mode
// VI-ERR: :[[@LINE-3]]:1: error: instruction not supported on this GPU (tonga): scratch_load_short_d16_hi
scratch_load_sshort v1, off, off
// GFX1030: scratch_load_sshort v1, off, off ; encoding: [0x00,0x40,0x2c,0xdc,0x00,0x00,0x7f,0x01]
// GFX9_10-ERR: :[[@LINE-2]]:1: error: operands are not valid for this GPU or mode
// VI-ERR: :[[@LINE-3]]:1: error: instruction not supported on this GPU (tonga): scratch_load_sshort
scratch_load_ubyte v1, off, off
// GFX1030: scratch_load_ubyte v1, off, off ; encoding: [0x00,0x40,0x20,0xdc,0x00,0x00,0x7f,0x01]
// GFX9_10-ERR: :[[@LINE-2]]:1: error: operands are not valid for this GPU or mode
// VI-ERR: :[[@LINE-3]]:1: error: instruction not supported on this GPU (tonga): scratch_load_ubyte
scratch_load_ubyte_d16 v1, off, off
// GFX1030: scratch_load_ubyte_d16 v1, off, off ; encoding: [0x00,0x40,0x80,0xdc,0x00,0x00,0x7f,0x01]
// GFX9_10-ERR: :[[@LINE-2]]:1: error: operands are not valid for this GPU or mode
// VI-ERR: :[[@LINE-3]]:1: error: instruction not supported on this GPU (tonga): scratch_load_ubyte_d16
scratch_load_ubyte_d16_hi v1, off, off
// GFX1030: scratch_load_ubyte_d16_hi v1, off, off ; encoding: [0x00,0x40,0x84,0xdc,0x00,0x00,0x7f,0x01]
// GFX9_10-ERR: :[[@LINE-2]]:1: error: operands are not valid for this GPU or mode
// VI-ERR: :[[@LINE-3]]:1: error: instruction not supported on this GPU (tonga): scratch_load_ubyte_d16_hi
scratch_load_ushort v1, off, off
// GFX1030: scratch_load_ushort v1, off, off ; encoding: [0x00,0x40,0x28,0xdc,0x00,0x00,0x7f,0x01]
// GFX9_10-ERR: :[[@LINE-2]]:1: error: operands are not valid for this GPU or mode
// VI-ERR: :[[@LINE-3]]:1: error: instruction not supported on this GPU (tonga): scratch_load_ushort
scratch_store_byte off, v2, off
// GFX1030: scratch_store_byte off, v2, off ; encoding: [0x00,0x40,0x60,0xdc,0x00,0x02,0x7f,0x00]
// GFX9_10-ERR: :[[@LINE-2]]:1: error: operands are not valid for this GPU or mode
// VI-ERR: :[[@LINE-3]]:1: error: instruction not supported on this GPU (tonga): scratch_store_byte
scratch_store_byte_d16_hi off, v2, off
// GFX1030: scratch_store_byte_d16_hi off, v2, off ; encoding: [0x00,0x40,0x64,0xdc,0x00,0x02,0x7f,0x00]
// GFX9_10-ERR: :[[@LINE-2]]:1: error: operands are not valid for this GPU or mode
// VI-ERR: :[[@LINE-3]]:1: error: instruction not supported on this GPU (tonga): scratch_store_byte_d16_hi
scratch_store_dword off, v2, off
// GFX1030: scratch_store_dword off, v2, off ; encoding: [0x00,0x40,0x70,0xdc,0x00,0x02,0x7f,0x00]
// GFX9_10-ERR: :[[@LINE-2]]:1: error: operands are not valid for this GPU or mode
// VI-ERR: :[[@LINE-3]]:1: error: instruction not supported on this GPU (tonga): scratch_store_dword
scratch_store_dword off, v2, off offset:2047
// GFX1030: scratch_store_dword off, v2, off offset:2047 ; encoding: [0xff,0x47,0x70,0xdc,0x00,0x02,0x7f,0x00]
// GFX9_10-ERR: :[[@LINE-2]]:1: error: operands are not valid for this GPU or mode
// VI-ERR: :[[@LINE-3]]:1: error: instruction not supported on this GPU (tonga): scratch_store_dword
scratch_store_dwordx2 off, v[2:3], off
// GFX1030: scratch_store_dwordx2 off, v[2:3], off ; encoding: [0x00,0x40,0x74,0xdc,0x00,0x02,0x7f,0x00]
// GFX9_10-ERR: :[[@LINE-2]]:1: error: operands are not valid for this GPU or mode
// VI-ERR: :[[@LINE-3]]:1: error: instruction not supported on this GPU (tonga): scratch_store_dwordx2
scratch_store_dwordx3 off, v[2:4], off
// GFX1030: scratch_store_dwordx3 off, v[2:4], off ; encoding: [0x00,0x40,0x7c,0xdc,0x00,0x02,0x7f,0x00]
// GFX9_10-ERR: :[[@LINE-2]]:1: error: operands are not valid for this GPU or mode
// VI-ERR: :[[@LINE-3]]:1: error: instruction not supported on this GPU (tonga): scratch_store_dwordx3
scratch_store_dwordx4 off, v[2:5], off
// GFX1030: scratch_store_dwordx4 off, v[2:5], off ; encoding: [0x00,0x40,0x78,0xdc,0x00,0x02,0x7f,0x00]
// GFX9_10-ERR: :[[@LINE-2]]:1: error: operands are not valid for this GPU or mode
// VI-ERR: :[[@LINE-3]]:1: error: instruction not supported on this GPU (tonga): scratch_store_dwordx4
scratch_store_short off, v2, off
// GFX1030: scratch_store_short off, v2, off ; encoding: [0x00,0x40,0x68,0xdc,0x00,0x02,0x7f,0x00]
// GFX9_10-ERR: :[[@LINE-2]]:1: error: operands are not valid for this GPU or mode
// VI-ERR: :[[@LINE-3]]:1: error: instruction not supported on this GPU (tonga): scratch_store_short
scratch_store_short_d16_hi off, v2, off
// GFX1030: scratch_store_short_d16_hi off, v2, off ; encoding: [0x00,0x40,0x6c,0xdc,0x00,0x02,0x7f,0x00]
// GFX9_10-ERR: :[[@LINE-2]]:1: error: operands are not valid for this GPU or mode
// VI-ERR: :[[@LINE-3]]:1: error: instruction not supported on this GPU (tonga): scratch_store_short_d16_hi
//// NOTE: These prefixes are unused and the list is autogenerated. Do not add tests below this line:
// GFX1010-ERR: {{.*}}
// GFX9-ERR: {{.*}}