Files
TheRock/compiler/amd-llvm/llvm/test/MC/AMDGPU/gfx950_asm_vop1.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

132 lines
7.0 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=gfx950 -show-encoding %s | FileCheck --check-prefix=GFX950 %s
// RUN: not llvm-mc -triple=amdgcn -mcpu=gfx942 %s -filetype=null 2>&1 | FileCheck -check-prefix=GFX942-ERR --strict-whitespace %s
v_cvt_f32_bf16 v127, 0x8000
// GFX942-ERR: :[[@LINE-1]]:1: error: instruction not supported on this GPU (gfx942): v_cvt_f32_bf16
// GFX950: v_cvt_f32_bf16_e32 v127, 0x8000 ; encoding: [0xff,0xb6,0xfe,0x7e,0x00,0x80,0x00,0x00]
v_cvt_f32_bf16 v5, -1
// GFX942-ERR: :[[@LINE-1]]:1: error: instruction not supported on this GPU (gfx942): v_cvt_f32_bf16
// GFX950: v_cvt_f32_bf16_e32 v5, -1 ; encoding: [0xc1,0xb6,0x0a,0x7e]
v_cvt_f32_bf16 v5, -v1
// GFX942-ERR: :[[@LINE-1]]:1: error: instruction not supported on this GPU (gfx942): v_cvt_f32_bf16
// GFX950: v_cvt_f32_bf16_e64 v5, -v1 ; encoding: [0x05,0x00,0x9b,0xd1,0x01,0x01,0x00,0x20]
v_cvt_f32_bf16 v5, -|v1|
// GFX942-ERR: :[[@LINE-1]]:1: error: instruction not supported on this GPU (gfx942): v_cvt_f32_bf16
// GFX950: v_cvt_f32_bf16_e64 v5, -|v1| ; encoding: [0x05,0x01,0x9b,0xd1,0x01,0x01,0x00,0x20]
v_cvt_f32_bf16 v5, 0.5
// GFX942-ERR: :[[@LINE-1]]:1: error: instruction not supported on this GPU (gfx942): v_cvt_f32_bf16
// GFX950: v_cvt_f32_bf16_e32 v5, 0.5 ; encoding: [0xf0,0xb6,0x0a,0x7e]
v_cvt_f32_bf16 v5, exec_hi
// GFX942-ERR: :[[@LINE-1]]:1: error: instruction not supported on this GPU (gfx942): v_cvt_f32_bf16
// GFX950: v_cvt_f32_bf16_e32 v5, exec_hi ; encoding: [0x7f,0xb6,0x0a,0x7e]
v_cvt_f32_bf16 v5, exec_lo
// GFX942-ERR: :[[@LINE-1]]:1: error: instruction not supported on this GPU (gfx942): v_cvt_f32_bf16
// GFX950: v_cvt_f32_bf16_e32 v5, exec_lo ; encoding: [0x7e,0xb6,0x0a,0x7e]
v_cvt_f32_bf16 v5, m0
// GFX942-ERR: :[[@LINE-1]]:1: error: instruction not supported on this GPU (gfx942): v_cvt_f32_bf16
// GFX950: v_cvt_f32_bf16_e32 v5, m0 ; encoding: [0x7c,0xb6,0x0a,0x7e]
v_cvt_f32_bf16 v5, s1
// GFX942-ERR: :[[@LINE-1]]:1: error: instruction not supported on this GPU (gfx942): v_cvt_f32_bf16
// GFX950: v_cvt_f32_bf16_e32 v5, s1 ; encoding: [0x01,0xb6,0x0a,0x7e]
v_cvt_f32_bf16 v5, src_scc
// GFX942-ERR: :[[@LINE-1]]:1: error: instruction not supported on this GPU (gfx942): v_cvt_f32_bf16
// GFX950: v_cvt_f32_bf16_e32 v5, src_scc ; encoding: [0xfd,0xb6,0x0a,0x7e]
v_cvt_f32_bf16 v5, ttmp15
// GFX942-ERR: :[[@LINE-1]]:1: error: instruction not supported on this GPU (gfx942): v_cvt_f32_bf16
// GFX950: v_cvt_f32_bf16_e32 v5, ttmp15 ; encoding: [0x7b,0xb6,0x0a,0x7e]
v_cvt_f32_bf16 v5, v1
// GFX942-ERR: :[[@LINE-1]]:1: error: instruction not supported on this GPU (gfx942): v_cvt_f32_bf16
// GFX950: v_cvt_f32_bf16_e32 v5, v1 ; encoding: [0x01,0xb7,0x0a,0x7e]
v_cvt_f32_bf16 v5, v1 clamp mul:2
// GFX942-ERR: :[[@LINE-1]]:1: error: instruction not supported on this GPU (gfx942): v_cvt_f32_bf16
// GFX950: v_cvt_f32_bf16_e64 v5, v1 clamp mul:2 ; encoding: [0x05,0x80,0x9b,0xd1,0x01,0x01,0x00,0x08]
v_cvt_f32_bf16 v5, v127
// GFX942-ERR: :[[@LINE-1]]:1: error: instruction not supported on this GPU (gfx942): v_cvt_f32_bf16
// GFX950: v_cvt_f32_bf16_e32 v5, v127 ; encoding: [0x7f,0xb7,0x0a,0x7e]
v_cvt_f32_bf16 v5, vcc_hi
// GFX942-ERR: :[[@LINE-1]]:1: error: instruction not supported on this GPU (gfx942): v_cvt_f32_bf16
// GFX950: v_cvt_f32_bf16_e32 v5, vcc_hi ; encoding: [0x6b,0xb6,0x0a,0x7e]
v_cvt_f32_bf16 v5, vcc_lo
// GFX942-ERR: :[[@LINE-1]]:1: error: instruction not supported on this GPU (gfx942): v_cvt_f32_bf16
// GFX950: v_cvt_f32_bf16_e32 v5, vcc_lo ; encoding: [0x6a,0xb6,0x0a,0x7e]
v_cvt_f32_bf16 v5, |v1|
// GFX942-ERR: :[[@LINE-1]]:1: error: instruction not supported on this GPU (gfx942): v_cvt_f32_bf16
// GFX950: v_cvt_f32_bf16_e64 v5, |v1| ; encoding: [0x05,0x01,0x9b,0xd1,0x01,0x01,0x00,0x00]
v_cvt_f32_bf16_e64 v5, v1 clamp div:2
// GFX942-ERR: :[[@LINE-1]]:1: error: instruction not supported on this GPU (gfx942): v_cvt_f32_bf16
// GFX950: v_cvt_f32_bf16_e64 v5, v1 clamp div:2 ; encoding: [0x05,0x80,0x9b,0xd1,0x01,0x01,0x00,0x18]
v_prng_b32 v255, 0xaf123456
// GFX942-ERR: :[[@LINE-1]]:1: error: instruction not supported on this GPU (gfx942): v_prng_b32
// GFX950: v_prng_b32_e32 v255, 0xaf123456 ; encoding: [0xff,0xb0,0xfe,0x7f,0x56,0x34,0x12,0xaf]
v_prng_b32 v5, -1
// GFX942-ERR: :[[@LINE-1]]:1: error: instruction not supported on this GPU (gfx942): v_prng_b32
// GFX950: v_prng_b32_e32 v5, -1 ; encoding: [0xc1,0xb0,0x0a,0x7e]
v_prng_b32 v5, 0.5
// GFX942-ERR: :[[@LINE-1]]:1: error: instruction not supported on this GPU (gfx942): v_prng_b32
// GFX950: v_prng_b32_e32 v5, 0.5 ; encoding: [0xf0,0xb0,0x0a,0x7e]
v_prng_b32 v5, exec_hi
// GFX942-ERR: :[[@LINE-1]]:1: error: instruction not supported on this GPU (gfx942): v_prng_b32
// GFX950: v_prng_b32_e32 v5, exec_hi ; encoding: [0x7f,0xb0,0x0a,0x7e]
v_prng_b32 v5, exec_lo
// GFX942-ERR: :[[@LINE-1]]:1: error: instruction not supported on this GPU (gfx942): v_prng_b32
// GFX950: v_prng_b32_e32 v5, exec_lo ; encoding: [0x7e,0xb0,0x0a,0x7e]
v_prng_b32 v5, m0
// GFX942-ERR: :[[@LINE-1]]:1: error: instruction not supported on this GPU (gfx942): v_prng_b32
// GFX950: v_prng_b32_e32 v5, m0 ; encoding: [0x7c,0xb0,0x0a,0x7e]
v_prng_b32 v5, s1
// GFX942-ERR: :[[@LINE-1]]:1: error: instruction not supported on this GPU (gfx942): v_prng_b32
// GFX950: v_prng_b32_e32 v5, s1 ; encoding: [0x01,0xb0,0x0a,0x7e]
v_prng_b32 v5, s101
// GFX942-ERR: :[[@LINE-1]]:1: error: instruction not supported on this GPU (gfx942): v_prng_b32
// GFX950: v_prng_b32_e32 v5, s101 ; encoding: [0x65,0xb0,0x0a,0x7e]
v_prng_b32 v5, src_scc
// GFX942-ERR: :[[@LINE-1]]:1: error: instruction not supported on this GPU (gfx942): v_prng_b32
// GFX950: v_prng_b32_e32 v5, src_scc ; encoding: [0xfd,0xb0,0x0a,0x7e]
v_prng_b32 v5, ttmp15
// GFX942-ERR: :[[@LINE-1]]:1: error: instruction not supported on this GPU (gfx942): v_prng_b32
// GFX950: v_prng_b32_e32 v5, ttmp15 ; encoding: [0x7b,0xb0,0x0a,0x7e]
v_prng_b32 v5, v1
// GFX942-ERR: :[[@LINE-1]]:1: error: instruction not supported on this GPU (gfx942): v_prng_b32
// GFX950: v_prng_b32_e32 v5, v1 ; encoding: [0x01,0xb1,0x0a,0x7e]
v_prng_b32 v5, v255
// GFX942-ERR: :[[@LINE-1]]:1: error: instruction not supported on this GPU (gfx942): v_prng_b32
// GFX950: v_prng_b32_e32 v5, v255 ; encoding: [0xff,0xb1,0x0a,0x7e]
v_prng_b32 v5, vcc_hi
// GFX942-ERR: :[[@LINE-1]]:1: error: instruction not supported on this GPU (gfx942): v_prng_b32
// GFX950: v_prng_b32_e32 v5, vcc_hi ; encoding: [0x6b,0xb0,0x0a,0x7e]
v_prng_b32 v5, vcc_lo
// GFX942-ERR: :[[@LINE-1]]:1: error: instruction not supported on this GPU (gfx942): v_prng_b32
// GFX950: v_prng_b32_e32 v5, vcc_lo ; encoding: [0x6a,0xb0,0x0a,0x7e]