[llvm] AMDGPU: Add dedicated features for wavesize support (PR #212581)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 28 11:49:05 PDT 2026


https://github.com/arsenm created https://github.com/llvm/llvm-project/pull/212581

Previously we had features for which wavesize is active,
and unstructured checks for which targets support which
wavesize.

One assembler test changes because it was artificially
forcing wave64 on gfx1250 for test simplification, and
the supportsWave32 helper function was buggy.

Co-authored-by: Claude (Claude-Opus-4.8)

>From 8cfddf1df29db81b185442727f2acfabfbf3197d Mon Sep 17 00:00:00 2001
From: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: Tue, 28 Jul 2026 20:16:48 +0200
Subject: [PATCH] AMDGPU: Add dedicated features for wavesize support

Previously we had features for which wavesize is active,
and unstructured checks for which targets support which
wavesize.

One assembler test changes because it was artificially
forcing wave64 on gfx1250 for test simplification, and
the supportsWave32 helper function was buggy.

Co-authored-by: Claude (Claude-Opus-4.8)
---
 llvm/lib/Target/AMDGPU/AMDGPU.td              |  14 +-
 llvm/lib/Target/AMDGPU/AMDGPUFeatures.td      |  16 ++
 .../AMDGPURemoveIncompatibleFunctions.cpp     |   8 +-
 llvm/lib/Target/AMDGPU/GCNSubtarget.h         |   4 -
 .../MCTargetDesc/AMDGPUMCTargetDesc.cpp       |   2 +-
 llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.h |   4 -
 llvm/test/MC/AMDGPU/vop3-literal.s            | 245 ++++++++++++------
 .../AMDGPU/gfx1250_wave64_feature.s           |   7 +-
 8 files changed, 200 insertions(+), 100 deletions(-)

diff --git a/llvm/lib/Target/AMDGPU/AMDGPU.td b/llvm/lib/Target/AMDGPU/AMDGPU.td
index 671b1e588bdb9..fbfd0e2f6937f 100644
--- a/llvm/lib/Target/AMDGPU/AMDGPU.td
+++ b/llvm/lib/Target/AMDGPU/AMDGPU.td
@@ -1498,7 +1498,8 @@ class GCNSubtargetFeatureGeneration <string Value,
 def FeatureSouthernIslands : GCNSubtargetFeatureGeneration<"SOUTHERN_ISLANDS",
     "southern-islands",
   [FeatureFP64, FeatureAddressableLocalMemorySize32768, FeatureMIMG_R128,
-  FeatureWavefrontSize64, FeatureSMemTimeInst, FeatureMadMacF32Insts,
+  FeatureWavefrontSize64, FeatureSupportsWave64, FeatureSMemTimeInst,
+  FeatureMadMacF32Insts,
   FeatureDsSrc2Insts, FeatureLDSBankCount32, FeatureMovrel,
   FeatureTrigReducedRange, FeatureExtendedImageInsts, FeatureImageInsts,
   FeatureInstCacheLineSize64,
@@ -1514,7 +1515,7 @@ def FeatureSouthernIslands : GCNSubtargetFeatureGeneration<"SOUTHERN_ISLANDS",
 def FeatureSeaIslands : GCNSubtargetFeatureGeneration<"SEA_ISLANDS",
     "sea-islands",
   [FeatureFP64, FeatureAddressableLocalMemorySize65536, FeatureMIMG_R128,
-  FeatureWavefrontSize64, FeatureFlatAddressSpace,
+  FeatureWavefrontSize64, FeatureSupportsWave64, FeatureFlatAddressSpace,
   FeatureCIInsts, FeatureMovrel, FeatureTrigReducedRange,
   FeatureGFX7GFX8GFX9Insts, FeatureSMemTimeInst, FeatureMadMacF32Insts,
   FeatureDsSrc2Insts, FeatureExtendedImageInsts, FeatureUnalignedBufferAccess,
@@ -1532,7 +1533,7 @@ def FeatureSeaIslands : GCNSubtargetFeatureGeneration<"SEA_ISLANDS",
 def FeatureVolcanicIslands : GCNSubtargetFeatureGeneration<"VOLCANIC_ISLANDS",
   "volcanic-islands",
   [FeatureFP64, FeatureAddressableLocalMemorySize65536, FeatureMIMG_R128,
-   FeatureWavefrontSize64, FeatureFlatAddressSpace,
+   FeatureWavefrontSize64, FeatureSupportsWave64, FeatureFlatAddressSpace,
    FeatureGCN3Encoding, FeatureCIInsts, Feature16BitInsts,
    FeatureSMemRealTime, FeatureVGPRIndexMode, FeatureMovrel,
    FeatureScalarStores, FeatureInv2PiInlineImm,
@@ -1553,7 +1554,7 @@ def FeatureVolcanicIslands : GCNSubtargetFeatureGeneration<"VOLCANIC_ISLANDS",
 def FeatureGFX9 : GCNSubtargetFeatureGeneration<"GFX9",
   "gfx9",
   [FeatureFP64,
-   FeatureWavefrontSize64, FeatureFlatAddressSpace,
+   FeatureWavefrontSize64, FeatureSupportsWave64, FeatureFlatAddressSpace,
    FeatureGCN3Encoding, FeatureCIInsts, Feature16BitInsts,
    FeatureSMemRealTime, FeatureScalarStores, FeatureInv2PiInlineImm,
    FeatureApertureRegs, FeatureGFX9Insts, FeatureVOP3PInsts, FeatureVGPRIndexMode,
@@ -1577,6 +1578,7 @@ def FeatureGFX9 : GCNSubtargetFeatureGeneration<"GFX9",
 def FeatureGFX10 : GCNSubtargetFeatureGeneration<"GFX10",
   "gfx10",
   [FeatureFP64, FeatureAddressableLocalMemorySize65536, FeatureMIMG_R128,
+   FeatureSupportsWave32, FeatureSupportsWave64,
    FeatureFlatAddressSpace,
    FeatureCIInsts, Feature16BitInsts,
    FeatureSMemRealTime, FeatureInv2PiInlineImm,
@@ -1607,6 +1609,7 @@ def FeatureGFX10 : GCNSubtargetFeatureGeneration<"GFX10",
 def FeatureGFX11 : GCNSubtargetFeatureGeneration<"GFX11",
   "gfx11",
   [FeatureFP64, FeatureAddressableLocalMemorySize65536, FeatureMIMG_R128,
+   FeatureSupportsWave32, FeatureSupportsWave64,
    FeatureFlatAddressSpace, Feature16BitInsts,
    FeatureInv2PiInlineImm, FeatureApertureRegs,
    FeatureCIInsts, FeatureGFX8Insts, FeatureGFX9Insts, FeatureGFX10Insts,
@@ -1635,6 +1638,7 @@ def FeatureGFX11 : GCNSubtargetFeatureGeneration<"GFX11",
 def FeatureGFX12 : GCNSubtargetFeatureGeneration<"GFX12",
   "gfx12",
   [FeatureFP64, FeatureMIMG_R128,
+   FeatureSupportsWave32,
    FeatureFlatAddressSpace, Feature16BitInsts,
    FeatureInv2PiInlineImm, FeatureApertureRegs,
    FeatureCIInsts, FeatureGFX8Insts, FeatureGFX9Insts, FeatureGFX10Insts,
@@ -1662,6 +1666,7 @@ def FeatureGFX12 : GCNSubtargetFeatureGeneration<"GFX12",
 def FeatureGFX13 : GCNSubtargetFeatureGeneration<"GFX13",
   "gfx13",
   [FeatureFP64, FeatureMIMG_R128,
+   FeatureSupportsWave32, FeatureSupportsWave64,
    FeatureFlatAddressSpace, Feature16BitInsts,
    FeatureInv2PiInlineImm, FeatureApertureRegs,
    FeatureCIInsts, FeatureGFX8Insts, FeatureGFX9Insts, FeatureGFX10Insts,
@@ -2132,6 +2137,7 @@ def FeatureISAVersion11_7_Generic: FeatureSet<
 
 def FeatureISAVersion12 : FeatureSet<
   [FeatureGFX12,
+   FeatureSupportsWave64,
    FeatureBackOffBarrier,
    FeatureAddressableLocalMemorySize65536,
    FeatureLDSBankCount32,
diff --git a/llvm/lib/Target/AMDGPU/AMDGPUFeatures.td b/llvm/lib/Target/AMDGPU/AMDGPUFeatures.td
index 2c105c3804e35..b1c09a89433ab 100644
--- a/llvm/lib/Target/AMDGPU/AMDGPUFeatures.td
+++ b/llvm/lib/Target/AMDGPU/AMDGPUFeatures.td
@@ -44,6 +44,22 @@ def FeatureAddressableLocalMemorySize65536 : SubtargetFeatureAddressableLocalMem
 def FeatureAddressableLocalMemorySize163840 : SubtargetFeatureAddressableLocalMemorySize<163840>;
 def FeatureAddressableLocalMemorySize327680 : SubtargetFeatureAddressableLocalMemorySize<327680>;
 
+// Whether each wavefront size mode is available on the hardware,
+// independent of the active mode.
+def FeatureSupportsWave32 : SubtargetFeature<"supports-wave32",
+  "SupportsWave32",
+  "true",
+  "Hardware supports wave32 mode",
+  [], InlineIgnore
+>;
+
+def FeatureSupportsWave64 : SubtargetFeature<"supports-wave64",
+  "SupportsWave64",
+  "true",
+  "Hardware supports wave64 mode",
+  [], InlineIgnore
+>;
+
 class SubtargetFeatureWavefrontSize <int ValueLog2> : SubtargetFeature<
   "wavefrontsize"#!shl(1, ValueLog2),
   "WavefrontSizeLog2",
diff --git a/llvm/lib/Target/AMDGPU/AMDGPURemoveIncompatibleFunctions.cpp b/llvm/lib/Target/AMDGPU/AMDGPURemoveIncompatibleFunctions.cpp
index b2cad75da626b..32f81623c0117 100644
--- a/llvm/lib/Target/AMDGPU/AMDGPURemoveIncompatibleFunctions.cpp
+++ b/llvm/lib/Target/AMDGPU/AMDGPURemoveIncompatibleFunctions.cpp
@@ -196,12 +196,14 @@ bool AMDGPURemoveIncompatibleFunctions::checkFunction(Function &F) {
   // gfx9 and below targets that don't support the mode.
   // gfx10, gfx11, gfx12 are implied to support both wave32 and 64 features.
   // They are not in the feature set. So, we need a separate check
-  if (!ST->supportsWave32() && ST->hasFeature(AMDGPU::FeatureWavefrontSize32)) {
+  if (!GPUFeatureBits.test(AMDGPU::FeatureSupportsWave32) &&
+      ST->hasFeature(AMDGPU::FeatureWavefrontSize32)) {
     reportFunctionRemoved(F, *ST, AMDGPU::FeatureWavefrontSize32);
     return true;
   }
-  // gfx125x only support FeatureWavefrontSize32.
-  if (!ST->supportsWave64() && ST->hasFeature(AMDGPU::FeatureWavefrontSize64)) {
+
+  if (!GPUFeatureBits.test(AMDGPU::FeatureSupportsWave64) &&
+      ST->hasFeature(AMDGPU::FeatureWavefrontSize64)) {
     reportFunctionRemoved(F, *ST, AMDGPU::FeatureWavefrontSize64);
     return true;
   }
diff --git a/llvm/lib/Target/AMDGPU/GCNSubtarget.h b/llvm/lib/Target/AMDGPU/GCNSubtarget.h
index 8557d7a218d60..c7937d8d33ed5 100644
--- a/llvm/lib/Target/AMDGPU/GCNSubtarget.h
+++ b/llvm/lib/Target/AMDGPU/GCNSubtarget.h
@@ -902,10 +902,6 @@ class GCNSubtarget final : public AMDGPUGenSubtargetInfo,
   /// unit requirement.
   unsigned getMaxNumVGPRs(const MachineFunction &MF) const;
 
-  bool supportsWave32() const { return getGeneration() >= GFX10; }
-
-  bool supportsWave64() const { return !hasGFX1250Insts() || HasGFX13Insts; }
-
   bool isWave32() const { return getWavefrontSize() == 32; }
 
   bool isWave64() const { return getWavefrontSize() == 64; }
diff --git a/llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCTargetDesc.cpp b/llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCTargetDesc.cpp
index 641b77c150aad..5bfc232822d90 100644
--- a/llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCTargetDesc.cpp
+++ b/llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCTargetDesc.cpp
@@ -103,7 +103,7 @@ createAMDGPUMCSubtargetInfo(const Triple &TT, StringRef CPU, StringRef FS) {
   } else if (IsWave64 && IsWave32) {
     // The wave size is mutually exclusive. If both somehow end up set, wave32
     // wins if supported.
-    STI->ToggleFeature(AMDGPU::supportsWave32(*STI)
+    STI->ToggleFeature(STI->hasFeature(AMDGPU::FeatureSupportsWave32)
                            ? AMDGPU::FeatureWavefrontSize64
                            : AMDGPU::FeatureWavefrontSize32);
 
diff --git a/llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.h b/llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.h
index 1c29065246824..c06ec8e5b8ab7 100644
--- a/llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.h
+++ b/llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.h
@@ -1527,10 +1527,6 @@ bool hasMAIInsts(const MCSubtargetInfo &STI);
 bool hasVOPD(const MCSubtargetInfo &STI);
 bool hasDPPSrc1SGPR(const MCSubtargetInfo &STI);
 
-inline bool supportsWave32(const MCSubtargetInfo &STI) {
-  return AMDGPU::isGFX10Plus(STI) && !AMDGPU::isGFX1250(STI);
-}
-
 int getTotalNumVGPRs(bool has90AInsts, int32_t ArgNumAGPR, int32_t ArgNumVGPR);
 unsigned hasKernargPreload(const MCSubtargetInfo &STI);
 bool hasSMRDSignedImmOffset(const MCSubtargetInfo &ST);
diff --git a/llvm/test/MC/AMDGPU/vop3-literal.s b/llvm/test/MC/AMDGPU/vop3-literal.s
index 14d453ef424fc..125db6d2764cc 100644
--- a/llvm/test/MC/AMDGPU/vop3-literal.s
+++ b/llvm/test/MC/AMDGPU/vop3-literal.s
@@ -3,7 +3,7 @@
 // RUN: not llvm-mc -triple=amdgpu9.00 %s -show-encoding | FileCheck %s -check-prefix=GFX9
 // RUN: not llvm-mc -triple=amdgpu10.10 %s -show-encoding -mattr=+wavefrontsize64 | FileCheck %s -check-prefix=GFX10
 // RUN: not llvm-mc -triple=amdgpu12.50 %s -show-encoding -mattr=+wavefrontsize64,-real-true16 | FileCheck %s -check-prefixes=GFX1250
-// RUN: not llvm-mc -triple=amdgpu12.50 %s -show-encoding -mattr=+wavefrontsize64,-real-true16 | %extract-encodings | llvm-mc -triple=amdgpu12.50 -mattr=+wavefrontsize64,-real-true16 -disassemble -show-encoding | FileCheck --check-prefixes=GFX1250 %s
+// RUN: not llvm-mc -triple=amdgpu12.50 %s -show-encoding -mattr=+wavefrontsize64,-real-true16 | %extract-encodings | llvm-mc -triple=amdgpu12.50 -mattr=+wavefrontsize64,-real-true16 -disassemble -show-encoding | FileCheck --check-prefixes=GFX1250-DIS %s
 
 // RUN: not llvm-mc -triple=amdgpu9.00 %s -filetype=null -no-warn 2>&1 | FileCheck %s -implicit-check-not=error: -check-prefix=GFX9-ERR
 // RUN: not llvm-mc -triple=amdgpu10.10 %s -filetype=null -no-warn 2>&1 -mattr=+wavefrontsize64 | FileCheck %s -implicit-check-not=error: -check-prefix=GFX10-ERR
@@ -12,37 +12,44 @@
 v_bfe_u32 v0, 0x3039, v1, s1
 // GFX10: v_bfe_u32 v0, 0x3039, v1, s1            ; encoding: [0x00,0x00,0x48,0xd5,0xff,0x02,0x06,0x00,0x39,0x30,0x00,0x00]
 // GFX1250: v_bfe_u32 v0, 0x3039, v1, s1            ; encoding: [0x00,0x00,0x10,0xd6,0xff,0x02,0x06,0x00,0x39,0x30,0x00,0x00]
-// GFX9-ERR: :[[@LINE-3]]:15: error: literal operands are not supported
+// GFX1250-DIS: v_bfe_u32 v0, 0x3039, v1, s1            ; encoding: [0x00,0x00,0x10,0xd6,0xff,0x02,0x06,0x00,0x39,0x30,0x00,0x00]
+// GFX9-ERR: :[[@LINE-4]]:15: error: literal operands are not supported
 
 v_bfe_u32 v0, v1, 0x3039, s1
 // GFX10: v_bfe_u32 v0, v1, 0x3039, s1            ; encoding: [0x00,0x00,0x48,0xd5,0x01,0xff,0x05,0x00,0x39,0x30,0x00,0x00]
 // GFX1250: v_bfe_u32 v0, v1, 0x3039, s1            ; encoding: [0x00,0x00,0x10,0xd6,0x01,0xff,0x05,0x00,0x39,0x30,0x00,0x00]
-// GFX9-ERR: :[[@LINE-3]]:19: error: literal operands are not supported
+// GFX1250-DIS: v_bfe_u32 v0, v1, 0x3039, s1            ; encoding: [0x00,0x00,0x10,0xd6,0x01,0xff,0x05,0x00,0x39,0x30,0x00,0x00]
+// GFX9-ERR: :[[@LINE-4]]:19: error: literal operands are not supported
 
 v_bfe_u32 v0, v1, s1, 0x3039
 // GFX10: v_bfe_u32 v0, v1, s1, 0x3039            ; encoding: [0x00,0x00,0x48,0xd5,0x01,0x03,0xfc,0x03,0x39,0x30,0x00,0x00]
 // GFX1250: v_bfe_u32 v0, v1, s1, 0x3039            ; encoding: [0x00,0x00,0x10,0xd6,0x01,0x03,0xfc,0x03,0x39,0x30,0x00,0x00]
-// GFX9-ERR: :[[@LINE-3]]:23: error: literal operands are not supported
+// GFX1250-DIS: v_bfe_u32 v0, v1, s1, 0x3039            ; encoding: [0x00,0x00,0x10,0xd6,0x01,0x03,0xfc,0x03,0x39,0x30,0x00,0x00]
+// GFX9-ERR: :[[@LINE-4]]:23: error: literal operands are not supported
 
 v_bfe_u32 v0, 0x3039, 0x3039, s1
 // GFX10: v_bfe_u32 v0, 0x3039, 0x3039, s1        ; encoding: [0x00,0x00,0x48,0xd5,0xff,0xfe,0x05,0x00,0x39,0x30,0x00,0x00]
 // GFX1250: v_bfe_u32 v0, 0x3039, 0x3039, s1        ; encoding: [0x00,0x00,0x10,0xd6,0xff,0xfe,0x05,0x00,0x39,0x30,0x00,0x00]
-// GFX9-ERR: :[[@LINE-3]]:15: error: literal operands are not supported
+// GFX1250-DIS: v_bfe_u32 v0, 0x3039, 0x3039, s1        ; encoding: [0x00,0x00,0x10,0xd6,0xff,0xfe,0x05,0x00,0x39,0x30,0x00,0x00]
+// GFX9-ERR: :[[@LINE-4]]:15: error: literal operands are not supported
 
 v_bfe_u32 v0, 0x3039, s1, 0x3039
 // GFX10: v_bfe_u32 v0, 0x3039, s1, 0x3039        ; encoding: [0x00,0x00,0x48,0xd5,0xff,0x02,0xfc,0x03,0x39,0x30,0x00,0x00]
 // GFX1250: v_bfe_u32 v0, 0x3039, s1, 0x3039        ; encoding: [0x00,0x00,0x10,0xd6,0xff,0x02,0xfc,0x03,0x39,0x30,0x00,0x00]
-// GFX9-ERR: :[[@LINE-3]]:15: error: literal operands are not supported
+// GFX1250-DIS: v_bfe_u32 v0, 0x3039, s1, 0x3039        ; encoding: [0x00,0x00,0x10,0xd6,0xff,0x02,0xfc,0x03,0x39,0x30,0x00,0x00]
+// GFX9-ERR: :[[@LINE-4]]:15: error: literal operands are not supported
 
 v_bfe_u32 v0, v1, 0x3039, 0x3039
 // GFX10: v_bfe_u32 v0, v1, 0x3039, 0x3039        ; encoding: [0x00,0x00,0x48,0xd5,0x01,0xff,0xfd,0x03,0x39,0x30,0x00,0x00]
 // GFX1250: v_bfe_u32 v0, v1, 0x3039, 0x3039        ; encoding: [0x00,0x00,0x10,0xd6,0x01,0xff,0xfd,0x03,0x39,0x30,0x00,0x00]
-// GFX9-ERR: :[[@LINE-3]]:19: error: literal operands are not supported
+// GFX1250-DIS: v_bfe_u32 v0, v1, 0x3039, 0x3039        ; encoding: [0x00,0x00,0x10,0xd6,0x01,0xff,0xfd,0x03,0x39,0x30,0x00,0x00]
+// GFX9-ERR: :[[@LINE-4]]:19: error: literal operands are not supported
 
 v_bfe_u32 v0, 0x3039, 0x3039, 0x3039
 // GFX10: v_bfe_u32 v0, 0x3039, 0x3039, 0x3039    ; encoding: [0x00,0x00,0x48,0xd5,0xff,0xfe,0xfd,0x03,0x39,0x30,0x00,0x00]
 // GFX1250: v_bfe_u32 v0, 0x3039, 0x3039, 0x3039    ; encoding: [0x00,0x00,0x10,0xd6,0xff,0xfe,0xfd,0x03,0x39,0x30,0x00,0x00]
-// GFX9-ERR: :[[@LINE-3]]:15: error: literal operands are not supported
+// GFX1250-DIS: v_bfe_u32 v0, 0x3039, 0x3039, 0x3039    ; encoding: [0x00,0x00,0x10,0xd6,0xff,0xfe,0xfd,0x03,0x39,0x30,0x00,0x00]
+// GFX9-ERR: :[[@LINE-4]]:15: error: literal operands are not supported
 
 v_bfe_u32 v0, 0x3039, s1, 0x3038
 // GFX10-ERR: :[[@LINE-1]]:27: error: only one unique literal operand is allowed
@@ -52,7 +59,8 @@ v_bfe_u32 v0, 0x3039, s1, 0x3038
 v_bfe_u32 v0, 0x3039, v1, v2
 // GFX10: v_bfe_u32 v0, 0x3039, v1, v2            ; encoding: [0x00,0x00,0x48,0xd5,0xff,0x02,0x0a,0x04,0x39,0x30,0x00,0x00]
 // GFX1250: v_bfe_u32 v0, 0x3039, v1, v2            ; encoding: [0x00,0x00,0x10,0xd6,0xff,0x02,0x0a,0x04,0x39,0x30,0x00,0x00]
-// GFX9-ERR: :[[@LINE-3]]:15: error: literal operands are not supported
+// GFX1250-DIS: v_bfe_u32 v0, 0x3039, v1, v2            ; encoding: [0x00,0x00,0x10,0xd6,0xff,0x02,0x0a,0x04,0x39,0x30,0x00,0x00]
+// GFX9-ERR: :[[@LINE-4]]:15: error: literal operands are not supported
 
 v_bfe_u32 v0, 0x3039, 0x12345, v2
 // GFX10-ERR: :[[@LINE-1]]:23: error: only one unique literal operand is allowed
@@ -62,7 +70,8 @@ v_bfe_u32 v0, 0x3039, 0x12345, v2
 v_bfe_u32 v0, s1, 0x3039, s1
 // GFX10: v_bfe_u32 v0, s1, 0x3039, s1            ; encoding: [0x00,0x00,0x48,0xd5,0x01,0xfe,0x05,0x00,0x39,0x30,0x00,0x00]
 // GFX1250: v_bfe_u32 v0, s1, 0x3039, s1            ; encoding: [0x00,0x00,0x10,0xd6,0x01,0xfe,0x05,0x00,0x39,0x30,0x00,0x00]
-// GFX9-ERR: :[[@LINE-3]]:19: error: literal operands are not supported
+// GFX1250-DIS: v_bfe_u32 v0, s1, 0x3039, s1            ; encoding: [0x00,0x00,0x10,0xd6,0x01,0xfe,0x05,0x00,0x39,0x30,0x00,0x00]
+// GFX9-ERR: :[[@LINE-4]]:19: error: literal operands are not supported
 
 v_bfe_u32 v0, s1, 0x3039, s2
 // GFX10-ERR: :[[@LINE-1]]:27: error: invalid operand (violates constant bus restrictions)
@@ -72,17 +81,20 @@ v_bfe_u32 v0, s1, 0x3039, s2
 v_bfm_b32_e64 v0, 0x3039, s1
 // GFX10: v_bfm_b32 v0, 0x3039, s1                ; encoding: [0x00,0x00,0x63,0xd7,0xff,0x02,0x00,0x02,0x39,0x30,0x00,0x00]
 // GFX1250: v_bfm_b32 v0, 0x3039, s1                ; encoding: [0x00,0x00,0x1d,0xd7,0xff,0x02,0x00,0x02,0x39,0x30,0x00,0x00]
-// GFX9-ERR: :[[@LINE-3]]:19: error: literal operands are not supported
+// GFX1250-DIS: v_bfm_b32 v0, 0x3039, s1                ; encoding: [0x00,0x00,0x1d,0xd7,0xff,0x02,0x00,0x02,0x39,0x30,0x00,0x00]
+// GFX9-ERR: :[[@LINE-4]]:19: error: literal operands are not supported
 
 v_bfm_b32_e64 v0, 0x3039, v1
 // GFX10: v_bfm_b32 v0, 0x3039, v1                ; encoding: [0x00,0x00,0x63,0xd7,0xff,0x02,0x02,0x02,0x39,0x30,0x00,0x00]
 // GFX1250: v_bfm_b32 v0, 0x3039, v1                ; encoding: [0x00,0x00,0x1d,0xd7,0xff,0x02,0x02,0x02,0x39,0x30,0x00,0x00]
-// GFX9-ERR: :[[@LINE-3]]:19: error: literal operands are not supported
+// GFX1250-DIS: v_bfm_b32 v0, 0x3039, v1                ; encoding: [0x00,0x00,0x1d,0xd7,0xff,0x02,0x02,0x02,0x39,0x30,0x00,0x00]
+// GFX9-ERR: :[[@LINE-4]]:19: error: literal operands are not supported
 
 v_bfm_b32_e64 v0, 0x3039, 0x3039
 // GFX10: v_bfm_b32 v0, 0x3039, 0x3039            ; encoding: [0x00,0x00,0x63,0xd7,0xff,0xfe,0x01,0x02,0x39,0x30,0x00,0x00]
 // GFX1250: v_bfm_b32 v0, 0x3039, 0x3039            ; encoding: [0x00,0x00,0x1d,0xd7,0xff,0xfe,0x01,0x02,0x39,0x30,0x00,0x00]
-// GFX9-ERR: :[[@LINE-3]]:19: error: literal operands are not supported
+// GFX1250-DIS: v_bfm_b32 v0, 0x3039, 0x3039            ; encoding: [0x00,0x00,0x1d,0xd7,0xff,0xfe,0x01,0x02,0x39,0x30,0x00,0x00]
+// GFX9-ERR: :[[@LINE-4]]:19: error: literal operands are not supported
 
 v_bfm_b32_e64 v0, 0x3039, 0x3038
 // GFX10-ERR: :[[@LINE-1]]:27: error: only one unique literal operand is allowed
@@ -92,22 +104,26 @@ v_bfm_b32_e64 v0, 0x3039, 0x3038
 v_pk_add_f16 v1, 25.0, v2
 // GFX10: v_pk_add_f16 v1, 0x4e40, v2             ; encoding: [0x01,0x40,0x0f,0xcc,0xff,0x04,0x02,0x1a,0x40,0x4e,0x00,0x00]
 // GFX1250: v_pk_add_f16 v1, 0x4e40, v2             ; encoding: [0x01,0x40,0x0f,0xcc,0xff,0x04,0x02,0x1a,0x40,0x4e,0x00,0x00]
-// GFX9-ERR: :[[@LINE-3]]:18: error: literal operands are not supported
+// GFX1250-DIS: v_pk_add_f16 v1, 0x4e40, v2             ; encoding: [0x01,0x40,0x0f,0xcc,0xff,0x04,0x02,0x1a,0x40,0x4e,0x00,0x00]
+// GFX9-ERR: :[[@LINE-4]]:18: error: literal operands are not supported
 
 v_pk_add_f16 v1, 123456, v2
 // GFX10: v_pk_add_f16 v1, 0x1e240, v2            ; encoding: [0x01,0x40,0x0f,0xcc,0xff,0x04,0x02,0x1a,0x40,0xe2,0x01,0x00]
 // GFX1250: v_pk_add_f16 v1, 0x1e240, v2            ; encoding: [0x01,0x40,0x0f,0xcc,0xff,0x04,0x02,0x1a,0x40,0xe2,0x01,0x00]
-// GFX9-ERR: :[[@LINE-3]]:18: error: literal operands are not supported
+// GFX1250-DIS: v_pk_add_f16 v1, 0x1e240, v2            ; encoding: [0x01,0x40,0x0f,0xcc,0xff,0x04,0x02,0x1a,0x40,0xe2,0x01,0x00]
+// GFX9-ERR: :[[@LINE-4]]:18: error: literal operands are not supported
 
 v_pk_add_f16 v1, -200, v2
 // GFX10: v_pk_add_f16 v1, 0xffffff38, v2         ; encoding: [0x01,0x40,0x0f,0xcc,0xff,0x04,0x02,0x1a,0x38,0xff,0xff,0xff]
 // GFX1250: v_pk_add_f16 v1, 0xffffff38, v2         ; encoding: [0x01,0x40,0x0f,0xcc,0xff,0x04,0x02,0x1a,0x38,0xff,0xff,0xff]
-// GFX9-ERR: :[[@LINE-3]]:18: error: literal operands are not supported
+// GFX1250-DIS: v_pk_add_f16 v1, 0xffffff38, v2         ; encoding: [0x01,0x40,0x0f,0xcc,0xff,0x04,0x02,0x1a,0x38,0xff,0xff,0xff]
+// GFX9-ERR: :[[@LINE-4]]:18: error: literal operands are not supported
 
 v_pk_add_f16 v1, 25.0, 25.0
 // GFX10: v_pk_add_f16 v1, 0x4e40, 0x4e40         ; encoding: [0x01,0x40,0x0f,0xcc,0xff,0xfe,0x01,0x1a,0x40,0x4e,0x00,0x00]
 // GFX1250: v_pk_add_f16 v1, 0x4e40, 0x4e40         ; encoding: [0x01,0x40,0x0f,0xcc,0xff,0xfe,0x01,0x1a,0x40,0x4e,0x00,0x00]
-// GFX9-ERR: :[[@LINE-3]]:18: error: literal operands are not supported
+// GFX1250-DIS: v_pk_add_f16 v1, 0x4e40, 0x4e40         ; encoding: [0x01,0x40,0x0f,0xcc,0xff,0xfe,0x01,0x1a,0x40,0x4e,0x00,0x00]
+// GFX9-ERR: :[[@LINE-4]]:18: error: literal operands are not supported
 
 v_pk_add_f16 v1, 25.0, 25.1
 // GFX10-ERR: :[[@LINE-1]]:24: error: only one unique literal operand is allowed
@@ -117,87 +133,104 @@ v_pk_add_f16 v1, 25.0, 25.1
 v_pk_add_u16 v1, -200, v2
 // GFX10: v_pk_add_u16 v1, 0xffffff38, v2         ; encoding: [0x01,0x40,0x0a,0xcc,0xff,0x04,0x02,0x1a,0x38,0xff,0xff,0xff]
 // GFX1250: v_pk_add_u16 v1, 0xffffff38, v2         ; encoding: [0x01,0x40,0x0a,0xcc,0xff,0x04,0x02,0x1a,0x38,0xff,0xff,0xff]
-// GFX9-ERR: :[[@LINE-3]]:18: error: literal operands are not supported
+// GFX1250-DIS: v_pk_add_u16 v1, 0xffffff38, v2         ; encoding: [0x01,0x40,0x0a,0xcc,0xff,0x04,0x02,0x1a,0x38,0xff,0xff,0xff]
+// GFX9-ERR: :[[@LINE-4]]:18: error: literal operands are not supported
 
 v_pk_add_u16 v1, 64, v2
 // GFX10: v_pk_add_u16 v1, 64, v2                 ; encoding: [0x01,0x40,0x0a,0xcc,0xc0,0x04,0x02,0x1a]
 // GFX1250: v_pk_add_u16 v1, 64, v2                 ; encoding: [0x01,0x40,0x0a,0xcc,0xc0,0x04,0x02,0x1a]
+// GFX1250-DIS: v_pk_add_u16 v1, 64, v2                 ; encoding: [0x01,0x40,0x0a,0xcc,0xc0,0x04,0x02,0x1a]
 // GFX9: v_pk_add_u16 v1, 64, v2                 ; encoding: [0x01,0x40,0x8a,0xd3,0xc0,0x04,0x02,0x18]
 
 v_pk_add_u16 v1, 65, v2
 // GFX10: v_pk_add_u16 v1, 0x41, v2               ; encoding: [0x01,0x40,0x0a,0xcc,0xff,0x04,0x02,0x1a,0x41,0x00,0x00,0x00]
 // GFX1250: v_pk_add_u16 v1, 0x41, v2               ; encoding: [0x01,0x40,0x0a,0xcc,0xff,0x04,0x02,0x1a,0x41,0x00,0x00,0x00]
-// GFX9-ERR: :[[@LINE-3]]:18: error: literal operands are not supported
+// GFX1250-DIS: v_pk_add_u16 v1, 0x41, v2               ; encoding: [0x01,0x40,0x0a,0xcc,0xff,0x04,0x02,0x1a,0x41,0x00,0x00,0x00]
+// GFX9-ERR: :[[@LINE-4]]:18: error: literal operands are not supported
 
 v_pk_add_u16 v1, -1, v2
 // GFX10: v_pk_add_u16 v1, -1, v2                 ; encoding: [0x01,0x40,0x0a,0xcc,0xc1,0x04,0x02,0x1a]
 // GFX1250: v_pk_add_u16 v1, -1, v2                 ; encoding: [0x01,0x40,0x0a,0xcc,0xc1,0x04,0x02,0x1a]
+// GFX1250-DIS: v_pk_add_u16 v1, -1, v2                 ; encoding: [0x01,0x40,0x0a,0xcc,0xc1,0x04,0x02,0x1a]
 // GFX9: v_pk_add_u16 v1, -1, v2                 ; encoding: [0x01,0x40,0x8a,0xd3,0xc1,0x04,0x02,0x18]
 
 v_pk_add_u16 v1, -5, v2
 // GFX10: v_pk_add_u16 v1, -5, v2                 ; encoding: [0x01,0x40,0x0a,0xcc,0xc5,0x04,0x02,0x1a]
 // GFX1250: v_pk_add_u16 v1, -5, v2                 ; encoding: [0x01,0x40,0x0a,0xcc,0xc5,0x04,0x02,0x1a]
+// GFX1250-DIS: v_pk_add_u16 v1, -5, v2                 ; encoding: [0x01,0x40,0x0a,0xcc,0xc5,0x04,0x02,0x1a]
 // GFX9: v_pk_add_u16 v1, -5, v2                 ; encoding: [0x01,0x40,0x8a,0xd3,0xc5,0x04,0x02,0x18]
 
 v_pk_add_u16 v1, -100, v2
 // GFX10: v_pk_add_u16 v1, 0xffffff9c, v2         ; encoding: [0x01,0x40,0x0a,0xcc,0xff,0x04,0x02,0x1a,0x9c,0xff,0xff,0xff]
 // GFX1250: v_pk_add_u16 v1, 0xffffff9c, v2         ; encoding: [0x01,0x40,0x0a,0xcc,0xff,0x04,0x02,0x1a,0x9c,0xff,0xff,0xff]
-// GFX9-ERR: :[[@LINE-3]]:18: error: literal operands are not supported
+// GFX1250-DIS: v_pk_add_u16 v1, 0xffffff9c, v2         ; encoding: [0x01,0x40,0x0a,0xcc,0xff,0x04,0x02,0x1a,0x9c,0xff,0xff,0xff]
+// GFX9-ERR: :[[@LINE-4]]:18: error: literal operands are not supported
 
 v_pk_add_u16 v1, -100, -100
 // GFX10: v_pk_add_u16 v1, 0xffffff9c, 0xffffff9c ; encoding: [0x01,0x40,0x0a,0xcc,0xff,0xfe,0x01,0x1a,0x9c,0xff,0xff,0xff]
 // GFX1250: v_pk_add_u16 v1, 0xffffff9c, 0xffffff9c ; encoding: [0x01,0x40,0x0a,0xcc,0xff,0xfe,0x01,0x1a,0x9c,0xff,0xff,0xff]
-// GFX9-ERR: :[[@LINE-3]]:18: error: literal operands are not supported
+// GFX1250-DIS: v_pk_add_u16 v1, 0xffffff9c, 0xffffff9c ; encoding: [0x01,0x40,0x0a,0xcc,0xff,0xfe,0x01,0x1a,0x9c,0xff,0xff,0xff]
+// GFX9-ERR: :[[@LINE-4]]:18: error: literal operands are not supported
 
 v_add_f32_e64 v1, neg(abs(0x123)), v3
 // GFX10: v_add_f32_e64 v1, -|0x123|, v3          ; encoding: [0x01,0x01,0x03,0xd5,0xff,0x06,0x02,0x22,0x23,0x01,0x00,0x00]
 // GFX1250: v_add_f32_e64 v1, -|0x123|, v3          ; encoding: [0x01,0x01,0x03,0xd5,0xff,0x06,0x02,0x22,0x23,0x01,0x00,0x00]
-// GFX9-ERR: :[[@LINE-3]]:27: error: literal operands are not supported
+// GFX1250-DIS: v_add_f32_e64 v1, -|0x123|, v3          ; encoding: [0x01,0x01,0x03,0xd5,0xff,0x06,0x02,0x22,0x23,0x01,0x00,0x00]
+// GFX9-ERR: :[[@LINE-4]]:27: error: literal operands are not supported
 
 v_add_f32_e64 v1, v3, neg(0x123)
 // GFX10: v_add_f32_e64 v1, v3, neg(0x123)        ; encoding: [0x01,0x00,0x03,0xd5,0x03,0xff,0x01,0x42,0x23,0x01,0x00,0x00]
 // GFX1250: v_add_f32_e64 v1, v3, neg(0x123)        ; encoding: [0x01,0x00,0x03,0xd5,0x03,0xff,0x01,0x42,0x23,0x01,0x00,0x00]
-// GFX9-ERR: :[[@LINE-3]]:27: error: literal operands are not supported
+// GFX1250-DIS: v_add_f32_e64 v1, v3, neg(0x123)        ; encoding: [0x01,0x00,0x03,0xd5,0x03,0xff,0x01,0x42,0x23,0x01,0x00,0x00]
+// GFX9-ERR: :[[@LINE-4]]:27: error: literal operands are not supported
 
 v_add_f32_e64 v1, neg(abs(0x12345678)), neg(0x12345678)
 // GFX10: v_add_f32_e64 v1, -|0x12345678|, neg(0x12345678) ; encoding: [0x01,0x01,0x03,0xd5,0xff,0xfe,0x01,0x62,0x78,0x56,0x34,0x12]
 // GFX1250: v_add_f32_e64 v1, -|0x12345678|, neg(0x12345678) ; encoding: [0x01,0x01,0x03,0xd5,0xff,0xfe,0x01,0x62,0x78,0x56,0x34,0x12]
-// GFX9-ERR: :[[@LINE-3]]:27: error: literal operands are not supported
+// GFX1250-DIS: v_add_f32_e64 v1, -|0x12345678|, neg(0x12345678) ; encoding: [0x01,0x01,0x03,0xd5,0xff,0xfe,0x01,0x62,0x78,0x56,0x34,0x12]
+// GFX9-ERR: :[[@LINE-4]]:27: error: literal operands are not supported
 
 v_add_f16_e64 v0, v0, 0xfe0b
 // GFX10: v_add_f16_e64 v0, v0, 0xfe0b            ; encoding: [0x00,0x00,0x32,0xd5,0x00,0xff,0x01,0x02,0x0b,0xfe,0x00,0x00]
 // GFX1250: v_add_f16_e64 v0, v0, 0xfe0b            ; encoding: [0x00,0x00,0x32,0xd5,0x00,0xff,0x01,0x02,0x0b,0xfe,0x00,0x00]
-// GFX9-ERR: :[[@LINE-3]]:23: error: literal operands are not supported
+// GFX1250-DIS: v_add_f16_e64 v0, v0, 0xfe0b            ; encoding: [0x00,0x00,0x32,0xd5,0x00,0xff,0x01,0x02,0x0b,0xfe,0x00,0x00]
+// GFX9-ERR: :[[@LINE-4]]:23: error: literal operands are not supported
 
 v_add_f16_e64 v0, v0, neg(0xfe0b)
 // GFX10: v_add_f16_e64 v0, v0, neg(0xfe0b)       ; encoding: [0x00,0x00,0x32,0xd5,0x00,0xff,0x01,0x42,0x0b,0xfe,0x00,0x00]
 // GFX1250: v_add_f16_e64 v0, v0, neg(0xfe0b)       ; encoding: [0x00,0x00,0x32,0xd5,0x00,0xff,0x01,0x42,0x0b,0xfe,0x00,0x00]
-// GFX9-ERR: :[[@LINE-3]]:27: error: literal operands are not supported
+// GFX1250-DIS: v_add_f16_e64 v0, v0, neg(0xfe0b)       ; encoding: [0x00,0x00,0x32,0xd5,0x00,0xff,0x01,0x42,0x0b,0xfe,0x00,0x00]
+// GFX9-ERR: :[[@LINE-4]]:27: error: literal operands are not supported
 
 v_add_f16_e64 v0, 0x3456, v0
 // GFX10: v_add_f16_e64 v0, 0x3456, v0            ; encoding: [0x00,0x00,0x32,0xd5,0xff,0x00,0x02,0x02,0x56,0x34,0x00,0x00]
 // GFX1250: v_add_f16_e64 v0, 0x3456, v0            ; encoding: [0x00,0x00,0x32,0xd5,0xff,0x00,0x02,0x02,0x56,0x34,0x00,0x00]
-// GFX9-ERR: :[[@LINE-3]]:19: error: literal operands are not supported
+// GFX1250-DIS: v_add_f16_e64 v0, 0x3456, v0            ; encoding: [0x00,0x00,0x32,0xd5,0xff,0x00,0x02,0x02,0x56,0x34,0x00,0x00]
+// GFX9-ERR: :[[@LINE-4]]:19: error: literal operands are not supported
 
 v_add_f16_e64 v0, 0xfe0b, neg(0xfe0b)
 // GFX10: v_add_f16_e64 v0, 0xfe0b, neg(0xfe0b)   ; encoding: [0x00,0x00,0x32,0xd5,0xff,0xfe,0x01,0x42,0x0b,0xfe,0x00,0x00]
 // GFX1250: v_add_f16_e64 v0, 0xfe0b, neg(0xfe0b)   ; encoding: [0x00,0x00,0x32,0xd5,0xff,0xfe,0x01,0x42,0x0b,0xfe,0x00,0x00]
-// GFX9-ERR: :[[@LINE-3]]:19: error: literal operands are not supported
+// GFX1250-DIS: v_add_f16_e64 v0, 0xfe0b, neg(0xfe0b)   ; encoding: [0x00,0x00,0x32,0xd5,0xff,0xfe,0x01,0x42,0x0b,0xfe,0x00,0x00]
+// GFX9-ERR: :[[@LINE-4]]:19: error: literal operands are not supported
 
 v_add_f64 v[0:1], 1.23456, v[0:1]
 // GFX10: v_add_f64 v[0:1], 0x3ff3c0c1, v[0:1]    ; encoding: [0x00,0x00,0x64,0xd5,0xff,0x00,0x02,0x02,0xc1,0xc0,0xf3,0x3f]
 // GFX1250: v_add_f64_e32 v[0:1], 0x3ff3c0c1fc8f3238, v[0:1] ; encoding: [0xfe,0x00,0x00,0x04,0x38,0x32,0x8f,0xfc,0xc1,0xc0,0xf3,0x3f]
-// GFX9-ERR: :[[@LINE-3]]:19: error: literal operands are not supported
+// GFX1250-DIS: v_add_f64_e32 v[0:1], 0x3ff3c0c1fc8f3238, v[0:1] ; encoding: [0xfe,0x00,0x00,0x04,0x38,0x32,0x8f,0xfc,0xc1,0xc0,0xf3,0x3f]
+// GFX9-ERR: :[[@LINE-4]]:19: error: literal operands are not supported
 
 v_add_f64 v[0:1], v[0:1], -abs(1.23456)
 // GFX10: v_add_f64 v[0:1], v[0:1], -|0x3ff3c0c1| ; encoding: [0x00,0x02,0x64,0xd5,0x00,0xff,0x01,0x42,0xc1,0xc0,0xf3,0x3f]
 // GFX1250: v_add_f64_e64 v[0:1], v[0:1], -|0x3ff3c0c1| ; encoding: [0x00,0x02,0x02,0xd5,0x00,0xff,0x01,0x42,0xc1,0xc0,0xf3,0x3f]
-// GFX9-ERR: :[[@LINE-3]]:32: error: literal operands are not supported
+// GFX1250-DIS: v_add_f64_e64 v[0:1], v[0:1], -|0x3ff3c0c1| ; encoding: [0x00,0x02,0x02,0xd5,0x00,0xff,0x01,0x42,0xc1,0xc0,0xf3,0x3f]
+// GFX9-ERR: :[[@LINE-4]]:32: error: literal operands are not supported
 
 v_add_f64 v[0:1], 1.23456, -abs(1.23456)
 // GFX10: v_add_f64 v[0:1], 0x3ff3c0c1, -|0x3ff3c0c1| ; encoding: [0x00,0x02,0x64,0xd5,0xff,0xfe,0x01,0x42,0xc1,0xc0,0xf3,0x3f]
 // GFX1250: v_add_f64_e64 v[0:1], 0x3ff3c0c1, -|0x3ff3c0c1| ; encoding: [0x00,0x02,0x02,0xd5,0xff,0xfe,0x01,0x42,0xc1,0xc0,0xf3,0x3f]
-// GFX9-ERR: :[[@LINE-3]]:19: error: literal operands are not supported
+// GFX1250-DIS: v_add_f64_e64 v[0:1], 0x3ff3c0c1, -|0x3ff3c0c1| ; encoding: [0x00,0x02,0x02,0xd5,0xff,0xfe,0x01,0x42,0xc1,0xc0,0xf3,0x3f]
+// GFX9-ERR: :[[@LINE-4]]:19: error: literal operands are not supported
 
 v_add_f64 v[0:1], 1.23456, -abs(1.2345)
 // GFX10-ERR: :[[@LINE-1]]:33: error: only one unique literal operand is allowed
@@ -207,37 +240,44 @@ v_add_f64 v[0:1], 1.23456, -abs(1.2345)
 v_max_i16_e64 v5, 0xfe0b, v2
 // GFX10: v_max_i16 v5, 0xfe0b, v2                ; encoding: [0x05,0x00,0x0a,0xd7,0xff,0x04,0x02,0x02,0x0b,0xfe,0x00,0x00]
 // GFX1250: v_max_i16 v5, 0xfe0b, v2                ; encoding: [0x05,0x00,0x0a,0xd7,0xff,0x04,0x02,0x02,0x0b,0xfe,0x00,0x00]
-// GFX9-ERR: :[[@LINE-3]]:19: error: literal operands are not supported
+// GFX1250-DIS: v_max_i16 v5, 0xfe0b, v2                ; encoding: [0x05,0x00,0x0a,0xd7,0xff,0x04,0x02,0x02,0x0b,0xfe,0x00,0x00]
+// GFX9-ERR: :[[@LINE-4]]:19: error: literal operands are not supported
 
 v_max_i16_e64 v5, v1, 0x123
 // GFX10: v_max_i16 v5, v1, 0x123                 ; encoding: [0x05,0x00,0x0a,0xd7,0x01,0xff,0x01,0x02,0x23,0x01,0x00,0x00]
 // GFX1250: v_max_i16 v5, v1, 0x123                 ; encoding: [0x05,0x00,0x0a,0xd7,0x01,0xff,0x01,0x02,0x23,0x01,0x00,0x00]
-// GFX9-ERR: :[[@LINE-3]]:23: error: literal operands are not supported
+// GFX1250-DIS: v_max_i16 v5, v1, 0x123                 ; encoding: [0x05,0x00,0x0a,0xd7,0x01,0xff,0x01,0x02,0x23,0x01,0x00,0x00]
+// GFX9-ERR: :[[@LINE-4]]:23: error: literal operands are not supported
 
 v_max_i16_e64 v5, 0x1234, 0x1234
 // GFX10: v_max_i16 v5, 0x1234, 0x1234            ; encoding: [0x05,0x00,0x0a,0xd7,0xff,0xfe,0x01,0x02,0x34,0x12,0x00,0x00]
 // GFX1250: v_max_i16 v5, 0x1234, 0x1234            ; encoding: [0x05,0x00,0x0a,0xd7,0xff,0xfe,0x01,0x02,0x34,0x12,0x00,0x00]
-// GFX9-ERR: :[[@LINE-3]]:19: error: literal operands are not supported
+// GFX1250-DIS: v_max_i16 v5, 0x1234, 0x1234            ; encoding: [0x05,0x00,0x0a,0xd7,0xff,0xfe,0x01,0x02,0x34,0x12,0x00,0x00]
+// GFX9-ERR: :[[@LINE-4]]:19: error: literal operands are not supported
 
 v_min3_i16 v5, 0xfe0b, v2, v3
 // GFX10: v_min3_i16 v5, 0xfe0b, v2, v3           ; encoding: [0x05,0x00,0x52,0xd7,0xff,0x04,0x0e,0x04,0x0b,0xfe,0x00,0x00]
 // GFX1250: v_min3_i16 v5, 0xfe0b, v2, v3           ; encoding: [0x05,0x00,0x4a,0xd6,0xff,0x04,0x0e,0x04,0x0b,0xfe,0x00,0x00]
-// GFX9-ERR: :[[@LINE-3]]:16: error: literal operands are not supported
+// GFX1250-DIS: v_min3_i16 v5, 0xfe0b, v2, v3           ; encoding: [0x05,0x00,0x4a,0xd6,0xff,0x04,0x0e,0x04,0x0b,0xfe,0x00,0x00]
+// GFX9-ERR: :[[@LINE-4]]:16: error: literal operands are not supported
 
 v_min3_i16 v5, v1, 0x1234, v3
 // GFX10: v_min3_i16 v5, v1, 0x1234, v3           ; encoding: [0x05,0x00,0x52,0xd7,0x01,0xff,0x0d,0x04,0x34,0x12,0x00,0x00]
 // GFX1250: v_min3_i16 v5, v1, 0x1234, v3           ; encoding: [0x05,0x00,0x4a,0xd6,0x01,0xff,0x0d,0x04,0x34,0x12,0x00,0x00]
-// GFX9-ERR: :[[@LINE-3]]:20: error: literal operands are not supported
+// GFX1250-DIS: v_min3_i16 v5, v1, 0x1234, v3           ; encoding: [0x05,0x00,0x4a,0xd6,0x01,0xff,0x0d,0x04,0x34,0x12,0x00,0x00]
+// GFX9-ERR: :[[@LINE-4]]:20: error: literal operands are not supported
 
 v_min3_i16 v5, v1, v2, 0x5678
 // GFX10: v_min3_i16 v5, v1, v2, 0x5678           ; encoding: [0x05,0x00,0x52,0xd7,0x01,0x05,0xfe,0x03,0x78,0x56,0x00,0x00]
 // GFX1250: v_min3_i16 v5, v1, v2, 0x5678           ; encoding: [0x05,0x00,0x4a,0xd6,0x01,0x05,0xfe,0x03,0x78,0x56,0x00,0x00]
-// GFX9-ERR: :[[@LINE-3]]:24: error: literal operands are not supported
+// GFX1250-DIS: v_min3_i16 v5, v1, v2, 0x5678           ; encoding: [0x05,0x00,0x4a,0xd6,0x01,0x05,0xfe,0x03,0x78,0x56,0x00,0x00]
+// GFX9-ERR: :[[@LINE-4]]:24: error: literal operands are not supported
 
 v_min3_i16 v5, 0x5678, 0x5678, 0x5678
 // GFX10: v_min3_i16 v5, 0x5678, 0x5678, 0x5678   ; encoding: [0x05,0x00,0x52,0xd7,0xff,0xfe,0xfd,0x03,0x78,0x56,0x00,0x00]
 // GFX1250: v_min3_i16 v5, 0x5678, 0x5678, 0x5678   ; encoding: [0x05,0x00,0x4a,0xd6,0xff,0xfe,0xfd,0x03,0x78,0x56,0x00,0x00]
-// GFX9-ERR: :[[@LINE-3]]:16: error: literal operands are not supported
+// GFX1250-DIS: v_min3_i16 v5, 0x5678, 0x5678, 0x5678   ; encoding: [0x05,0x00,0x4a,0xd6,0xff,0xfe,0xfd,0x03,0x78,0x56,0x00,0x00]
+// GFX9-ERR: :[[@LINE-4]]:16: error: literal operands are not supported
 
 v_min3_i16 v5, 0x5678, 0x5679, 0x5678
 // GFX10-ERR: :[[@LINE-1]]:24: error: only one unique literal operand is allowed
@@ -252,42 +292,50 @@ v_min3_i16 v5, 0x5678, 0x5678, 0x5679
 v_add_nc_u16 v5, 0xfe0b, v2
 // GFX10: v_add_nc_u16 v5, 0xfe0b, v2             ; encoding: [0x05,0x00,0x03,0xd7,0xff,0x04,0x02,0x02,0x0b,0xfe,0x00,0x00]
 // GFX1250: v_add_nc_u16 v5, 0xfe0b, v2             ; encoding: [0x05,0x00,0x03,0xd7,0xff,0x04,0x02,0x02,0x0b,0xfe,0x00,0x00]
-// GFX9-ERR: :[[@LINE-3]]:1: error: instruction not supported on this GPU (gfx900): v_add_nc_u16
+// GFX1250-DIS: v_add_nc_u16 v5, 0xfe0b, v2             ; encoding: [0x05,0x00,0x03,0xd7,0xff,0x04,0x02,0x02,0x0b,0xfe,0x00,0x00]
+// GFX9-ERR: :[[@LINE-4]]:1: error: instruction not supported on this GPU (gfx900): v_add_nc_u16
 
 v_add_nc_u16 v5, v1, 0x1234
 // GFX10: v_add_nc_u16 v5, v1, 0x1234             ; encoding: [0x05,0x00,0x03,0xd7,0x01,0xff,0x01,0x02,0x34,0x12,0x00,0x00]
 // GFX1250: v_add_nc_u16 v5, v1, 0x1234             ; encoding: [0x05,0x00,0x03,0xd7,0x01,0xff,0x01,0x02,0x34,0x12,0x00,0x00]
-// GFX9-ERR: :[[@LINE-3]]:1: error: instruction not supported on this GPU (gfx900): v_add_nc_u16
+// GFX1250-DIS: v_add_nc_u16 v5, v1, 0x1234             ; encoding: [0x05,0x00,0x03,0xd7,0x01,0xff,0x01,0x02,0x34,0x12,0x00,0x00]
+// GFX9-ERR: :[[@LINE-4]]:1: error: instruction not supported on this GPU (gfx900): v_add_nc_u16
 
 v_add_nc_u16 v5, 0x1234, 0x1234
 // GFX10: v_add_nc_u16 v5, 0x1234, 0x1234         ; encoding: [0x05,0x00,0x03,0xd7,0xff,0xfe,0x01,0x02,0x34,0x12,0x00,0x00]
 // GFX1250: v_add_nc_u16 v5, 0x1234, 0x1234         ; encoding: [0x05,0x00,0x03,0xd7,0xff,0xfe,0x01,0x02,0x34,0x12,0x00,0x00]
-// GFX9-ERR: :[[@LINE-3]]:1: error: instruction not supported on this GPU (gfx900): v_add_nc_u16
+// GFX1250-DIS: v_add_nc_u16 v5, 0x1234, 0x1234         ; encoding: [0x05,0x00,0x03,0xd7,0xff,0xfe,0x01,0x02,0x34,0x12,0x00,0x00]
+// GFX9-ERR: :[[@LINE-4]]:1: error: instruction not supported on this GPU (gfx900): v_add_nc_u16
 
 v_ashrrev_i16_e64 v5, 0x3456, v2
 // GFX10: v_ashrrev_i16 v5, 0x3456, v2            ; encoding: [0x05,0x00,0x08,0xd7,0xff,0x04,0x02,0x02,0x56,0x34,0x00,0x00]
 // GFX1250: v_ashrrev_i16 v5, 0x3456, v2            ; encoding: [0x05,0x00,0x3a,0xd7,0xff,0x04,0x02,0x02,0x56,0x34,0x00,0x00]
-// GFX9-ERR: :[[@LINE-3]]:23: error: literal operands are not supported
+// GFX1250-DIS: v_ashrrev_i16 v5, 0x3456, v2            ; encoding: [0x05,0x00,0x3a,0xd7,0xff,0x04,0x02,0x02,0x56,0x34,0x00,0x00]
+// GFX9-ERR: :[[@LINE-4]]:23: error: literal operands are not supported
 
 v_mad_u16 v5, 0xfe0b, v2, v3
 // GFX10: v_mad_u16 v5, 0xfe0b, v2, v3            ; encoding: [0x05,0x00,0x40,0xd7,0xff,0x04,0x0e,0x04,0x0b,0xfe,0x00,0x00]
 // GFX1250: v_mad_u16 v5, 0xfe0b, v2, v3            ; encoding: [0x05,0x00,0x41,0xd6,0xff,0x04,0x0e,0x04,0x0b,0xfe,0x00,0x00]
-// GFX9-ERR: :[[@LINE-3]]:15: error: literal operands are not supported
+// GFX1250-DIS: v_mad_u16 v5, 0xfe0b, v2, v3            ; encoding: [0x05,0x00,0x41,0xd6,0xff,0x04,0x0e,0x04,0x0b,0xfe,0x00,0x00]
+// GFX9-ERR: :[[@LINE-4]]:15: error: literal operands are not supported
 
 v_mad_u16 v5, v1, 0x1234, v3
 // GFX10: v_mad_u16 v5, v1, 0x1234, v3            ; encoding: [0x05,0x00,0x40,0xd7,0x01,0xff,0x0d,0x04,0x34,0x12,0x00,0x00]
 // GFX1250: v_mad_u16 v5, v1, 0x1234, v3            ; encoding: [0x05,0x00,0x41,0xd6,0x01,0xff,0x0d,0x04,0x34,0x12,0x00,0x00]
-// GFX9-ERR: :[[@LINE-3]]:19: error: literal operands are not supported
+// GFX1250-DIS: v_mad_u16 v5, v1, 0x1234, v3            ; encoding: [0x05,0x00,0x41,0xd6,0x01,0xff,0x0d,0x04,0x34,0x12,0x00,0x00]
+// GFX9-ERR: :[[@LINE-4]]:19: error: literal operands are not supported
 
 v_mad_u16 v5, v1, v2, 0x5678
 // GFX10: v_mad_u16 v5, v1, v2, 0x5678            ; encoding: [0x05,0x00,0x40,0xd7,0x01,0x05,0xfe,0x03,0x78,0x56,0x00,0x00]
 // GFX1250: v_mad_u16 v5, v1, v2, 0x5678            ; encoding: [0x05,0x00,0x41,0xd6,0x01,0x05,0xfe,0x03,0x78,0x56,0x00,0x00]
-// GFX9-ERR: :[[@LINE-3]]:23: error: literal operands are not supported
+// GFX1250-DIS: v_mad_u16 v5, v1, v2, 0x5678            ; encoding: [0x05,0x00,0x41,0xd6,0x01,0x05,0xfe,0x03,0x78,0x56,0x00,0x00]
+// GFX9-ERR: :[[@LINE-4]]:23: error: literal operands are not supported
 
 v_mad_u16 v5, 0x5678, 0x5678, 0x5678
 // GFX10: v_mad_u16 v5, 0x5678, 0x5678, 0x5678    ; encoding: [0x05,0x00,0x40,0xd7,0xff,0xfe,0xfd,0x03,0x78,0x56,0x00,0x00]
 // GFX1250: v_mad_u16 v5, 0x5678, 0x5678, 0x5678    ; encoding: [0x05,0x00,0x41,0xd6,0xff,0xfe,0xfd,0x03,0x78,0x56,0x00,0x00]
-// GFX9-ERR: :[[@LINE-3]]:15: error: literal operands are not supported
+// GFX1250-DIS: v_mad_u16 v5, 0x5678, 0x5678, 0x5678    ; encoding: [0x05,0x00,0x41,0xd6,0xff,0xfe,0xfd,0x03,0x78,0x56,0x00,0x00]
+// GFX9-ERR: :[[@LINE-4]]:15: error: literal operands are not supported
 
 v_mad_legacy_f32 v5, 0xaf123456, v2, v3
 // GFX10: v_mad_legacy_f32 v5, 0xaf123456, v2, v3 ; encoding: [0x05,0x00,0x40,0xd5,0xff,0x04,0x0e,0x04,0x56,0x34,0x12,0xaf]
@@ -312,17 +360,20 @@ v_mad_legacy_f32 v5, 0xaf123456, 0xaf123456, 0xaf123456
 v_cmp_eq_i32_e64 s[10:11], 0xaf123456, v2
 // GFX10: v_cmp_eq_i32_e64 s[10:11], 0xaf123456, v2 ; encoding: [0x0a,0x00,0x82,0xd4,0xff,0x04,0x02,0x02,0x56,0x34,0x12,0xaf]
 // GFX1250: v_cmp_eq_i32_e64 s[10:11], 0xaf123456, v2 ; encoding: [0x0a,0x00,0x42,0xd4,0xff,0x04,0x02,0x02,0x56,0x34,0x12,0xaf]
-// GFX9-ERR: :[[@LINE-3]]:28: error: literal operands are not supported
+// GFX1250-DIS: v_cmp_eq_i32_e64 s10, 0xaf123456, v2    ; encoding: [0x0a,0x00,0x42,0xd4,0xff,0x04,0x02,0x02,0x56,0x34,0x12,0xaf]
+// GFX9-ERR: :[[@LINE-4]]:28: error: literal operands are not supported
 
 v_cmp_eq_i32_e64 s[10:11], v1, 0xaf123456
 // GFX10: v_cmp_eq_i32_e64 s[10:11], v1, 0xaf123456 ; encoding: [0x0a,0x00,0x82,0xd4,0x01,0xff,0x01,0x02,0x56,0x34,0x12,0xaf]
 // GFX1250: v_cmp_eq_i32_e64 s[10:11], v1, 0xaf123456 ; encoding: [0x0a,0x00,0x42,0xd4,0x01,0xff,0x01,0x02,0x56,0x34,0x12,0xaf]
-// GFX9-ERR: :[[@LINE-3]]:32: error: literal operands are not supported
+// GFX1250-DIS: v_cmp_eq_i32_e64 s10, v1, 0xaf123456    ; encoding: [0x0a,0x00,0x42,0xd4,0x01,0xff,0x01,0x02,0x56,0x34,0x12,0xaf]
+// GFX9-ERR: :[[@LINE-4]]:32: error: literal operands are not supported
 
 v_cmp_eq_i32_e64 s[10:11], 0xaf123456, 0xaf123456
 // GFX10: v_cmp_eq_i32_e64 s[10:11], 0xaf123456, 0xaf123456 ; encoding: [0x0a,0x00,0x82,0xd4,0xff,0xfe,0x01,0x02,0x56,0x34,0x12,0xaf]
 // GFX1250: v_cmp_eq_i32_e64 s[10:11], 0xaf123456, 0xaf123456 ; encoding: [0x0a,0x00,0x42,0xd4,0xff,0xfe,0x01,0x02,0x56,0x34,0x12,0xaf]
-// GFX9-ERR: :[[@LINE-3]]:28: error: literal operands are not supported
+// GFX1250-DIS: v_cmp_eq_i32_e64 s10, 0xaf123456, 0xaf123456 ; encoding: [0x0a,0x00,0x42,0xd4,0xff,0xfe,0x01,0x02,0x56,0x34,0x12,0xaf]
+// GFX9-ERR: :[[@LINE-4]]:28: error: literal operands are not supported
 
 v_cmp_eq_i32_e64 s[10:11], 0xaf123456, 0xaf123455
 // GFX10-ERR: :[[@LINE-1]]:40: error: only one unique literal operand is allowed
@@ -332,32 +383,38 @@ v_cmp_eq_i32_e64 s[10:11], 0xaf123456, 0xaf123455
 v_cmp_eq_u64_e64 s[10:11], 0xaf123456, v[2:3]
 // GFX10: v_cmp_eq_u64_e64 s[10:11], 0xaf123456, v[2:3] ; encoding: [0x0a,0x00,0xe2,0xd4,0xff,0x04,0x02,0x02,0x56,0x34,0x12,0xaf]
 // GFX1250: v_cmp_eq_u64_e64 s[10:11], 0xaf123456, v[2:3] ; encoding: [0x0a,0x00,0x5a,0xd4,0xff,0x04,0x02,0x02,0x56,0x34,0x12,0xaf]
-// GFX9-ERR: :[[@LINE-3]]:28: error: literal operands are not supported
+// GFX1250-DIS: v_cmp_eq_u64_e64 s10, 0xaf123456, v[2:3] ; encoding: [0x0a,0x00,0x5a,0xd4,0xff,0x04,0x02,0x02,0x56,0x34,0x12,0xaf]
+// GFX9-ERR: :[[@LINE-4]]:28: error: literal operands are not supported
 
 v_cmp_eq_u64_e64 s[10:11], v[2:3], 0x3f717273
 // GFX10: v_cmp_eq_u64_e64 s[10:11], v[2:3], 0x3f717273 ; encoding: [0x0a,0x00,0xe2,0xd4,0x02,0xff,0x01,0x02,0x73,0x72,0x71,0x3f]
 // GFX1250: v_cmp_eq_u64_e64 s[10:11], v[2:3], 0x3f717273 ; encoding: [0x0a,0x00,0x5a,0xd4,0x02,0xff,0x01,0x02,0x73,0x72,0x71,0x3f]
-// GFX9-ERR: :[[@LINE-3]]:36: error: literal operands are not supported
+// GFX1250-DIS: v_cmp_eq_u64_e64 s10, v[2:3], 0x3f717273 ; encoding: [0x0a,0x00,0x5a,0xd4,0x02,0xff,0x01,0x02,0x73,0x72,0x71,0x3f]
+// GFX9-ERR: :[[@LINE-4]]:36: error: literal operands are not supported
 
 v_cmp_eq_u64_e64 s[10:11], 0x3f717273, 0x3f717273
 // GFX10: v_cmp_eq_u64_e64 s[10:11], 0x3f717273, 0x3f717273 ; encoding: [0x0a,0x00,0xe2,0xd4,0xff,0xfe,0x01,0x02,0x73,0x72,0x71,0x3f]
 // GFX1250: v_cmp_eq_u64_e64 s[10:11], 0x3f717273, 0x3f717273 ; encoding: [0x0a,0x00,0x5a,0xd4,0xff,0xfe,0x01,0x02,0x73,0x72,0x71,0x3f]
-// GFX9-ERR: :[[@LINE-3]]:28: error: literal operands are not supported
+// GFX1250-DIS: v_cmp_eq_u64_e64 s10, 0x3f717273, 0x3f717273 ; encoding: [0x0a,0x00,0x5a,0xd4,0xff,0xfe,0x01,0x02,0x73,0x72,0x71,0x3f]
+// GFX9-ERR: :[[@LINE-4]]:28: error: literal operands are not supported
 
 v_cmpx_class_f32_e64 0xaf123456, v2
 // GFX10: v_cmpx_class_f32_e64 0xaf123456, v2     ; encoding: [0x7e,0x00,0x98,0xd4,0xff,0x04,0x02,0x02,0x56,0x34,0x12,0xaf]
 // GFX1250: v_cmpx_class_f32_e64 0xaf123456, v2     ; encoding: [0x7e,0x00,0xfe,0xd4,0xff,0x04,0x02,0x02,0x56,0x34,0x12,0xaf]
-// GFX9-ERR: :[[@LINE-3]]:1: error: operands are not valid for this GPU or mode
+// GFX1250-DIS: v_cmpx_class_f32_e64 0xaf123456, v2     ; encoding: [0x7e,0x00,0xfe,0xd4,0xff,0x04,0x02,0x02,0x56,0x34,0x12,0xaf]
+// GFX9-ERR: :[[@LINE-4]]:1: error: operands are not valid for this GPU or mode
 
 v_cmpx_class_f32_e64 v1, 0xaf123456
 // GFX10: v_cmpx_class_f32_e64 v1, 0xaf123456     ; encoding: [0x7e,0x00,0x98,0xd4,0x01,0xff,0x01,0x02,0x56,0x34,0x12,0xaf]
 // GFX1250: v_cmpx_class_f32_e64 v1, 0xaf123456     ; encoding: [0x7e,0x00,0xfe,0xd4,0x01,0xff,0x01,0x02,0x56,0x34,0x12,0xaf]
-// GFX9-ERR: :[[@LINE-3]]:1: error: operands are not valid for this GPU or mode
+// GFX1250-DIS: v_cmpx_class_f32_e64 v1, 0xaf123456     ; encoding: [0x7e,0x00,0xfe,0xd4,0x01,0xff,0x01,0x02,0x56,0x34,0x12,0xaf]
+// GFX9-ERR: :[[@LINE-4]]:1: error: operands are not valid for this GPU or mode
 
 v_cmpx_class_f32_e64 0xaf123456, 0xaf123456
 // GFX10: v_cmpx_class_f32_e64 0xaf123456, 0xaf123456 ; encoding: [0x7e,0x00,0x98,0xd4,0xff,0xfe,0x01,0x02,0x56,0x34,0x12,0xaf]
 // GFX1250: v_cmpx_class_f32_e64 0xaf123456, 0xaf123456 ; encoding: [0x7e,0x00,0xfe,0xd4,0xff,0xfe,0x01,0x02,0x56,0x34,0x12,0xaf]
-// GFX9-ERR: :[[@LINE-3]]:1: error: operands are not valid for this GPU or mode
+// GFX1250-DIS: v_cmpx_class_f32_e64 0xaf123456, 0xaf123456 ; encoding: [0x7e,0x00,0xfe,0xd4,0xff,0xfe,0x01,0x02,0x56,0x34,0x12,0xaf]
+// GFX9-ERR: :[[@LINE-4]]:1: error: operands are not valid for this GPU or mode
 
 v_cmpx_class_f32_e64 0xaf123456, 0xaf123455
 // GFX10-ERR: :[[@LINE-1]]:34: error: only one unique literal operand is allowed
@@ -367,97 +424,116 @@ v_cmpx_class_f32_e64 0xaf123456, 0xaf123455
 v_cmpx_lt_i16_e64 v1, 0x3456
 // GFX10: v_cmpx_lt_i16_e64 v1, 0x3456            ; encoding: [0x7e,0x00,0x99,0xd4,0x01,0xff,0x01,0x02,0x56,0x34,0x00,0x00]
 // GFX1250: v_cmpx_lt_i16_e64 v1, 0x3456            ; encoding: [0x7e,0x00,0xb1,0xd4,0x01,0xff,0x01,0x02,0x56,0x34,0x00,0x00]
-// GFX9-ERR: :[[@LINE-3]]:1: error: operands are not valid for this GPU or mode
+// GFX1250-DIS: v_cmpx_lt_i16_e64 v1, 0x3456            ; encoding: [0x7e,0x00,0xb1,0xd4,0x01,0xff,0x01,0x02,0x56,0x34,0x00,0x00]
+// GFX9-ERR: :[[@LINE-4]]:1: error: operands are not valid for this GPU or mode
 
 v_cmpx_lt_i16_e64 0x3456, v2
 // GFX10: v_cmpx_lt_i16_e64 0x3456, v2            ; encoding: [0x7e,0x00,0x99,0xd4,0xff,0x04,0x02,0x02,0x56,0x34,0x00,0x00]
 // GFX1250: v_cmpx_lt_i16_e64 0x3456, v2            ; encoding: [0x7e,0x00,0xb1,0xd4,0xff,0x04,0x02,0x02,0x56,0x34,0x00,0x00]
-// GFX9-ERR: :[[@LINE-3]]:1: error: operands are not valid for this GPU or mode
+// GFX1250-DIS: v_cmpx_lt_i16_e64 0x3456, v2            ; encoding: [0x7e,0x00,0xb1,0xd4,0xff,0x04,0x02,0x02,0x56,0x34,0x00,0x00]
+// GFX9-ERR: :[[@LINE-4]]:1: error: operands are not valid for this GPU or mode
 
 v_cmpx_lt_i16_e64 0x3456, 0x3456
 // GFX10: v_cmpx_lt_i16_e64 0x3456, 0x3456        ; encoding: [0x7e,0x00,0x99,0xd4,0xff,0xfe,0x01,0x02,0x56,0x34,0x00,0x00]
 // GFX1250: v_cmpx_lt_i16_e64 0x3456, 0x3456        ; encoding: [0x7e,0x00,0xb1,0xd4,0xff,0xfe,0x01,0x02,0x56,0x34,0x00,0x00]
-// GFX9-ERR: :[[@LINE-3]]:1: error: operands are not valid for this GPU or mode
+// GFX1250-DIS: v_cmpx_lt_i16_e64 0x3456, 0x3456        ; encoding: [0x7e,0x00,0xb1,0xd4,0xff,0xfe,0x01,0x02,0x56,0x34,0x00,0x00]
+// GFX9-ERR: :[[@LINE-4]]:1: error: operands are not valid for this GPU or mode
 
 v_cmpx_eq_i64_e64 0xaf123456, v[2:3]
 // GFX10: v_cmpx_eq_i64_e64 0xaf123456, v[2:3]    ; encoding: [0x7e,0x00,0xb2,0xd4,0xff,0x04,0x02,0x02,0x56,0x34,0x12,0xaf]
 // GFX1250: v_cmpx_eq_i64_e64 0xaf123456, v[2:3]    ; encoding: [0x7e,0x00,0xd2,0xd4,0xff,0x04,0x02,0x02,0x56,0x34,0x12,0xaf]
-// GFX9-ERR: :[[@LINE-3]]:1: error: operands are not valid for this GPU or mode
+// GFX1250-DIS: v_cmpx_eq_i64_e64 0xaf123456, v[2:3]    ; encoding: [0x7e,0x00,0xd2,0xd4,0xff,0x04,0x02,0x02,0x56,0x34,0x12,0xaf]
+// GFX9-ERR: :[[@LINE-4]]:1: error: operands are not valid for this GPU or mode
 
 v_cmpx_eq_i64_e64 v[2:3], 0x3f717273
 // GFX10: v_cmpx_eq_i64_e64 v[2:3], 0x3f717273    ; encoding: [0x7e,0x00,0xb2,0xd4,0x02,0xff,0x01,0x02,0x73,0x72,0x71,0x3f]
 // GFX1250: v_cmpx_eq_i64_e64 v[2:3], 0x3f717273    ; encoding: [0x7e,0x00,0xd2,0xd4,0x02,0xff,0x01,0x02,0x73,0x72,0x71,0x3f]
-// GFX9-ERR: :[[@LINE-3]]:1: error: operands are not valid for this GPU or mode
+// GFX1250-DIS: v_cmpx_eq_i64_e64 v[2:3], 0x3f717273    ; encoding: [0x7e,0x00,0xd2,0xd4,0x02,0xff,0x01,0x02,0x73,0x72,0x71,0x3f]
+// GFX9-ERR: :[[@LINE-4]]:1: error: operands are not valid for this GPU or mode
 
 v_cmpx_eq_i64_e64 0x3f717273, 0x3f717273
 // GFX10: v_cmpx_eq_i64_e64 0x3f717273, 0x3f717273 ; encoding: [0x7e,0x00,0xb2,0xd4,0xff,0xfe,0x01,0x02,0x73,0x72,0x71,0x3f]
 // GFX1250: v_cmpx_eq_i64_e64 0x3f717273, 0x3f717273 ; encoding: [0x7e,0x00,0xd2,0xd4,0xff,0xfe,0x01,0x02,0x73,0x72,0x71,0x3f]
-// GFX9-ERR: :[[@LINE-3]]:1: error: operands are not valid for this GPU or mode
+// GFX1250-DIS: v_cmpx_eq_i64_e64 0x3f717273, 0x3f717273 ; encoding: [0x7e,0x00,0xd2,0xd4,0xff,0xfe,0x01,0x02,0x73,0x72,0x71,0x3f]
+// GFX9-ERR: :[[@LINE-4]]:1: error: operands are not valid for this GPU or mode
 
 v_lshlrev_b64 v[4:5], 0xaf123456, v[2:3]
 // GFX10: v_lshlrev_b64 v[4:5], 0xaf123456, v[2:3] ; encoding: [0x04,0x00,0xff,0xd6,0xff,0x04,0x02,0x02,0x56,0x34,0x12,0xaf]
 // GFX1250: v_lshlrev_b64_e32 v[4:5], 0xaf123456, v[2:3] ; encoding: [0xff,0x04,0x08,0x3e,0x56,0x34,0x12,0xaf]
-// GFX9-ERR: :[[@LINE-3]]:23: error: literal operands are not supported
+// GFX1250-DIS: v_lshlrev_b64_e32 v[4:5], 0xaf123456, v[2:3] ; encoding: [0xff,0x04,0x08,0x3e,0x56,0x34,0x12,0xaf]
+// GFX9-ERR: :[[@LINE-4]]:23: error: literal operands are not supported
 
 v_lshlrev_b64 v[6:7], v1, 0xbf717273
 // GFX10: v_lshlrev_b64 v[6:7], v1, 0xbf717273    ; encoding: [0x06,0x00,0xff,0xd6,0x01,0xff,0x01,0x02,0x73,0x72,0x71,0xbf]
 // GFX1250: v_lshlrev_b64_e64 v[6:7], v1, 0xbf717273 ; encoding: [0x06,0x00,0x1f,0xd5,0x01,0xff,0x01,0x02,0x73,0x72,0x71,0xbf]
-// GFX9-ERR: :[[@LINE-3]]:27: error: literal operands are not supported
+// GFX1250-DIS: v_lshlrev_b64_e64 v[6:7], v1, 0xbf717273 ; encoding: [0x06,0x00,0x1f,0xd5,0x01,0xff,0x01,0x02,0x73,0x72,0x71,0xbf]
+// GFX9-ERR: :[[@LINE-4]]:27: error: literal operands are not supported
 
 v_fma_mix_f32 v5, 0x123, v2, v3
 // GFX10: v_fma_mix_f32 v5, 0x123, v2, v3         ; encoding: [0x05,0x00,0x20,0xcc,0xff,0x04,0x0e,0x04,0x23,0x01,0x00,0x00]
 // GFX1250: v_fma_mix_f32 v5, 0x123, v2, v3         ; encoding: [0x05,0x00,0x20,0xcc,0xff,0x04,0x0e,0x04,0x23,0x01,0x00,0x00]
-// GFX9-ERR: :[[@LINE-3]]:1: error: instruction not supported on this GPU (gfx900): v_fma_mix_f32
+// GFX1250-DIS: v_fma_mix_f32 v5, 0x123, v2, v3         ; encoding: [0x05,0x00,0x20,0xcc,0xff,0x04,0x0e,0x04,0x23,0x01,0x00,0x00]
+// GFX9-ERR: :[[@LINE-4]]:1: error: instruction not supported on this GPU (gfx900): v_fma_mix_f32
 
 v_fma_mix_f32 v5, v1, 0x7b, v3
 // GFX10: v_fma_mix_f32 v5, v1, 0x7b, v3          ; encoding: [0x05,0x00,0x20,0xcc,0x01,0xff,0x0d,0x04,0x7b,0x00,0x00,0x00]
 // GFX1250: v_fma_mix_f32 v5, v1, 0x7b, v3          ; encoding: [0x05,0x00,0x20,0xcc,0x01,0xff,0x0d,0x04,0x7b,0x00,0x00,0x00]
-// GFX9-ERR: :[[@LINE-3]]:1: error: instruction not supported on this GPU (gfx900): v_fma_mix_f32
+// GFX1250-DIS: v_fma_mix_f32 v5, v1, 0x7b, v3          ; encoding: [0x05,0x00,0x20,0xcc,0x01,0xff,0x0d,0x04,0x7b,0x00,0x00,0x00]
+// GFX9-ERR: :[[@LINE-4]]:1: error: instruction not supported on this GPU (gfx900): v_fma_mix_f32
 
 v_fma_mix_f32 v5, v1, v2, 0x1c8
 // GFX10: v_fma_mix_f32 v5, v1, v2, 0x1c8         ; encoding: [0x05,0x00,0x20,0xcc,0x01,0x05,0xfe,0x03,0xc8,0x01,0x00,0x00]
 // GFX1250: v_fma_mix_f32 v5, v1, v2, 0x1c8         ; encoding: [0x05,0x00,0x20,0xcc,0x01,0x05,0xfe,0x03,0xc8,0x01,0x00,0x00]
-// GFX9-ERR: :[[@LINE-3]]:1: error: instruction not supported on this GPU (gfx900): v_fma_mix_f32
+// GFX1250-DIS: v_fma_mix_f32 v5, v1, v2, 0x1c8         ; encoding: [0x05,0x00,0x20,0xcc,0x01,0x05,0xfe,0x03,0xc8,0x01,0x00,0x00]
+// GFX9-ERR: :[[@LINE-4]]:1: error: instruction not supported on this GPU (gfx900): v_fma_mix_f32
 
 v_fma_mix_f32 v5, 0x1c8a, v2, 0x1c8a
 // GFX10: v_fma_mix_f32 v5, 0x1c8a, v2, 0x1c8a    ; encoding: [0x05,0x00,0x20,0xcc,0xff,0x04,0xfe,0x03,0x8a,0x1c,0x00,0x00]
 // GFX1250: v_fma_mix_f32 v5, 0x1c8a, v2, 0x1c8a    ; encoding: [0x05,0x00,0x20,0xcc,0xff,0x04,0xfe,0x03,0x8a,0x1c,0x00,0x00]
-// GFX9-ERR: :[[@LINE-3]]:1: error: instruction not supported on this GPU (gfx900): v_fma_mix_f32
+// GFX1250-DIS: v_fma_mix_f32 v5, 0x1c8a, v2, 0x1c8a    ; encoding: [0x05,0x00,0x20,0xcc,0xff,0x04,0xfe,0x03,0x8a,0x1c,0x00,0x00]
+// GFX9-ERR: :[[@LINE-4]]:1: error: instruction not supported on this GPU (gfx900): v_fma_mix_f32
 
 v_fma_mix_f32 v5, 0x1c8a, 0x1c8a, 0x1c8a
 // GFX10: v_fma_mix_f32 v5, 0x1c8a, 0x1c8a, 0x1c8a ; encoding: [0x05,0x00,0x20,0xcc,0xff,0xfe,0xfd,0x03,0x8a,0x1c,0x00,0x00]
 // GFX1250: v_fma_mix_f32 v5, 0x1c8a, 0x1c8a, 0x1c8a ; encoding: [0x05,0x00,0x20,0xcc,0xff,0xfe,0xfd,0x03,0x8a,0x1c,0x00,0x00]
-// GFX9-ERR: :[[@LINE-3]]:1: error: instruction not supported on this GPU (gfx900): v_fma_mix_f32
+// GFX1250-DIS: v_fma_mix_f32 v5, 0x1c8a, 0x1c8a, 0x1c8a ; encoding: [0x05,0x00,0x20,0xcc,0xff,0xfe,0xfd,0x03,0x8a,0x1c,0x00,0x00]
+// GFX9-ERR: :[[@LINE-4]]:1: error: instruction not supported on this GPU (gfx900): v_fma_mix_f32
 
 v_pk_add_f16 v5, 0xaf123456, v2
 // GFX10: v_pk_add_f16 v5, 0xaf123456, v2         ; encoding: [0x05,0x40,0x0f,0xcc,0xff,0x04,0x02,0x1a,0x56,0x34,0x12,0xaf]
 // GFX1250: v_pk_add_f16 v5, 0xaf123456, v2         ; encoding: [0x05,0x40,0x0f,0xcc,0xff,0x04,0x02,0x1a,0x56,0x34,0x12,0xaf]
-// GFX9-ERR: :[[@LINE-3]]:18: error: literal operands are not supported
+// GFX1250-DIS: v_pk_add_f16 v5, 0xaf123456, v2         ; encoding: [0x05,0x40,0x0f,0xcc,0xff,0x04,0x02,0x1a,0x56,0x34,0x12,0xaf]
+// GFX9-ERR: :[[@LINE-4]]:18: error: literal operands are not supported
 
 v_pk_add_f16 v5, v1, 0xbf717273
 // GFX10: v_pk_add_f16 v5, v1, 0xbf717273         ; encoding: [0x05,0x40,0x0f,0xcc,0x01,0xff,0x01,0x1a,0x73,0x72,0x71,0xbf]
 // GFX1250: v_pk_add_f16 v5, v1, 0xbf717273         ; encoding: [0x05,0x40,0x0f,0xcc,0x01,0xff,0x01,0x1a,0x73,0x72,0x71,0xbf]
-// GFX9-ERR: :[[@LINE-3]]:22: error: literal operands are not supported
+// GFX1250-DIS: v_pk_add_f16 v5, v1, 0xbf717273         ; encoding: [0x05,0x40,0x0f,0xcc,0x01,0xff,0x01,0x1a,0x73,0x72,0x71,0xbf]
+// GFX9-ERR: :[[@LINE-4]]:22: error: literal operands are not supported
 
 v_pk_add_f16 v5, 0x3f717273, 0x3f717273
 // GFX10: v_pk_add_f16 v5, 0x3f717273, 0x3f717273 ; encoding: [0x05,0x40,0x0f,0xcc,0xff,0xfe,0x01,0x1a,0x73,0x72,0x71,0x3f]
 // GFX1250: v_pk_add_f16 v5, 0x3f717273, 0x3f717273 ; encoding: [0x05,0x40,0x0f,0xcc,0xff,0xfe,0x01,0x1a,0x73,0x72,0x71,0x3f]
-// GFX9-ERR: :[[@LINE-3]]:18: error: literal operands are not supported
+// GFX1250-DIS: v_pk_add_f16 v5, 0x3f717273, 0x3f717273 ; encoding: [0x05,0x40,0x0f,0xcc,0xff,0xfe,0x01,0x1a,0x73,0x72,0x71,0x3f]
+// GFX9-ERR: :[[@LINE-4]]:18: error: literal operands are not supported
 
 v_pk_add_i16 v5, 0x7b, v2
 // GFX10: v_pk_add_i16 v5, 0x7b, v2               ; encoding: [0x05,0x40,0x02,0xcc,0xff,0x04,0x02,0x1a,0x7b,0x00,0x00,0x00]
 // GFX1250: v_pk_add_i16 v5, 0x7b, v2               ; encoding: [0x05,0x40,0x02,0xcc,0xff,0x04,0x02,0x1a,0x7b,0x00,0x00,0x00]
-// GFX9-ERR: :[[@LINE-3]]:18: error: literal operands are not supported
+// GFX1250-DIS: v_pk_add_i16 v5, 0x7b, v2               ; encoding: [0x05,0x40,0x02,0xcc,0xff,0x04,0x02,0x1a,0x7b,0x00,0x00,0x00]
+// GFX9-ERR: :[[@LINE-4]]:18: error: literal operands are not supported
 
 v_pk_add_i16 v5, v1, 0x7b
 // GFX10: v_pk_add_i16 v5, v1, 0x7b               ; encoding: [0x05,0x40,0x02,0xcc,0x01,0xff,0x01,0x1a,0x7b,0x00,0x00,0x00]
 // GFX1250: v_pk_add_i16 v5, v1, 0x7b               ; encoding: [0x05,0x40,0x02,0xcc,0x01,0xff,0x01,0x1a,0x7b,0x00,0x00,0x00]
-// GFX9-ERR: :[[@LINE-3]]:22: error: literal operands are not supported
+// GFX1250-DIS: v_pk_add_i16 v5, v1, 0x7b               ; encoding: [0x05,0x40,0x02,0xcc,0x01,0xff,0x01,0x1a,0x7b,0x00,0x00,0x00]
+// GFX9-ERR: :[[@LINE-4]]:22: error: literal operands are not supported
 
 v_pk_add_i16 v5, 0xab7b, 0xab7b
 // GFX10: v_pk_add_i16 v5, 0xab7b, 0xab7b         ; encoding: [0x05,0x40,0x02,0xcc,0xff,0xfe,0x01,0x1a,0x7b,0xab,0x00,0x00]
 // GFX1250: v_pk_add_i16 v5, 0xab7b, 0xab7b         ; encoding: [0x05,0x40,0x02,0xcc,0xff,0xfe,0x01,0x1a,0x7b,0xab,0x00,0x00]
-// GFX9-ERR: :[[@LINE-3]]:18: error: literal operands are not supported
+// GFX1250-DIS: v_pk_add_i16 v5, 0xab7b, 0xab7b         ; encoding: [0x05,0x40,0x02,0xcc,0xff,0xfe,0x01,0x1a,0x7b,0xab,0x00,0x00]
+// GFX9-ERR: :[[@LINE-4]]:18: error: literal operands are not supported
 
 v_pk_add_i16 v5, 0xab7b, 0xab7a
 // GFX10-ERR: :[[@LINE-1]]:26: error: only one unique literal operand is allowed
@@ -467,27 +543,32 @@ v_pk_add_i16 v5, 0xab7b, 0xab7a
 v_div_fmas_f32 v5, v1, 0x123, v3
 // GFX10: v_div_fmas_f32 v5, v1, 0x123, v3        ; encoding: [0x05,0x00,0x6f,0xd5,0x01,0xff,0x0d,0x04,0x23,0x01,0x00,0x00]
 // GFX1250: v_div_fmas_f32 v5, v1, 0x123, v3        ; encoding: [0x05,0x00,0x37,0xd6,0x01,0xff,0x0d,0x04,0x23,0x01,0x00,0x00]
-// GFX9-ERR: :[[@LINE-3]]:24: error: literal operands are not supported
+// GFX1250-DIS: v_div_fmas_f32 v5, v1, 0x123, v3        ; encoding: [0x05,0x00,0x37,0xd6,0x01,0xff,0x0d,0x04,0x23,0x01,0x00,0x00]
+// GFX9-ERR: :[[@LINE-4]]:24: error: literal operands are not supported
 
 v_div_fmas_f32 v5, v1, 0x123, 0x123
 // GFX10: v_div_fmas_f32 v5, v1, 0x123, 0x123     ; encoding: [0x05,0x00,0x6f,0xd5,0x01,0xff,0xfd,0x03,0x23,0x01,0x00,0x00]
 // GFX1250: v_div_fmas_f32 v5, v1, 0x123, 0x123     ; encoding: [0x05,0x00,0x37,0xd6,0x01,0xff,0xfd,0x03,0x23,0x01,0x00,0x00]
-// GFX9-ERR: :[[@LINE-3]]:24: error: literal operands are not supported
+// GFX1250-DIS: v_div_fmas_f32 v5, v1, 0x123, 0x123     ; encoding: [0x05,0x00,0x37,0xd6,0x01,0xff,0xfd,0x03,0x23,0x01,0x00,0x00]
+// GFX9-ERR: :[[@LINE-4]]:24: error: literal operands are not supported
 
 v_div_fmas_f32 v5, 0x123, 0x123, 0x123
 // GFX10: v_div_fmas_f32 v5, 0x123, 0x123, 0x123  ; encoding: [0x05,0x00,0x6f,0xd5,0xff,0xfe,0xfd,0x03,0x23,0x01,0x00,0x00]
 // GFX1250: v_div_fmas_f32 v5, 0x123, 0x123, 0x123  ; encoding: [0x05,0x00,0x37,0xd6,0xff,0xfe,0xfd,0x03,0x23,0x01,0x00,0x00]
-// GFX9-ERR: :[[@LINE-3]]:20: error: literal operands are not supported
+// GFX1250-DIS: v_div_fmas_f32 v5, 0x123, 0x123, 0x123  ; encoding: [0x05,0x00,0x37,0xd6,0xff,0xfe,0xfd,0x03,0x23,0x01,0x00,0x00]
+// GFX9-ERR: :[[@LINE-4]]:20: error: literal operands are not supported
 
 v_div_fmas_f64 v[4:5], 0x12345678, v[2:3], v[4:5]
 // GFX10: v_div_fmas_f64 v[4:5], 0x12345678, v[2:3], v[4:5] ; encoding: [0x04,0x00,0x70,0xd5,0xff,0x04,0x12,0x04,0x78,0x56,0x34,0x12]
 // GFX1250: v_div_fmas_f64 v[4:5], 0x12345678, v[2:3], v[4:5] ; encoding: [0x04,0x00,0x38,0xd6,0xff,0x04,0x12,0x04,0x78,0x56,0x34,0x12]
-// GFX9-ERR: :[[@LINE-3]]:24: error: literal operands are not supported
+// GFX1250-DIS: v_div_fmas_f64 v[4:5], 0x12345678, v[2:3], v[4:5] ; encoding: [0x04,0x00,0x38,0xd6,0xff,0x04,0x12,0x04,0x78,0x56,0x34,0x12]
+// GFX9-ERR: :[[@LINE-4]]:24: error: literal operands are not supported
 
 v_div_fmas_f64 v[6:7], 0x12345678, 0x12345678, 0x12345678
 // GFX10: v_div_fmas_f64 v[6:7], 0x12345678, 0x12345678, 0x12345678 ; encoding: [0x06,0x00,0x70,0xd5,0xff,0xfe,0xfd,0x03,0x78,0x56,0x34,0x12]
 // GFX1250: v_div_fmas_f64 v[6:7], 0x12345678, 0x12345678, 0x12345678 ; encoding: [0x06,0x00,0x38,0xd6,0xff,0xfe,0xfd,0x03,0x78,0x56,0x34,0x12]
-// GFX9-ERR: :[[@LINE-3]]:24: error: literal operands are not supported
+// GFX1250-DIS: v_div_fmas_f64 v[6:7], 0x12345678, 0x12345678, 0x12345678 ; encoding: [0x06,0x00,0x38,0xd6,0xff,0xfe,0xfd,0x03,0x78,0x56,0x34,0x12]
+// GFX9-ERR: :[[@LINE-4]]:24: error: literal operands are not supported
 
 v_div_fmas_f64 v[4:5], v[2:3], 0x123457, 0x123456
 // GFX10-ERR: :[[@LINE-1]]:42: error: only one unique literal operand is allowed
@@ -497,12 +578,14 @@ v_div_fmas_f64 v[4:5], v[2:3], 0x123457, 0x123456
 v_ldexp_f64 v[4:5], 0.12345, v2
 // GFX10: v_ldexp_f64 v[4:5], 0x3fbf9a6b, v2      ; encoding: [0x04,0x00,0x68,0xd5,0xff,0x04,0x02,0x02,0x6b,0x9a,0xbf,0x3f]
 // GFX1250: v_ldexp_f64 v[4:5], 0x3fbf9a6b, v2      ; encoding: [0x04,0x00,0x2b,0xd7,0xff,0x04,0x02,0x02,0x6b,0x9a,0xbf,0x3f]
-// GFX9-ERR: :[[@LINE-3]]:21: error: literal operands are not supported
+// GFX1250-DIS: v_ldexp_f64 v[4:5], 0x3fbf9a6b, v2      ; encoding: [0x04,0x00,0x2b,0xd7,0xff,0x04,0x02,0x02,0x6b,0x9a,0xbf,0x3f]
+// GFX9-ERR: :[[@LINE-4]]:21: error: literal operands are not supported
 
 v_ldexp_f64 v[6:7], 0.12345, 0x3fbf9a6b
 // GFX10: v_ldexp_f64 v[6:7], 0x3fbf9a6b, 0x3fbf9a6b ; encoding: [0x06,0x00,0x68,0xd5,0xff,0xfe,0x01,0x02,0x6b,0x9a,0xbf,0x3f]
 // GFX1250: v_ldexp_f64 v[6:7], 0x3fbf9a6b, 0x3fbf9a6b ; encoding: [0x06,0x00,0x2b,0xd7,0xff,0xfe,0x01,0x02,0x6b,0x9a,0xbf,0x3f]
-// GFX9-ERR: :[[@LINE-3]]:21: error: literal operands are not supported
+// GFX1250-DIS: v_ldexp_f64 v[6:7], 0x3fbf9a6b, 0x3fbf9a6b ; encoding: [0x06,0x00,0x2b,0xd7,0xff,0xfe,0x01,0x02,0x6b,0x9a,0xbf,0x3f]
+// GFX9-ERR: :[[@LINE-4]]:21: error: literal operands are not supported
 
 v_ldexp_f64 v[4:5], 0.12345, 0x3fbf9a6c
 // GFX10-ERR: :[[@LINE-1]]:30: error: only one unique literal operand is allowed
diff --git a/llvm/test/MC/Disassembler/AMDGPU/gfx1250_wave64_feature.s b/llvm/test/MC/Disassembler/AMDGPU/gfx1250_wave64_feature.s
index a04f75ba03316..6837ab4d098c1 100644
--- a/llvm/test/MC/Disassembler/AMDGPU/gfx1250_wave64_feature.s
+++ b/llvm/test/MC/Disassembler/AMDGPU/gfx1250_wave64_feature.s
@@ -1,13 +1,14 @@
 # RUN: llvm-mc -triple=amdgpu12.50 -mattr=+wavefrontsize64 -disassemble -o - %s | FileCheck %s
 
 # Make sure there's no assertion when trying to use an unsupported
-# wave64 on a wave32-only target
+# wave64 on a wave32-only target. Since wave64 is not supported, the
+# requested wave size is ignored and the target stays wave32.
 
 # CHECK: v_add_f64_e32 v[0:1], 1.0, v[0:1]
 0xf2,0x00,0x00,0x04
 
-# CHECK: v_cmp_eq_u32_e64 s[0:1], 1.0, s1
+# CHECK: v_cmp_eq_u32_e64 s0, 1.0, s1
 0x00,0x00,0x4a,0xd4,0xf2,0x02,0x00,0x00
 
-# CHECK: v_cndmask_b32_e64 v1, v2, v3, s[0:1]
+# CHECK: v_cndmask_b32_e64 v1, v2, v3, s0
 0x01,0x00,0x01,0xd5,0x02,0x07,0x02,0x00



More information about the llvm-commits mailing list