Files
TheRock/compiler/amd-llvm/llvm/test/MC/AMDGPU/add-sub-no-carry.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

117 lines
6.4 KiB
ArmAsm

// NOTE: Assertions have been autogenerated by utils/update_mc_test_checks.py UTC_ARGS: --unique --sort --version 6
// RUN: llvm-mc -triple=amdgcn -mcpu=gfx900 -show-encoding %s | FileCheck --check-prefix=GFX9 %s
// RUN: not llvm-mc -triple=amdgcn -mcpu=fiji %s -filetype=null 2>&1 | FileCheck --check-prefix=ERR-VI --implicit-check-not=error: %s
// RUN: not llvm-mc -triple=amdgcn -mcpu=bonaire %s -filetype=null 2>&1 | FileCheck --check-prefix=ERR-SICI --implicit-check-not=error: %s
// FIXME: pre-gfx9 errors should be more useful
v_add_u32 v1, 4.0, v2
// ERR-SICI: :[[@LINE-1]]:1: error: instruction not supported on this GPU (bonaire): v_add_u32
// ERR-VI: :[[@LINE-2]]:1: error: operands are not valid for this GPU or mode
// GFX9: v_add_u32_e32 v1, 4.0, v2 ; encoding: [0xf6,0x04,0x02,0x68]
v_add_u32 v1, s1, v2
// ERR-SICI: :[[@LINE-1]]:1: error: instruction not supported on this GPU (bonaire): v_add_u32
// ERR-VI: :[[@LINE-2]]:1: error: operands are not valid for this GPU or mode
// GFX9: v_add_u32_e32 v1, s1, v2 ; encoding: [0x01,0x04,0x02,0x68]
v_add_u32 v1, v2, 4.0
// ERR-SICI: :[[@LINE-1]]:1: error: instruction not supported on this GPU (bonaire): v_add_u32
// ERR-VI: :[[@LINE-2]]:1: error: operands are not valid for this GPU or mode
// GFX9: v_add_u32_e64 v1, v2, 4.0 ; encoding: [0x01,0x00,0x34,0xd1,0x02,0xed,0x01,0x00]
v_add_u32 v1, v2, s1
// ERR-SICI: :[[@LINE-1]]:1: error: instruction not supported on this GPU (bonaire): v_add_u32
// ERR-VI: :[[@LINE-2]]:1: error: operands are not valid for this GPU or mode
// GFX9: v_add_u32_e64 v1, v2, s1 ; encoding: [0x01,0x00,0x34,0xd1,0x02,0x03,0x00,0x00]
v_add_u32 v1, v2, v3
// ERR-SICI: :[[@LINE-1]]:1: error: instruction not supported on this GPU (bonaire): v_add_u32
// ERR-VI: :[[@LINE-2]]:1: error: operands are not valid for this GPU or mode
// GFX9: v_add_u32_e32 v1, v2, v3 ; encoding: [0x02,0x07,0x02,0x68]
v_add_u32_e32 v1, s1, v3
// ERR-SICI: :[[@LINE-1]]:1: error: instruction not supported on this GPU (bonaire): v_add_u32
// ERR-VI: :[[@LINE-2]]:1: error: operands are not valid for this GPU or mode
// GFX9: v_add_u32_e32 v1, s1, v3 ; encoding: [0x01,0x06,0x02,0x68]
v_add_u32_e32 v1, v2, v3
// ERR-SICI: :[[@LINE-1]]:1: error: instruction not supported on this GPU (bonaire): v_add_u32
// ERR-VI: :[[@LINE-2]]:1: error: operands are not valid for this GPU or mode
// GFX9: v_add_u32_e32 v1, v2, v3 ; encoding: [0x02,0x07,0x02,0x68]
v_sub_u32 v1, 4.0, v2
// ERR-SICI: :[[@LINE-1]]:1: error: instruction not supported on this GPU (bonaire): v_sub_u32
// ERR-VI: :[[@LINE-2]]:1: error: operands are not valid for this GPU or mode
// GFX9: v_sub_u32_e32 v1, 4.0, v2 ; encoding: [0xf6,0x04,0x02,0x6a]
v_sub_u32 v1, s1, v2
// ERR-SICI: :[[@LINE-1]]:1: error: instruction not supported on this GPU (bonaire): v_sub_u32
// ERR-VI: :[[@LINE-2]]:1: error: operands are not valid for this GPU or mode
// GFX9: v_sub_u32_e32 v1, s1, v2 ; encoding: [0x01,0x04,0x02,0x6a]
v_sub_u32 v1, v2, 4.0
// ERR-SICI: :[[@LINE-1]]:1: error: instruction not supported on this GPU (bonaire): v_sub_u32
// ERR-VI: :[[@LINE-2]]:1: error: operands are not valid for this GPU or mode
// GFX9: v_sub_u32_e64 v1, v2, 4.0 ; encoding: [0x01,0x00,0x35,0xd1,0x02,0xed,0x01,0x00]
v_sub_u32 v1, v2, s1
// ERR-SICI: :[[@LINE-1]]:1: error: instruction not supported on this GPU (bonaire): v_sub_u32
// ERR-VI: :[[@LINE-2]]:1: error: operands are not valid for this GPU or mode
// GFX9: v_sub_u32_e64 v1, v2, s1 ; encoding: [0x01,0x00,0x35,0xd1,0x02,0x03,0x00,0x00]
v_sub_u32 v1, v2, v3
// ERR-SICI: :[[@LINE-1]]:1: error: instruction not supported on this GPU (bonaire): v_sub_u32
// ERR-VI: :[[@LINE-2]]:1: error: operands are not valid for this GPU or mode
// GFX9: v_sub_u32_e32 v1, v2, v3 ; encoding: [0x02,0x07,0x02,0x6a]
v_sub_u32_e32 v1, s1, v3
// ERR-SICI: :[[@LINE-1]]:1: error: instruction not supported on this GPU (bonaire): v_sub_u32
// ERR-VI: :[[@LINE-2]]:1: error: operands are not valid for this GPU or mode
// GFX9: v_sub_u32_e32 v1, s1, v3 ; encoding: [0x01,0x06,0x02,0x6a]
v_sub_u32_e32 v1, v2, v3
// ERR-SICI: :[[@LINE-1]]:1: error: instruction not supported on this GPU (bonaire): v_sub_u32
// ERR-VI: :[[@LINE-2]]:1: error: operands are not valid for this GPU or mode
// GFX9: v_sub_u32_e32 v1, v2, v3 ; encoding: [0x02,0x07,0x02,0x6a]
v_subrev_u32 v1, 4.0, v2
// ERR-SICI: :[[@LINE-1]]:1: error: instruction not supported on this GPU (bonaire): v_subrev_u32
// ERR-VI: :[[@LINE-2]]:1: error: operands are not valid for this GPU or mode
// GFX9: v_subrev_u32_e32 v1, 4.0, v2 ; encoding: [0xf6,0x04,0x02,0x6c]
v_subrev_u32 v1, s1, v2
// ERR-SICI: :[[@LINE-1]]:1: error: instruction not supported on this GPU (bonaire): v_subrev_u32
// ERR-VI: :[[@LINE-2]]:1: error: operands are not valid for this GPU or mode
// GFX9: v_subrev_u32_e32 v1, s1, v2 ; encoding: [0x01,0x04,0x02,0x6c]
v_subrev_u32 v1, v2, 4.0
// ERR-SICI: :[[@LINE-1]]:1: error: instruction not supported on this GPU (bonaire): v_subrev_u32
// ERR-VI: :[[@LINE-2]]:1: error: operands are not valid for this GPU or mode
// GFX9: v_subrev_u32_e64 v1, v2, 4.0 ; encoding: [0x01,0x00,0x36,0xd1,0x02,0xed,0x01,0x00]
v_subrev_u32 v1, v2, s1
// ERR-SICI: :[[@LINE-1]]:1: error: instruction not supported on this GPU (bonaire): v_subrev_u32
// ERR-VI: :[[@LINE-2]]:1: error: operands are not valid for this GPU or mode
// GFX9: v_subrev_u32_e64 v1, v2, s1 ; encoding: [0x01,0x00,0x36,0xd1,0x02,0x03,0x00,0x00]
v_subrev_u32 v1, v2, v3
// ERR-SICI: :[[@LINE-1]]:1: error: instruction not supported on this GPU (bonaire): v_subrev_u32
// ERR-VI: :[[@LINE-2]]:1: error: operands are not valid for this GPU or mode
// GFX9: v_subrev_u32_e32 v1, v2, v3 ; encoding: [0x02,0x07,0x02,0x6c]
v_subrev_u32_e32 v1, s1, v3
// ERR-SICI: :[[@LINE-1]]:1: error: instruction not supported on this GPU (bonaire): v_subrev_u32
// ERR-VI: :[[@LINE-2]]:1: error: operands are not valid for this GPU or mode
// GFX9: v_subrev_u32_e32 v1, s1, v3 ; encoding: [0x01,0x06,0x02,0x6c]
v_subrev_u32_e32 v1, v2, v3
// ERR-SICI: :[[@LINE-1]]:1: error: instruction not supported on this GPU (bonaire): v_subrev_u32
// ERR-VI: :[[@LINE-2]]:1: error: operands are not valid for this GPU or mode
// GFX9: v_subrev_u32_e32 v1, v2, v3 ; encoding: [0x02,0x07,0x02,0x6c]