From c14c0894c46cca7b6b451a151b906b0a599d6675 Mon Sep 17 00:00:00 2001 From: Shilei Tian Date: Fri, 8 Mar 2024 10:07:49 -0500 Subject: [PATCH] [ADMGPU] Replace `isInlinableLiteral16` with specific version The current implementation of `isInlinableLiteral16` assumes, a 16-bit inlinable literal is either an `i16` or a `fp16`. This is not always true because of `bf16`. However, we can't tell `fp16` and `bf16` apart by just looking at the value. This patch splits `isInlinableLiteral16` into three versions, `i16`, `fp16`, `bf16` respectively, and call the corresponding version. --- llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp | 52 ++--- .../AMDGPU/AsmParser/AMDGPUAsmParser.cpp | 97 +++++++-- .../AMDGPU/MCTargetDesc/AMDGPUInstPrinter.cpp | 29 +-- .../AMDGPU/MCTargetDesc/AMDGPUInstPrinter.h | 4 +- .../MCTargetDesc/AMDGPUMCCodeEmitter.cpp | 11 +- llvm/lib/Target/AMDGPU/SIISelLowering.cpp | 28 ++- llvm/lib/Target/AMDGPU/SIInstrInfo.cpp | 25 ++- llvm/lib/Target/AMDGPU/SIInstrInfo.h | 4 +- .../Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp | 8 +- llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.h | 8 +- llvm/lib/Target/AMDGPU/VOP3PInstructions.td | 1 + llvm/test/CodeGen/AMDGPU/immv216.ll | 42 ++-- .../test/CodeGen/AMDGPU/inline-constraints.ll | 12 -- .../CodeGen/AMDGPU/shrink-add-sub-constant.ll | 144 ++++++++----- .../test/CodeGen/AMDGPU/wmma-gfx12-w32-imm.ll | 6 +- .../test/CodeGen/AMDGPU/wmma-gfx12-w64-imm.ll | 5 +- llvm/test/MC/AMDGPU/gfx10_asm_vop1.s | 16 +- llvm/test/MC/AMDGPU/gfx10_asm_vop3.s | 192 +++++++++--------- llvm/test/MC/AMDGPU/gfx10_asm_vopc.s | 96 ++++----- llvm/test/MC/AMDGPU/gfx10_asm_vopc_e64.s | 192 +++++++++--------- llvm/test/MC/AMDGPU/gfx10_asm_vopcx.s | 144 ++++++------- llvm/test/MC/AMDGPU/gfx11_asm_vop1.s | 72 +++---- llvm/test/MC/AMDGPU/gfx11_asm_vop3.s | 108 +++++----- .../test/MC/AMDGPU/gfx11_asm_vop3_from_vop1.s | 10 +- .../test/MC/AMDGPU/gfx11_asm_vop3_from_vopc.s | 96 ++++----- .../MC/AMDGPU/gfx11_asm_vop3_from_vopcx.s | 132 ++++++------ llvm/test/MC/AMDGPU/gfx11_asm_vopc.s | 48 ++--- llvm/test/MC/AMDGPU/gfx11_asm_vopcx.s | 26 +-- llvm/test/MC/AMDGPU/gfx12_asm_vop1.s | 10 +- llvm/test/MC/AMDGPU/gfx12_asm_vop3.s | 108 +++++----- .../test/MC/AMDGPU/gfx12_asm_vop3_from_vop1.s | 10 +- llvm/test/MC/AMDGPU/gfx12_asm_vop3c.s | 96 ++++----- llvm/test/MC/AMDGPU/gfx12_asm_vop3cx.s | 48 ++--- llvm/test/MC/AMDGPU/gfx12_asm_vopc.s | 48 ++--- llvm/test/MC/AMDGPU/gfx12_asm_vopcx.s | 24 +-- llvm/test/MC/AMDGPU/gfx8_asm_vop1.s | 8 +- llvm/test/MC/AMDGPU/gfx8_asm_vop2.s | 44 ++-- llvm/test/MC/AMDGPU/gfx8_asm_vopc.s | 130 ++++++------ llvm/test/MC/AMDGPU/gfx9-asm-err.s | 20 +- llvm/test/MC/AMDGPU/gfx9_asm_vop1.s | 8 +- llvm/test/MC/AMDGPU/gfx9_asm_vop2.s | 46 +++-- llvm/test/MC/AMDGPU/gfx9_asm_vopc.s | 128 ++++++------ llvm/test/MC/AMDGPU/gfx9_err_pos.s | 10 - llvm/test/MC/AMDGPU/vop3-gfx10.s | 4 +- llvm/test/MC/AMDGPU/vop3-gfx9.s | 16 +- llvm/test/MC/AMDGPU/vop3.s | 4 +- llvm/test/MC/AMDGPU/vop_sdwa.s | 4 +- 47 files changed, 1256 insertions(+), 1118 deletions(-) diff --git a/llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp b/llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp index d1af74e6e0d352..c99e490014668b 100644 --- a/llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp +++ b/llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp @@ -3327,35 +3327,41 @@ bool AMDGPUDAGToDAGISel::SelectWMMAVISrc(SDValue In, SDValue &Src) const { // 16 bit splat SDValue SplatSrc32 = stripBitcast(In); - if (auto *SplatSrc32BV = dyn_cast(SplatSrc32)) { + if (auto *SplatSrc32BV = dyn_cast(SplatSrc32)) if (SDValue Splat32 = SplatSrc32BV->getSplatValue()) { SDValue SplatSrc16 = stripBitcast(Splat32); - if (auto *SplatSrc16BV = dyn_cast(SplatSrc16)) { + if (auto *SplatSrc16BV = dyn_cast(SplatSrc16)) if (SDValue Splat = SplatSrc16BV->getSplatValue()) { - - // f16 - if (isInlineImmediate(Splat.getNode())) { - const ConstantFPSDNode *C = dyn_cast(Splat); - int64_t Imm = C->getValueAPF().bitcastToAPInt().getSExtValue(); - Src = CurDAG->getTargetConstant(Imm, SDLoc(In), MVT::i16); - return true; - } - - // bf16 - if (const ConstantSDNode *C = dyn_cast(Splat)) { - const SIInstrInfo *TII = Subtarget->getInstrInfo(); - APInt BF16Value = C->getAPIntValue(); - APInt F32Value = BF16Value.zext(32).shl(16); - if (TII->isInlineConstant(F32Value)) { - int64_t Imm = F32Value.getSExtValue(); - Src = CurDAG->getTargetConstant(Imm, SDLoc(In), MVT::i32); - return true; - } + const SIInstrInfo *TII = Subtarget->getInstrInfo(); + std::optional RawValue; + if (const ConstantFPSDNode *C = dyn_cast(Splat)) + RawValue = C->getValueAPF().bitcastToAPInt(); + else if (const ConstantSDNode *C = dyn_cast(Splat)) + RawValue = C->getAPIntValue(); + + if (RawValue.has_value()) { + EVT VT = In.getValueType().getScalarType(); + if (VT.getSimpleVT() == MVT::f16 || VT.getSimpleVT() == MVT::bf16) { + APFloat FloatVal(VT.getSimpleVT() == MVT::f16 + ? APFloatBase::IEEEhalf() + : APFloatBase::BFloat(), + RawValue.value()); + if (TII->isInlineConstant(FloatVal)) { + Src = CurDAG->getTargetConstant(RawValue.value(), SDLoc(In), + MVT::i16); + return true; + } + } else if (VT.getSimpleVT() == MVT::i16) { + if (TII->isInlineConstant(RawValue.value())) { + Src = CurDAG->getTargetConstant(RawValue.value(), SDLoc(In), + MVT::i16); + return true; + } + } else + llvm_unreachable("unknown 16-bit type"); } } - } } - } return false; } diff --git a/llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp b/llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp index d5efd441556252..027dd0f2c22448 100644 --- a/llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp +++ b/llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp @@ -1926,6 +1926,11 @@ static const fltSemantics *getFltSemantics(MVT VT) { static const fltSemantics *getOpFltSemantics(uint8_t OperandType) { switch (OperandType) { + // When floating-point immediate is used as operand of type i16, the 32-bit + // representation of the constant truncated to the 16 LSBs should be used. + case AMDGPU::OPERAND_REG_IMM_INT16: + case AMDGPU::OPERAND_REG_INLINE_C_INT16: + case AMDGPU::OPERAND_REG_INLINE_AC_INT16: case AMDGPU::OPERAND_REG_IMM_INT32: case AMDGPU::OPERAND_REG_IMM_FP32: case AMDGPU::OPERAND_REG_IMM_FP32_DEFERRED: @@ -1949,13 +1954,10 @@ static const fltSemantics *getOpFltSemantics(uint8_t OperandType) { case AMDGPU::OPERAND_REG_INLINE_C_FP64: case AMDGPU::OPERAND_REG_INLINE_AC_FP64: return &APFloat::IEEEdouble(); - case AMDGPU::OPERAND_REG_IMM_INT16: case AMDGPU::OPERAND_REG_IMM_FP16: case AMDGPU::OPERAND_REG_IMM_FP16_DEFERRED: - case AMDGPU::OPERAND_REG_INLINE_C_INT16: case AMDGPU::OPERAND_REG_INLINE_C_FP16: case AMDGPU::OPERAND_REG_INLINE_C_V2FP16: - case AMDGPU::OPERAND_REG_INLINE_AC_INT16: case AMDGPU::OPERAND_REG_INLINE_AC_FP16: case AMDGPU::OPERAND_REG_INLINE_AC_V2FP16: case AMDGPU::OPERAND_REG_IMM_V2FP16: @@ -2001,13 +2003,15 @@ static bool isSafeTruncation(int64_t Val, unsigned Size) { } static bool isInlineableLiteralOp16(int64_t Val, MVT VT, bool HasInv2Pi) { - if (VT.getScalarType() == MVT::i16) { - // FP immediate values are broken. - return isInlinableIntLiteral(Val); - } + if (VT.getScalarType() == MVT::i16) + return isInlinableLiteral32(Val, HasInv2Pi); + + if (VT.getScalarType() == MVT::f16) + return AMDGPU::isInlinableLiteralFP16(Val, HasInv2Pi); - // f16/v2f16 operands work correctly for all values. - return AMDGPU::isInlinableLiteral16(Val, HasInv2Pi); + assert(VT.getScalarType() == MVT::bf16); + + return AMDGPU::isInlinableLiteralBF16(Val, HasInv2Pi); } bool AMDGPUOperand::isInlinableImm(MVT type) const { @@ -2041,9 +2045,30 @@ bool AMDGPUOperand::isInlinableImm(MVT type) const { return false; if (type.getScalarSizeInBits() == 16) { - return isInlineableLiteralOp16( - static_cast(FPLiteral.bitcastToAPInt().getZExtValue()), - type, AsmParser->hasInv2PiInlineImm()); + bool Lost = false; + switch (type.getScalarType().SimpleTy) { + default: + llvm_unreachable("unknown 16-bit type"); + case MVT::bf16: + FPLiteral.convert(APFloatBase::BFloat(), APFloat::rmNearestTiesToEven, + &Lost); + break; + case MVT::f16: + FPLiteral.convert(APFloatBase::IEEEhalf(), APFloat::rmNearestTiesToEven, + &Lost); + break; + case MVT::i16: + FPLiteral.convert(APFloatBase::IEEEsingle(), + APFloat::rmNearestTiesToEven, &Lost); + break; + } + // We need to use 32-bit representation here because when a floating-point + // inline constant is used as an i16 operand, its 32-bit representation + // representation will be used. We will need the 32-bit value to check if + // it is FP inline constant. + uint32_t ImmVal = FPLiteral.bitcastToAPInt().getZExtValue(); + return isInlineableLiteralOp16(ImmVal, type, + AsmParser->hasInv2PiInlineImm()); } // Check if single precision literal is inlinable @@ -2375,15 +2400,26 @@ void AMDGPUOperand::addLiteralImmOperand(MCInst &Inst, int64_t Val, bool ApplyMo return; case AMDGPU::OPERAND_REG_IMM_INT16: - case AMDGPU::OPERAND_REG_IMM_FP16: - case AMDGPU::OPERAND_REG_IMM_FP16_DEFERRED: case AMDGPU::OPERAND_REG_INLINE_C_INT16: - case AMDGPU::OPERAND_REG_INLINE_C_FP16: case AMDGPU::OPERAND_REG_INLINE_AC_INT16: + if (isSafeTruncation(Val, 16) && + AMDGPU::isInlinableIntLiteral(static_cast(Val))) { + Inst.addOperand(MCOperand::createImm(Val & 0xffffffff)); + setImmKindConst(); + return; + } + + Inst.addOperand(MCOperand::createImm(Val & 0xffff)); + setImmKindLiteral(); + return; + + case AMDGPU::OPERAND_REG_INLINE_C_FP16: + case AMDGPU::OPERAND_REG_IMM_FP16: + case AMDGPU::OPERAND_REG_IMM_FP16_DEFERRED: case AMDGPU::OPERAND_REG_INLINE_AC_FP16: if (isSafeTruncation(Val, 16) && - AMDGPU::isInlinableLiteral16(static_cast(Val), - AsmParser->hasInv2PiInlineImm())) { + AMDGPU::isInlinableLiteralFP16(static_cast(Val), + AsmParser->hasInv2PiInlineImm())) { Inst.addOperand(MCOperand::createImm(Val)); setImmKindConst(); return; @@ -2410,12 +2446,17 @@ void AMDGPUOperand::addLiteralImmOperand(MCInst &Inst, int64_t Val, bool ApplyMo return; case AMDGPU::OPERAND_REG_INLINE_C_V2INT16: + case AMDGPU::OPERAND_REG_INLINE_AC_V2INT16: { + assert(isSafeTruncation(Val, 16)); + assert(AMDGPU::isInlinableIntLiteral(static_cast(Val))); + Inst.addOperand(MCOperand::createImm(Val)); + return; + } case AMDGPU::OPERAND_REG_INLINE_C_V2FP16: - case AMDGPU::OPERAND_REG_INLINE_AC_V2INT16: case AMDGPU::OPERAND_REG_INLINE_AC_V2FP16: { assert(isSafeTruncation(Val, 16)); - assert(AMDGPU::isInlinableLiteral16(static_cast(Val), - AsmParser->hasInv2PiInlineImm())); + assert(AMDGPU::isInlinableLiteralFP16(static_cast(Val), + AsmParser->hasInv2PiInlineImm())); Inst.addOperand(MCOperand::createImm(Val)); return; @@ -3542,7 +3583,7 @@ bool AMDGPUAsmParser::isInlineConstant(const MCInst &Inst, if (OperandType == AMDGPU::OPERAND_REG_IMM_INT16 || OperandType == AMDGPU::OPERAND_REG_INLINE_C_INT16 || OperandType == AMDGPU::OPERAND_REG_INLINE_AC_INT16) - return AMDGPU::isInlinableIntLiteral(Val); + return AMDGPU::isInlinableLiteralI16(Val, hasInv2PiInlineImm()); if (OperandType == AMDGPU::OPERAND_REG_INLINE_C_V2INT16 || OperandType == AMDGPU::OPERAND_REG_INLINE_AC_V2INT16 || @@ -3559,7 +3600,19 @@ bool AMDGPUAsmParser::isInlineConstant(const MCInst &Inst, OperandType == AMDGPU::OPERAND_REG_IMM_V2BF16) return AMDGPU::isInlinableLiteralV2BF16(Val); - return AMDGPU::isInlinableLiteral16(Val, hasInv2PiInlineImm()); + if (OperandType == AMDGPU::OPERAND_REG_IMM_FP16 || + OperandType == AMDGPU::OPERAND_REG_INLINE_C_FP16 || + OperandType == AMDGPU::OPERAND_REG_INLINE_AC_FP16 || + OperandType == AMDGPU::OPERAND_REG_IMM_FP16_DEFERRED) + return AMDGPU::isInlinableLiteralFP16(Val, hasInv2PiInlineImm()); + + if (OperandType == AMDGPU::OPERAND_REG_IMM_BF16 || + OperandType == AMDGPU::OPERAND_REG_INLINE_C_BF16 || + OperandType == AMDGPU::OPERAND_REG_INLINE_AC_BF16 || + OperandType == AMDGPU::OPERAND_REG_IMM_BF16_DEFERRED) + return AMDGPU::isInlinableLiteralBF16(Val, hasInv2PiInlineImm()); + + llvm_unreachable("invalid operand type"); } default: llvm_unreachable("invalid operand size"); diff --git a/llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUInstPrinter.cpp b/llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUInstPrinter.cpp index a32be1e50a6053..b6a95906bc45c6 100644 --- a/llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUInstPrinter.cpp +++ b/llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUInstPrinter.cpp @@ -451,19 +451,20 @@ void AMDGPUInstPrinter::printVINTRPDst(const MCInst *MI, unsigned OpNo, void AMDGPUInstPrinter::printImmediateInt16(uint32_t Imm, const MCSubtargetInfo &STI, raw_ostream &O) { - int16_t SImm = static_cast(Imm); + int32_t SImm = static_cast(Imm); if (isInlinableIntLiteral(SImm)) { O << SImm; - } else { - uint64_t Imm16 = static_cast(Imm); - O << formatHex(Imm16); + return; } + + if (printImmediateFloat32(Imm, STI, O)) + return; + + O << formatHex(static_cast(Imm & 0xffff)); } -// This must accept a 32-bit immediate value to correctly handle packed 16-bit -// operations. -static bool printImmediateFloat16(uint32_t Imm, const MCSubtargetInfo &STI, - raw_ostream &O) { +static bool printImmediateFP16(uint32_t Imm, const MCSubtargetInfo &STI, + raw_ostream &O) { if (Imm == 0x3C00) O << "1.0"; else if (Imm == 0xBC00) @@ -529,9 +530,9 @@ void AMDGPUInstPrinter::printImmediateBF16(uint32_t Imm, O << formatHex(static_cast(Imm)); } -void AMDGPUInstPrinter::printImmediate16(uint32_t Imm, - const MCSubtargetInfo &STI, - raw_ostream &O) { +void AMDGPUInstPrinter::printImmediateF16(uint32_t Imm, + const MCSubtargetInfo &STI, + raw_ostream &O) { int16_t SImm = static_cast(Imm); if (isInlinableIntLiteral(SImm)) { O << SImm; @@ -539,7 +540,7 @@ void AMDGPUInstPrinter::printImmediate16(uint32_t Imm, } uint16_t HImm = static_cast(Imm); - if (printImmediateFloat16(HImm, STI, O)) + if (printImmediateFP16(HImm, STI, O)) return; uint64_t Imm16 = static_cast(Imm); @@ -566,7 +567,7 @@ void AMDGPUInstPrinter::printImmediateV216(uint32_t Imm, uint8_t OpType, case AMDGPU::OPERAND_REG_INLINE_C_V2FP16: case AMDGPU::OPERAND_REG_INLINE_AC_V2FP16: if (isUInt<16>(Imm) && - printImmediateFloat16(static_cast(Imm), STI, O)) + printImmediateFP16(static_cast(Imm), STI, O)) return; break; case AMDGPU::OPERAND_REG_IMM_V2BF16: @@ -845,7 +846,7 @@ void AMDGPUInstPrinter::printRegularOperand(const MCInst *MI, unsigned OpNo, case AMDGPU::OPERAND_REG_INLINE_AC_FP16: case AMDGPU::OPERAND_REG_IMM_FP16: case AMDGPU::OPERAND_REG_IMM_FP16_DEFERRED: - printImmediate16(Op.getImm(), STI, O); + printImmediateF16(Op.getImm(), STI, O); break; case AMDGPU::OPERAND_REG_INLINE_C_BF16: case AMDGPU::OPERAND_REG_INLINE_AC_BF16: diff --git a/llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUInstPrinter.h b/llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUInstPrinter.h index 15ecbf2e5e5918..c801eaf1111e2f 100644 --- a/llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUInstPrinter.h +++ b/llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUInstPrinter.h @@ -86,10 +86,10 @@ class AMDGPUInstPrinter : public MCInstPrinter { raw_ostream &O); void printImmediateInt16(uint32_t Imm, const MCSubtargetInfo &STI, raw_ostream &O); - void printImmediate16(uint32_t Imm, const MCSubtargetInfo &STI, - raw_ostream &O); void printImmediateBF16(uint32_t Imm, const MCSubtargetInfo &STI, raw_ostream &O); + void printImmediateF16(uint32_t Imm, const MCSubtargetInfo &STI, + raw_ostream &O); void printImmediateV216(uint32_t Imm, uint8_t OpType, const MCSubtargetInfo &STI, raw_ostream &O); bool printImmediateFloat32(uint32_t Imm, const MCSubtargetInfo &STI, diff --git a/llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCCodeEmitter.cpp b/llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCCodeEmitter.cpp index e51bb40132f96e..fb93f45e3e87a3 100644 --- a/llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCCodeEmitter.cpp +++ b/llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCCodeEmitter.cpp @@ -116,11 +116,6 @@ static uint32_t getIntInlineImmEncoding(IntTy Imm) { return 0; } -static uint32_t getLit16IntEncoding(uint16_t Val, const MCSubtargetInfo &STI) { - uint16_t IntImm = getIntInlineImmEncoding(static_cast(Val)); - return IntImm == 0 ? 255 : IntImm; -} - static uint32_t getLit16Encoding(uint16_t Val, const MCSubtargetInfo &STI) { uint16_t IntImm = getIntInlineImmEncoding(static_cast(Val)); if (IntImm != 0) @@ -214,6 +209,10 @@ static uint32_t getLit32Encoding(uint32_t Val, const MCSubtargetInfo &STI) { return 255; } +static uint32_t getLit16IntEncoding(uint32_t Val, const MCSubtargetInfo &STI) { + return getLit32Encoding(Val, STI); +} + static uint32_t getLit64Encoding(uint64_t Val, const MCSubtargetInfo &STI) { uint32_t IntImm = getIntInlineImmEncoding(static_cast(Val)); if (IntImm != 0) @@ -296,7 +295,7 @@ AMDGPUMCCodeEmitter::getLitEncoding(const MCOperand &MO, case AMDGPU::OPERAND_REG_IMM_INT16: case AMDGPU::OPERAND_REG_INLINE_C_INT16: case AMDGPU::OPERAND_REG_INLINE_AC_INT16: - return getLit16IntEncoding(static_cast(Imm), STI); + return getLit16IntEncoding(static_cast(Imm), STI); case AMDGPU::OPERAND_REG_IMM_FP16: case AMDGPU::OPERAND_REG_IMM_FP16_DEFERRED: diff --git a/llvm/lib/Target/AMDGPU/SIISelLowering.cpp b/llvm/lib/Target/AMDGPU/SIISelLowering.cpp index e105db313548dd..1889ab00728800 100644 --- a/llvm/lib/Target/AMDGPU/SIISelLowering.cpp +++ b/llvm/lib/Target/AMDGPU/SIISelLowering.cpp @@ -15495,16 +15495,32 @@ bool SITargetLowering::checkAsmConstraintVal(SDValue Op, StringRef Constraint, llvm_unreachable("Invalid asm constraint"); } -bool SITargetLowering::checkAsmConstraintValA(SDValue Op, - uint64_t Val, +bool SITargetLowering::checkAsmConstraintValA(SDValue Op, uint64_t Val, unsigned MaxSize) const { unsigned Size = std::min(Op.getScalarValueSizeInBits(), MaxSize); bool HasInv2Pi = Subtarget->hasInv2PiInlineImm(); - if ((Size == 16 && AMDGPU::isInlinableLiteral16(Val, HasInv2Pi)) || - (Size == 32 && AMDGPU::isInlinableLiteral32(Val, HasInv2Pi)) || - (Size == 64 && AMDGPU::isInlinableLiteral64(Val, HasInv2Pi))) { - return true; + if (Size == 16) { + MVT VT = Op.getSimpleValueType(); + switch (VT.SimpleTy) { + default: + return false; + case MVT::i16: + return AMDGPU::isInlinableLiteralI16(Val, HasInv2Pi); + case MVT::f16: + return AMDGPU::isInlinableLiteralFP16(Val, HasInv2Pi); + case MVT::bf16: + return AMDGPU::isInlinableLiteralBF16(Val, HasInv2Pi); + case MVT::v2i16: + return AMDGPU::getInlineEncodingV2I16(Val).has_value(); + case MVT::v2f16: + return AMDGPU::getInlineEncodingV2F16(Val).has_value(); + case MVT::v2bf16: + return AMDGPU::getInlineEncodingV2BF16(Val).has_value(); + } } + if ((Size == 32 && AMDGPU::isInlinableLiteral32(Val, HasInv2Pi)) || + (Size == 64 && AMDGPU::isInlinableLiteral64(Val, HasInv2Pi))) + return true; return false; } diff --git a/llvm/lib/Target/AMDGPU/SIInstrInfo.cpp b/llvm/lib/Target/AMDGPU/SIInstrInfo.cpp index ca2c2d87009f2f..e8022c8b0afa19 100644 --- a/llvm/lib/Target/AMDGPU/SIInstrInfo.cpp +++ b/llvm/lib/Target/AMDGPU/SIInstrInfo.cpp @@ -4121,13 +4121,32 @@ bool SIInstrInfo::isInlineConstant(const APInt &Imm) const { ST.hasInv2PiInlineImm()); case 16: return ST.has16BitInsts() && - AMDGPU::isInlinableLiteral16(Imm.getSExtValue(), - ST.hasInv2PiInlineImm()); + AMDGPU::isInlinableLiteralI16(Imm.getSExtValue(), + ST.hasInv2PiInlineImm()); default: llvm_unreachable("invalid bitwidth"); } } +bool SIInstrInfo::isInlineConstant(const APFloat &Imm) const { + APInt IntImm = Imm.bitcastToAPInt(); + int64_t IntImmVal = IntImm.getSExtValue(); + bool HasInv2Pi = ST.hasInv2PiInlineImm(); + switch (APFloat::SemanticsToEnum(Imm.getSemantics())) { + default: + llvm_unreachable("invalid fltSemantics"); + case APFloatBase::S_IEEEsingle: + case APFloatBase::S_IEEEdouble: + return isInlineConstant(IntImm); + case APFloatBase::S_BFloat: + return ST.has16BitInsts() && + AMDGPU::isInlinableLiteralBF16(IntImmVal, HasInv2Pi); + case APFloatBase::S_IEEEhalf: + return ST.has16BitInsts() && + AMDGPU::isInlinableLiteralFP16(IntImmVal, HasInv2Pi); + } +} + bool SIInstrInfo::isInlineConstant(const MachineOperand &MO, uint8_t OperandType) const { assert(!MO.isReg() && "isInlineConstant called on register operand!"); @@ -4200,7 +4219,7 @@ bool SIInstrInfo::isInlineConstant(const MachineOperand &MO, // constants in these cases int16_t Trunc = static_cast(Imm); return ST.has16BitInsts() && - AMDGPU::isInlinableLiteral16(Trunc, ST.hasInv2PiInlineImm()); + AMDGPU::isInlinableLiteralFP16(Trunc, ST.hasInv2PiInlineImm()); } return false; diff --git a/llvm/lib/Target/AMDGPU/SIInstrInfo.h b/llvm/lib/Target/AMDGPU/SIInstrInfo.h index 4200e0c8a29e1c..a62bf779fe2e2d 100644 --- a/llvm/lib/Target/AMDGPU/SIInstrInfo.h +++ b/llvm/lib/Target/AMDGPU/SIInstrInfo.h @@ -984,9 +984,7 @@ class SIInstrInfo final : public AMDGPUGenInstrInfo { bool isInlineConstant(const APInt &Imm) const; - bool isInlineConstant(const APFloat &Imm) const { - return isInlineConstant(Imm.bitcastToAPInt()); - } + bool isInlineConstant(const APFloat &Imm) const; // Returns true if this non-register operand definitely does not need to be // encoded as a 32-bit literal. Note that this function handles all kinds of diff --git a/llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp b/llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp index 62903a244dc892..edb0e50da2896b 100644 --- a/llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp +++ b/llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp @@ -2657,13 +2657,15 @@ bool isInlinableLiteralBF16(int16_t Literal, bool HasInv2Pi) { Val == 0x3E22; // 1.0 / (2.0 * pi) } -bool isInlinableLiteral16(int16_t Literal, bool HasInv2Pi) { +bool isInlinableLiteralI16(int32_t Literal, bool HasInv2Pi) { + return isInlinableLiteral32(Literal, HasInv2Pi); +} + +bool isInlinableLiteralFP16(int16_t Literal, bool HasInv2Pi) { if (!HasInv2Pi) return false; - if (isInlinableIntLiteral(Literal)) return true; - uint16_t Val = static_cast(Literal); return Val == 0x3C00 || // 1.0 Val == 0xBC00 || // -1.0 diff --git a/llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.h b/llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.h index bb307cb67c9b79..d7ea2a3eff4b72 100644 --- a/llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.h +++ b/llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.h @@ -1404,7 +1404,13 @@ LLVM_READNONE bool isInlinableLiteralBF16(int16_t Literal, bool HasInv2Pi); LLVM_READNONE -bool isInlinableLiteral16(int16_t Literal, bool HasInv2Pi); +bool isInlinableLiteralFP16(int16_t Literal, bool HasInv2Pi); + +LLVM_READNONE +bool isInlinableLiteralBF16(int16_t Literal, bool HasInv2Pi); + +LLVM_READNONE +bool isInlinableLiteralI16(int32_t Literal, bool HasInv2Pi); LLVM_READNONE std::optional getInlineEncodingV2I16(uint32_t Literal); diff --git a/llvm/lib/Target/AMDGPU/VOP3PInstructions.td b/llvm/lib/Target/AMDGPU/VOP3PInstructions.td index e1131bbb78d3fc..7f0b045b4419a4 100644 --- a/llvm/lib/Target/AMDGPU/VOP3PInstructions.td +++ b/llvm/lib/Target/AMDGPU/VOP3PInstructions.td @@ -1007,6 +1007,7 @@ class VOP3PWMMA_Profile ArgTy, bit _IsSWMMAC, int _IndexType, !cast("VISrc_"#ArgTy[3].Size# !cond(IsC_F32: "_f32", IsC_F16: "_f16", + IsC_BF16: "_bf16", 1: "_b32"))); // For f16 and bf16 matrices A and B, each element can be modified by diff --git a/llvm/test/CodeGen/AMDGPU/immv216.ll b/llvm/test/CodeGen/AMDGPU/immv216.ll index b66ca71a327495..ae51c3edf1c7e7 100644 --- a/llvm/test/CodeGen/AMDGPU/immv216.ll +++ b/llvm/test/CodeGen/AMDGPU/immv216.ll @@ -577,40 +577,40 @@ define amdgpu_kernel void @add_inline_imm_64_v2f16(ptr addrspace(1) %out, <2 x h } ; GCN-LABEL: {{^}}mul_inline_imm_0.5_v2i16: -; GFX9: s_mov_b32 [[K:s[0-9]+]], 0x38003800 -; GFX9: v_pk_mul_lo_u16 v0, v0, [[K]] +; GFX9: s_movk_i32 [[K:s[0-9]+]], 0x3800 +; GFX9: v_pk_mul_lo_u16 v0, v0, [[K]] op_sel_hi:[1,0] -; GFX10: v_pk_mul_lo_u16 v0, 0x38003800, v0 ; encoding: [0x{{[0-9a-f]+}},0x{{[0-9a-f]+}},0x{{[0-9a-f]+}},0x{{[0-9a-f]+}},0xff,0x{{[0-9a-f]+}},0x{{[0-9a-f]+}},0x{{[0-9a-f]+}},0x00,0x38,0x00,0x38] +; GFX10: v_pk_mul_lo_u16 v0, 0x3800, v0 op_sel_hi:[0,1] ; encoding: [0x{{[0-9a-f]+}},0x{{[0-9a-f]+}},0x{{[0-9a-f]+}},0x{{[0-9a-f]+}},0xff,0x{{[0-9a-f]+}},0x{{[0-9a-f]+}},0x{{[0-9a-f]+}},0x00,0x38,0x00,0x00] define <2 x i16> @mul_inline_imm_0.5_v2i16(<2 x i16> %x) { %y = mul <2 x i16> %x, bitcast (<2 x half> to <2 x i16>) ret <2 x i16> %y } ; GCN-LABEL: {{^}}mul_inline_imm_neg_0.5_v2i16: -; GFX9: s_mov_b32 [[K:s[0-9]+]], 0xb800b800 -; GFX9: v_pk_mul_lo_u16 v0, v0, [[K]] +; GFX9: s_movk_i32 [[K:s[0-9]+]], 0xb800 +; GFX9: v_pk_mul_lo_u16 v0, v0, [[K]] op_sel_hi:[1,0] -; GFX10: v_pk_mul_lo_u16 v0, 0xb800b800, v0 ; encoding: [0x{{[0-9a-f]+}},0x{{[0-9a-f]+}},0x{{[0-9a-f]+}},0x{{[0-9a-f]+}},0xff,0x{{[0-9a-f]+}},0x{{[0-9a-f]+}},0x{{[0-9a-f]+}},0x00,0xb8,0x00,0xb8] +; GFX10: v_pk_mul_lo_u16 v0, 0xffffb800, v0 op_sel_hi:[0,1] ; encoding: [0x{{[0-9a-f]+}},0x{{[0-9a-f]+}},0x{{[0-9a-f]+}},0x{{[0-9a-f]+}},0xff,0x{{[0-9a-f]+}},0x{{[0-9a-f]+}},0x{{[0-9a-f]+}},0x00,0xb8,0xff,0xff] define <2 x i16> @mul_inline_imm_neg_0.5_v2i16(<2 x i16> %x) { %y = mul <2 x i16> %x, bitcast (<2 x half> to <2 x i16>) ret <2 x i16> %y } ; GCN-LABEL: {{^}}mul_inline_imm_1.0_v2i16: -; GFX9: s_mov_b32 [[K:s[0-9]+]], 0x3c003c00 -; GFX9: v_pk_mul_lo_u16 v0, v0, [[K]] +; GFX9: s_movk_i32 [[K:s[0-9]+]], 0x3c00 +; GFX9: v_pk_mul_lo_u16 v0, v0, [[K]] op_sel_hi:[1,0] -; GFX10: v_pk_mul_lo_u16 v0, 0x3c003c00, v0 ; encoding: [0x{{[0-9a-f]+}},0x{{[0-9a-f]+}},0x{{[0-9a-f]+}},0x{{[0-9a-f]+}},0xff,0x{{[0-9a-f]+}},0x{{[0-9a-f]+}},0x{{[0-9a-f]+}},0x00,0x3c,0x00,0x3c] +; GFX10: v_pk_mul_lo_u16 v0, 0x3c00, v0 op_sel_hi:[0,1] ; encoding: [0x{{[0-9a-f]+}},0x{{[0-9a-f]+}},0x{{[0-9a-f]+}},0x{{[0-9a-f]+}},0xff,0x{{[0-9a-f]+}},0x{{[0-9a-f]+}},0x{{[0-9a-f]+}},0x00,0x3c,0x00,0x00] define <2 x i16> @mul_inline_imm_1.0_v2i16(<2 x i16> %x) { %y = mul <2 x i16> %x, bitcast (<2 x half> to <2 x i16>) ret <2 x i16> %y } ; GCN-LABEL: {{^}}mul_inline_imm_neg_1.0_v2i16: -; GFX9: s_mov_b32 [[K:s[0-9]+]], 0xbc00bc00 -; GFX9: v_pk_mul_lo_u16 v0, v0, [[K]] +; GFX9: s_movk_i32 [[K:s[0-9]+]], 0xbc00 +; GFX9: v_pk_mul_lo_u16 v0, v0, [[K]] op_sel_hi:[1,0] -; GFX10: v_pk_mul_lo_u16 v0, 0xbc00bc00, v0 ; encoding: [0x{{[0-9a-f]+}},0x{{[0-9a-f]+}},0x{{[0-9a-f]+}},0x{{[0-9a-f]+}},0xff,0x{{[0-9a-f]+}},0x{{[0-9a-f]+}},0x{{[0-9a-f]+}},0x00,0xbc,0x00,0xbc] +; GFX10: v_pk_mul_lo_u16 v0, 0xffffbc00, v0 op_sel_hi:[0,1] ; encoding: [0x{{[0-9a-f]+}},0x{{[0-9a-f]+}},0x{{[0-9a-f]+}},0x{{[0-9a-f]+}},0xff,0x{{[0-9a-f]+}},0x{{[0-9a-f]+}},0x{{[0-9a-f]+}},0x00,0xbc,0xff,0xff] define <2 x i16> @mul_inline_imm_neg_1.0_v2i16(<2 x i16> %x) { %y = mul <2 x i16> %x, bitcast (<2 x half> to <2 x i16>) ret <2 x i16> %y @@ -635,10 +635,10 @@ define <2 x i16> @shl_inline_imm_neg_2.0_v2i16(<2 x i16> %x) { } ; GCN-LABEL: {{^}}mul_inline_imm_4.0_v2i16: -; GFX9: s_mov_b32 [[K:s[0-9]+]], 0x44004400 -; GFX9: v_pk_mul_lo_u16 v0, v0, [[K]] +; GFX9: s_movk_i32 [[K:s[0-9]+]], 0x4400 +; GFX9: v_pk_mul_lo_u16 v0, v0, [[K]] op_sel_hi:[1,0] -; GFX10: v_pk_mul_lo_u16 v0, 0x44004400, v0 ; encoding: [0x{{[0-9a-f]+}},0x{{[0-9a-f]+}},0x{{[0-9a-f]+}},0x{{[0-9a-f]+}},0xff,0x{{[0-9a-f]+}},0x{{[0-9a-f]+}},0x{{[0-9a-f]+}},0x00,0x44,0x00,0x44] +; GFX10: v_pk_mul_lo_u16 v0, 0x4400, v0 op_sel_hi:[0,1] ; encoding: [0x{{[0-9a-f]+}},0x{{[0-9a-f]+}},0x{{[0-9a-f]+}},0x{{[0-9a-f]+}},0xff,0x{{[0-9a-f]+}},0x{{[0-9a-f]+}},0x{{[0-9a-f]+}},0x00,0x44,0x00,0x00] define <2 x i16> @mul_inline_imm_4.0_v2i16(<2 x i16> %x) { %y = mul <2 x i16> %x, bitcast (<2 x half> to <2 x i16>) ret <2 x i16> %y @@ -646,20 +646,20 @@ define <2 x i16> @mul_inline_imm_4.0_v2i16(<2 x i16> %x) { } ; GCN-LABEL: {{^}}mul_inline_imm_neg_4.0_v2i16: -; GFX9: s_mov_b32 [[K:s[0-9]+]], 0xc400c400 -; GFX9: v_pk_mul_lo_u16 v0, v0, [[K]] +; GFX9: s_movk_i32 [[K:s[0-9]+]], 0xc400 +; GFX9: v_pk_mul_lo_u16 v0, v0, [[K]] op_sel_hi:[1,0] -; GFX10: v_pk_mul_lo_u16 v0, 0xc400c400, v0 ; encoding: [0x{{[0-9a-f]+}},0x{{[0-9a-f]+}},0x{{[0-9a-f]+}},0x{{[0-9a-f]+}},0xff,0x{{[0-9a-f]+}},0x{{[0-9a-f]+}},0x{{[0-9a-f]+}},0x00,0xc4,0x00,0xc4] +; GFX10: v_pk_mul_lo_u16 v0, 0xffffc400, v0 op_sel_hi:[0,1] ; encoding: [0x{{[0-9a-f]+}},0x{{[0-9a-f]+}},0x{{[0-9a-f]+}},0x{{[0-9a-f]+}},0xff,0x{{[0-9a-f]+}},0x{{[0-9a-f]+}},0x{{[0-9a-f]+}},0x00,0xc4,0xff,0xff] define <2 x i16> @mul_inline_imm_neg_4.0_v2i16(<2 x i16> %x) { %y = mul <2 x i16> %x, bitcast (<2 x half> to <2 x i16>) ret <2 x i16> %y } ; GCN-LABEL: {{^}}mul_inline_imm_inv2pi_v2i16: -; GFX9: s_mov_b32 [[K:s[0-9]+]], 0x31183118 -; GFX9: v_pk_mul_lo_u16 v0, v0, [[K]] +; GFX9: s_movk_i32 [[K:s[0-9]+]], 0x3118 +; GFX9: v_pk_mul_lo_u16 v0, v0, [[K]] op_sel_hi:[1,0] -; GFX10: v_pk_mul_lo_u16 v0, 0x31183118, v0 ; encoding: [0x{{[0-9a-f]+}},0x{{[0-9a-f]+}},0x{{[0-9a-f]+}},0x{{[0-9a-f]+}},0xff,0x{{[0-9a-f]+}},0x{{[0-9a-f]+}},0x{{[0-9a-f]+}},0x18,0x31,0x18,0x31] +; GFX10: v_pk_mul_lo_u16 v0, 0x3118, v0 op_sel_hi:[0,1] ; encoding: [0x{{[0-9a-f]+}},0x{{[0-9a-f]+}},0x{{[0-9a-f]+}},0x{{[0-9a-f]+}},0xff,0x{{[0-9a-f]+}},0x{{[0-9a-f]+}},0x{{[0-9a-f]+}},0x18,0x31,0x00,0x00] define <2 x i16> @mul_inline_imm_inv2pi_v2i16(<2 x i16> %x) { %y = mul <2 x i16> %x, bitcast (<2 x half> to <2 x i16>) ret <2 x i16> %y diff --git a/llvm/test/CodeGen/AMDGPU/inline-constraints.ll b/llvm/test/CodeGen/AMDGPU/inline-constraints.ll index 9ef246fe2e1015..7bd6b037386b04 100644 --- a/llvm/test/CodeGen/AMDGPU/inline-constraints.ll +++ b/llvm/test/CodeGen/AMDGPU/inline-constraints.ll @@ -97,7 +97,6 @@ define i32 @inline_A_constraint_H1() { ; NOSI: error: invalid operand for inline asm constraint 'A' ; VI-LABEL: {{^}}inline_A_constraint_H2: -; VI: v_mov_b32 {{v[0-9]+}}, 0x3c00 define i32 @inline_A_constraint_H2() { %v0 = tail call i32 asm "v_mov_b32 $0, $1", "=v,A"(i16 bitcast (half 1.0 to i16)) ret i32 %v0 @@ -105,7 +104,6 @@ define i32 @inline_A_constraint_H2() { ; NOSI: error: invalid operand for inline asm constraint 'A' ; VI-LABEL: {{^}}inline_A_constraint_H3: -; VI: v_mov_b32 {{v[0-9]+}}, 0xbc00 define i32 @inline_A_constraint_H3() { %v0 = tail call i32 asm "v_mov_b32 $0, $1", "=v,A"(i16 bitcast (half -1.0 to i16)) ret i32 %v0 @@ -113,7 +111,6 @@ define i32 @inline_A_constraint_H3() { ; NOSI: error: invalid operand for inline asm constraint 'A' ; VI-LABEL: {{^}}inline_A_constraint_H4: -; VI: v_mov_b32 {{v[0-9]+}}, 0x3118 define i32 @inline_A_constraint_H4() { %v0 = tail call i32 asm "v_mov_b32 $0, $1", "=v,A"(half 0xH3118) ret i32 %v0 @@ -121,7 +118,6 @@ define i32 @inline_A_constraint_H4() { ; NOSI: error: invalid operand for inline asm constraint 'A' ; VI-LABEL: {{^}}inline_A_constraint_H5: -; VI: v_mov_b32 {{v[0-9]+}}, 0x3118 define i32 @inline_A_constraint_H5() { %v0 = tail call i32 asm "v_mov_b32 $0, $1", "=v,A"(i16 bitcast (half 0xH3118 to i16)) ret i32 %v0 @@ -129,7 +125,6 @@ define i32 @inline_A_constraint_H5() { ; NOSI: error: invalid operand for inline asm constraint 'A' ; VI-LABEL: {{^}}inline_A_constraint_H6: -; VI: v_mov_b32 {{v[0-9]+}}, 0xb800 define i32 @inline_A_constraint_H6() { %v0 = tail call i32 asm "v_mov_b32 $0, $1", "=v,A"(half -0.5) ret i32 %v0 @@ -293,7 +288,6 @@ define i32 @inline_A_constraint_V0() { ; NOSI: error: invalid operand for inline asm constraint 'A' ; VI-LABEL: {{^}}inline_A_constraint_V1: -; VI: v_mov_b32 {{v[0-9]+}}, 0xb800 define i32 @inline_A_constraint_V1() { %v0 = tail call i32 asm "v_mov_b32 $0, $1", "=v,A"(<2 x half> ) ret i32 %v0 @@ -970,7 +964,6 @@ define i32 @inline_DA_constraint_H1() { ; NOSI: error: invalid operand for inline asm constraint 'DA' ; VI-LABEL: {{^}}inline_DA_constraint_H2: -; VI: v_mov_b32 {{v[0-9]+}}, 0x3c00 define i32 @inline_DA_constraint_H2() { %v0 = tail call i32 asm "v_mov_b32 $0, $1", "=v,^DA"(i16 bitcast (half 1.0 to i16)) ret i32 %v0 @@ -978,7 +971,6 @@ define i32 @inline_DA_constraint_H2() { ; NOSI: error: invalid operand for inline asm constraint 'DA' ; VI-LABEL: {{^}}inline_DA_constraint_H3: -; VI: v_mov_b32 {{v[0-9]+}}, 0xbc00 define i32 @inline_DA_constraint_H3() { %v0 = tail call i32 asm "v_mov_b32 $0, $1", "=v,^DA"(i16 bitcast (half -1.0 to i16)) ret i32 %v0 @@ -986,7 +978,6 @@ define i32 @inline_DA_constraint_H3() { ; NOSI: error: invalid operand for inline asm constraint 'DA' ; VI-LABEL: {{^}}inline_DA_constraint_H4: -; VI: v_mov_b32 {{v[0-9]+}}, 0x3118 define i32 @inline_DA_constraint_H4() { %v0 = tail call i32 asm "v_mov_b32 $0, $1", "=v,^DA"(half 0xH3118) ret i32 %v0 @@ -994,7 +985,6 @@ define i32 @inline_DA_constraint_H4() { ; NOSI: error: invalid operand for inline asm constraint 'DA' ; VI-LABEL: {{^}}inline_DA_constraint_H5: -; VI: v_mov_b32 {{v[0-9]+}}, 0x3118 define i32 @inline_DA_constraint_H5() { %v0 = tail call i32 asm "v_mov_b32 $0, $1", "=v,^DA"(i16 bitcast (half 0xH3118 to i16)) ret i32 %v0 @@ -1002,7 +992,6 @@ define i32 @inline_DA_constraint_H5() { ; NOSI: error: invalid operand for inline asm constraint 'DA' ; VI-LABEL: {{^}}inline_DA_constraint_H6: -; VI: v_mov_b32 {{v[0-9]+}}, 0xb800 define i32 @inline_DA_constraint_H6() { %v0 = tail call i32 asm "v_mov_b32 $0, $1", "=v,^DA"(half -0.5) ret i32 %v0 @@ -1164,7 +1153,6 @@ define i32 @inline_DA_constraint_V0() { ; NOSI: error: invalid operand for inline asm constraint 'DA' ; VI-LABEL: {{^}}inline_DA_constraint_V1: -; VI: v_mov_b32 {{v[0-9]+}}, 0xb800 define i32 @inline_DA_constraint_V1() { %v0 = tail call i32 asm "v_mov_b32 $0, $1", "=v,^DA"(<2 x half> ) ret i32 %v0 diff --git a/llvm/test/CodeGen/AMDGPU/shrink-add-sub-constant.ll b/llvm/test/CodeGen/AMDGPU/shrink-add-sub-constant.ll index 5de9b0b92c9a02..1a55bf608ebf51 100644 --- a/llvm/test/CodeGen/AMDGPU/shrink-add-sub-constant.ll +++ b/llvm/test/CodeGen/AMDGPU/shrink-add-sub-constant.ll @@ -3400,9 +3400,9 @@ define amdgpu_kernel void @v_test_v2i16_x_add_neg_fpone(ptr addrspace(1) %out, p ; GFX9-SDAG-NEXT: v_lshlrev_b32_e32 v0, 2, v0 ; GFX9-SDAG-NEXT: s_waitcnt lgkmcnt(0) ; GFX9-SDAG-NEXT: global_load_dword v1, v0, s[2:3] -; GFX9-SDAG-NEXT: s_mov_b32 s2, 0xc400c400 +; GFX9-SDAG-NEXT: s_movk_i32 s2, 0xc400 ; GFX9-SDAG-NEXT: s_waitcnt vmcnt(0) -; GFX9-SDAG-NEXT: v_pk_add_u16 v1, v1, s2 +; GFX9-SDAG-NEXT: v_pk_add_u16 v1, v1, s2 op_sel_hi:[1,0] ; GFX9-SDAG-NEXT: global_store_dword v0, v1, s[0:1] ; GFX9-SDAG-NEXT: s_endpgm ; @@ -3418,29 +3418,53 @@ define amdgpu_kernel void @v_test_v2i16_x_add_neg_fpone(ptr addrspace(1) %out, p ; GFX9-GISEL-NEXT: global_store_dword v0, v1, s[0:1] ; GFX9-GISEL-NEXT: s_endpgm ; -; GFX10-LABEL: v_test_v2i16_x_add_neg_fpone: -; GFX10: ; %bb.0: -; GFX10-NEXT: s_load_dwordx4 s[0:3], s[0:1], 0x24 -; GFX10-NEXT: v_lshlrev_b32_e32 v0, 2, v0 -; GFX10-NEXT: s_waitcnt lgkmcnt(0) -; GFX10-NEXT: global_load_dword v1, v0, s[2:3] -; GFX10-NEXT: s_waitcnt vmcnt(0) -; GFX10-NEXT: v_pk_add_u16 v1, 0xc400c400, v1 -; GFX10-NEXT: global_store_dword v0, v1, s[0:1] -; GFX10-NEXT: s_endpgm +; GFX10-SDAG-LABEL: v_test_v2i16_x_add_neg_fpone: +; GFX10-SDAG: ; %bb.0: +; GFX10-SDAG-NEXT: s_load_dwordx4 s[0:3], s[0:1], 0x24 +; GFX10-SDAG-NEXT: v_lshlrev_b32_e32 v0, 2, v0 +; GFX10-SDAG-NEXT: s_waitcnt lgkmcnt(0) +; GFX10-SDAG-NEXT: global_load_dword v1, v0, s[2:3] +; GFX10-SDAG-NEXT: s_waitcnt vmcnt(0) +; GFX10-SDAG-NEXT: v_pk_add_u16 v1, 0xffffc400, v1 op_sel_hi:[0,1] +; GFX10-SDAG-NEXT: global_store_dword v0, v1, s[0:1] +; GFX10-SDAG-NEXT: s_endpgm ; -; GFX11-LABEL: v_test_v2i16_x_add_neg_fpone: -; GFX11: ; %bb.0: -; GFX11-NEXT: s_load_b128 s[0:3], s[0:1], 0x24 -; GFX11-NEXT: v_lshlrev_b32_e32 v0, 2, v0 -; GFX11-NEXT: s_waitcnt lgkmcnt(0) -; GFX11-NEXT: global_load_b32 v1, v0, s[2:3] -; GFX11-NEXT: s_waitcnt vmcnt(0) -; GFX11-NEXT: v_pk_add_u16 v1, 0xc400c400, v1 -; GFX11-NEXT: global_store_b32 v0, v1, s[0:1] -; GFX11-NEXT: s_nop 0 -; GFX11-NEXT: s_sendmsg sendmsg(MSG_DEALLOC_VGPRS) -; GFX11-NEXT: s_endpgm +; GFX10-GISEL-LABEL: v_test_v2i16_x_add_neg_fpone: +; GFX10-GISEL: ; %bb.0: +; GFX10-GISEL-NEXT: s_load_dwordx4 s[0:3], s[0:1], 0x24 +; GFX10-GISEL-NEXT: v_lshlrev_b32_e32 v0, 2, v0 +; GFX10-GISEL-NEXT: s_waitcnt lgkmcnt(0) +; GFX10-GISEL-NEXT: global_load_dword v1, v0, s[2:3] +; GFX10-GISEL-NEXT: s_waitcnt vmcnt(0) +; GFX10-GISEL-NEXT: v_pk_add_u16 v1, 0xc400c400, v1 +; GFX10-GISEL-NEXT: global_store_dword v0, v1, s[0:1] +; GFX10-GISEL-NEXT: s_endpgm +; +; GFX11-SDAG-LABEL: v_test_v2i16_x_add_neg_fpone: +; GFX11-SDAG: ; %bb.0: +; GFX11-SDAG-NEXT: s_load_b128 s[0:3], s[0:1], 0x24 +; GFX11-SDAG-NEXT: v_lshlrev_b32_e32 v0, 2, v0 +; GFX11-SDAG-NEXT: s_waitcnt lgkmcnt(0) +; GFX11-SDAG-NEXT: global_load_b32 v1, v0, s[2:3] +; GFX11-SDAG-NEXT: s_waitcnt vmcnt(0) +; GFX11-SDAG-NEXT: v_pk_add_u16 v1, 0xffffc400, v1 op_sel_hi:[0,1] +; GFX11-SDAG-NEXT: global_store_b32 v0, v1, s[0:1] +; GFX11-SDAG-NEXT: s_nop 0 +; GFX11-SDAG-NEXT: s_sendmsg sendmsg(MSG_DEALLOC_VGPRS) +; GFX11-SDAG-NEXT: s_endpgm +; +; GFX11-GISEL-LABEL: v_test_v2i16_x_add_neg_fpone: +; GFX11-GISEL: ; %bb.0: +; GFX11-GISEL-NEXT: s_load_b128 s[0:3], s[0:1], 0x24 +; GFX11-GISEL-NEXT: v_lshlrev_b32_e32 v0, 2, v0 +; GFX11-GISEL-NEXT: s_waitcnt lgkmcnt(0) +; GFX11-GISEL-NEXT: global_load_b32 v1, v0, s[2:3] +; GFX11-GISEL-NEXT: s_waitcnt vmcnt(0) +; GFX11-GISEL-NEXT: v_pk_add_u16 v1, 0xc400c400, v1 +; GFX11-GISEL-NEXT: global_store_b32 v0, v1, s[0:1] +; GFX11-GISEL-NEXT: s_nop 0 +; GFX11-GISEL-NEXT: s_sendmsg sendmsg(MSG_DEALLOC_VGPRS) +; GFX11-GISEL-NEXT: s_endpgm %tid = call i32 @llvm.amdgcn.workitem.id.x() %tid.ext = sext i32 %tid to i64 %gep = getelementptr inbounds <2 x i16>, ptr addrspace(1) %in, i64 %tid.ext @@ -3541,9 +3565,9 @@ define amdgpu_kernel void @v_test_v2i16_x_add_neg_negfpone(ptr addrspace(1) %out ; GFX9-SDAG-NEXT: v_lshlrev_b32_e32 v0, 2, v0 ; GFX9-SDAG-NEXT: s_waitcnt lgkmcnt(0) ; GFX9-SDAG-NEXT: global_load_dword v1, v0, s[2:3] -; GFX9-SDAG-NEXT: s_mov_b32 s2, 0x44004400 +; GFX9-SDAG-NEXT: s_movk_i32 s2, 0x4400 ; GFX9-SDAG-NEXT: s_waitcnt vmcnt(0) -; GFX9-SDAG-NEXT: v_pk_add_u16 v1, v1, s2 +; GFX9-SDAG-NEXT: v_pk_add_u16 v1, v1, s2 op_sel_hi:[1,0] ; GFX9-SDAG-NEXT: global_store_dword v0, v1, s[0:1] ; GFX9-SDAG-NEXT: s_endpgm ; @@ -3559,29 +3583,53 @@ define amdgpu_kernel void @v_test_v2i16_x_add_neg_negfpone(ptr addrspace(1) %out ; GFX9-GISEL-NEXT: global_store_dword v0, v1, s[0:1] ; GFX9-GISEL-NEXT: s_endpgm ; -; GFX10-LABEL: v_test_v2i16_x_add_neg_negfpone: -; GFX10: ; %bb.0: -; GFX10-NEXT: s_load_dwordx4 s[0:3], s[0:1], 0x24 -; GFX10-NEXT: v_lshlrev_b32_e32 v0, 2, v0 -; GFX10-NEXT: s_waitcnt lgkmcnt(0) -; GFX10-NEXT: global_load_dword v1, v0, s[2:3] -; GFX10-NEXT: s_waitcnt vmcnt(0) -; GFX10-NEXT: v_pk_add_u16 v1, 0x44004400, v1 -; GFX10-NEXT: global_store_dword v0, v1, s[0:1] -; GFX10-NEXT: s_endpgm +; GFX10-SDAG-LABEL: v_test_v2i16_x_add_neg_negfpone: +; GFX10-SDAG: ; %bb.0: +; GFX10-SDAG-NEXT: s_load_dwordx4 s[0:3], s[0:1], 0x24 +; GFX10-SDAG-NEXT: v_lshlrev_b32_e32 v0, 2, v0 +; GFX10-SDAG-NEXT: s_waitcnt lgkmcnt(0) +; GFX10-SDAG-NEXT: global_load_dword v1, v0, s[2:3] +; GFX10-SDAG-NEXT: s_waitcnt vmcnt(0) +; GFX10-SDAG-NEXT: v_pk_add_u16 v1, 0x4400, v1 op_sel_hi:[0,1] +; GFX10-SDAG-NEXT: global_store_dword v0, v1, s[0:1] +; GFX10-SDAG-NEXT: s_endpgm ; -; GFX11-LABEL: v_test_v2i16_x_add_neg_negfpone: -; GFX11: ; %bb.0: -; GFX11-NEXT: s_load_b128 s[0:3], s[0:1], 0x24 -; GFX11-NEXT: v_lshlrev_b32_e32 v0, 2, v0 -; GFX11-NEXT: s_waitcnt lgkmcnt(0) -; GFX11-NEXT: global_load_b32 v1, v0, s[2:3] -; GFX11-NEXT: s_waitcnt vmcnt(0) -; GFX11-NEXT: v_pk_add_u16 v1, 0x44004400, v1 -; GFX11-NEXT: global_store_b32 v0, v1, s[0:1] -; GFX11-NEXT: s_nop 0 -; GFX11-NEXT: s_sendmsg sendmsg(MSG_DEALLOC_VGPRS) -; GFX11-NEXT: s_endpgm +; GFX10-GISEL-LABEL: v_test_v2i16_x_add_neg_negfpone: +; GFX10-GISEL: ; %bb.0: +; GFX10-GISEL-NEXT: s_load_dwordx4 s[0:3], s[0:1], 0x24 +; GFX10-GISEL-NEXT: v_lshlrev_b32_e32 v0, 2, v0 +; GFX10-GISEL-NEXT: s_waitcnt lgkmcnt(0) +; GFX10-GISEL-NEXT: global_load_dword v1, v0, s[2:3] +; GFX10-GISEL-NEXT: s_waitcnt vmcnt(0) +; GFX10-GISEL-NEXT: v_pk_add_u16 v1, 0x44004400, v1 +; GFX10-GISEL-NEXT: global_store_dword v0, v1, s[0:1] +; GFX10-GISEL-NEXT: s_endpgm +; +; GFX11-SDAG-LABEL: v_test_v2i16_x_add_neg_negfpone: +; GFX11-SDAG: ; %bb.0: +; GFX11-SDAG-NEXT: s_load_b128 s[0:3], s[0:1], 0x24 +; GFX11-SDAG-NEXT: v_lshlrev_b32_e32 v0, 2, v0 +; GFX11-SDAG-NEXT: s_waitcnt lgkmcnt(0) +; GFX11-SDAG-NEXT: global_load_b32 v1, v0, s[2:3] +; GFX11-SDAG-NEXT: s_waitcnt vmcnt(0) +; GFX11-SDAG-NEXT: v_pk_add_u16 v1, 0x4400, v1 op_sel_hi:[0,1] +; GFX11-SDAG-NEXT: global_store_b32 v0, v1, s[0:1] +; GFX11-SDAG-NEXT: s_nop 0 +; GFX11-SDAG-NEXT: s_sendmsg sendmsg(MSG_DEALLOC_VGPRS) +; GFX11-SDAG-NEXT: s_endpgm +; +; GFX11-GISEL-LABEL: v_test_v2i16_x_add_neg_negfpone: +; GFX11-GISEL: ; %bb.0: +; GFX11-GISEL-NEXT: s_load_b128 s[0:3], s[0:1], 0x24 +; GFX11-GISEL-NEXT: v_lshlrev_b32_e32 v0, 2, v0 +; GFX11-GISEL-NEXT: s_waitcnt lgkmcnt(0) +; GFX11-GISEL-NEXT: global_load_b32 v1, v0, s[2:3] +; GFX11-GISEL-NEXT: s_waitcnt vmcnt(0) +; GFX11-GISEL-NEXT: v_pk_add_u16 v1, 0x44004400, v1 +; GFX11-GISEL-NEXT: global_store_b32 v0, v1, s[0:1] +; GFX11-GISEL-NEXT: s_nop 0 +; GFX11-GISEL-NEXT: s_sendmsg sendmsg(MSG_DEALLOC_VGPRS) +; GFX11-GISEL-NEXT: s_endpgm %tid = call i32 @llvm.amdgcn.workitem.id.x() %tid.ext = sext i32 %tid to i64 %gep = getelementptr inbounds <2 x i16>, ptr addrspace(1) %in, i64 %tid.ext diff --git a/llvm/test/CodeGen/AMDGPU/wmma-gfx12-w32-imm.ll b/llvm/test/CodeGen/AMDGPU/wmma-gfx12-w32-imm.ll index c4adc8c3212801..a3973970d50d9a 100644 --- a/llvm/test/CodeGen/AMDGPU/wmma-gfx12-w32-imm.ll +++ b/llvm/test/CodeGen/AMDGPU/wmma-gfx12-w32-imm.ll @@ -112,7 +112,11 @@ bb: define amdgpu_ps void @test_wmma_bf16_16x16x16_bf16_imm(<8 x i16> %A, <8 x i16> %B, ptr addrspace(1) %out) { ; GFX12-LABEL: test_wmma_bf16_16x16x16_bf16_imm: ; GFX12: ; %bb.0: ; %bb -; GFX12-NEXT: v_wmma_bf16_16x16x16_bf16 v[10:13], v[0:3], v[4:7], 1.0 +; GFX12-NEXT: v_mov_b32_e32 v10, 0x3f803f80 +; GFX12-NEXT: s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_1) +; GFX12-NEXT: v_dual_mov_b32 v11, v10 :: v_dual_mov_b32 v12, v10 +; GFX12-NEXT: v_mov_b32_e32 v13, v10 +; GFX12-NEXT: v_wmma_bf16_16x16x16_bf16 v[10:13], v[0:3], v[4:7], v[10:13] ; GFX12-NEXT: global_store_b128 v[8:9], v[10:13], off ; GFX12-NEXT: s_nop 0 ; GFX12-NEXT: s_sendmsg sendmsg(MSG_DEALLOC_VGPRS) diff --git a/llvm/test/CodeGen/AMDGPU/wmma-gfx12-w64-imm.ll b/llvm/test/CodeGen/AMDGPU/wmma-gfx12-w64-imm.ll index 462fc01e8e79e2..829d77018ff96b 100644 --- a/llvm/test/CodeGen/AMDGPU/wmma-gfx12-w64-imm.ll +++ b/llvm/test/CodeGen/AMDGPU/wmma-gfx12-w64-imm.ll @@ -101,7 +101,10 @@ bb: define amdgpu_ps void @test_wmma_bf16_16x16x16_bf16_imm(<4 x i16> %A, <4 x i16> %B, ptr addrspace(1) %out) { ; GFX12-LABEL: test_wmma_bf16_16x16x16_bf16_imm: ; GFX12: ; %bb.0: ; %bb -; GFX12-NEXT: v_wmma_bf16_16x16x16_bf16 v[6:7], v[0:1], v[2:3], 1.0 +; GFX12-NEXT: v_mov_b32_e32 v6, 0x3f803f80 +; GFX12-NEXT: s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1) +; GFX12-NEXT: v_mov_b32_e32 v7, v6 +; GFX12-NEXT: v_wmma_bf16_16x16x16_bf16 v[6:7], v[0:1], v[2:3], v[6:7] ; GFX12-NEXT: global_store_b64 v[4:5], v[6:7], off ; GFX12-NEXT: s_nop 0 ; GFX12-NEXT: s_sendmsg sendmsg(MSG_DEALLOC_VGPRS) diff --git a/llvm/test/MC/AMDGPU/gfx10_asm_vop1.s b/llvm/test/MC/AMDGPU/gfx10_asm_vop1.s index 1cfafebe2c3cd4..5a1673ef1ccef3 100644 --- a/llvm/test/MC/AMDGPU/gfx10_asm_vop1.s +++ b/llvm/test/MC/AMDGPU/gfx10_asm_vop1.s @@ -11189,10 +11189,10 @@ v_cvt_f16_u16_e32 v5, -1 // GFX10: encoding: [0xc1,0xa0,0x0a,0x7e] v_cvt_f16_u16_e32 v5, 0.5 -// GFX10: encoding: [0xff,0xa0,0x0a,0x7e,0x00,0x38,0x00,0x00] +// GFX10: encoding: [0xf0,0xa0,0x0a,0x7e] v_cvt_f16_u16_e32 v5, -4.0 -// GFX10: encoding: [0xff,0xa0,0x0a,0x7e,0x00,0xc4,0x00,0x00] +// GFX10: encoding: [0xf7,0xa0,0x0a,0x7e] v_cvt_f16_u16_e32 v5, 0xfe0b // GFX10: encoding: [0xff,0xa0,0x0a,0x7e,0x0b,0xfe,0x00,0x00] @@ -11237,10 +11237,10 @@ v_cvt_f16_u16_e64 v5, -1 // GFX10: encoding: [0x05,0x00,0xd0,0xd5,0xc1,0x00,0x00,0x00] v_cvt_f16_u16_e64 v5, 0.5 -// GFX10: encoding: [0x05,0x00,0xd0,0xd5,0xff,0x00,0x00,0x00,0x00,0x38,0x00,0x00] +// GFX10: encoding: [0x05,0x00,0xd0,0xd5,0xf0,0x00,0x00,0x00] v_cvt_f16_u16_e64 v5, -4.0 -// GFX10: encoding: [0x05,0x00,0xd0,0xd5,0xff,0x00,0x00,0x00,0x00,0xc4,0x00,0x00] +// GFX10: encoding: [0x05,0x00,0xd0,0xd5,0xf7,0x00,0x00,0x00] v_cvt_f16_u16_e64 v5, v1 clamp // GFX10: encoding: [0x05,0x80,0xd0,0xd5,0x01,0x01,0x00,0x00] @@ -11435,10 +11435,10 @@ v_cvt_f16_i16_e32 v5, -1 // GFX10: encoding: [0xc1,0xa2,0x0a,0x7e] v_cvt_f16_i16_e32 v5, 0.5 -// GFX10: encoding: [0xff,0xa2,0x0a,0x7e,0x00,0x38,0x00,0x00] +// GFX10: encoding: [0xf0,0xa2,0x0a,0x7e] v_cvt_f16_i16_e32 v5, -4.0 -// GFX10: encoding: [0xff,0xa2,0x0a,0x7e,0x00,0xc4,0x00,0x00] +// GFX10: encoding: [0xf7,0xa2,0x0a,0x7e] v_cvt_f16_i16_e32 v5, 0xfe0b // GFX10: encoding: [0xff,0xa2,0x0a,0x7e,0x0b,0xfe,0x00,0x00] @@ -11483,10 +11483,10 @@ v_cvt_f16_i16_e64 v5, -1 // GFX10: encoding: [0x05,0x00,0xd1,0xd5,0xc1,0x00,0x00,0x00] v_cvt_f16_i16_e64 v5, 0.5 -// GFX10: encoding: [0x05,0x00,0xd1,0xd5,0xff,0x00,0x00,0x00,0x00,0x38,0x00,0x00] +// GFX10: encoding: [0x05,0x00,0xd1,0xd5,0xf0,0x00,0x00,0x00] v_cvt_f16_i16_e64 v5, -4.0 -// GFX10: encoding: [0x05,0x00,0xd1,0xd5,0xff,0x00,0x00,0x00,0x00,0xc4,0x00,0x00] +// GFX10: encoding: [0x05,0x00,0xd1,0xd5,0xf7,0x00,0x00,0x00] v_cvt_f16_i16_e64 v5, v1 clamp // GFX10: encoding: [0x05,0x80,0xd1,0xd5,0x01,0x01,0x00,0x00] diff --git a/llvm/test/MC/AMDGPU/gfx10_asm_vop3.s b/llvm/test/MC/AMDGPU/gfx10_asm_vop3.s index 09d833d0ce4b82..b4256f1a628d5c 100644 --- a/llvm/test/MC/AMDGPU/gfx10_asm_vop3.s +++ b/llvm/test/MC/AMDGPU/gfx10_asm_vop3.s @@ -8741,10 +8741,10 @@ v_add_nc_u16 v5, -1, v2 // GFX10: encoding: [0x05,0x00,0x03,0xd7,0xc1,0x04,0x02,0x00] v_add_nc_u16 v5, 0.5, v2 -// GFX10: encoding: [0x05,0x00,0x03,0xd7,0xff,0x04,0x02,0x00,0x00,0x38,0x00,0x00] +// GFX10: encoding: [0x05,0x00,0x03,0xd7,0xf0,0x04,0x02,0x00] v_add_nc_u16 v5, -4.0, v2 -// GFX10: encoding: [0x05,0x00,0x03,0xd7,0xff,0x04,0x02,0x00,0x00,0xc4,0x00,0x00] +// GFX10: encoding: [0x05,0x00,0x03,0xd7,0xf7,0x04,0x02,0x00] v_add_nc_u16 v5, v1, v255 // GFX10: encoding: [0x05,0x00,0x03,0xd7,0x01,0xff,0x03,0x00] @@ -8777,13 +8777,13 @@ v_add_nc_u16 v5, v1, -1 // GFX10: encoding: [0x05,0x00,0x03,0xd7,0x01,0x83,0x01,0x00] v_add_nc_u16 v5, v1, 0.5 -// GFX10: encoding: [0x05,0x00,0x03,0xd7,0x01,0xff,0x01,0x00,0x00,0x38,0x00,0x00] +// GFX10: encoding: [0x05,0x00,0x03,0xd7,0x01,0xe1,0x01,0x00] v_add_nc_u16 v5, v1, -4.0 -// GFX10: encoding: [0x05,0x00,0x03,0xd7,0x01,0xff,0x01,0x00,0x00,0xc4,0x00,0x00] +// GFX10: encoding: [0x05,0x00,0x03,0xd7,0x01,0xef,0x01,0x00] v_add_nc_u16 v5, v1, -4.0 clamp -// GFX10: encoding: [0x05,0x80,0x03,0xd7,0x01,0xff,0x01,0x00,0x00,0xc4,0x00,0x00] +// GFX10: encoding: [0x05,0x80,0x03,0xd7,0x01,0xef,0x01,0x00] v_add_nc_u16 v5, v1, v2 op_sel:[1,1,1] // GFX10: [0x05,0x58,0x03,0xd7,0x01,0x05,0x02,0x00] @@ -8837,10 +8837,10 @@ v_sub_nc_u16 v5, -1, v2 // GFX10: encoding: [0x05,0x00,0x04,0xd7,0xc1,0x04,0x02,0x00] v_sub_nc_u16 v5, 0.5, v2 -// GFX10: encoding: [0x05,0x00,0x04,0xd7,0xff,0x04,0x02,0x00,0x00,0x38,0x00,0x00] +// GFX10: encoding: [0x05,0x00,0x04,0xd7,0xf0,0x04,0x02,0x00] v_sub_nc_u16 v5, -4.0, v2 -// GFX10: encoding: [0x05,0x00,0x04,0xd7,0xff,0x04,0x02,0x00,0x00,0xc4,0x00,0x00] +// GFX10: encoding: [0x05,0x00,0x04,0xd7,0xf7,0x04,0x02,0x00] v_sub_nc_u16 v5, v1, v255 // GFX10: encoding: [0x05,0x00,0x04,0xd7,0x01,0xff,0x03,0x00] @@ -8873,13 +8873,13 @@ v_sub_nc_u16 v5, v1, -1 // GFX10: encoding: [0x05,0x00,0x04,0xd7,0x01,0x83,0x01,0x00] v_sub_nc_u16 v5, v1, 0.5 -// GFX10: encoding: [0x05,0x00,0x04,0xd7,0x01,0xff,0x01,0x00,0x00,0x38,0x00,0x00] +// GFX10: encoding: [0x05,0x00,0x04,0xd7,0x01,0xe1,0x01,0x00] v_sub_nc_u16 v5, v1, -4.0 -// GFX10: encoding: [0x05,0x00,0x04,0xd7,0x01,0xff,0x01,0x00,0x00,0xc4,0x00,0x00] +// GFX10: encoding: [0x05,0x00,0x04,0xd7,0x01,0xef,0x01,0x00] v_sub_nc_u16 v5, v1, -4.0 clamp -// GFX10: encoding: [0x05,0x80,0x04,0xd7,0x01,0xff,0x01,0x00,0x00,0xc4,0x00,0x00] +// GFX10: encoding: [0x05,0x80,0x04,0xd7,0x01,0xef,0x01,0x00] v_sub_nc_u16 v5, v1, v2 op_sel:[1,1,1] // GFX10: [0x05,0x58,0x04,0xd7,0x01,0x05,0x02,0x00] @@ -8933,10 +8933,10 @@ v_mul_lo_u16 v5, -1, v2 // GFX10: encoding: [0x05,0x00,0x05,0xd7,0xc1,0x04,0x02,0x00] v_mul_lo_u16 v5, 0.5, v2 -// GFX10: encoding: [0x05,0x00,0x05,0xd7,0xff,0x04,0x02,0x00,0x00,0x38,0x00,0x00] +// GFX10: encoding: [0x05,0x00,0x05,0xd7,0xf0,0x04,0x02,0x00] v_mul_lo_u16 v5, -4.0, v2 -// GFX10: encoding: [0x05,0x00,0x05,0xd7,0xff,0x04,0x02,0x00,0x00,0xc4,0x00,0x00] +// GFX10: encoding: [0x05,0x00,0x05,0xd7,0xf7,0x04,0x02,0x00] v_mul_lo_u16 v5, v1, v255 // GFX10: encoding: [0x05,0x00,0x05,0xd7,0x01,0xff,0x03,0x00] @@ -8969,10 +8969,10 @@ v_mul_lo_u16 v5, v1, -1 // GFX10: encoding: [0x05,0x00,0x05,0xd7,0x01,0x83,0x01,0x00] v_mul_lo_u16 v5, v1, 0.5 -// GFX10: encoding: [0x05,0x00,0x05,0xd7,0x01,0xff,0x01,0x00,0x00,0x38,0x00,0x00] +// GFX10: encoding: [0x05,0x00,0x05,0xd7,0x01,0xe1,0x01,0x00] v_mul_lo_u16 v5, v1, -4.0 -// GFX10: encoding: [0x05,0x00,0x05,0xd7,0x01,0xff,0x01,0x00,0x00,0xc4,0x00,0x00] +// GFX10: encoding: [0x05,0x00,0x05,0xd7,0x01,0xef,0x01,0x00] v_lshrrev_b16 v5, v1, v2 // GFX10: encoding: [0x05,0x00,0x07,0xd7,0x01,0x05,0x02,0x00] @@ -9011,10 +9011,10 @@ v_lshrrev_b16 v5, -1, v2 // GFX10: encoding: [0x05,0x00,0x07,0xd7,0xc1,0x04,0x02,0x00] v_lshrrev_b16 v5, 0.5, v2 -// GFX10: encoding: [0x05,0x00,0x07,0xd7,0xff,0x04,0x02,0x00,0x00,0x38,0x00,0x00] +// GFX10: encoding: [0x05,0x00,0x07,0xd7,0xf0,0x04,0x02,0x00] v_lshrrev_b16 v5, -4.0, v2 -// GFX10: encoding: [0x05,0x00,0x07,0xd7,0xff,0x04,0x02,0x00,0x00,0xc4,0x00,0x00] +// GFX10: encoding: [0x05,0x00,0x07,0xd7,0xf7,0x04,0x02,0x00] v_lshrrev_b16 v5, v1, v255 // GFX10: encoding: [0x05,0x00,0x07,0xd7,0x01,0xff,0x03,0x00] @@ -9047,10 +9047,10 @@ v_lshrrev_b16 v5, v1, -1 // GFX10: encoding: [0x05,0x00,0x07,0xd7,0x01,0x83,0x01,0x00] v_lshrrev_b16 v5, v1, 0.5 -// GFX10: encoding: [0x05,0x00,0x07,0xd7,0x01,0xff,0x01,0x00,0x00,0x38,0x00,0x00] +// GFX10: encoding: [0x05,0x00,0x07,0xd7,0x01,0xe1,0x01,0x00] v_lshrrev_b16 v5, v1, -4.0 -// GFX10: encoding: [0x05,0x00,0x07,0xd7,0x01,0xff,0x01,0x00,0x00,0xc4,0x00,0x00] +// GFX10: encoding: [0x05,0x00,0x07,0xd7,0x01,0xef,0x01,0x00] v_ashrrev_i16 v5, v1, v2 // GFX10: encoding: [0x05,0x00,0x08,0xd7,0x01,0x05,0x02,0x00] @@ -9089,10 +9089,10 @@ v_ashrrev_i16 v5, -1, v2 // GFX10: encoding: [0x05,0x00,0x08,0xd7,0xc1,0x04,0x02,0x00] v_ashrrev_i16 v5, 0.5, v2 -// GFX10: encoding: [0x05,0x00,0x08,0xd7,0xff,0x04,0x02,0x00,0x00,0x38,0x00,0x00] +// GFX10: encoding: [0x05,0x00,0x08,0xd7,0xf0,0x04,0x02,0x00] v_ashrrev_i16 v5, -4.0, v2 -// GFX10: encoding: [0x05,0x00,0x08,0xd7,0xff,0x04,0x02,0x00,0x00,0xc4,0x00,0x00] +// GFX10: encoding: [0x05,0x00,0x08,0xd7,0xf7,0x04,0x02,0x00] v_ashrrev_i16 v5, v1, v255 // GFX10: encoding: [0x05,0x00,0x08,0xd7,0x01,0xff,0x03,0x00] @@ -9125,10 +9125,10 @@ v_ashrrev_i16 v5, v1, -1 // GFX10: encoding: [0x05,0x00,0x08,0xd7,0x01,0x83,0x01,0x00] v_ashrrev_i16 v5, v1, 0.5 -// GFX10: encoding: [0x05,0x00,0x08,0xd7,0x01,0xff,0x01,0x00,0x00,0x38,0x00,0x00] +// GFX10: encoding: [0x05,0x00,0x08,0xd7,0x01,0xe1,0x01,0x00] v_ashrrev_i16 v5, v1, -4.0 -// GFX10: encoding: [0x05,0x00,0x08,0xd7,0x01,0xff,0x01,0x00,0x00,0xc4,0x00,0x00] +// GFX10: encoding: [0x05,0x00,0x08,0xd7,0x01,0xef,0x01,0x00] v_max_u16 v5, v1, v2 // GFX10: encoding: [0x05,0x00,0x09,0xd7,0x01,0x05,0x02,0x00] @@ -9167,10 +9167,10 @@ v_max_u16 v5, -1, v2 // GFX10: encoding: [0x05,0x00,0x09,0xd7,0xc1,0x04,0x02,0x00] v_max_u16 v5, 0.5, v2 -// GFX10: encoding: [0x05,0x00,0x09,0xd7,0xff,0x04,0x02,0x00,0x00,0x38,0x00,0x00] +// GFX10: encoding: [0x05,0x00,0x09,0xd7,0xf0,0x04,0x02,0x00] v_max_u16 v5, -4.0, v2 -// GFX10: encoding: [0x05,0x00,0x09,0xd7,0xff,0x04,0x02,0x00,0x00,0xc4,0x00,0x00] +// GFX10: encoding: [0x05,0x00,0x09,0xd7,0xf7,0x04,0x02,0x00] v_max_u16 v5, v1, v255 // GFX10: encoding: [0x05,0x00,0x09,0xd7,0x01,0xff,0x03,0x00] @@ -9203,10 +9203,10 @@ v_max_u16 v5, v1, -1 // GFX10: encoding: [0x05,0x00,0x09,0xd7,0x01,0x83,0x01,0x00] v_max_u16 v5, v1, 0.5 -// GFX10: encoding: [0x05,0x00,0x09,0xd7,0x01,0xff,0x01,0x00,0x00,0x38,0x00,0x00] +// GFX10: encoding: [0x05,0x00,0x09,0xd7,0x01,0xe1,0x01,0x00] v_max_u16 v5, v1, -4.0 -// GFX10: encoding: [0x05,0x00,0x09,0xd7,0x01,0xff,0x01,0x00,0x00,0xc4,0x00,0x00] +// GFX10: encoding: [0x05,0x00,0x09,0xd7,0x01,0xef,0x01,0x00] v_max_i16 v5, v1, v2 // GFX10: encoding: [0x05,0x00,0x0a,0xd7,0x01,0x05,0x02,0x00] @@ -9245,10 +9245,10 @@ v_max_i16 v5, -1, v2 // GFX10: encoding: [0x05,0x00,0x0a,0xd7,0xc1,0x04,0x02,0x00] v_max_i16 v5, 0.5, v2 -// GFX10: encoding: [0x05,0x00,0x0a,0xd7,0xff,0x04,0x02,0x00,0x00,0x38,0x00,0x00] +// GFX10: encoding: [0x05,0x00,0x0a,0xd7,0xf0,0x04,0x02,0x00] v_max_i16 v5, -4.0, v2 -// GFX10: encoding: [0x05,0x00,0x0a,0xd7,0xff,0x04,0x02,0x00,0x00,0xc4,0x00,0x00] +// GFX10: encoding: [0x05,0x00,0x0a,0xd7,0xf7,0x04,0x02,0x00] v_max_i16 v5, v1, v255 // GFX10: encoding: [0x05,0x00,0x0a,0xd7,0x01,0xff,0x03,0x00] @@ -9281,10 +9281,10 @@ v_max_i16 v5, v1, -1 // GFX10: encoding: [0x05,0x00,0x0a,0xd7,0x01,0x83,0x01,0x00] v_max_i16 v5, v1, 0.5 -// GFX10: encoding: [0x05,0x00,0x0a,0xd7,0x01,0xff,0x01,0x00,0x00,0x38,0x00,0x00] +// GFX10: encoding: [0x05,0x00,0x0a,0xd7,0x01,0xe1,0x01,0x00] v_max_i16 v5, v1, -4.0 -// GFX10: encoding: [0x05,0x00,0x0a,0xd7,0x01,0xff,0x01,0x00,0x00,0xc4,0x00,0x00] +// GFX10: encoding: [0x05,0x00,0x0a,0xd7,0x01,0xef,0x01,0x00] v_min_u16 v5, v1, v2 // GFX10: encoding: [0x05,0x00,0x0b,0xd7,0x01,0x05,0x02,0x00] @@ -9323,10 +9323,10 @@ v_min_u16 v5, -1, v2 // GFX10: encoding: [0x05,0x00,0x0b,0xd7,0xc1,0x04,0x02,0x00] v_min_u16 v5, 0.5, v2 -// GFX10: encoding: [0x05,0x00,0x0b,0xd7,0xff,0x04,0x02,0x00,0x00,0x38,0x00,0x00] +// GFX10: encoding: [0x05,0x00,0x0b,0xd7,0xf0,0x04,0x02,0x00] v_min_u16 v5, -4.0, v2 -// GFX10: encoding: [0x05,0x00,0x0b,0xd7,0xff,0x04,0x02,0x00,0x00,0xc4,0x00,0x00] +// GFX10: encoding: [0x05,0x00,0x0b,0xd7,0xf7,0x04,0x02,0x00] v_min_u16 v5, v1, v255 // GFX10: encoding: [0x05,0x00,0x0b,0xd7,0x01,0xff,0x03,0x00] @@ -9359,10 +9359,10 @@ v_min_u16 v5, v1, -1 // GFX10: encoding: [0x05,0x00,0x0b,0xd7,0x01,0x83,0x01,0x00] v_min_u16 v5, v1, 0.5 -// GFX10: encoding: [0x05,0x00,0x0b,0xd7,0x01,0xff,0x01,0x00,0x00,0x38,0x00,0x00] +// GFX10: encoding: [0x05,0x00,0x0b,0xd7,0x01,0xe1,0x01,0x00] v_min_u16 v5, v1, -4.0 -// GFX10: encoding: [0x05,0x00,0x0b,0xd7,0x01,0xff,0x01,0x00,0x00,0xc4,0x00,0x00] +// GFX10: encoding: [0x05,0x00,0x0b,0xd7,0x01,0xef,0x01,0x00] v_min_i16 v5, v1, v2 // GFX10: encoding: [0x05,0x00,0x0c,0xd7,0x01,0x05,0x02,0x00] @@ -9401,10 +9401,10 @@ v_min_i16 v5, -1, v2 // GFX10: encoding: [0x05,0x00,0x0c,0xd7,0xc1,0x04,0x02,0x00] v_min_i16 v5, 0.5, v2 -// GFX10: encoding: [0x05,0x00,0x0c,0xd7,0xff,0x04,0x02,0x00,0x00,0x38,0x00,0x00] +// GFX10: encoding: [0x05,0x00,0x0c,0xd7,0xf0,0x04,0x02,0x00] v_min_i16 v5, -4.0, v2 -// GFX10: encoding: [0x05,0x00,0x0c,0xd7,0xff,0x04,0x02,0x00,0x00,0xc4,0x00,0x00] +// GFX10: encoding: [0x05,0x00,0x0c,0xd7,0xf7,0x04,0x02,0x00] v_min_i16 v5, v1, v255 // GFX10: encoding: [0x05,0x00,0x0c,0xd7,0x01,0xff,0x03,0x00] @@ -9437,10 +9437,10 @@ v_min_i16 v5, v1, -1 // GFX10: encoding: [0x05,0x00,0x0c,0xd7,0x01,0x83,0x01,0x00] v_min_i16 v5, v1, 0.5 -// GFX10: encoding: [0x05,0x00,0x0c,0xd7,0x01,0xff,0x01,0x00,0x00,0x38,0x00,0x00] +// GFX10: encoding: [0x05,0x00,0x0c,0xd7,0x01,0xe1,0x01,0x00] v_min_i16 v5, v1, -4.0 -// GFX10: encoding: [0x05,0x00,0x0c,0xd7,0x01,0xff,0x01,0x00,0x00,0xc4,0x00,0x00] +// GFX10: encoding: [0x05,0x00,0x0c,0xd7,0x01,0xef,0x01,0x00] v_add_nc_i16 v5, v1, v2 // GFX10: encoding: [0x05,0x00,0x0d,0xd7,0x01,0x05,0x02,0x00] @@ -9479,10 +9479,10 @@ v_add_nc_i16 v5, -1, v2 // GFX10: encoding: [0x05,0x00,0x0d,0xd7,0xc1,0x04,0x02,0x00] v_add_nc_i16 v5, 0.5, v2 -// GFX10: encoding: [0x05,0x00,0x0d,0xd7,0xff,0x04,0x02,0x00,0x00,0x38,0x00,0x00] +// GFX10: encoding: [0x05,0x00,0x0d,0xd7,0xf0,0x04,0x02,0x00] v_add_nc_i16 v5, -4.0, v2 -// GFX10: encoding: [0x05,0x00,0x0d,0xd7,0xff,0x04,0x02,0x00,0x00,0xc4,0x00,0x00] +// GFX10: encoding: [0x05,0x00,0x0d,0xd7,0xf7,0x04,0x02,0x00] v_add_nc_i16 v5, v1, v255 // GFX10: encoding: [0x05,0x00,0x0d,0xd7,0x01,0xff,0x03,0x00] @@ -9515,10 +9515,10 @@ v_add_nc_i16 v5, v1, -1 // GFX10: encoding: [0x05,0x00,0x0d,0xd7,0x01,0x83,0x01,0x00] v_add_nc_i16 v5, v1, 0.5 -// GFX10: encoding: [0x05,0x00,0x0d,0xd7,0x01,0xff,0x01,0x00,0x00,0x38,0x00,0x00] +// GFX10: encoding: [0x05,0x00,0x0d,0xd7,0x01,0xe1,0x01,0x00] v_add_nc_i16 v5, v1, -4.0 -// GFX10: encoding: [0x05,0x00,0x0d,0xd7,0x01,0xff,0x01,0x00,0x00,0xc4,0x00,0x00] +// GFX10: encoding: [0x05,0x00,0x0d,0xd7,0x01,0xef,0x01,0x00] v_sub_nc_i16 v5, v1, v2 // GFX10: encoding: [0x05,0x00,0x0e,0xd7,0x01,0x05,0x02,0x00] @@ -9557,10 +9557,10 @@ v_sub_nc_i16 v5, -1, v2 // GFX10: encoding: [0x05,0x00,0x0e,0xd7,0xc1,0x04,0x02,0x00] v_sub_nc_i16 v5, 0.5, v2 -// GFX10: encoding: [0x05,0x00,0x0e,0xd7,0xff,0x04,0x02,0x00,0x00,0x38,0x00,0x00] +// GFX10: encoding: [0x05,0x00,0x0e,0xd7,0xf0,0x04,0x02,0x00] v_sub_nc_i16 v5, -4.0, v2 -// GFX10: encoding: [0x05,0x00,0x0e,0xd7,0xff,0x04,0x02,0x00,0x00,0xc4,0x00,0x00] +// GFX10: encoding: [0x05,0x00,0x0e,0xd7,0xf7,0x04,0x02,0x00] v_sub_nc_i16 v5, v1, v255 // GFX10: encoding: [0x05,0x00,0x0e,0xd7,0x01,0xff,0x03,0x00] @@ -9593,10 +9593,10 @@ v_sub_nc_i16 v5, v1, -1 // GFX10: encoding: [0x05,0x00,0x0e,0xd7,0x01,0x83,0x01,0x00] v_sub_nc_i16 v5, v1, 0.5 -// GFX10: encoding: [0x05,0x00,0x0e,0xd7,0x01,0xff,0x01,0x00,0x00,0x38,0x00,0x00] +// GFX10: encoding: [0x05,0x00,0x0e,0xd7,0x01,0xe1,0x01,0x00] v_sub_nc_i16 v5, v1, -4.0 -// GFX10: encoding: [0x05,0x00,0x0e,0xd7,0x01,0xff,0x01,0x00,0x00,0xc4,0x00,0x00] +// GFX10: encoding: [0x05,0x00,0x0e,0xd7,0x01,0xef,0x01,0x00] v_pack_b32_f16 v5, v1, v2 // GFX10: encoding: [0x05,0x00,0x11,0xd7,0x01,0x05,0x02,0x00] @@ -9968,10 +9968,10 @@ v_lshlrev_b16 v5, -1, v2 // GFX10: encoding: [0x05,0x00,0x14,0xd7,0xc1,0x04,0x02,0x00] v_lshlrev_b16 v5, 0.5, v2 -// GFX10: encoding: [0x05,0x00,0x14,0xd7,0xff,0x04,0x02,0x00,0x00,0x38,0x00,0x00] +// GFX10: encoding: [0x05,0x00,0x14,0xd7,0xf0,0x04,0x02,0x00] v_lshlrev_b16 v5, -4.0, v2 -// GFX10: encoding: [0x05,0x00,0x14,0xd7,0xff,0x04,0x02,0x00,0x00,0xc4,0x00,0x00] +// GFX10: encoding: [0x05,0x00,0x14,0xd7,0xf7,0x04,0x02,0x00] v_lshlrev_b16 v5, v1, v255 // GFX10: encoding: [0x05,0x00,0x14,0xd7,0x01,0xff,0x03,0x00] @@ -10004,10 +10004,10 @@ v_lshlrev_b16 v5, v1, -1 // GFX10: encoding: [0x05,0x00,0x14,0xd7,0x01,0x83,0x01,0x00] v_lshlrev_b16 v5, v1, 0.5 -// GFX10: encoding: [0x05,0x00,0x14,0xd7,0x01,0xff,0x01,0x00,0x00,0x38,0x00,0x00] +// GFX10: encoding: [0x05,0x00,0x14,0xd7,0x01,0xe1,0x01,0x00] v_lshlrev_b16 v5, v1, -4.0 -// GFX10: encoding: [0x05,0x00,0x14,0xd7,0x01,0xff,0x01,0x00,0x00,0xc4,0x00,0x00] +// GFX10: encoding: [0x05,0x00,0x14,0xd7,0x01,0xef,0x01,0x00] v_mad_u16 v5, 0, v2, v3 // GFX10: encoding: [0x05,0x00,0x40,0xd7,0x80,0x04,0x0e,0x04] @@ -10016,7 +10016,7 @@ v_mad_u16 v5, v1, -1, v3 // GFX10: encoding: [0x05,0x00,0x40,0xd7,0x01,0x83,0x0d,0x04] v_mad_u16 v5, v1, v2, -4.0 -// GFX10: encoding: [0x05,0x00,0x40,0xd7,0x01,0x05,0xfe,0x03,0x00,0xc4,0x00,0x00] +// GFX10: encoding: [0x05,0x00,0x40,0xd7,0x01,0x05,0xde,0x03] v_mad_u16 v5, v1, v2, v3 clamp // GFX10: encoding: [0x05,0x80,0x40,0xd7,0x01,0x05,0x0e,0x04] @@ -10755,10 +10755,10 @@ v_min3_i16 v5, -1, v2, v3 // GFX10: encoding: [0x05,0x00,0x52,0xd7,0xc1,0x04,0x0e,0x04] v_min3_i16 v5, 0.5, v2, v3 -// GFX10: encoding: [0x05,0x00,0x52,0xd7,0xff,0x04,0x0e,0x04,0x00,0x38,0x00,0x00] +// GFX10: encoding: [0x05,0x00,0x52,0xd7,0xf0,0x04,0x0e,0x04] v_min3_i16 v5, -4.0, v2, v3 -// GFX10: encoding: [0x05,0x00,0x52,0xd7,0xff,0x04,0x0e,0x04,0x00,0xc4,0x00,0x00] +// GFX10: encoding: [0x05,0x00,0x52,0xd7,0xf7,0x04,0x0e,0x04] v_min3_i16 v5, v1, v255, v3 // GFX10: encoding: [0x05,0x00,0x52,0xd7,0x01,0xff,0x0f,0x04] @@ -10791,10 +10791,10 @@ v_min3_i16 v5, v1, -1, v3 // GFX10: encoding: [0x05,0x00,0x52,0xd7,0x01,0x83,0x0d,0x04] v_min3_i16 v5, v1, 0.5, v3 -// GFX10: encoding: [0x05,0x00,0x52,0xd7,0x01,0xff,0x0d,0x04,0x00,0x38,0x00,0x00] +// GFX10: encoding: [0x05,0x00,0x52,0xd7,0x01,0xe1,0x0d,0x04] v_min3_i16 v5, v1, -4.0, v3 -// GFX10: encoding: [0x05,0x00,0x52,0xd7,0x01,0xff,0x0d,0x04,0x00,0xc4,0x00,0x00] +// GFX10: encoding: [0x05,0x00,0x52,0xd7,0x01,0xef,0x0d,0x04] v_min3_i16 v5, v1, v2, v255 // GFX10: encoding: [0x05,0x00,0x52,0xd7,0x01,0x05,0xfe,0x07] @@ -10827,10 +10827,10 @@ v_min3_i16 v5, v1, v2, -1 // GFX10: encoding: [0x05,0x00,0x52,0xd7,0x01,0x05,0x06,0x03] v_min3_i16 v5, v1, v2, 0.5 -// GFX10: encoding: [0x05,0x00,0x52,0xd7,0x01,0x05,0xfe,0x03,0x00,0x38,0x00,0x00] +// GFX10: encoding: [0x05,0x00,0x52,0xd7,0x01,0x05,0xc2,0x03] v_min3_i16 v5, v1, v2, -4.0 -// GFX10: encoding: [0x05,0x00,0x52,0xd7,0x01,0x05,0xfe,0x03,0x00,0xc4,0x00,0x00] +// GFX10: encoding: [0x05,0x00,0x52,0xd7,0x01,0x05,0xde,0x03] v_min3_i16 v5, v1, v2, v3 op_sel:[0,0,0,0] // GFX10: encoding: [0x05,0x00,0x52,0xd7,0x01,0x05,0x0e,0x04] @@ -10890,10 +10890,10 @@ v_min3_u16 v5, -1, v2, v3 // GFX10: encoding: [0x05,0x00,0x53,0xd7,0xc1,0x04,0x0e,0x04] v_min3_u16 v5, 0.5, v2, v3 -// GFX10: encoding: [0x05,0x00,0x53,0xd7,0xff,0x04,0x0e,0x04,0x00,0x38,0x00,0x00] +// GFX10: encoding: [0x05,0x00,0x53,0xd7,0xf0,0x04,0x0e,0x04] v_min3_u16 v5, -4.0, v2, v3 -// GFX10: encoding: [0x05,0x00,0x53,0xd7,0xff,0x04,0x0e,0x04,0x00,0xc4,0x00,0x00] +// GFX10: encoding: [0x05,0x00,0x53,0xd7,0xf7,0x04,0x0e,0x04] v_min3_u16 v5, v1, v255, v3 // GFX10: encoding: [0x05,0x00,0x53,0xd7,0x01,0xff,0x0f,0x04] @@ -10926,10 +10926,10 @@ v_min3_u16 v5, v1, -1, v3 // GFX10: encoding: [0x05,0x00,0x53,0xd7,0x01,0x83,0x0d,0x04] v_min3_u16 v5, v1, 0.5, v3 -// GFX10: encoding: [0x05,0x00,0x53,0xd7,0x01,0xff,0x0d,0x04,0x00,0x38,0x00,0x00] +// GFX10: encoding: [0x05,0x00,0x53,0xd7,0x01,0xe1,0x0d,0x04] v_min3_u16 v5, v1, -4.0, v3 -// GFX10: encoding: [0x05,0x00,0x53,0xd7,0x01,0xff,0x0d,0x04,0x00,0xc4,0x00,0x00] +// GFX10: encoding: [0x05,0x00,0x53,0xd7,0x01,0xef,0x0d,0x04] v_min3_u16 v5, v1, v2, v255 // GFX10: encoding: [0x05,0x00,0x53,0xd7,0x01,0x05,0xfe,0x07] @@ -10962,10 +10962,10 @@ v_min3_u16 v5, v1, v2, -1 // GFX10: encoding: [0x05,0x00,0x53,0xd7,0x01,0x05,0x06,0x03] v_min3_u16 v5, v1, v2, 0.5 -// GFX10: encoding: [0x05,0x00,0x53,0xd7,0x01,0x05,0xfe,0x03,0x00,0x38,0x00,0x00] +// GFX10: encoding: [0x05,0x00,0x53,0xd7,0x01,0x05,0xc2,0x03] v_min3_u16 v5, v1, v2, -4.0 -// GFX10: encoding: [0x05,0x00,0x53,0xd7,0x01,0x05,0xfe,0x03,0x00,0xc4,0x00,0x00] +// GFX10: encoding: [0x05,0x00,0x53,0xd7,0x01,0x05,0xde,0x03] v_min3_u16 v5, v1, v2, v3 op_sel:[0,0,0,0] // GFX10: encoding: [0x05,0x00,0x53,0xd7,0x01,0x05,0x0e,0x04] @@ -11184,10 +11184,10 @@ v_max3_i16 v5, -1, v2, v3 // GFX10: encoding: [0x05,0x00,0x55,0xd7,0xc1,0x04,0x0e,0x04] v_max3_i16 v5, 0.5, v2, v3 -// GFX10: encoding: [0x05,0x00,0x55,0xd7,0xff,0x04,0x0e,0x04,0x00,0x38,0x00,0x00] +// GFX10: encoding: [0x05,0x00,0x55,0xd7,0xf0,0x04,0x0e,0x04] v_max3_i16 v5, -4.0, v2, v3 -// GFX10: encoding: [0x05,0x00,0x55,0xd7,0xff,0x04,0x0e,0x04,0x00,0xc4,0x00,0x00] +// GFX10: encoding: [0x05,0x00,0x55,0xd7,0xf7,0x04,0x0e,0x04] v_max3_i16 v5, v1, v255, v3 // GFX10: encoding: [0x05,0x00,0x55,0xd7,0x01,0xff,0x0f,0x04] @@ -11220,10 +11220,10 @@ v_max3_i16 v5, v1, -1, v3 // GFX10: encoding: [0x05,0x00,0x55,0xd7,0x01,0x83,0x0d,0x04] v_max3_i16 v5, v1, 0.5, v3 -// GFX10: encoding: [0x05,0x00,0x55,0xd7,0x01,0xff,0x0d,0x04,0x00,0x38,0x00,0x00] +// GFX10: encoding: [0x05,0x00,0x55,0xd7,0x01,0xe1,0x0d,0x04] v_max3_i16 v5, v1, -4.0, v3 -// GFX10: encoding: [0x05,0x00,0x55,0xd7,0x01,0xff,0x0d,0x04,0x00,0xc4,0x00,0x00] +// GFX10: encoding: [0x05,0x00,0x55,0xd7,0x01,0xef,0x0d,0x04] v_max3_i16 v5, v1, v2, v255 // GFX10: encoding: [0x05,0x00,0x55,0xd7,0x01,0x05,0xfe,0x07] @@ -11256,10 +11256,10 @@ v_max3_i16 v5, v1, v2, -1 // GFX10: encoding: [0x05,0x00,0x55,0xd7,0x01,0x05,0x06,0x03] v_max3_i16 v5, v1, v2, 0.5 -// GFX10: encoding: [0x05,0x00,0x55,0xd7,0x01,0x05,0xfe,0x03,0x00,0x38,0x00,0x00] +// GFX10: encoding: [0x05,0x00,0x55,0xd7,0x01,0x05,0xc2,0x03] v_max3_i16 v5, v1, v2, -4.0 -// GFX10: encoding: [0x05,0x00,0x55,0xd7,0x01,0x05,0xfe,0x03,0x00,0xc4,0x00,0x00] +// GFX10: encoding: [0x05,0x00,0x55,0xd7,0x01,0x05,0xde,0x03] v_max3_i16 v5, v1, v2, v3 op_sel:[0,0,0,0] // GFX10: encoding: [0x05,0x00,0x55,0xd7,0x01,0x05,0x0e,0x04] @@ -11319,10 +11319,10 @@ v_max3_u16 v5, -1, v2, v3 // GFX10: encoding: [0x05,0x00,0x56,0xd7,0xc1,0x04,0x0e,0x04] v_max3_u16 v5, 0.5, v2, v3 -// GFX10: encoding: [0x05,0x00,0x56,0xd7,0xff,0x04,0x0e,0x04,0x00,0x38,0x00,0x00] +// GFX10: encoding: [0x05,0x00,0x56,0xd7,0xf0,0x04,0x0e,0x04] v_max3_u16 v5, -4.0, v2, v3 -// GFX10: encoding: [0x05,0x00,0x56,0xd7,0xff,0x04,0x0e,0x04,0x00,0xc4,0x00,0x00] +// GFX10: encoding: [0x05,0x00,0x56,0xd7,0xf7,0x04,0x0e,0x04] v_max3_u16 v5, v1, v255, v3 // GFX10: encoding: [0x05,0x00,0x56,0xd7,0x01,0xff,0x0f,0x04] @@ -11355,10 +11355,10 @@ v_max3_u16 v5, v1, -1, v3 // GFX10: encoding: [0x05,0x00,0x56,0xd7,0x01,0x83,0x0d,0x04] v_max3_u16 v5, v1, 0.5, v3 -// GFX10: encoding: [0x05,0x00,0x56,0xd7,0x01,0xff,0x0d,0x04,0x00,0x38,0x00,0x00] +// GFX10: encoding: [0x05,0x00,0x56,0xd7,0x01,0xe1,0x0d,0x04] v_max3_u16 v5, v1, -4.0, v3 -// GFX10: encoding: [0x05,0x00,0x56,0xd7,0x01,0xff,0x0d,0x04,0x00,0xc4,0x00,0x00] +// GFX10: encoding: [0x05,0x00,0x56,0xd7,0x01,0xef,0x0d,0x04] v_max3_u16 v5, v1, v2, v255 // GFX10: encoding: [0x05,0x00,0x56,0xd7,0x01,0x05,0xfe,0x07] @@ -11391,10 +11391,10 @@ v_max3_u16 v5, v1, v2, -1 // GFX10: encoding: [0x05,0x00,0x56,0xd7,0x01,0x05,0x06,0x03] v_max3_u16 v5, v1, v2, 0.5 -// GFX10: encoding: [0x05,0x00,0x56,0xd7,0x01,0x05,0xfe,0x03,0x00,0x38,0x00,0x00] +// GFX10: encoding: [0x05,0x00,0x56,0xd7,0x01,0x05,0xc2,0x03] v_max3_u16 v5, v1, v2, -4.0 -// GFX10: encoding: [0x05,0x00,0x56,0xd7,0x01,0x05,0xfe,0x03,0x00,0xc4,0x00,0x00] +// GFX10: encoding: [0x05,0x00,0x56,0xd7,0x01,0x05,0xde,0x03] v_max3_u16 v5, v1, v2, v3 op_sel:[0,0,0,0] // GFX10: encoding: [0x05,0x00,0x56,0xd7,0x01,0x05,0x0e,0x04] @@ -11613,10 +11613,10 @@ v_med3_i16 v5, -1, v2, v3 // GFX10: encoding: [0x05,0x00,0x58,0xd7,0xc1,0x04,0x0e,0x04] v_med3_i16 v5, 0.5, v2, v3 -// GFX10: encoding: [0x05,0x00,0x58,0xd7,0xff,0x04,0x0e,0x04,0x00,0x38,0x00,0x00] +// GFX10: encoding: [0x05,0x00,0x58,0xd7,0xf0,0x04,0x0e,0x04] v_med3_i16 v5, -4.0, v2, v3 -// GFX10: encoding: [0x05,0x00,0x58,0xd7,0xff,0x04,0x0e,0x04,0x00,0xc4,0x00,0x00] +// GFX10: encoding: [0x05,0x00,0x58,0xd7,0xf7,0x04,0x0e,0x04] v_med3_i16 v5, v1, v255, v3 // GFX10: encoding: [0x05,0x00,0x58,0xd7,0x01,0xff,0x0f,0x04] @@ -11649,10 +11649,10 @@ v_med3_i16 v5, v1, -1, v3 // GFX10: encoding: [0x05,0x00,0x58,0xd7,0x01,0x83,0x0d,0x04] v_med3_i16 v5, v1, 0.5, v3 -// GFX10: encoding: [0x05,0x00,0x58,0xd7,0x01,0xff,0x0d,0x04,0x00,0x38,0x00,0x00] +// GFX10: encoding: [0x05,0x00,0x58,0xd7,0x01,0xe1,0x0d,0x04] v_med3_i16 v5, v1, -4.0, v3 -// GFX10: encoding: [0x05,0x00,0x58,0xd7,0x01,0xff,0x0d,0x04,0x00,0xc4,0x00,0x00] +// GFX10: encoding: [0x05,0x00,0x58,0xd7,0x01,0xef,0x0d,0x04] v_med3_i16 v5, v1, v2, v255 // GFX10: encoding: [0x05,0x00,0x58,0xd7,0x01,0x05,0xfe,0x07] @@ -11685,10 +11685,10 @@ v_med3_i16 v5, v1, v2, -1 // GFX10: encoding: [0x05,0x00,0x58,0xd7,0x01,0x05,0x06,0x03] v_med3_i16 v5, v1, v2, 0.5 -// GFX10: encoding: [0x05,0x00,0x58,0xd7,0x01,0x05,0xfe,0x03,0x00,0x38,0x00,0x00] +// GFX10: encoding: [0x05,0x00,0x58,0xd7,0x01,0x05,0xc2,0x03] v_med3_i16 v5, v1, v2, -4.0 -// GFX10: encoding: [0x05,0x00,0x58,0xd7,0x01,0x05,0xfe,0x03,0x00,0xc4,0x00,0x00] +// GFX10: encoding: [0x05,0x00,0x58,0xd7,0x01,0x05,0xde,0x03] v_med3_i16 v5, v1, v2, v3 op_sel:[0,0,0,0] // GFX10: encoding: [0x05,0x00,0x58,0xd7,0x01,0x05,0x0e,0x04] @@ -11748,10 +11748,10 @@ v_med3_u16 v5, -1, v2, v3 // GFX10: encoding: [0x05,0x00,0x59,0xd7,0xc1,0x04,0x0e,0x04] v_med3_u16 v5, 0.5, v2, v3 -// GFX10: encoding: [0x05,0x00,0x59,0xd7,0xff,0x04,0x0e,0x04,0x00,0x38,0x00,0x00] +// GFX10: encoding: [0x05,0x00,0x59,0xd7,0xf0,0x04,0x0e,0x04] v_med3_u16 v5, -4.0, v2, v3 -// GFX10: encoding: [0x05,0x00,0x59,0xd7,0xff,0x04,0x0e,0x04,0x00,0xc4,0x00,0x00] +// GFX10: encoding: [0x05,0x00,0x59,0xd7,0xf7,0x04,0x0e,0x04] v_med3_u16 v5, v1, v255, v3 // GFX10: encoding: [0x05,0x00,0x59,0xd7,0x01,0xff,0x0f,0x04] @@ -11784,10 +11784,10 @@ v_med3_u16 v5, v1, -1, v3 // GFX10: encoding: [0x05,0x00,0x59,0xd7,0x01,0x83,0x0d,0x04] v_med3_u16 v5, v1, 0.5, v3 -// GFX10: encoding: [0x05,0x00,0x59,0xd7,0x01,0xff,0x0d,0x04,0x00,0x38,0x00,0x00] +// GFX10: encoding: [0x05,0x00,0x59,0xd7,0x01,0xe1,0x0d,0x04] v_med3_u16 v5, v1, -4.0, v3 -// GFX10: encoding: [0x05,0x00,0x59,0xd7,0x01,0xff,0x0d,0x04,0x00,0xc4,0x00,0x00] +// GFX10: encoding: [0x05,0x00,0x59,0xd7,0x01,0xef,0x0d,0x04] v_med3_u16 v5, v1, v2, v255 // GFX10: encoding: [0x05,0x00,0x59,0xd7,0x01,0x05,0xfe,0x07] @@ -11820,10 +11820,10 @@ v_med3_u16 v5, v1, v2, -1 // GFX10: encoding: [0x05,0x00,0x59,0xd7,0x01,0x05,0x06,0x03] v_med3_u16 v5, v1, v2, 0.5 -// GFX10: encoding: [0x05,0x00,0x59,0xd7,0x01,0x05,0xfe,0x03,0x00,0x38,0x00,0x00] +// GFX10: encoding: [0x05,0x00,0x59,0xd7,0x01,0x05,0xc2,0x03] v_med3_u16 v5, v1, v2, -4.0 -// GFX10: encoding: [0x05,0x00,0x59,0xd7,0x01,0x05,0xfe,0x03,0x00,0xc4,0x00,0x00] +// GFX10: encoding: [0x05,0x00,0x59,0xd7,0x01,0x05,0xde,0x03] v_med3_u16 v5, v1, v2, v3 op_sel:[0,0,0,0] // GFX10: encoding: [0x05,0x00,0x59,0xd7,0x01,0x05,0x0e,0x04] @@ -11868,7 +11868,7 @@ v_mad_i16 v5, v1, -1, v3 // GFX10: encoding: [0x05,0x00,0x5e,0xd7,0x01,0x83,0x0d,0x04] v_mad_i16 v5, v1, v2, -4.0 -// GFX10: encoding: [0x05,0x00,0x5e,0xd7,0x01,0x05,0xfe,0x03,0x00,0xc4,0x00,0x00] +// GFX10: encoding: [0x05,0x00,0x5e,0xd7,0x01,0x05,0xde,0x03] v_mad_i16 v5, v1, v2, v3 clamp // GFX10: encoding: [0x05,0x80,0x5e,0xd7,0x01,0x05,0x0e,0x04] @@ -12399,10 +12399,10 @@ v_mad_u32_u16 v5, -1, v2, v3 // GFX10: encoding: [0x05,0x00,0x73,0xd7,0xc1,0x04,0x0e,0x04] v_mad_u32_u16 v5, 0.5, v2, v3 -// GFX10: encoding: [0x05,0x00,0x73,0xd7,0xff,0x04,0x0e,0x04,0x00,0x38,0x00,0x00] +// GFX10: encoding: [0x05,0x00,0x73,0xd7,0xf0,0x04,0x0e,0x04] v_mad_u32_u16 v5, -4.0, v2, v3 -// GFX10: encoding: [0x05,0x00,0x73,0xd7,0xff,0x04,0x0e,0x04,0x00,0xc4,0x00,0x00] +// GFX10: encoding: [0x05,0x00,0x73,0xd7,0xf7,0x04,0x0e,0x04] v_mad_u32_u16 v5, v1, v255, v3 // GFX10: encoding: [0x05,0x00,0x73,0xd7,0x01,0xff,0x0f,0x04] @@ -12435,10 +12435,10 @@ v_mad_u32_u16 v5, v1, -1, v3 // GFX10: encoding: [0x05,0x00,0x73,0xd7,0x01,0x83,0x0d,0x04] v_mad_u32_u16 v5, v1, 0.5, v3 -// GFX10: encoding: [0x05,0x00,0x73,0xd7,0x01,0xff,0x0d,0x04,0x00,0x38,0x00,0x00] +// GFX10: encoding: [0x05,0x00,0x73,0xd7,0x01,0xe1,0x0d,0x04] v_mad_u32_u16 v5, v1, -4.0, v3 -// GFX10: encoding: [0x05,0x00,0x73,0xd7,0x01,0xff,0x0d,0x04,0x00,0xc4,0x00,0x00] +// GFX10: encoding: [0x05,0x00,0x73,0xd7,0x01,0xef,0x0d,0x04] v_mad_u32_u16 v5, v1, v2, v255 // GFX10: encoding: [0x05,0x00,0x73,0xd7,0x01,0x05,0xfe,0x07] @@ -12534,10 +12534,10 @@ v_mad_i32_i16 v5, -1, v2, v3 // GFX10: encoding: [0x05,0x00,0x75,0xd7,0xc1,0x04,0x0e,0x04] v_mad_i32_i16 v5, 0.5, v2, v3 -// GFX10: encoding: [0x05,0x00,0x75,0xd7,0xff,0x04,0x0e,0x04,0x00,0x38,0x00,0x00] +// GFX10: encoding: [0x05,0x00,0x75,0xd7,0xf0,0x04,0x0e,0x04] v_mad_i32_i16 v5, -4.0, v2, v3 -// GFX10: encoding: [0x05,0x00,0x75,0xd7,0xff,0x04,0x0e,0x04,0x00,0xc4,0x00,0x00] +// GFX10: encoding: [0x05,0x00,0x75,0xd7,0xf7,0x04,0x0e,0x04] v_mad_i32_i16 v5, v1, v255, v3 // GFX10: encoding: [0x05,0x00,0x75,0xd7,0x01,0xff,0x0f,0x04] @@ -12570,10 +12570,10 @@ v_mad_i32_i16 v5, v1, -1, v3 // GFX10: encoding: [0x05,0x00,0x75,0xd7,0x01,0x83,0x0d,0x04] v_mad_i32_i16 v5, v1, 0.5, v3 -// GFX10: encoding: [0x05,0x00,0x75,0xd7,0x01,0xff,0x0d,0x04,0x00,0x38,0x00,0x00] +// GFX10: encoding: [0x05,0x00,0x75,0xd7,0x01,0xe1,0x0d,0x04] v_mad_i32_i16 v5, v1, -4.0, v3 -// GFX10: encoding: [0x05,0x00,0x75,0xd7,0x01,0xff,0x0d,0x04,0x00,0xc4,0x00,0x00] +// GFX10: encoding: [0x05,0x00,0x75,0xd7,0x01,0xef,0x0d,0x04] v_mad_i32_i16 v5, v1, v2, v255 // GFX10: encoding: [0x05,0x00,0x75,0xd7,0x01,0x05,0xfe,0x07] diff --git a/llvm/test/MC/AMDGPU/gfx10_asm_vopc.s b/llvm/test/MC/AMDGPU/gfx10_asm_vopc.s index 52139482906932..40618d1ea52355 100644 --- a/llvm/test/MC/AMDGPU/gfx10_asm_vopc.s +++ b/llvm/test/MC/AMDGPU/gfx10_asm_vopc.s @@ -5044,11 +5044,11 @@ v_cmp_lt_i16 vcc, -1, v2 // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_lt_i16 vcc, 0.5, v2 -// W64: encoding: [0xff,0x04,0x12,0x7d,0x00,0x38,0x00,0x00] +// W64: encoding: [0xf0,0x04,0x12,0x7d] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_lt_i16 vcc, -4.0, v2 -// W64: encoding: [0xff,0x04,0x12,0x7d,0x00,0xc4,0x00,0x00] +// W64: encoding: [0xf7,0x04,0x12,0x7d] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_lt_i16 vcc, 0xfe0b, v2 @@ -5108,11 +5108,11 @@ v_cmp_eq_i16 vcc, -1, v2 // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_eq_i16 vcc, 0.5, v2 -// W64: encoding: [0xff,0x04,0x14,0x7d,0x00,0x38,0x00,0x00] +// W64: encoding: [0xf0,0x04,0x14,0x7d] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_eq_i16 vcc, -4.0, v2 -// W64: encoding: [0xff,0x04,0x14,0x7d,0x00,0xc4,0x00,0x00] +// W64: encoding: [0xf7,0x04,0x14,0x7d] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_eq_i16 vcc, 0xfe0b, v2 @@ -5172,11 +5172,11 @@ v_cmp_le_i16 vcc, -1, v2 // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_le_i16 vcc, 0.5, v2 -// W64: encoding: [0xff,0x04,0x16,0x7d,0x00,0x38,0x00,0x00] +// W64: encoding: [0xf0,0x04,0x16,0x7d] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_le_i16 vcc, -4.0, v2 -// W64: encoding: [0xff,0x04,0x16,0x7d,0x00,0xc4,0x00,0x00] +// W64: encoding: [0xf7,0x04,0x16,0x7d] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_le_i16 vcc, 0xfe0b, v2 @@ -5236,11 +5236,11 @@ v_cmp_gt_i16 vcc, -1, v2 // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_gt_i16 vcc, 0.5, v2 -// W64: encoding: [0xff,0x04,0x18,0x7d,0x00,0x38,0x00,0x00] +// W64: encoding: [0xf0,0x04,0x18,0x7d] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_gt_i16 vcc, -4.0, v2 -// W64: encoding: [0xff,0x04,0x18,0x7d,0x00,0xc4,0x00,0x00] +// W64: encoding: [0xf7,0x04,0x18,0x7d] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_gt_i16 vcc, 0xfe0b, v2 @@ -5300,11 +5300,11 @@ v_cmp_ne_i16 vcc, -1, v2 // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_ne_i16 vcc, 0.5, v2 -// W64: encoding: [0xff,0x04,0x1a,0x7d,0x00,0x38,0x00,0x00] +// W64: encoding: [0xf0,0x04,0x1a,0x7d] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_ne_i16 vcc, -4.0, v2 -// W64: encoding: [0xff,0x04,0x1a,0x7d,0x00,0xc4,0x00,0x00] +// W64: encoding: [0xf7,0x04,0x1a,0x7d] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_ne_i16 vcc, 0xfe0b, v2 @@ -5364,11 +5364,11 @@ v_cmp_ge_i16 vcc, -1, v2 // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_ge_i16 vcc, 0.5, v2 -// W64: encoding: [0xff,0x04,0x1c,0x7d,0x00,0x38,0x00,0x00] +// W64: encoding: [0xf0,0x04,0x1c,0x7d] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_ge_i16 vcc, -4.0, v2 -// W64: encoding: [0xff,0x04,0x1c,0x7d,0x00,0xc4,0x00,0x00] +// W64: encoding: [0xf7,0x04,0x1c,0x7d] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_ge_i16 vcc, 0xfe0b, v2 @@ -5428,11 +5428,11 @@ v_cmp_lt_i16 vcc_lo, -1, v2 // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_lt_i16 vcc_lo, 0.5, v2 -// W32: encoding: [0xff,0x04,0x12,0x7d,0x00,0x38,0x00,0x00] +// W32: encoding: [0xf0,0x04,0x12,0x7d] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_lt_i16 vcc_lo, -4.0, v2 -// W32: encoding: [0xff,0x04,0x12,0x7d,0x00,0xc4,0x00,0x00] +// W32: encoding: [0xf7,0x04,0x12,0x7d] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_lt_i16 vcc_lo, 0xfe0b, v2 @@ -5492,11 +5492,11 @@ v_cmp_eq_i16 vcc_lo, -1, v2 // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_eq_i16 vcc_lo, 0.5, v2 -// W32: encoding: [0xff,0x04,0x14,0x7d,0x00,0x38,0x00,0x00] +// W32: encoding: [0xf0,0x04,0x14,0x7d] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_eq_i16 vcc_lo, -4.0, v2 -// W32: encoding: [0xff,0x04,0x14,0x7d,0x00,0xc4,0x00,0x00] +// W32: encoding: [0xf7,0x04,0x14,0x7d] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_eq_i16 vcc_lo, 0xfe0b, v2 @@ -5556,11 +5556,11 @@ v_cmp_le_i16 vcc_lo, -1, v2 // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_le_i16 vcc_lo, 0.5, v2 -// W32: encoding: [0xff,0x04,0x16,0x7d,0x00,0x38,0x00,0x00] +// W32: encoding: [0xf0,0x04,0x16,0x7d] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_le_i16 vcc_lo, -4.0, v2 -// W32: encoding: [0xff,0x04,0x16,0x7d,0x00,0xc4,0x00,0x00] +// W32: encoding: [0xf7,0x04,0x16,0x7d] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_le_i16 vcc_lo, 0xfe0b, v2 @@ -5620,11 +5620,11 @@ v_cmp_gt_i16 vcc_lo, -1, v2 // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_gt_i16 vcc_lo, 0.5, v2 -// W32: encoding: [0xff,0x04,0x18,0x7d,0x00,0x38,0x00,0x00] +// W32: encoding: [0xf0,0x04,0x18,0x7d] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_gt_i16 vcc_lo, -4.0, v2 -// W32: encoding: [0xff,0x04,0x18,0x7d,0x00,0xc4,0x00,0x00] +// W32: encoding: [0xf7,0x04,0x18,0x7d] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_gt_i16 vcc_lo, 0xfe0b, v2 @@ -5684,11 +5684,11 @@ v_cmp_ne_i16 vcc_lo, -1, v2 // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_ne_i16 vcc_lo, 0.5, v2 -// W32: encoding: [0xff,0x04,0x1a,0x7d,0x00,0x38,0x00,0x00] +// W32: encoding: [0xf0,0x04,0x1a,0x7d] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_ne_i16 vcc_lo, -4.0, v2 -// W32: encoding: [0xff,0x04,0x1a,0x7d,0x00,0xc4,0x00,0x00] +// W32: encoding: [0xf7,0x04,0x1a,0x7d] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_ne_i16 vcc_lo, 0xfe0b, v2 @@ -5748,11 +5748,11 @@ v_cmp_ge_i16 vcc_lo, -1, v2 // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_ge_i16 vcc_lo, 0.5, v2 -// W32: encoding: [0xff,0x04,0x1c,0x7d,0x00,0x38,0x00,0x00] +// W32: encoding: [0xf0,0x04,0x1c,0x7d] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_ge_i16 vcc_lo, -4.0, v2 -// W32: encoding: [0xff,0x04,0x1c,0x7d,0x00,0xc4,0x00,0x00] +// W32: encoding: [0xf7,0x04,0x1c,0x7d] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_ge_i16 vcc_lo, 0xfe0b, v2 @@ -7780,11 +7780,11 @@ v_cmp_lt_u16 vcc, -1, v2 // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_lt_u16 vcc, 0.5, v2 -// W64: encoding: [0xff,0x04,0x52,0x7d,0x00,0x38,0x00,0x00] +// W64: encoding: [0xf0,0x04,0x52,0x7d] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_lt_u16 vcc, -4.0, v2 -// W64: encoding: [0xff,0x04,0x52,0x7d,0x00,0xc4,0x00,0x00] +// W64: encoding: [0xf7,0x04,0x52,0x7d] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_lt_u16 vcc, 0xfe0b, v2 @@ -7844,11 +7844,11 @@ v_cmp_eq_u16 vcc, -1, v2 // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_eq_u16 vcc, 0.5, v2 -// W64: encoding: [0xff,0x04,0x54,0x7d,0x00,0x38,0x00,0x00] +// W64: encoding: [0xf0,0x04,0x54,0x7d] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_eq_u16 vcc, -4.0, v2 -// W64: encoding: [0xff,0x04,0x54,0x7d,0x00,0xc4,0x00,0x00] +// W64: encoding: [0xf7,0x04,0x54,0x7d] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_eq_u16 vcc, 0xfe0b, v2 @@ -7908,11 +7908,11 @@ v_cmp_le_u16 vcc, -1, v2 // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_le_u16 vcc, 0.5, v2 -// W64: encoding: [0xff,0x04,0x56,0x7d,0x00,0x38,0x00,0x00] +// W64: encoding: [0xf0,0x04,0x56,0x7d] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_le_u16 vcc, -4.0, v2 -// W64: encoding: [0xff,0x04,0x56,0x7d,0x00,0xc4,0x00,0x00] +// W64: encoding: [0xf7,0x04,0x56,0x7d] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_le_u16 vcc, 0xfe0b, v2 @@ -7972,11 +7972,11 @@ v_cmp_gt_u16 vcc, -1, v2 // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_gt_u16 vcc, 0.5, v2 -// W64: encoding: [0xff,0x04,0x58,0x7d,0x00,0x38,0x00,0x00] +// W64: encoding: [0xf0,0x04,0x58,0x7d] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_gt_u16 vcc, -4.0, v2 -// W64: encoding: [0xff,0x04,0x58,0x7d,0x00,0xc4,0x00,0x00] +// W64: encoding: [0xf7,0x04,0x58,0x7d] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_gt_u16 vcc, 0xfe0b, v2 @@ -8036,11 +8036,11 @@ v_cmp_ne_u16 vcc, -1, v2 // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_ne_u16 vcc, 0.5, v2 -// W64: encoding: [0xff,0x04,0x5a,0x7d,0x00,0x38,0x00,0x00] +// W64: encoding: [0xf0,0x04,0x5a,0x7d] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_ne_u16 vcc, -4.0, v2 -// W64: encoding: [0xff,0x04,0x5a,0x7d,0x00,0xc4,0x00,0x00] +// W64: encoding: [0xf7,0x04,0x5a,0x7d] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_ne_u16 vcc, 0xfe0b, v2 @@ -8100,11 +8100,11 @@ v_cmp_ge_u16 vcc, -1, v2 // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_ge_u16 vcc, 0.5, v2 -// W64: encoding: [0xff,0x04,0x5c,0x7d,0x00,0x38,0x00,0x00] +// W64: encoding: [0xf0,0x04,0x5c,0x7d] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_ge_u16 vcc, -4.0, v2 -// W64: encoding: [0xff,0x04,0x5c,0x7d,0x00,0xc4,0x00,0x00] +// W64: encoding: [0xf7,0x04,0x5c,0x7d] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_ge_u16 vcc, 0xfe0b, v2 @@ -9700,11 +9700,11 @@ v_cmp_lt_u16 vcc_lo, -1, v2 // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_lt_u16 vcc_lo, 0.5, v2 -// W32: encoding: [0xff,0x04,0x52,0x7d,0x00,0x38,0x00,0x00] +// W32: encoding: [0xf0,0x04,0x52,0x7d] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_lt_u16 vcc_lo, -4.0, v2 -// W32: encoding: [0xff,0x04,0x52,0x7d,0x00,0xc4,0x00,0x00] +// W32: encoding: [0xf7,0x04,0x52,0x7d] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_lt_u16 vcc_lo, 0xfe0b, v2 @@ -9764,11 +9764,11 @@ v_cmp_eq_u16 vcc_lo, -1, v2 // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_eq_u16 vcc_lo, 0.5, v2 -// W32: encoding: [0xff,0x04,0x54,0x7d,0x00,0x38,0x00,0x00] +// W32: encoding: [0xf0,0x04,0x54,0x7d] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_eq_u16 vcc_lo, -4.0, v2 -// W32: encoding: [0xff,0x04,0x54,0x7d,0x00,0xc4,0x00,0x00] +// W32: encoding: [0xf7,0x04,0x54,0x7d] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_eq_u16 vcc_lo, 0xfe0b, v2 @@ -9828,11 +9828,11 @@ v_cmp_le_u16 vcc_lo, -1, v2 // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_le_u16 vcc_lo, 0.5, v2 -// W32: encoding: [0xff,0x04,0x56,0x7d,0x00,0x38,0x00,0x00] +// W32: encoding: [0xf0,0x04,0x56,0x7d] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_le_u16 vcc_lo, -4.0, v2 -// W32: encoding: [0xff,0x04,0x56,0x7d,0x00,0xc4,0x00,0x00] +// W32: encoding: [0xf7,0x04,0x56,0x7d] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_le_u16 vcc_lo, 0xfe0b, v2 @@ -9892,11 +9892,11 @@ v_cmp_gt_u16 vcc_lo, -1, v2 // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_gt_u16 vcc_lo, 0.5, v2 -// W32: encoding: [0xff,0x04,0x58,0x7d,0x00,0x38,0x00,0x00] +// W32: encoding: [0xf0,0x04,0x58,0x7d] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_gt_u16 vcc_lo, -4.0, v2 -// W32: encoding: [0xff,0x04,0x58,0x7d,0x00,0xc4,0x00,0x00] +// W32: encoding: [0xf7,0x04,0x58,0x7d] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_gt_u16 vcc_lo, 0xfe0b, v2 @@ -9956,11 +9956,11 @@ v_cmp_ne_u16 vcc_lo, -1, v2 // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_ne_u16 vcc_lo, 0.5, v2 -// W32: encoding: [0xff,0x04,0x5a,0x7d,0x00,0x38,0x00,0x00] +// W32: encoding: [0xf0,0x04,0x5a,0x7d] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_ne_u16 vcc_lo, -4.0, v2 -// W32: encoding: [0xff,0x04,0x5a,0x7d,0x00,0xc4,0x00,0x00] +// W32: encoding: [0xf7,0x04,0x5a,0x7d] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_ne_u16 vcc_lo, 0xfe0b, v2 @@ -10020,11 +10020,11 @@ v_cmp_ge_u16 vcc_lo, -1, v2 // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_ge_u16 vcc_lo, 0.5, v2 -// W32: encoding: [0xff,0x04,0x5c,0x7d,0x00,0x38,0x00,0x00] +// W32: encoding: [0xf0,0x04,0x5c,0x7d] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_ge_u16 vcc_lo, -4.0, v2 -// W32: encoding: [0xff,0x04,0x5c,0x7d,0x00,0xc4,0x00,0x00] +// W32: encoding: [0xf7,0x04,0x5c,0x7d] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_ge_u16 vcc_lo, 0xfe0b, v2 diff --git a/llvm/test/MC/AMDGPU/gfx10_asm_vopc_e64.s b/llvm/test/MC/AMDGPU/gfx10_asm_vopc_e64.s index fc8fe95a9cf2d1..669e79cdab10a6 100644 --- a/llvm/test/MC/AMDGPU/gfx10_asm_vopc_e64.s +++ b/llvm/test/MC/AMDGPU/gfx10_asm_vopc_e64.s @@ -9768,11 +9768,11 @@ v_cmp_lt_i16_e64 s[10:11], -1, v2 // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_lt_i16_e64 s[10:11], 0.5, v2 -// W64: encoding: [0x0a,0x00,0x89,0xd4,0xff,0x04,0x02,0x00,0x00,0x38,0x00,0x00] +// W64: encoding: [0x0a,0x00,0x89,0xd4,0xf0,0x04,0x02,0x00] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_lt_i16_e64 s[10:11], -4.0, v2 -// W64: encoding: [0x0a,0x00,0x89,0xd4,0xff,0x04,0x02,0x00,0x00,0xc4,0x00,0x00] +// W64: encoding: [0x0a,0x00,0x89,0xd4,0xf7,0x04,0x02,0x00] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_lt_i16_e64 s[10:11], v1, v255 @@ -9816,11 +9816,11 @@ v_cmp_lt_i16_e64 s[10:11], v1, -1 // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_lt_i16_e64 s[10:11], v1, 0.5 -// W64: encoding: [0x0a,0x00,0x89,0xd4,0x01,0xff,0x01,0x00,0x00,0x38,0x00,0x00] +// W64: encoding: [0x0a,0x00,0x89,0xd4,0x01,0xe1,0x01,0x00] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_lt_i16_e64 s[10:11], v1, -4.0 -// W64: encoding: [0x0a,0x00,0x89,0xd4,0x01,0xff,0x01,0x00,0x00,0xc4,0x00,0x00] +// W64: encoding: [0x0a,0x00,0x89,0xd4,0x01,0xef,0x01,0x00] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_eq_i16_e64 s[10:11], v1, v2 @@ -9880,11 +9880,11 @@ v_cmp_eq_i16_e64 s[10:11], -1, v2 // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_eq_i16_e64 s[10:11], 0.5, v2 -// W64: encoding: [0x0a,0x00,0x8a,0xd4,0xff,0x04,0x02,0x00,0x00,0x38,0x00,0x00] +// W64: encoding: [0x0a,0x00,0x8a,0xd4,0xf0,0x04,0x02,0x00] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_eq_i16_e64 s[10:11], -4.0, v2 -// W64: encoding: [0x0a,0x00,0x8a,0xd4,0xff,0x04,0x02,0x00,0x00,0xc4,0x00,0x00] +// W64: encoding: [0x0a,0x00,0x8a,0xd4,0xf7,0x04,0x02,0x00] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_eq_i16_e64 s[10:11], v1, v255 @@ -9928,11 +9928,11 @@ v_cmp_eq_i16_e64 s[10:11], v1, -1 // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_eq_i16_e64 s[10:11], v1, 0.5 -// W64: encoding: [0x0a,0x00,0x8a,0xd4,0x01,0xff,0x01,0x00,0x00,0x38,0x00,0x00] +// W64: encoding: [0x0a,0x00,0x8a,0xd4,0x01,0xe1,0x01,0x00] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_eq_i16_e64 s[10:11], v1, -4.0 -// W64: encoding: [0x0a,0x00,0x8a,0xd4,0x01,0xff,0x01,0x00,0x00,0xc4,0x00,0x00] +// W64: encoding: [0x0a,0x00,0x8a,0xd4,0x01,0xef,0x01,0x00] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_le_i16_e64 s[10:11], v1, v2 @@ -9992,11 +9992,11 @@ v_cmp_le_i16_e64 s[10:11], -1, v2 // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_le_i16_e64 s[10:11], 0.5, v2 -// W64: encoding: [0x0a,0x00,0x8b,0xd4,0xff,0x04,0x02,0x00,0x00,0x38,0x00,0x00] +// W64: encoding: [0x0a,0x00,0x8b,0xd4,0xf0,0x04,0x02,0x00] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_le_i16_e64 s[10:11], -4.0, v2 -// W64: encoding: [0x0a,0x00,0x8b,0xd4,0xff,0x04,0x02,0x00,0x00,0xc4,0x00,0x00] +// W64: encoding: [0x0a,0x00,0x8b,0xd4,0xf7,0x04,0x02,0x00] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_le_i16_e64 s[10:11], v1, v255 @@ -10040,11 +10040,11 @@ v_cmp_le_i16_e64 s[10:11], v1, -1 // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_le_i16_e64 s[10:11], v1, 0.5 -// W64: encoding: [0x0a,0x00,0x8b,0xd4,0x01,0xff,0x01,0x00,0x00,0x38,0x00,0x00] +// W64: encoding: [0x0a,0x00,0x8b,0xd4,0x01,0xe1,0x01,0x00] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_le_i16_e64 s[10:11], v1, -4.0 -// W64: encoding: [0x0a,0x00,0x8b,0xd4,0x01,0xff,0x01,0x00,0x00,0xc4,0x00,0x00] +// W64: encoding: [0x0a,0x00,0x8b,0xd4,0x01,0xef,0x01,0x00] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_gt_i16_e64 s[10:11], v1, v2 @@ -10104,11 +10104,11 @@ v_cmp_gt_i16_e64 s[10:11], -1, v2 // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_gt_i16_e64 s[10:11], 0.5, v2 -// W64: encoding: [0x0a,0x00,0x8c,0xd4,0xff,0x04,0x02,0x00,0x00,0x38,0x00,0x00] +// W64: encoding: [0x0a,0x00,0x8c,0xd4,0xf0,0x04,0x02,0x00] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_gt_i16_e64 s[10:11], -4.0, v2 -// W64: encoding: [0x0a,0x00,0x8c,0xd4,0xff,0x04,0x02,0x00,0x00,0xc4,0x00,0x00] +// W64: encoding: [0x0a,0x00,0x8c,0xd4,0xf7,0x04,0x02,0x00] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_gt_i16_e64 s[10:11], v1, v255 @@ -10152,11 +10152,11 @@ v_cmp_gt_i16_e64 s[10:11], v1, -1 // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_gt_i16_e64 s[10:11], v1, 0.5 -// W64: encoding: [0x0a,0x00,0x8c,0xd4,0x01,0xff,0x01,0x00,0x00,0x38,0x00,0x00] +// W64: encoding: [0x0a,0x00,0x8c,0xd4,0x01,0xe1,0x01,0x00] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_gt_i16_e64 s[10:11], v1, -4.0 -// W64: encoding: [0x0a,0x00,0x8c,0xd4,0x01,0xff,0x01,0x00,0x00,0xc4,0x00,0x00] +// W64: encoding: [0x0a,0x00,0x8c,0xd4,0x01,0xef,0x01,0x00] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_ne_i16_e64 s[10:11], v1, v2 @@ -10216,11 +10216,11 @@ v_cmp_ne_i16_e64 s[10:11], -1, v2 // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_ne_i16_e64 s[10:11], 0.5, v2 -// W64: encoding: [0x0a,0x00,0x8d,0xd4,0xff,0x04,0x02,0x00,0x00,0x38,0x00,0x00] +// W64: encoding: [0x0a,0x00,0x8d,0xd4,0xf0,0x04,0x02,0x00] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_ne_i16_e64 s[10:11], -4.0, v2 -// W64: encoding: [0x0a,0x00,0x8d,0xd4,0xff,0x04,0x02,0x00,0x00,0xc4,0x00,0x00] +// W64: encoding: [0x0a,0x00,0x8d,0xd4,0xf7,0x04,0x02,0x00] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_ne_i16_e64 s[10:11], v1, v255 @@ -10264,11 +10264,11 @@ v_cmp_ne_i16_e64 s[10:11], v1, -1 // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_ne_i16_e64 s[10:11], v1, 0.5 -// W64: encoding: [0x0a,0x00,0x8d,0xd4,0x01,0xff,0x01,0x00,0x00,0x38,0x00,0x00] +// W64: encoding: [0x0a,0x00,0x8d,0xd4,0x01,0xe1,0x01,0x00] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_ne_i16_e64 s[10:11], v1, -4.0 -// W64: encoding: [0x0a,0x00,0x8d,0xd4,0x01,0xff,0x01,0x00,0x00,0xc4,0x00,0x00] +// W64: encoding: [0x0a,0x00,0x8d,0xd4,0x01,0xef,0x01,0x00] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_ge_i16_e64 s[10:11], v1, v2 @@ -10328,11 +10328,11 @@ v_cmp_ge_i16_e64 s[10:11], -1, v2 // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_ge_i16_e64 s[10:11], 0.5, v2 -// W64: encoding: [0x0a,0x00,0x8e,0xd4,0xff,0x04,0x02,0x00,0x00,0x38,0x00,0x00] +// W64: encoding: [0x0a,0x00,0x8e,0xd4,0xf0,0x04,0x02,0x00] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_ge_i16_e64 s[10:11], -4.0, v2 -// W64: encoding: [0x0a,0x00,0x8e,0xd4,0xff,0x04,0x02,0x00,0x00,0xc4,0x00,0x00] +// W64: encoding: [0x0a,0x00,0x8e,0xd4,0xf7,0x04,0x02,0x00] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_ge_i16_e64 s[10:11], v1, v255 @@ -10376,11 +10376,11 @@ v_cmp_ge_i16_e64 s[10:11], v1, -1 // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_ge_i16_e64 s[10:11], v1, 0.5 -// W64: encoding: [0x0a,0x00,0x8e,0xd4,0x01,0xff,0x01,0x00,0x00,0x38,0x00,0x00] +// W64: encoding: [0x0a,0x00,0x8e,0xd4,0x01,0xe1,0x01,0x00] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_ge_i16_e64 s[10:11], v1, -4.0 -// W64: encoding: [0x0a,0x00,0x8e,0xd4,0x01,0xff,0x01,0x00,0x00,0xc4,0x00,0x00] +// W64: encoding: [0x0a,0x00,0x8e,0xd4,0x01,0xef,0x01,0x00] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_lt_i16_e64 s10, v1, v2 @@ -10440,11 +10440,11 @@ v_cmp_lt_i16_e64 s10, -1, v2 // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_lt_i16_e64 s10, 0.5, v2 -// W32: encoding: [0x0a,0x00,0x89,0xd4,0xff,0x04,0x02,0x00,0x00,0x38,0x00,0x00] +// W32: encoding: [0x0a,0x00,0x89,0xd4,0xf0,0x04,0x02,0x00] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_lt_i16_e64 s10, -4.0, v2 -// W32: encoding: [0x0a,0x00,0x89,0xd4,0xff,0x04,0x02,0x00,0x00,0xc4,0x00,0x00] +// W32: encoding: [0x0a,0x00,0x89,0xd4,0xf7,0x04,0x02,0x00] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_lt_i16_e64 s10, v1, v255 @@ -10488,11 +10488,11 @@ v_cmp_lt_i16_e64 s10, v1, -1 // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_lt_i16_e64 s10, v1, 0.5 -// W32: encoding: [0x0a,0x00,0x89,0xd4,0x01,0xff,0x01,0x00,0x00,0x38,0x00,0x00] +// W32: encoding: [0x0a,0x00,0x89,0xd4,0x01,0xe1,0x01,0x00] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_lt_i16_e64 s10, v1, -4.0 -// W32: encoding: [0x0a,0x00,0x89,0xd4,0x01,0xff,0x01,0x00,0x00,0xc4,0x00,0x00] +// W32: encoding: [0x0a,0x00,0x89,0xd4,0x01,0xef,0x01,0x00] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_eq_i16_e64 s10, v1, v2 @@ -10552,11 +10552,11 @@ v_cmp_eq_i16_e64 s10, -1, v2 // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_eq_i16_e64 s10, 0.5, v2 -// W32: encoding: [0x0a,0x00,0x8a,0xd4,0xff,0x04,0x02,0x00,0x00,0x38,0x00,0x00] +// W32: encoding: [0x0a,0x00,0x8a,0xd4,0xf0,0x04,0x02,0x00] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_eq_i16_e64 s10, -4.0, v2 -// W32: encoding: [0x0a,0x00,0x8a,0xd4,0xff,0x04,0x02,0x00,0x00,0xc4,0x00,0x00] +// W32: encoding: [0x0a,0x00,0x8a,0xd4,0xf7,0x04,0x02,0x00] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_eq_i16_e64 s10, v1, v255 @@ -10600,11 +10600,11 @@ v_cmp_eq_i16_e64 s10, v1, -1 // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_eq_i16_e64 s10, v1, 0.5 -// W32: encoding: [0x0a,0x00,0x8a,0xd4,0x01,0xff,0x01,0x00,0x00,0x38,0x00,0x00] +// W32: encoding: [0x0a,0x00,0x8a,0xd4,0x01,0xe1,0x01,0x00] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_eq_i16_e64 s10, v1, -4.0 -// W32: encoding: [0x0a,0x00,0x8a,0xd4,0x01,0xff,0x01,0x00,0x00,0xc4,0x00,0x00] +// W32: encoding: [0x0a,0x00,0x8a,0xd4,0x01,0xef,0x01,0x00] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_le_i16_e64 s10, v1, v2 @@ -10664,11 +10664,11 @@ v_cmp_le_i16_e64 s10, -1, v2 // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_le_i16_e64 s10, 0.5, v2 -// W32: encoding: [0x0a,0x00,0x8b,0xd4,0xff,0x04,0x02,0x00,0x00,0x38,0x00,0x00] +// W32: encoding: [0x0a,0x00,0x8b,0xd4,0xf0,0x04,0x02,0x00] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_le_i16_e64 s10, -4.0, v2 -// W32: encoding: [0x0a,0x00,0x8b,0xd4,0xff,0x04,0x02,0x00,0x00,0xc4,0x00,0x00] +// W32: encoding: [0x0a,0x00,0x8b,0xd4,0xf7,0x04,0x02,0x00] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_le_i16_e64 s10, v1, v255 @@ -10712,11 +10712,11 @@ v_cmp_le_i16_e64 s10, v1, -1 // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_le_i16_e64 s10, v1, 0.5 -// W32: encoding: [0x0a,0x00,0x8b,0xd4,0x01,0xff,0x01,0x00,0x00,0x38,0x00,0x00] +// W32: encoding: [0x0a,0x00,0x8b,0xd4,0x01,0xe1,0x01,0x00] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_le_i16_e64 s10, v1, -4.0 -// W32: encoding: [0x0a,0x00,0x8b,0xd4,0x01,0xff,0x01,0x00,0x00,0xc4,0x00,0x00] +// W32: encoding: [0x0a,0x00,0x8b,0xd4,0x01,0xef,0x01,0x00] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_gt_i16_e64 s10, v1, v2 @@ -10776,11 +10776,11 @@ v_cmp_gt_i16_e64 s10, -1, v2 // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_gt_i16_e64 s10, 0.5, v2 -// W32: encoding: [0x0a,0x00,0x8c,0xd4,0xff,0x04,0x02,0x00,0x00,0x38,0x00,0x00] +// W32: encoding: [0x0a,0x00,0x8c,0xd4,0xf0,0x04,0x02,0x00] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_gt_i16_e64 s10, -4.0, v2 -// W32: encoding: [0x0a,0x00,0x8c,0xd4,0xff,0x04,0x02,0x00,0x00,0xc4,0x00,0x00] +// W32: encoding: [0x0a,0x00,0x8c,0xd4,0xf7,0x04,0x02,0x00] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_gt_i16_e64 s10, v1, v255 @@ -10824,11 +10824,11 @@ v_cmp_gt_i16_e64 s10, v1, -1 // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_gt_i16_e64 s10, v1, 0.5 -// W32: encoding: [0x0a,0x00,0x8c,0xd4,0x01,0xff,0x01,0x00,0x00,0x38,0x00,0x00] +// W32: encoding: [0x0a,0x00,0x8c,0xd4,0x01,0xe1,0x01,0x00] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_gt_i16_e64 s10, v1, -4.0 -// W32: encoding: [0x0a,0x00,0x8c,0xd4,0x01,0xff,0x01,0x00,0x00,0xc4,0x00,0x00] +// W32: encoding: [0x0a,0x00,0x8c,0xd4,0x01,0xef,0x01,0x00] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_ne_i16_e64 s10, v1, v2 @@ -10888,11 +10888,11 @@ v_cmp_ne_i16_e64 s10, -1, v2 // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_ne_i16_e64 s10, 0.5, v2 -// W32: encoding: [0x0a,0x00,0x8d,0xd4,0xff,0x04,0x02,0x00,0x00,0x38,0x00,0x00] +// W32: encoding: [0x0a,0x00,0x8d,0xd4,0xf0,0x04,0x02,0x00] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_ne_i16_e64 s10, -4.0, v2 -// W32: encoding: [0x0a,0x00,0x8d,0xd4,0xff,0x04,0x02,0x00,0x00,0xc4,0x00,0x00] +// W32: encoding: [0x0a,0x00,0x8d,0xd4,0xf7,0x04,0x02,0x00] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_ne_i16_e64 s10, v1, v255 @@ -10936,11 +10936,11 @@ v_cmp_ne_i16_e64 s10, v1, -1 // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_ne_i16_e64 s10, v1, 0.5 -// W32: encoding: [0x0a,0x00,0x8d,0xd4,0x01,0xff,0x01,0x00,0x00,0x38,0x00,0x00] +// W32: encoding: [0x0a,0x00,0x8d,0xd4,0x01,0xe1,0x01,0x00] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_ne_i16_e64 s10, v1, -4.0 -// W32: encoding: [0x0a,0x00,0x8d,0xd4,0x01,0xff,0x01,0x00,0x00,0xc4,0x00,0x00] +// W32: encoding: [0x0a,0x00,0x8d,0xd4,0x01,0xef,0x01,0x00] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_ge_i16_e64 s10, v1, v2 @@ -11000,11 +11000,11 @@ v_cmp_ge_i16_e64 s10, -1, v2 // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_ge_i16_e64 s10, 0.5, v2 -// W32: encoding: [0x0a,0x00,0x8e,0xd4,0xff,0x04,0x02,0x00,0x00,0x38,0x00,0x00] +// W32: encoding: [0x0a,0x00,0x8e,0xd4,0xf0,0x04,0x02,0x00] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_ge_i16_e64 s10, -4.0, v2 -// W32: encoding: [0x0a,0x00,0x8e,0xd4,0xff,0x04,0x02,0x00,0x00,0xc4,0x00,0x00] +// W32: encoding: [0x0a,0x00,0x8e,0xd4,0xf7,0x04,0x02,0x00] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_ge_i16_e64 s10, v1, v255 @@ -11048,11 +11048,11 @@ v_cmp_ge_i16_e64 s10, v1, -1 // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_ge_i16_e64 s10, v1, 0.5 -// W32: encoding: [0x0a,0x00,0x8e,0xd4,0x01,0xff,0x01,0x00,0x00,0x38,0x00,0x00] +// W32: encoding: [0x0a,0x00,0x8e,0xd4,0x01,0xe1,0x01,0x00] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_ge_i16_e64 s10, v1, -4.0 -// W32: encoding: [0x0a,0x00,0x8e,0xd4,0x01,0xff,0x01,0x00,0x00,0xc4,0x00,0x00] +// W32: encoding: [0x0a,0x00,0x8e,0xd4,0x01,0xef,0x01,0x00] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_class_f16_e64 s[10:11], v1, v2 @@ -14516,11 +14516,11 @@ v_cmp_lt_u16_e64 s[10:11], -1, v2 // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_lt_u16_e64 s[10:11], 0.5, v2 -// W64: encoding: [0x0a,0x00,0xa9,0xd4,0xff,0x04,0x02,0x00,0x00,0x38,0x00,0x00] +// W64: encoding: [0x0a,0x00,0xa9,0xd4,0xf0,0x04,0x02,0x00] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_lt_u16_e64 s[10:11], -4.0, v2 -// W64: encoding: [0x0a,0x00,0xa9,0xd4,0xff,0x04,0x02,0x00,0x00,0xc4,0x00,0x00] +// W64: encoding: [0x0a,0x00,0xa9,0xd4,0xf7,0x04,0x02,0x00] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_lt_u16_e64 s[10:11], v1, v255 @@ -14564,11 +14564,11 @@ v_cmp_lt_u16_e64 s[10:11], v1, -1 // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_lt_u16_e64 s[10:11], v1, 0.5 -// W64: encoding: [0x0a,0x00,0xa9,0xd4,0x01,0xff,0x01,0x00,0x00,0x38,0x00,0x00] +// W64: encoding: [0x0a,0x00,0xa9,0xd4,0x01,0xe1,0x01,0x00] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_lt_u16_e64 s[10:11], v1, -4.0 -// W64: encoding: [0x0a,0x00,0xa9,0xd4,0x01,0xff,0x01,0x00,0x00,0xc4,0x00,0x00] +// W64: encoding: [0x0a,0x00,0xa9,0xd4,0x01,0xef,0x01,0x00] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_eq_u16_e64 s[10:11], v1, v2 @@ -14628,11 +14628,11 @@ v_cmp_eq_u16_e64 s[10:11], -1, v2 // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_eq_u16_e64 s[10:11], 0.5, v2 -// W64: encoding: [0x0a,0x00,0xaa,0xd4,0xff,0x04,0x02,0x00,0x00,0x38,0x00,0x00] +// W64: encoding: [0x0a,0x00,0xaa,0xd4,0xf0,0x04,0x02,0x00] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_eq_u16_e64 s[10:11], -4.0, v2 -// W64: encoding: [0x0a,0x00,0xaa,0xd4,0xff,0x04,0x02,0x00,0x00,0xc4,0x00,0x00] +// W64: encoding: [0x0a,0x00,0xaa,0xd4,0xf7,0x04,0x02,0x00] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_eq_u16_e64 s[10:11], v1, v255 @@ -14676,11 +14676,11 @@ v_cmp_eq_u16_e64 s[10:11], v1, -1 // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_eq_u16_e64 s[10:11], v1, 0.5 -// W64: encoding: [0x0a,0x00,0xaa,0xd4,0x01,0xff,0x01,0x00,0x00,0x38,0x00,0x00] +// W64: encoding: [0x0a,0x00,0xaa,0xd4,0x01,0xe1,0x01,0x00] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_eq_u16_e64 s[10:11], v1, -4.0 -// W64: encoding: [0x0a,0x00,0xaa,0xd4,0x01,0xff,0x01,0x00,0x00,0xc4,0x00,0x00] +// W64: encoding: [0x0a,0x00,0xaa,0xd4,0x01,0xef,0x01,0x00] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_le_u16_e64 s[10:11], v1, v2 @@ -14740,11 +14740,11 @@ v_cmp_le_u16_e64 s[10:11], -1, v2 // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_le_u16_e64 s[10:11], 0.5, v2 -// W64: encoding: [0x0a,0x00,0xab,0xd4,0xff,0x04,0x02,0x00,0x00,0x38,0x00,0x00] +// W64: encoding: [0x0a,0x00,0xab,0xd4,0xf0,0x04,0x02,0x00] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_le_u16_e64 s[10:11], -4.0, v2 -// W64: encoding: [0x0a,0x00,0xab,0xd4,0xff,0x04,0x02,0x00,0x00,0xc4,0x00,0x00] +// W64: encoding: [0x0a,0x00,0xab,0xd4,0xf7,0x04,0x02,0x00] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_le_u16_e64 s[10:11], v1, v255 @@ -14788,11 +14788,11 @@ v_cmp_le_u16_e64 s[10:11], v1, -1 // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_le_u16_e64 s[10:11], v1, 0.5 -// W64: encoding: [0x0a,0x00,0xab,0xd4,0x01,0xff,0x01,0x00,0x00,0x38,0x00,0x00] +// W64: encoding: [0x0a,0x00,0xab,0xd4,0x01,0xe1,0x01,0x00] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_le_u16_e64 s[10:11], v1, -4.0 -// W64: encoding: [0x0a,0x00,0xab,0xd4,0x01,0xff,0x01,0x00,0x00,0xc4,0x00,0x00] +// W64: encoding: [0x0a,0x00,0xab,0xd4,0x01,0xef,0x01,0x00] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_gt_u16_e64 s[10:11], v1, v2 @@ -14852,11 +14852,11 @@ v_cmp_gt_u16_e64 s[10:11], -1, v2 // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_gt_u16_e64 s[10:11], 0.5, v2 -// W64: encoding: [0x0a,0x00,0xac,0xd4,0xff,0x04,0x02,0x00,0x00,0x38,0x00,0x00] +// W64: encoding: [0x0a,0x00,0xac,0xd4,0xf0,0x04,0x02,0x00] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_gt_u16_e64 s[10:11], -4.0, v2 -// W64: encoding: [0x0a,0x00,0xac,0xd4,0xff,0x04,0x02,0x00,0x00,0xc4,0x00,0x00] +// W64: encoding: [0x0a,0x00,0xac,0xd4,0xf7,0x04,0x02,0x00] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_gt_u16_e64 s[10:11], v1, v255 @@ -14900,11 +14900,11 @@ v_cmp_gt_u16_e64 s[10:11], v1, -1 // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_gt_u16_e64 s[10:11], v1, 0.5 -// W64: encoding: [0x0a,0x00,0xac,0xd4,0x01,0xff,0x01,0x00,0x00,0x38,0x00,0x00] +// W64: encoding: [0x0a,0x00,0xac,0xd4,0x01,0xe1,0x01,0x00] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_gt_u16_e64 s[10:11], v1, -4.0 -// W64: encoding: [0x0a,0x00,0xac,0xd4,0x01,0xff,0x01,0x00,0x00,0xc4,0x00,0x00] +// W64: encoding: [0x0a,0x00,0xac,0xd4,0x01,0xef,0x01,0x00] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_ne_u16_e64 s[10:11], v1, v2 @@ -14964,11 +14964,11 @@ v_cmp_ne_u16_e64 s[10:11], -1, v2 // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_ne_u16_e64 s[10:11], 0.5, v2 -// W64: encoding: [0x0a,0x00,0xad,0xd4,0xff,0x04,0x02,0x00,0x00,0x38,0x00,0x00] +// W64: encoding: [0x0a,0x00,0xad,0xd4,0xf0,0x04,0x02,0x00] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_ne_u16_e64 s[10:11], -4.0, v2 -// W64: encoding: [0x0a,0x00,0xad,0xd4,0xff,0x04,0x02,0x00,0x00,0xc4,0x00,0x00] +// W64: encoding: [0x0a,0x00,0xad,0xd4,0xf7,0x04,0x02,0x00] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_ne_u16_e64 s[10:11], v1, v255 @@ -15012,11 +15012,11 @@ v_cmp_ne_u16_e64 s[10:11], v1, -1 // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_ne_u16_e64 s[10:11], v1, 0.5 -// W64: encoding: [0x0a,0x00,0xad,0xd4,0x01,0xff,0x01,0x00,0x00,0x38,0x00,0x00] +// W64: encoding: [0x0a,0x00,0xad,0xd4,0x01,0xe1,0x01,0x00] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_ne_u16_e64 s[10:11], v1, -4.0 -// W64: encoding: [0x0a,0x00,0xad,0xd4,0x01,0xff,0x01,0x00,0x00,0xc4,0x00,0x00] +// W64: encoding: [0x0a,0x00,0xad,0xd4,0x01,0xef,0x01,0x00] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_ge_u16_e64 s[10:11], v1, v2 @@ -15076,11 +15076,11 @@ v_cmp_ge_u16_e64 s[10:11], -1, v2 // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_ge_u16_e64 s[10:11], 0.5, v2 -// W64: encoding: [0x0a,0x00,0xae,0xd4,0xff,0x04,0x02,0x00,0x00,0x38,0x00,0x00] +// W64: encoding: [0x0a,0x00,0xae,0xd4,0xf0,0x04,0x02,0x00] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_ge_u16_e64 s[10:11], -4.0, v2 -// W64: encoding: [0x0a,0x00,0xae,0xd4,0xff,0x04,0x02,0x00,0x00,0xc4,0x00,0x00] +// W64: encoding: [0x0a,0x00,0xae,0xd4,0xf7,0x04,0x02,0x00] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_ge_u16_e64 s[10:11], v1, v255 @@ -15124,11 +15124,11 @@ v_cmp_ge_u16_e64 s[10:11], v1, -1 // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_ge_u16_e64 s[10:11], v1, 0.5 -// W64: encoding: [0x0a,0x00,0xae,0xd4,0x01,0xff,0x01,0x00,0x00,0x38,0x00,0x00] +// W64: encoding: [0x0a,0x00,0xae,0xd4,0x01,0xe1,0x01,0x00] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_ge_u16_e64 s[10:11], v1, -4.0 -// W64: encoding: [0x0a,0x00,0xae,0xd4,0x01,0xff,0x01,0x00,0x00,0xc4,0x00,0x00] +// W64: encoding: [0x0a,0x00,0xae,0xd4,0x01,0xef,0x01,0x00] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_f_u32_e64 s[10:11], v1, v2 @@ -18132,11 +18132,11 @@ v_cmp_lt_u16_e64 s10, -1, v2 // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_lt_u16_e64 s10, 0.5, v2 -// W32: encoding: [0x0a,0x00,0xa9,0xd4,0xff,0x04,0x02,0x00,0x00,0x38,0x00,0x00] +// W32: encoding: [0x0a,0x00,0xa9,0xd4,0xf0,0x04,0x02,0x00] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_lt_u16_e64 s10, -4.0, v2 -// W32: encoding: [0x0a,0x00,0xa9,0xd4,0xff,0x04,0x02,0x00,0x00,0xc4,0x00,0x00] +// W32: encoding: [0x0a,0x00,0xa9,0xd4,0xf7,0x04,0x02,0x00] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_lt_u16_e64 s10, v1, v255 @@ -18180,11 +18180,11 @@ v_cmp_lt_u16_e64 s10, v1, -1 // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_lt_u16_e64 s10, v1, 0.5 -// W32: encoding: [0x0a,0x00,0xa9,0xd4,0x01,0xff,0x01,0x00,0x00,0x38,0x00,0x00] +// W32: encoding: [0x0a,0x00,0xa9,0xd4,0x01,0xe1,0x01,0x00] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_lt_u16_e64 s10, v1, -4.0 -// W32: encoding: [0x0a,0x00,0xa9,0xd4,0x01,0xff,0x01,0x00,0x00,0xc4,0x00,0x00] +// W32: encoding: [0x0a,0x00,0xa9,0xd4,0x01,0xef,0x01,0x00] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_eq_u16_e64 s10, v1, v2 @@ -18244,11 +18244,11 @@ v_cmp_eq_u16_e64 s10, -1, v2 // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_eq_u16_e64 s10, 0.5, v2 -// W32: encoding: [0x0a,0x00,0xaa,0xd4,0xff,0x04,0x02,0x00,0x00,0x38,0x00,0x00] +// W32: encoding: [0x0a,0x00,0xaa,0xd4,0xf0,0x04,0x02,0x00] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_eq_u16_e64 s10, -4.0, v2 -// W32: encoding: [0x0a,0x00,0xaa,0xd4,0xff,0x04,0x02,0x00,0x00,0xc4,0x00,0x00] +// W32: encoding: [0x0a,0x00,0xaa,0xd4,0xf7,0x04,0x02,0x00] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_eq_u16_e64 s10, v1, v255 @@ -18292,11 +18292,11 @@ v_cmp_eq_u16_e64 s10, v1, -1 // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_eq_u16_e64 s10, v1, 0.5 -// W32: encoding: [0x0a,0x00,0xaa,0xd4,0x01,0xff,0x01,0x00,0x00,0x38,0x00,0x00] +// W32: encoding: [0x0a,0x00,0xaa,0xd4,0x01,0xe1,0x01,0x00] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_eq_u16_e64 s10, v1, -4.0 -// W32: encoding: [0x0a,0x00,0xaa,0xd4,0x01,0xff,0x01,0x00,0x00,0xc4,0x00,0x00] +// W32: encoding: [0x0a,0x00,0xaa,0xd4,0x01,0xef,0x01,0x00] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_le_u16_e64 s10, v1, v2 @@ -18356,11 +18356,11 @@ v_cmp_le_u16_e64 s10, -1, v2 // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_le_u16_e64 s10, 0.5, v2 -// W32: encoding: [0x0a,0x00,0xab,0xd4,0xff,0x04,0x02,0x00,0x00,0x38,0x00,0x00] +// W32: encoding: [0x0a,0x00,0xab,0xd4,0xf0,0x04,0x02,0x00] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_le_u16_e64 s10, -4.0, v2 -// W32: encoding: [0x0a,0x00,0xab,0xd4,0xff,0x04,0x02,0x00,0x00,0xc4,0x00,0x00] +// W32: encoding: [0x0a,0x00,0xab,0xd4,0xf7,0x04,0x02,0x00] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_le_u16_e64 s10, v1, v255 @@ -18404,11 +18404,11 @@ v_cmp_le_u16_e64 s10, v1, -1 // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_le_u16_e64 s10, v1, 0.5 -// W32: encoding: [0x0a,0x00,0xab,0xd4,0x01,0xff,0x01,0x00,0x00,0x38,0x00,0x00] +// W32: encoding: [0x0a,0x00,0xab,0xd4,0x01,0xe1,0x01,0x00] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_le_u16_e64 s10, v1, -4.0 -// W32: encoding: [0x0a,0x00,0xab,0xd4,0x01,0xff,0x01,0x00,0x00,0xc4,0x00,0x00] +// W32: encoding: [0x0a,0x00,0xab,0xd4,0x01,0xef,0x01,0x00] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_gt_u16_e64 s10, v1, v2 @@ -18468,11 +18468,11 @@ v_cmp_gt_u16_e64 s10, -1, v2 // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_gt_u16_e64 s10, 0.5, v2 -// W32: encoding: [0x0a,0x00,0xac,0xd4,0xff,0x04,0x02,0x00,0x00,0x38,0x00,0x00] +// W32: encoding: [0x0a,0x00,0xac,0xd4,0xf0,0x04,0x02,0x00] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_gt_u16_e64 s10, -4.0, v2 -// W32: encoding: [0x0a,0x00,0xac,0xd4,0xff,0x04,0x02,0x00,0x00,0xc4,0x00,0x00] +// W32: encoding: [0x0a,0x00,0xac,0xd4,0xf7,0x04,0x02,0x00] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_gt_u16_e64 s10, v1, v255 @@ -18516,11 +18516,11 @@ v_cmp_gt_u16_e64 s10, v1, -1 // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_gt_u16_e64 s10, v1, 0.5 -// W32: encoding: [0x0a,0x00,0xac,0xd4,0x01,0xff,0x01,0x00,0x00,0x38,0x00,0x00] +// W32: encoding: [0x0a,0x00,0xac,0xd4,0x01,0xe1,0x01,0x00] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_gt_u16_e64 s10, v1, -4.0 -// W32: encoding: [0x0a,0x00,0xac,0xd4,0x01,0xff,0x01,0x00,0x00,0xc4,0x00,0x00] +// W32: encoding: [0x0a,0x00,0xac,0xd4,0x01,0xef,0x01,0x00] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_ne_u16_e64 s10, v1, v2 @@ -18580,11 +18580,11 @@ v_cmp_ne_u16_e64 s10, -1, v2 // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_ne_u16_e64 s10, 0.5, v2 -// W32: encoding: [0x0a,0x00,0xad,0xd4,0xff,0x04,0x02,0x00,0x00,0x38,0x00,0x00] +// W32: encoding: [0x0a,0x00,0xad,0xd4,0xf0,0x04,0x02,0x00] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_ne_u16_e64 s10, -4.0, v2 -// W32: encoding: [0x0a,0x00,0xad,0xd4,0xff,0x04,0x02,0x00,0x00,0xc4,0x00,0x00] +// W32: encoding: [0x0a,0x00,0xad,0xd4,0xf7,0x04,0x02,0x00] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_ne_u16_e64 s10, v1, v255 @@ -18628,11 +18628,11 @@ v_cmp_ne_u16_e64 s10, v1, -1 // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_ne_u16_e64 s10, v1, 0.5 -// W32: encoding: [0x0a,0x00,0xad,0xd4,0x01,0xff,0x01,0x00,0x00,0x38,0x00,0x00] +// W32: encoding: [0x0a,0x00,0xad,0xd4,0x01,0xe1,0x01,0x00] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_ne_u16_e64 s10, v1, -4.0 -// W32: encoding: [0x0a,0x00,0xad,0xd4,0x01,0xff,0x01,0x00,0x00,0xc4,0x00,0x00] +// W32: encoding: [0x0a,0x00,0xad,0xd4,0x01,0xef,0x01,0x00] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_ge_u16_e64 s10, v1, v2 @@ -18692,11 +18692,11 @@ v_cmp_ge_u16_e64 s10, -1, v2 // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_ge_u16_e64 s10, 0.5, v2 -// W32: encoding: [0x0a,0x00,0xae,0xd4,0xff,0x04,0x02,0x00,0x00,0x38,0x00,0x00] +// W32: encoding: [0x0a,0x00,0xae,0xd4,0xf0,0x04,0x02,0x00] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_ge_u16_e64 s10, -4.0, v2 -// W32: encoding: [0x0a,0x00,0xae,0xd4,0xff,0x04,0x02,0x00,0x00,0xc4,0x00,0x00] +// W32: encoding: [0x0a,0x00,0xae,0xd4,0xf7,0x04,0x02,0x00] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_ge_u16_e64 s10, v1, v255 @@ -18740,11 +18740,11 @@ v_cmp_ge_u16_e64 s10, v1, -1 // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_ge_u16_e64 s10, v1, 0.5 -// W32: encoding: [0x0a,0x00,0xae,0xd4,0x01,0xff,0x01,0x00,0x00,0x38,0x00,0x00] +// W32: encoding: [0x0a,0x00,0xae,0xd4,0x01,0xe1,0x01,0x00] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_ge_u16_e64 s10, v1, -4.0 -// W32: encoding: [0x0a,0x00,0xae,0xd4,0x01,0xff,0x01,0x00,0x00,0xc4,0x00,0x00] +// W32: encoding: [0x0a,0x00,0xae,0xd4,0x01,0xef,0x01,0x00] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_f_u32_e64 s10, v1, v2 diff --git a/llvm/test/MC/AMDGPU/gfx10_asm_vopcx.s b/llvm/test/MC/AMDGPU/gfx10_asm_vopcx.s index f441feb88db436..eed284e56bbe40 100644 --- a/llvm/test/MC/AMDGPU/gfx10_asm_vopcx.s +++ b/llvm/test/MC/AMDGPU/gfx10_asm_vopcx.s @@ -6330,10 +6330,10 @@ v_cmpx_lt_i16 -1, v2 // GFX10: encoding: [0xc1,0x04,0x32,0x7d] v_cmpx_lt_i16 0.5, v2 -// GFX10: encoding: [0xff,0x04,0x32,0x7d,0x00,0x38,0x00,0x00] +// GFX10: encoding: [0xf0,0x04,0x32,0x7d] v_cmpx_lt_i16 -4.0, v2 -// GFX10: encoding: [0xff,0x04,0x32,0x7d,0x00,0xc4,0x00,0x00] +// GFX10: encoding: [0xf7,0x04,0x32,0x7d] v_cmpx_lt_i16 0xfe0b, v2 // GFX10: encoding: [0xff,0x04,0x32,0x7d,0x0b,0xfe,0x00,0x00] @@ -6378,10 +6378,10 @@ v_cmpx_lt_i16_e64 -1, v2 // GFX10: encoding: [0x7e,0x00,0x99,0xd4,0xc1,0x04,0x02,0x00] v_cmpx_lt_i16_e64 0.5, v2 -// GFX10: encoding: [0x7e,0x00,0x99,0xd4,0xff,0x04,0x02,0x00,0x00,0x38,0x00,0x00] +// GFX10: encoding: [0x7e,0x00,0x99,0xd4,0xf0,0x04,0x02,0x00] v_cmpx_lt_i16_e64 -4.0, v2 -// GFX10: encoding: [0x7e,0x00,0x99,0xd4,0xff,0x04,0x02,0x00,0x00,0xc4,0x00,0x00] +// GFX10: encoding: [0x7e,0x00,0x99,0xd4,0xf7,0x04,0x02,0x00] v_cmpx_lt_i16_e64 v1, v255 // GFX10: encoding: [0x7e,0x00,0x99,0xd4,0x01,0xff,0x03,0x00] @@ -6414,10 +6414,10 @@ v_cmpx_lt_i16_e64 v1, -1 // GFX10: encoding: [0x7e,0x00,0x99,0xd4,0x01,0x83,0x01,0x00] v_cmpx_lt_i16_e64 v1, 0.5 -// GFX10: encoding: [0x7e,0x00,0x99,0xd4,0x01,0xff,0x01,0x00,0x00,0x38,0x00,0x00] +// GFX10: encoding: [0x7e,0x00,0x99,0xd4,0x01,0xe1,0x01,0x00] v_cmpx_lt_i16_e64 v1, -4.0 -// GFX10: encoding: [0x7e,0x00,0x99,0xd4,0x01,0xff,0x01,0x00,0x00,0xc4,0x00,0x00] +// GFX10: encoding: [0x7e,0x00,0x99,0xd4,0x01,0xef,0x01,0x00] v_cmpx_eq_i16 v1, v2 // GFX10: encoding: [0x01,0x05,0x34,0x7d] @@ -6453,10 +6453,10 @@ v_cmpx_eq_i16 -1, v2 // GFX10: encoding: [0xc1,0x04,0x34,0x7d] v_cmpx_eq_i16 0.5, v2 -// GFX10: encoding: [0xff,0x04,0x34,0x7d,0x00,0x38,0x00,0x00] +// GFX10: encoding: [0xf0,0x04,0x34,0x7d] v_cmpx_eq_i16 -4.0, v2 -// GFX10: encoding: [0xff,0x04,0x34,0x7d,0x00,0xc4,0x00,0x00] +// GFX10: encoding: [0xf7,0x04,0x34,0x7d] v_cmpx_eq_i16 0xfe0b, v2 // GFX10: encoding: [0xff,0x04,0x34,0x7d,0x0b,0xfe,0x00,0x00] @@ -6501,10 +6501,10 @@ v_cmpx_eq_i16_e64 -1, v2 // GFX10: encoding: [0x7e,0x00,0x9a,0xd4,0xc1,0x04,0x02,0x00] v_cmpx_eq_i16_e64 0.5, v2 -// GFX10: encoding: [0x7e,0x00,0x9a,0xd4,0xff,0x04,0x02,0x00,0x00,0x38,0x00,0x00] +// GFX10: encoding: [0x7e,0x00,0x9a,0xd4,0xf0,0x04,0x02,0x00] v_cmpx_eq_i16_e64 -4.0, v2 -// GFX10: encoding: [0x7e,0x00,0x9a,0xd4,0xff,0x04,0x02,0x00,0x00,0xc4,0x00,0x00] +// GFX10: encoding: [0x7e,0x00,0x9a,0xd4,0xf7,0x04,0x02,0x00] v_cmpx_eq_i16_e64 v1, v255 // GFX10: encoding: [0x7e,0x00,0x9a,0xd4,0x01,0xff,0x03,0x00] @@ -6537,10 +6537,10 @@ v_cmpx_eq_i16_e64 v1, -1 // GFX10: encoding: [0x7e,0x00,0x9a,0xd4,0x01,0x83,0x01,0x00] v_cmpx_eq_i16_e64 v1, 0.5 -// GFX10: encoding: [0x7e,0x00,0x9a,0xd4,0x01,0xff,0x01,0x00,0x00,0x38,0x00,0x00] +// GFX10: encoding: [0x7e,0x00,0x9a,0xd4,0x01,0xe1,0x01,0x00] v_cmpx_eq_i16_e64 v1, -4.0 -// GFX10: encoding: [0x7e,0x00,0x9a,0xd4,0x01,0xff,0x01,0x00,0x00,0xc4,0x00,0x00] +// GFX10: encoding: [0x7e,0x00,0x9a,0xd4,0x01,0xef,0x01,0x00] v_cmpx_le_i16 v1, v2 // GFX10: encoding: [0x01,0x05,0x36,0x7d] @@ -6576,10 +6576,10 @@ v_cmpx_le_i16 -1, v2 // GFX10: encoding: [0xc1,0x04,0x36,0x7d] v_cmpx_le_i16 0.5, v2 -// GFX10: encoding: [0xff,0x04,0x36,0x7d,0x00,0x38,0x00,0x00] +// GFX10: encoding: [0xf0,0x04,0x36,0x7d] v_cmpx_le_i16 -4.0, v2 -// GFX10: encoding: [0xff,0x04,0x36,0x7d,0x00,0xc4,0x00,0x00] +// GFX10: encoding: [0xf7,0x04,0x36,0x7d] v_cmpx_le_i16 0xfe0b, v2 // GFX10: encoding: [0xff,0x04,0x36,0x7d,0x0b,0xfe,0x00,0x00] @@ -6624,10 +6624,10 @@ v_cmpx_le_i16_e64 -1, v2 // GFX10: encoding: [0x7e,0x00,0x9b,0xd4,0xc1,0x04,0x02,0x00] v_cmpx_le_i16_e64 0.5, v2 -// GFX10: encoding: [0x7e,0x00,0x9b,0xd4,0xff,0x04,0x02,0x00,0x00,0x38,0x00,0x00] +// GFX10: encoding: [0x7e,0x00,0x9b,0xd4,0xf0,0x04,0x02,0x00] v_cmpx_le_i16_e64 -4.0, v2 -// GFX10: encoding: [0x7e,0x00,0x9b,0xd4,0xff,0x04,0x02,0x00,0x00,0xc4,0x00,0x00] +// GFX10: encoding: [0x7e,0x00,0x9b,0xd4,0xf7,0x04,0x02,0x00] v_cmpx_le_i16_e64 v1, v255 // GFX10: encoding: [0x7e,0x00,0x9b,0xd4,0x01,0xff,0x03,0x00] @@ -6660,10 +6660,10 @@ v_cmpx_le_i16_e64 v1, -1 // GFX10: encoding: [0x7e,0x00,0x9b,0xd4,0x01,0x83,0x01,0x00] v_cmpx_le_i16_e64 v1, 0.5 -// GFX10: encoding: [0x7e,0x00,0x9b,0xd4,0x01,0xff,0x01,0x00,0x00,0x38,0x00,0x00] +// GFX10: encoding: [0x7e,0x00,0x9b,0xd4,0x01,0xe1,0x01,0x00] v_cmpx_le_i16_e64 v1, -4.0 -// GFX10: encoding: [0x7e,0x00,0x9b,0xd4,0x01,0xff,0x01,0x00,0x00,0xc4,0x00,0x00] +// GFX10: encoding: [0x7e,0x00,0x9b,0xd4,0x01,0xef,0x01,0x00] v_cmpx_gt_i16 v1, v2 // GFX10: encoding: [0x01,0x05,0x38,0x7d] @@ -6699,10 +6699,10 @@ v_cmpx_gt_i16 -1, v2 // GFX10: encoding: [0xc1,0x04,0x38,0x7d] v_cmpx_gt_i16 0.5, v2 -// GFX10: encoding: [0xff,0x04,0x38,0x7d,0x00,0x38,0x00,0x00] +// GFX10: encoding: [0xf0,0x04,0x38,0x7d] v_cmpx_gt_i16 -4.0, v2 -// GFX10: encoding: [0xff,0x04,0x38,0x7d,0x00,0xc4,0x00,0x00] +// GFX10: encoding: [0xf7,0x04,0x38,0x7d] v_cmpx_gt_i16 0xfe0b, v2 // GFX10: encoding: [0xff,0x04,0x38,0x7d,0x0b,0xfe,0x00,0x00] @@ -6747,10 +6747,10 @@ v_cmpx_gt_i16_e64 -1, v2 // GFX10: encoding: [0x7e,0x00,0x9c,0xd4,0xc1,0x04,0x02,0x00] v_cmpx_gt_i16_e64 0.5, v2 -// GFX10: encoding: [0x7e,0x00,0x9c,0xd4,0xff,0x04,0x02,0x00,0x00,0x38,0x00,0x00] +// GFX10: encoding: [0x7e,0x00,0x9c,0xd4,0xf0,0x04,0x02,0x00] v_cmpx_gt_i16_e64 -4.0, v2 -// GFX10: encoding: [0x7e,0x00,0x9c,0xd4,0xff,0x04,0x02,0x00,0x00,0xc4,0x00,0x00] +// GFX10: encoding: [0x7e,0x00,0x9c,0xd4,0xf7,0x04,0x02,0x00] v_cmpx_gt_i16_e64 v1, v255 // GFX10: encoding: [0x7e,0x00,0x9c,0xd4,0x01,0xff,0x03,0x00] @@ -6783,10 +6783,10 @@ v_cmpx_gt_i16_e64 v1, -1 // GFX10: encoding: [0x7e,0x00,0x9c,0xd4,0x01,0x83,0x01,0x00] v_cmpx_gt_i16_e64 v1, 0.5 -// GFX10: encoding: [0x7e,0x00,0x9c,0xd4,0x01,0xff,0x01,0x00,0x00,0x38,0x00,0x00] +// GFX10: encoding: [0x7e,0x00,0x9c,0xd4,0x01,0xe1,0x01,0x00] v_cmpx_gt_i16_e64 v1, -4.0 -// GFX10: encoding: [0x7e,0x00,0x9c,0xd4,0x01,0xff,0x01,0x00,0x00,0xc4,0x00,0x00] +// GFX10: encoding: [0x7e,0x00,0x9c,0xd4,0x01,0xef,0x01,0x00] v_cmpx_ne_i16 v1, v2 // GFX10: encoding: [0x01,0x05,0x3a,0x7d] @@ -6822,10 +6822,10 @@ v_cmpx_ne_i16 -1, v2 // GFX10: encoding: [0xc1,0x04,0x3a,0x7d] v_cmpx_ne_i16 0.5, v2 -// GFX10: encoding: [0xff,0x04,0x3a,0x7d,0x00,0x38,0x00,0x00] +// GFX10: encoding: [0xf0,0x04,0x3a,0x7d] v_cmpx_ne_i16 -4.0, v2 -// GFX10: encoding: [0xff,0x04,0x3a,0x7d,0x00,0xc4,0x00,0x00] +// GFX10: encoding: [0xf7,0x04,0x3a,0x7d] v_cmpx_ne_i16 0xfe0b, v2 // GFX10: encoding: [0xff,0x04,0x3a,0x7d,0x0b,0xfe,0x00,0x00] @@ -6870,10 +6870,10 @@ v_cmpx_ne_i16_e64 -1, v2 // GFX10: encoding: [0x7e,0x00,0x9d,0xd4,0xc1,0x04,0x02,0x00] v_cmpx_ne_i16_e64 0.5, v2 -// GFX10: encoding: [0x7e,0x00,0x9d,0xd4,0xff,0x04,0x02,0x00,0x00,0x38,0x00,0x00] +// GFX10: encoding: [0x7e,0x00,0x9d,0xd4,0xf0,0x04,0x02,0x00] v_cmpx_ne_i16_e64 -4.0, v2 -// GFX10: encoding: [0x7e,0x00,0x9d,0xd4,0xff,0x04,0x02,0x00,0x00,0xc4,0x00,0x00] +// GFX10: encoding: [0x7e,0x00,0x9d,0xd4,0xf7,0x04,0x02,0x00] v_cmpx_ne_i16_e64 v1, v255 // GFX10: encoding: [0x7e,0x00,0x9d,0xd4,0x01,0xff,0x03,0x00] @@ -6906,10 +6906,10 @@ v_cmpx_ne_i16_e64 v1, -1 // GFX10: encoding: [0x7e,0x00,0x9d,0xd4,0x01,0x83,0x01,0x00] v_cmpx_ne_i16_e64 v1, 0.5 -// GFX10: encoding: [0x7e,0x00,0x9d,0xd4,0x01,0xff,0x01,0x00,0x00,0x38,0x00,0x00] +// GFX10: encoding: [0x7e,0x00,0x9d,0xd4,0x01,0xe1,0x01,0x00] v_cmpx_ne_i16_e64 v1, -4.0 -// GFX10: encoding: [0x7e,0x00,0x9d,0xd4,0x01,0xff,0x01,0x00,0x00,0xc4,0x00,0x00] +// GFX10: encoding: [0x7e,0x00,0x9d,0xd4,0x01,0xef,0x01,0x00] v_cmpx_ge_i16 v1, v2 // GFX10: encoding: [0x01,0x05,0x3c,0x7d] @@ -6945,10 +6945,10 @@ v_cmpx_ge_i16 -1, v2 // GFX10: encoding: [0xc1,0x04,0x3c,0x7d] v_cmpx_ge_i16 0.5, v2 -// GFX10: encoding: [0xff,0x04,0x3c,0x7d,0x00,0x38,0x00,0x00] +// GFX10: encoding: [0xf0,0x04,0x3c,0x7d] v_cmpx_ge_i16 -4.0, v2 -// GFX10: encoding: [0xff,0x04,0x3c,0x7d,0x00,0xc4,0x00,0x00] +// GFX10: encoding: [0xf7,0x04,0x3c,0x7d] v_cmpx_ge_i16 0xfe0b, v2 // GFX10: encoding: [0xff,0x04,0x3c,0x7d,0x0b,0xfe,0x00,0x00] @@ -6993,10 +6993,10 @@ v_cmpx_ge_i16_e64 -1, v2 // GFX10: encoding: [0x7e,0x00,0x9e,0xd4,0xc1,0x04,0x02,0x00] v_cmpx_ge_i16_e64 0.5, v2 -// GFX10: encoding: [0x7e,0x00,0x9e,0xd4,0xff,0x04,0x02,0x00,0x00,0x38,0x00,0x00] +// GFX10: encoding: [0x7e,0x00,0x9e,0xd4,0xf0,0x04,0x02,0x00] v_cmpx_ge_i16_e64 -4.0, v2 -// GFX10: encoding: [0x7e,0x00,0x9e,0xd4,0xff,0x04,0x02,0x00,0x00,0xc4,0x00,0x00] +// GFX10: encoding: [0x7e,0x00,0x9e,0xd4,0xf7,0x04,0x02,0x00] v_cmpx_ge_i16_e64 v1, v255 // GFX10: encoding: [0x7e,0x00,0x9e,0xd4,0x01,0xff,0x03,0x00] @@ -7029,10 +7029,10 @@ v_cmpx_ge_i16_e64 v1, -1 // GFX10: encoding: [0x7e,0x00,0x9e,0xd4,0x01,0x83,0x01,0x00] v_cmpx_ge_i16_e64 v1, 0.5 -// GFX10: encoding: [0x7e,0x00,0x9e,0xd4,0x01,0xff,0x01,0x00,0x00,0x38,0x00,0x00] +// GFX10: encoding: [0x7e,0x00,0x9e,0xd4,0x01,0xe1,0x01,0x00] v_cmpx_ge_i16_e64 v1, -4.0 -// GFX10: encoding: [0x7e,0x00,0x9e,0xd4,0x01,0xff,0x01,0x00,0x00,0xc4,0x00,0x00] +// GFX10: encoding: [0x7e,0x00,0x9e,0xd4,0x01,0xef,0x01,0x00] v_cmpx_class_f16 v1, v2 // GFX10: encoding: [0x01,0x05,0x3e,0x7d] @@ -8094,10 +8094,10 @@ v_cmpx_lt_u16 -1, v2 // GFX10: encoding: [0xc1,0x04,0x72,0x7d] v_cmpx_lt_u16 0.5, v2 -// GFX10: encoding: [0xff,0x04,0x72,0x7d,0x00,0x38,0x00,0x00] +// GFX10: encoding: [0xf0,0x04,0x72,0x7d] v_cmpx_lt_u16 -4.0, v2 -// GFX10: encoding: [0xff,0x04,0x72,0x7d,0x00,0xc4,0x00,0x00] +// GFX10: encoding: [0xf7,0x04,0x72,0x7d] v_cmpx_lt_u16 0xfe0b, v2 // GFX10: encoding: [0xff,0x04,0x72,0x7d,0x0b,0xfe,0x00,0x00] @@ -8142,10 +8142,10 @@ v_cmpx_lt_u16_e64 -1, v2 // GFX10: encoding: [0x7e,0x00,0xb9,0xd4,0xc1,0x04,0x02,0x00] v_cmpx_lt_u16_e64 0.5, v2 -// GFX10: encoding: [0x7e,0x00,0xb9,0xd4,0xff,0x04,0x02,0x00,0x00,0x38,0x00,0x00] +// GFX10: encoding: [0x7e,0x00,0xb9,0xd4,0xf0,0x04,0x02,0x00] v_cmpx_lt_u16_e64 -4.0, v2 -// GFX10: encoding: [0x7e,0x00,0xb9,0xd4,0xff,0x04,0x02,0x00,0x00,0xc4,0x00,0x00] +// GFX10: encoding: [0x7e,0x00,0xb9,0xd4,0xf7,0x04,0x02,0x00] v_cmpx_lt_u16_e64 v1, v255 // GFX10: encoding: [0x7e,0x00,0xb9,0xd4,0x01,0xff,0x03,0x00] @@ -8178,10 +8178,10 @@ v_cmpx_lt_u16_e64 v1, -1 // GFX10: encoding: [0x7e,0x00,0xb9,0xd4,0x01,0x83,0x01,0x00] v_cmpx_lt_u16_e64 v1, 0.5 -// GFX10: encoding: [0x7e,0x00,0xb9,0xd4,0x01,0xff,0x01,0x00,0x00,0x38,0x00,0x00] +// GFX10: encoding: [0x7e,0x00,0xb9,0xd4,0x01,0xe1,0x01,0x00] v_cmpx_lt_u16_e64 v1, -4.0 -// GFX10: encoding: [0x7e,0x00,0xb9,0xd4,0x01,0xff,0x01,0x00,0x00,0xc4,0x00,0x00] +// GFX10: encoding: [0x7e,0x00,0xb9,0xd4,0x01,0xef,0x01,0x00] v_cmpx_eq_u16 v1, v2 // GFX10: encoding: [0x01,0x05,0x74,0x7d] @@ -8217,10 +8217,10 @@ v_cmpx_eq_u16 -1, v2 // GFX10: encoding: [0xc1,0x04,0x74,0x7d] v_cmpx_eq_u16 0.5, v2 -// GFX10: encoding: [0xff,0x04,0x74,0x7d,0x00,0x38,0x00,0x00] +// GFX10: encoding: [0xf0,0x04,0x74,0x7d] v_cmpx_eq_u16 -4.0, v2 -// GFX10: encoding: [0xff,0x04,0x74,0x7d,0x00,0xc4,0x00,0x00] +// GFX10: encoding: [0xf7,0x04,0x74,0x7d] v_cmpx_eq_u16 0xfe0b, v2 // GFX10: encoding: [0xff,0x04,0x74,0x7d,0x0b,0xfe,0x00,0x00] @@ -8265,10 +8265,10 @@ v_cmpx_eq_u16_e64 -1, v2 // GFX10: encoding: [0x7e,0x00,0xba,0xd4,0xc1,0x04,0x02,0x00] v_cmpx_eq_u16_e64 0.5, v2 -// GFX10: encoding: [0x7e,0x00,0xba,0xd4,0xff,0x04,0x02,0x00,0x00,0x38,0x00,0x00] +// GFX10: encoding: [0x7e,0x00,0xba,0xd4,0xf0,0x04,0x02,0x00] v_cmpx_eq_u16_e64 -4.0, v2 -// GFX10: encoding: [0x7e,0x00,0xba,0xd4,0xff,0x04,0x02,0x00,0x00,0xc4,0x00,0x00] +// GFX10: encoding: [0x7e,0x00,0xba,0xd4,0xf7,0x04,0x02,0x00] v_cmpx_eq_u16_e64 v1, v255 // GFX10: encoding: [0x7e,0x00,0xba,0xd4,0x01,0xff,0x03,0x00] @@ -8301,10 +8301,10 @@ v_cmpx_eq_u16_e64 v1, -1 // GFX10: encoding: [0x7e,0x00,0xba,0xd4,0x01,0x83,0x01,0x00] v_cmpx_eq_u16_e64 v1, 0.5 -// GFX10: encoding: [0x7e,0x00,0xba,0xd4,0x01,0xff,0x01,0x00,0x00,0x38,0x00,0x00] +// GFX10: encoding: [0x7e,0x00,0xba,0xd4,0x01,0xe1,0x01,0x00] v_cmpx_eq_u16_e64 v1, -4.0 -// GFX10: encoding: [0x7e,0x00,0xba,0xd4,0x01,0xff,0x01,0x00,0x00,0xc4,0x00,0x00] +// GFX10: encoding: [0x7e,0x00,0xba,0xd4,0x01,0xef,0x01,0x00] v_cmpx_le_u16 v1, v2 // GFX10: encoding: [0x01,0x05,0x76,0x7d] @@ -8340,10 +8340,10 @@ v_cmpx_le_u16 -1, v2 // GFX10: encoding: [0xc1,0x04,0x76,0x7d] v_cmpx_le_u16 0.5, v2 -// GFX10: encoding: [0xff,0x04,0x76,0x7d,0x00,0x38,0x00,0x00] +// GFX10: encoding: [0xf0,0x04,0x76,0x7d] v_cmpx_le_u16 -4.0, v2 -// GFX10: encoding: [0xff,0x04,0x76,0x7d,0x00,0xc4,0x00,0x00] +// GFX10: encoding: [0xf7,0x04,0x76,0x7d] v_cmpx_le_u16 0xfe0b, v2 // GFX10: encoding: [0xff,0x04,0x76,0x7d,0x0b,0xfe,0x00,0x00] @@ -8388,10 +8388,10 @@ v_cmpx_le_u16_e64 -1, v2 // GFX10: encoding: [0x7e,0x00,0xbb,0xd4,0xc1,0x04,0x02,0x00] v_cmpx_le_u16_e64 0.5, v2 -// GFX10: encoding: [0x7e,0x00,0xbb,0xd4,0xff,0x04,0x02,0x00,0x00,0x38,0x00,0x00] +// GFX10: encoding: [0x7e,0x00,0xbb,0xd4,0xf0,0x04,0x02,0x00] v_cmpx_le_u16_e64 -4.0, v2 -// GFX10: encoding: [0x7e,0x00,0xbb,0xd4,0xff,0x04,0x02,0x00,0x00,0xc4,0x00,0x00] +// GFX10: encoding: [0x7e,0x00,0xbb,0xd4,0xf7,0x04,0x02,0x00] v_cmpx_le_u16_e64 v1, v255 // GFX10: encoding: [0x7e,0x00,0xbb,0xd4,0x01,0xff,0x03,0x00] @@ -8424,10 +8424,10 @@ v_cmpx_le_u16_e64 v1, -1 // GFX10: encoding: [0x7e,0x00,0xbb,0xd4,0x01,0x83,0x01,0x00] v_cmpx_le_u16_e64 v1, 0.5 -// GFX10: encoding: [0x7e,0x00,0xbb,0xd4,0x01,0xff,0x01,0x00,0x00,0x38,0x00,0x00] +// GFX10: encoding: [0x7e,0x00,0xbb,0xd4,0x01,0xe1,0x01,0x00] v_cmpx_le_u16_e64 v1, -4.0 -// GFX10: encoding: [0x7e,0x00,0xbb,0xd4,0x01,0xff,0x01,0x00,0x00,0xc4,0x00,0x00] +// GFX10: encoding: [0x7e,0x00,0xbb,0xd4,0x01,0xef,0x01,0x00] v_cmpx_gt_u16 v1, v2 // GFX10: encoding: [0x01,0x05,0x78,0x7d] @@ -8463,10 +8463,10 @@ v_cmpx_gt_u16 -1, v2 // GFX10: encoding: [0xc1,0x04,0x78,0x7d] v_cmpx_gt_u16 0.5, v2 -// GFX10: encoding: [0xff,0x04,0x78,0x7d,0x00,0x38,0x00,0x00] +// GFX10: encoding: [0xf0,0x04,0x78,0x7d] v_cmpx_gt_u16 -4.0, v2 -// GFX10: encoding: [0xff,0x04,0x78,0x7d,0x00,0xc4,0x00,0x00] +// GFX10: encoding: [0xf7,0x04,0x78,0x7d] v_cmpx_gt_u16 0xfe0b, v2 // GFX10: encoding: [0xff,0x04,0x78,0x7d,0x0b,0xfe,0x00,0x00] @@ -8511,10 +8511,10 @@ v_cmpx_gt_u16_e64 -1, v2 // GFX10: encoding: [0x7e,0x00,0xbc,0xd4,0xc1,0x04,0x02,0x00] v_cmpx_gt_u16_e64 0.5, v2 -// GFX10: encoding: [0x7e,0x00,0xbc,0xd4,0xff,0x04,0x02,0x00,0x00,0x38,0x00,0x00] +// GFX10: encoding: [0x7e,0x00,0xbc,0xd4,0xf0,0x04,0x02,0x00] v_cmpx_gt_u16_e64 -4.0, v2 -// GFX10: encoding: [0x7e,0x00,0xbc,0xd4,0xff,0x04,0x02,0x00,0x00,0xc4,0x00,0x00] +// GFX10: encoding: [0x7e,0x00,0xbc,0xd4,0xf7,0x04,0x02,0x00] v_cmpx_gt_u16_e64 v1, v255 // GFX10: encoding: [0x7e,0x00,0xbc,0xd4,0x01,0xff,0x03,0x00] @@ -8547,10 +8547,10 @@ v_cmpx_gt_u16_e64 v1, -1 // GFX10: encoding: [0x7e,0x00,0xbc,0xd4,0x01,0x83,0x01,0x00] v_cmpx_gt_u16_e64 v1, 0.5 -// GFX10: encoding: [0x7e,0x00,0xbc,0xd4,0x01,0xff,0x01,0x00,0x00,0x38,0x00,0x00] +// GFX10: encoding: [0x7e,0x00,0xbc,0xd4,0x01,0xe1,0x01,0x00] v_cmpx_gt_u16_e64 v1, -4.0 -// GFX10: encoding: [0x7e,0x00,0xbc,0xd4,0x01,0xff,0x01,0x00,0x00,0xc4,0x00,0x00] +// GFX10: encoding: [0x7e,0x00,0xbc,0xd4,0x01,0xef,0x01,0x00] v_cmpx_ne_u16 v1, v2 // GFX10: encoding: [0x01,0x05,0x7a,0x7d] @@ -8586,10 +8586,10 @@ v_cmpx_ne_u16 -1, v2 // GFX10: encoding: [0xc1,0x04,0x7a,0x7d] v_cmpx_ne_u16 0.5, v2 -// GFX10: encoding: [0xff,0x04,0x7a,0x7d,0x00,0x38,0x00,0x00] +// GFX10: encoding: [0xf0,0x04,0x7a,0x7d] v_cmpx_ne_u16 -4.0, v2 -// GFX10: encoding: [0xff,0x04,0x7a,0x7d,0x00,0xc4,0x00,0x00] +// GFX10: encoding: [0xf7,0x04,0x7a,0x7d] v_cmpx_ne_u16 0xfe0b, v2 // GFX10: encoding: [0xff,0x04,0x7a,0x7d,0x0b,0xfe,0x00,0x00] @@ -8634,10 +8634,10 @@ v_cmpx_ne_u16_e64 -1, v2 // GFX10: encoding: [0x7e,0x00,0xbd,0xd4,0xc1,0x04,0x02,0x00] v_cmpx_ne_u16_e64 0.5, v2 -// GFX10: encoding: [0x7e,0x00,0xbd,0xd4,0xff,0x04,0x02,0x00,0x00,0x38,0x00,0x00] +// GFX10: encoding: [0x7e,0x00,0xbd,0xd4,0xf0,0x04,0x02,0x00] v_cmpx_ne_u16_e64 -4.0, v2 -// GFX10: encoding: [0x7e,0x00,0xbd,0xd4,0xff,0x04,0x02,0x00,0x00,0xc4,0x00,0x00] +// GFX10: encoding: [0x7e,0x00,0xbd,0xd4,0xf7,0x04,0x02,0x00] v_cmpx_ne_u16_e64 v1, v255 // GFX10: encoding: [0x7e,0x00,0xbd,0xd4,0x01,0xff,0x03,0x00] @@ -8670,10 +8670,10 @@ v_cmpx_ne_u16_e64 v1, -1 // GFX10: encoding: [0x7e,0x00,0xbd,0xd4,0x01,0x83,0x01,0x00] v_cmpx_ne_u16_e64 v1, 0.5 -// GFX10: encoding: [0x7e,0x00,0xbd,0xd4,0x01,0xff,0x01,0x00,0x00,0x38,0x00,0x00] +// GFX10: encoding: [0x7e,0x00,0xbd,0xd4,0x01,0xe1,0x01,0x00] v_cmpx_ne_u16_e64 v1, -4.0 -// GFX10: encoding: [0x7e,0x00,0xbd,0xd4,0x01,0xff,0x01,0x00,0x00,0xc4,0x00,0x00] +// GFX10: encoding: [0x7e,0x00,0xbd,0xd4,0x01,0xef,0x01,0x00] v_cmpx_ge_u16 v1, v2 // GFX10: encoding: [0x01,0x05,0x7c,0x7d] @@ -8709,10 +8709,10 @@ v_cmpx_ge_u16 -1, v2 // GFX10: encoding: [0xc1,0x04,0x7c,0x7d] v_cmpx_ge_u16 0.5, v2 -// GFX10: encoding: [0xff,0x04,0x7c,0x7d,0x00,0x38,0x00,0x00] +// GFX10: encoding: [0xf0,0x04,0x7c,0x7d] v_cmpx_ge_u16 -4.0, v2 -// GFX10: encoding: [0xff,0x04,0x7c,0x7d,0x00,0xc4,0x00,0x00] +// GFX10: encoding: [0xf7,0x04,0x7c,0x7d] v_cmpx_ge_u16 0xfe0b, v2 // GFX10: encoding: [0xff,0x04,0x7c,0x7d,0x0b,0xfe,0x00,0x00] @@ -8757,10 +8757,10 @@ v_cmpx_ge_u16_e64 -1, v2 // GFX10: encoding: [0x7e,0x00,0xbe,0xd4,0xc1,0x04,0x02,0x00] v_cmpx_ge_u16_e64 0.5, v2 -// GFX10: encoding: [0x7e,0x00,0xbe,0xd4,0xff,0x04,0x02,0x00,0x00,0x38,0x00,0x00] +// GFX10: encoding: [0x7e,0x00,0xbe,0xd4,0xf0,0x04,0x02,0x00] v_cmpx_ge_u16_e64 -4.0, v2 -// GFX10: encoding: [0x7e,0x00,0xbe,0xd4,0xff,0x04,0x02,0x00,0x00,0xc4,0x00,0x00] +// GFX10: encoding: [0x7e,0x00,0xbe,0xd4,0xf7,0x04,0x02,0x00] v_cmpx_ge_u16_e64 v1, v255 // GFX10: encoding: [0x7e,0x00,0xbe,0xd4,0x01,0xff,0x03,0x00] @@ -8793,10 +8793,10 @@ v_cmpx_ge_u16_e64 v1, -1 // GFX10: encoding: [0x7e,0x00,0xbe,0xd4,0x01,0x83,0x01,0x00] v_cmpx_ge_u16_e64 v1, 0.5 -// GFX10: encoding: [0x7e,0x00,0xbe,0xd4,0x01,0xff,0x01,0x00,0x00,0x38,0x00,0x00] +// GFX10: encoding: [0x7e,0x00,0xbe,0xd4,0x01,0xe1,0x01,0x00] v_cmpx_ge_u16_e64 v1, -4.0 -// GFX10: encoding: [0x7e,0x00,0xbe,0xd4,0x01,0xff,0x01,0x00,0x00,0xc4,0x00,0x00] +// GFX10: encoding: [0x7e,0x00,0xbe,0xd4,0x01,0xef,0x01,0x00] v_cmpx_f_u32 v1, v2 // GFX10: encoding: [0x01,0x05,0xa0,0x7d] diff --git a/llvm/test/MC/AMDGPU/gfx11_asm_vop1.s b/llvm/test/MC/AMDGPU/gfx11_asm_vop1.s index 5990f7cb45709f..9eaaed99bd1cd5 100644 --- a/llvm/test/MC/AMDGPU/gfx11_asm_vop1.s +++ b/llvm/test/MC/AMDGPU/gfx11_asm_vop1.s @@ -1,7 +1,7 @@ // RUN: llvm-mc -triple=amdgcn -mcpu=gfx1100 -mattr=+real-true16,+wavefrontsize32,-wavefrontsize64 -show-encoding %s | FileCheck --check-prefix=GFX11 %s // RUN: llvm-mc -triple=amdgcn -mcpu=gfx1100 -mattr=+real-true16,-wavefrontsize32,+wavefrontsize64 -show-encoding %s | FileCheck --check-prefix=GFX11 %s -v_bfrev_b32_e32 v5, v1 +v_bfrev_b32 v5, v1 // GFX11: encoding: [0x01,0x71,0x0a,0x7e] v_bfrev_b32 v5, v255 @@ -223,49 +223,49 @@ v_cls_i32 v5, src_scc v_cls_i32 v255, 0xaf123456 // GFX11: encoding: [0xff,0x76,0xfe,0x7f,0x56,0x34,0x12,0xaf] -v_clz_i32_u32 v5, v1 +v_ffbh_u32 v5, v1 // GFX11: encoding: [0x01,0x73,0x0a,0x7e] -v_clz_i32_u32 v5, v255 +v_ffbh_u32 v5, v255 // GFX11: encoding: [0xff,0x73,0x0a,0x7e] -v_clz_i32_u32 v5, s1 +v_ffbh_u32 v5, s1 // GFX11: encoding: [0x01,0x72,0x0a,0x7e] -v_clz_i32_u32 v5, s105 +v_ffbh_u32 v5, s105 // GFX11: encoding: [0x69,0x72,0x0a,0x7e] -v_clz_i32_u32 v5, vcc_lo +v_ffbh_u32 v5, vcc_lo // GFX11: encoding: [0x6a,0x72,0x0a,0x7e] -v_clz_i32_u32 v5, vcc_hi +v_ffbh_u32 v5, vcc_hi // GFX11: encoding: [0x6b,0x72,0x0a,0x7e] -v_clz_i32_u32 v5, ttmp15 +v_ffbh_u32 v5, ttmp15 // GFX11: encoding: [0x7b,0x72,0x0a,0x7e] -v_clz_i32_u32 v5, m0 +v_ffbh_u32 v5, m0 // GFX11: encoding: [0x7d,0x72,0x0a,0x7e] -v_clz_i32_u32 v5, exec_lo +v_ffbh_u32 v5, exec_lo // GFX11: encoding: [0x7e,0x72,0x0a,0x7e] -v_clz_i32_u32 v5, exec_hi +v_ffbh_u32 v5, exec_hi // GFX11: encoding: [0x7f,0x72,0x0a,0x7e] -v_clz_i32_u32 v5, null +v_ffbh_u32 v5, null // GFX11: encoding: [0x7c,0x72,0x0a,0x7e] -v_clz_i32_u32 v5, -1 +v_ffbh_u32 v5, -1 // GFX11: encoding: [0xc1,0x72,0x0a,0x7e] -v_clz_i32_u32 v5, 0.5 +v_ffbh_u32 v5, 0.5 // GFX11: encoding: [0xf0,0x72,0x0a,0x7e] -v_clz_i32_u32 v5, src_scc +v_ffbh_u32 v5, src_scc // GFX11: encoding: [0xfd,0x72,0x0a,0x7e] -v_clz_i32_u32 v255, 0xaf123456 +v_ffbh_u32 v255, 0xaf123456 // GFX11: encoding: [0xff,0x72,0xfe,0x7f,0x56,0x34,0x12,0xaf] v_cos_f16 v5, v1 @@ -358,49 +358,49 @@ v_cos_f32 v5, src_scc v_cos_f32 v255, 0xaf123456 // GFX11: encoding: [0xff,0x6c,0xfe,0x7f,0x56,0x34,0x12,0xaf] -v_ctz_i32_b32 v5, v1 +v_ffbl_b32 v5, v1 // GFX11: encoding: [0x01,0x75,0x0a,0x7e] -v_ctz_i32_b32 v5, v255 +v_ffbl_b32 v5, v255 // GFX11: encoding: [0xff,0x75,0x0a,0x7e] -v_ctz_i32_b32 v5, s1 +v_ffbl_b32 v5, s1 // GFX11: encoding: [0x01,0x74,0x0a,0x7e] -v_ctz_i32_b32 v5, s105 +v_ffbl_b32 v5, s105 // GFX11: encoding: [0x69,0x74,0x0a,0x7e] -v_ctz_i32_b32 v5, vcc_lo +v_ffbl_b32 v5, vcc_lo // GFX11: encoding: [0x6a,0x74,0x0a,0x7e] -v_ctz_i32_b32 v5, vcc_hi +v_ffbl_b32 v5, vcc_hi // GFX11: encoding: [0x6b,0x74,0x0a,0x7e] -v_ctz_i32_b32 v5, ttmp15 +v_ffbl_b32 v5, ttmp15 // GFX11: encoding: [0x7b,0x74,0x0a,0x7e] -v_ctz_i32_b32 v5, m0 +v_ffbl_b32 v5, m0 // GFX11: encoding: [0x7d,0x74,0x0a,0x7e] -v_ctz_i32_b32 v5, exec_lo +v_ffbl_b32 v5, exec_lo // GFX11: encoding: [0x7e,0x74,0x0a,0x7e] -v_ctz_i32_b32 v5, exec_hi +v_ffbl_b32 v5, exec_hi // GFX11: encoding: [0x7f,0x74,0x0a,0x7e] -v_ctz_i32_b32 v5, null +v_ffbl_b32 v5, null // GFX11: encoding: [0x7c,0x74,0x0a,0x7e] -v_ctz_i32_b32 v5, -1 +v_ffbl_b32 v5, -1 // GFX11: encoding: [0xc1,0x74,0x0a,0x7e] -v_ctz_i32_b32 v5, 0.5 +v_ffbl_b32 v5, 0.5 // GFX11: encoding: [0xf0,0x74,0x0a,0x7e] -v_ctz_i32_b32 v5, src_scc +v_ffbl_b32 v5, src_scc // GFX11: encoding: [0xfd,0x74,0x0a,0x7e] -v_ctz_i32_b32 v255, 0xaf123456 +v_ffbl_b32 v255, 0xaf123456 // GFX11: encoding: [0xff,0x74,0xfe,0x7f,0x56,0x34,0x12,0xaf] v_cvt_f16_f32 v5, v1 @@ -485,7 +485,7 @@ v_cvt_f16_i16 v5, -1 // GFX11: encoding: [0xc1,0xa2,0x0a,0x7e] v_cvt_f16_i16 v5, 0.5 -// GFX11: encoding: [0xff,0xa2,0x0a,0x7e,0x00,0x38,0x00,0x00] +// GFX11: encoding: [0xf0,0xa2,0x0a,0x7e] v_cvt_f16_i16 v5, src_scc // GFX11: encoding: [0xfd,0xa2,0x0a,0x7e] @@ -530,7 +530,7 @@ v_cvt_f16_u16 v5, -1 // GFX11: encoding: [0xc1,0xa0,0x0a,0x7e] v_cvt_f16_u16 v5, 0.5 -// GFX11: encoding: [0xff,0xa0,0x0a,0x7e,0x00,0x38,0x00,0x00] +// GFX11: encoding: [0xf0,0xa0,0x0a,0x7e] v_cvt_f16_u16 v5, src_scc // GFX11: encoding: [0xfd,0xa0,0x0a,0x7e] @@ -1277,7 +1277,7 @@ v_cvt_i32_i16 v5, -1 // GFX11: encoding: [0xc1,0xd4,0x0a,0x7e] v_cvt_i32_i16 v5, 0.5 -// GFX11: encoding: [0xff,0xd4,0x0a,0x7e,0x00,0x38,0x00,0x00] +// GFX11: encoding: [0xf0,0xd4,0x0a,0x7e] v_cvt_i32_i16 v5, src_scc // GFX11: encoding: [0xfd,0xd4,0x0a,0x7e] @@ -1673,7 +1673,7 @@ v_cvt_u32_u16 v5, -1 // GFX11: encoding: [0xc1,0xd6,0x0a,0x7e] v_cvt_u32_u16 v5, 0.5 -// GFX11: encoding: [0xff,0xd6,0x0a,0x7e,0x00,0x38,0x00,0x00] +// GFX11: encoding: [0xf0,0xd6,0x0a,0x7e] v_cvt_u32_u16 v5, src_scc // GFX11: encoding: [0xfd,0xd6,0x0a,0x7e] @@ -2666,7 +2666,7 @@ v_not_b16 v5, -1 // GFX11: encoding: [0xc1,0xd2,0x0a,0x7e] v_not_b16 v5, 0.5 -// GFX11: encoding: [0xff,0xd2,0x0a,0x7e,0x00,0x38,0x00,0x00] +// GFX11: encoding: [0xf0,0xd2,0x0a,0x7e] v_not_b16 v5, src_scc // GFX11: encoding: [0xfd,0xd2,0x0a,0x7e] diff --git a/llvm/test/MC/AMDGPU/gfx11_asm_vop3.s b/llvm/test/MC/AMDGPU/gfx11_asm_vop3.s index d288c02a22c921..c0ae7ecbdbdd86 100644 --- a/llvm/test/MC/AMDGPU/gfx11_asm_vop3.s +++ b/llvm/test/MC/AMDGPU/gfx11_asm_vop3.s @@ -266,7 +266,7 @@ v_add_nc_i16 v5, ttmp15, src_scc // GFX11: encoding: [0x05,0x00,0x0d,0xd7,0x7b,0xfa,0x01,0x00] v_add_nc_i16 v5, m0, 0.5 -// GFX11: encoding: [0x05,0x00,0x0d,0xd7,0x7d,0xfe,0x01,0x00,0x00,0x38,0x00,0x00] +// GFX11: encoding: [0x05,0x00,0x0d,0xd7,0x7d,0xe0,0x01,0x00] v_add_nc_i16 v5, exec_lo, -1 // GFX11: encoding: [0x05,0x00,0x0d,0xd7,0x7e,0x82,0x01,0x00] @@ -281,7 +281,7 @@ v_add_nc_i16 v5, -1, exec_hi op_sel:[0,0,0] // GFX11: encoding: [0x05,0x00,0x0d,0xd7,0xc1,0xfe,0x00,0x00] v_add_nc_i16 v5, 0.5, m0 op_sel:[1,0,0] -// GFX11: encoding: [0x05,0x08,0x0d,0xd7,0xff,0xfa,0x00,0x00,0x00,0x38,0x00,0x00] +// GFX11: encoding: [0x05,0x08,0x0d,0xd7,0xf0,0xfa,0x00,0x00] v_add_nc_i16 v5, src_scc, vcc_lo op_sel:[0,1,0] // GFX11: encoding: [0x05,0x10,0x0d,0xd7,0xfd,0xd4,0x00,0x00] @@ -356,7 +356,7 @@ v_add_nc_u16 v5, ttmp15, src_scc // GFX11: encoding: [0x05,0x00,0x03,0xd7,0x7b,0xfa,0x01,0x00] v_add_nc_u16 v5, m0, 0.5 -// GFX11: encoding: [0x05,0x00,0x03,0xd7,0x7d,0xfe,0x01,0x00,0x00,0x38,0x00,0x00] +// GFX11: encoding: [0x05,0x00,0x03,0xd7,0x7d,0xe0,0x01,0x00] v_add_nc_u16 v5, exec_lo, -1 // GFX11: encoding: [0x05,0x00,0x03,0xd7,0x7e,0x82,0x01,0x00] @@ -371,7 +371,7 @@ v_add_nc_u16 v5, -1, exec_hi op_sel:[0,0,0] // GFX11: encoding: [0x05,0x00,0x03,0xd7,0xc1,0xfe,0x00,0x00] v_add_nc_u16 v5, 0.5, m0 op_sel:[1,0,0] -// GFX11: encoding: [0x05,0x08,0x03,0xd7,0xff,0xfa,0x00,0x00,0x00,0x38,0x00,0x00] +// GFX11: encoding: [0x05,0x08,0x03,0xd7,0xf0,0xfa,0x00,0x00] v_add_nc_u16 v5, src_scc, vcc_lo op_sel:[0,1,0] // GFX11: encoding: [0x05,0x10,0x03,0xd7,0xfd,0xd4,0x00,0x00] @@ -491,7 +491,7 @@ v_and_b16 v5, ttmp15, src_scc // GFX11: encoding: [0x05,0x00,0x62,0xd7,0x7b,0xfa,0x01,0x00] v_and_b16 v5, m0, 0.5 -// GFX11: encoding: [0x05,0x00,0x62,0xd7,0x7d,0xfe,0x01,0x00,0x00,0x38,0x00,0x00] +// GFX11: encoding: [0x05,0x00,0x62,0xd7,0x7d,0xe0,0x01,0x00] v_and_b16 v5, exec_lo, -1 // GFX11: encoding: [0x05,0x00,0x62,0xd7,0x7e,0x82,0x01,0x00] @@ -506,7 +506,7 @@ v_and_b16 v5, -1, exec_hi // GFX11: encoding: [0x05,0x00,0x62,0xd7,0xc1,0xfe,0x00,0x00] v_and_b16 v5, 0.5, m0 -// GFX11: encoding: [0x05,0x00,0x62,0xd7,0xff,0xfa,0x00,0x00,0x00,0x38,0x00,0x00] +// GFX11: encoding: [0x05,0x00,0x62,0xd7,0xf0,0xfa,0x00,0x00] v_and_b16 v5, src_scc, vcc_lo // GFX11: encoding: [0x05,0x00,0x62,0xd7,0xfd,0xd4,0x00,0x00] @@ -581,7 +581,7 @@ v_ashrrev_i16 v5, ttmp15, src_scc // GFX11: encoding: [0x05,0x00,0x3a,0xd7,0x7b,0xfa,0x01,0x00] v_ashrrev_i16 v5, m0, 0.5 -// GFX11: encoding: [0x05,0x00,0x3a,0xd7,0x7d,0xfe,0x01,0x00,0x00,0x38,0x00,0x00] +// GFX11: encoding: [0x05,0x00,0x3a,0xd7,0x7d,0xe0,0x01,0x00] v_ashrrev_i16 v5, exec_lo, -1 // GFX11: encoding: [0x05,0x00,0x3a,0xd7,0x7e,0x82,0x01,0x00] @@ -596,7 +596,7 @@ v_ashrrev_i16 v5, -1, exec_hi // GFX11: encoding: [0x05,0x00,0x3a,0xd7,0xc1,0xfe,0x00,0x00] v_ashrrev_i16 v5, 0.5, m0 -// GFX11: encoding: [0x05,0x00,0x3a,0xd7,0xff,0xfa,0x00,0x00,0x00,0x38,0x00,0x00] +// GFX11: encoding: [0x05,0x00,0x3a,0xd7,0xf0,0xfa,0x00,0x00] v_ashrrev_i16 v5, src_scc, vcc_lo // GFX11: encoding: [0x05,0x00,0x3a,0xd7,0xfd,0xd4,0x00,0x00] @@ -861,7 +861,7 @@ v_cndmask_b16 v5, v1, src_scc, s3 // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cndmask_b16 v5, v255, 0.5, s3 -// W32: encoding: [0x05,0x00,0x5d,0xd6,0xff,0xff,0x0d,0x00,0x00,0x38,0x00,0x00] +// W32: encoding: [0x05,0x00,0x5d,0xd6,0xff,0xe1,0x0d,0x00] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cndmask_b16 v5, s105, s105, s3 @@ -897,7 +897,7 @@ v_cndmask_b16 v5, -1, -|vcc_lo|, vcc_lo // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cndmask_b16 v5, 0.5, -1, vcc_hi -// W32: encoding: [0x05,0x00,0x5d,0xd6,0xff,0x82,0xad,0x01,0x00,0x38,0x00,0x00] +// W32: encoding: [0x05,0x00,0x5d,0xd6,0xf0,0x82,0xad,0x01] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cndmask_b16 v5, -|src_scc|, null, ttmp15 @@ -909,7 +909,7 @@ v_cndmask_b16 v5, v1, src_scc, s[6:7] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cndmask_b16 v5, v255, 0.5, s[6:7] -// W64: encoding: [0x05,0x00,0x5d,0xd6,0xff,0xff,0x19,0x00,0x00,0x38,0x00,0x00] +// W64: encoding: [0x05,0x00,0x5d,0xd6,0xff,0xe1,0x19,0x00] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cndmask_b16 v5, s105, s105, s[6:7] @@ -945,7 +945,7 @@ v_cndmask_b16 v5, -1, -|vcc_lo|, s[104:105] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cndmask_b16 v5, 0.5, -1, vcc -// W64: encoding: [0x05,0x00,0x5d,0xd6,0xff,0x82,0xa9,0x01,0x00,0x38,0x00,0x00] +// W64: encoding: [0x05,0x00,0x5d,0xd6,0xf0,0x82,0xa9,0x01] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cndmask_b16 v5, -|src_scc|, null, ttmp[14:15] @@ -2639,7 +2639,7 @@ v_lshlrev_b16 v5, ttmp15, src_scc // GFX11: encoding: [0x05,0x00,0x38,0xd7,0x7b,0xfa,0x01,0x00] v_lshlrev_b16 v5, m0, 0.5 -// GFX11: encoding: [0x05,0x00,0x38,0xd7,0x7d,0xfe,0x01,0x00,0x00,0x38,0x00,0x00] +// GFX11: encoding: [0x05,0x00,0x38,0xd7,0x7d,0xe0,0x01,0x00] v_lshlrev_b16 v5, exec_lo, -1 // GFX11: encoding: [0x05,0x00,0x38,0xd7,0x7e,0x82,0x01,0x00] @@ -2654,7 +2654,7 @@ v_lshlrev_b16 v5, -1, exec_hi // GFX11: encoding: [0x05,0x00,0x38,0xd7,0xc1,0xfe,0x00,0x00] v_lshlrev_b16 v5, 0.5, m0 -// GFX11: encoding: [0x05,0x00,0x38,0xd7,0xff,0xfa,0x00,0x00,0x00,0x38,0x00,0x00] +// GFX11: encoding: [0x05,0x00,0x38,0xd7,0xf0,0xfa,0x00,0x00] v_lshlrev_b16 v5, src_scc, vcc_lo // GFX11: encoding: [0x05,0x00,0x38,0xd7,0xfd,0xd4,0x00,0x00] @@ -2711,7 +2711,7 @@ v_lshrrev_b16 v5, ttmp15, src_scc // GFX11: encoding: [0x05,0x00,0x39,0xd7,0x7b,0xfa,0x01,0x00] v_lshrrev_b16 v5, m0, 0.5 -// GFX11: encoding: [0x05,0x00,0x39,0xd7,0x7d,0xfe,0x01,0x00,0x00,0x38,0x00,0x00] +// GFX11: encoding: [0x05,0x00,0x39,0xd7,0x7d,0xe0,0x01,0x00] v_lshrrev_b16 v5, exec_lo, -1 // GFX11: encoding: [0x05,0x00,0x39,0xd7,0x7e,0x82,0x01,0x00] @@ -2726,7 +2726,7 @@ v_lshrrev_b16 v5, -1, exec_hi // GFX11: encoding: [0x05,0x00,0x39,0xd7,0xc1,0xfe,0x00,0x00] v_lshrrev_b16 v5, 0.5, m0 -// GFX11: encoding: [0x05,0x00,0x39,0xd7,0xff,0xfa,0x00,0x00,0x00,0x38,0x00,0x00] +// GFX11: encoding: [0x05,0x00,0x39,0xd7,0xf0,0xfa,0x00,0x00] v_lshrrev_b16 v5, src_scc, vcc_lo // GFX11: encoding: [0x05,0x00,0x39,0xd7,0xfd,0xd4,0x00,0x00] @@ -2783,7 +2783,7 @@ v_mad_i16 v5, ttmp15, src_scc, ttmp15 // GFX11: encoding: [0x05,0x00,0x53,0xd6,0x7b,0xfa,0xed,0x01] v_mad_i16 v5, m0, 0.5, m0 -// GFX11: encoding: [0x05,0x00,0x53,0xd6,0x7d,0xfe,0xf5,0x01,0x00,0x38,0x00,0x00] +// GFX11: encoding: [0x05,0x00,0x53,0xd6,0x7d,0xe0,0xf5,0x01] v_mad_i16 v5, exec_lo, -1, vcc_hi // GFX11: encoding: [0x05,0x00,0x53,0xd6,0x7e,0x82,0xad,0x01] @@ -2798,7 +2798,7 @@ v_mad_i16 v5, -1, exec_hi, src_scc op_sel:[1,0,0,0] // GFX11: encoding: [0x05,0x08,0x53,0xd6,0xc1,0xfe,0xf4,0x03] v_mad_i16 v5, 0.5, m0, 0.5 op_sel:[0,1,0,0] -// GFX11: encoding: [0x05,0x10,0x53,0xd6,0xff,0xfa,0xfc,0x03,0x00,0x38,0x00,0x00] +// GFX11: encoding: [0x05,0x10,0x53,0xd6,0xf0,0xfa,0xc0,0x03] v_mad_i16 v5, src_scc, vcc_lo, -1 op_sel:[0,0,1,0] // GFX11: encoding: [0x05,0x20,0x53,0xd6,0xfd,0xd4,0x04,0x03] @@ -2828,7 +2828,7 @@ v_mad_i32_i16 v5, ttmp15, src_scc, ttmp15 // GFX11: encoding: [0x05,0x00,0x5a,0xd6,0x7b,0xfa,0xed,0x01] v_mad_i32_i16 v5, m0, 0.5, m0 -// GFX11: encoding: [0x05,0x00,0x5a,0xd6,0x7d,0xfe,0xf5,0x01,0x00,0x38,0x00,0x00] +// GFX11: encoding: [0x05,0x00,0x5a,0xd6,0x7d,0xe0,0xf5,0x01] v_mad_i32_i16 v5, exec_lo, -1, exec_hi // GFX11: encoding: [0x05,0x00,0x5a,0xd6,0x7e,0x82,0xfd,0x01] @@ -2843,7 +2843,7 @@ v_mad_i32_i16 v5, -1, exec_hi, 0xaf123456 // GFX11: encoding: [0x05,0x00,0x5a,0xd6,0xc1,0xfe,0xfc,0x03,0x56,0x34,0x12,0xaf] v_mad_i32_i16 v5, 0.5, m0, -1 op_sel:[0,0,0,0] -// GFX11: encoding: [0x05,0x00,0x5a,0xd6,0xff,0xfa,0x04,0x03,0x00,0x38,0x00,0x00] +// GFX11: encoding: [0x05,0x00,0x5a,0xd6,0xf0,0xfa,0x04,0x03] v_mad_i32_i16 v5, src_scc, vcc_lo, src_scc op_sel:[1,0,0,0] // GFX11: encoding: [0x05,0x08,0x5a,0xd6,0xfd,0xd4,0xf4,0x03] @@ -2993,7 +2993,7 @@ v_mad_u16 v5, ttmp15, src_scc, ttmp15 // GFX11: encoding: [0x05,0x00,0x41,0xd6,0x7b,0xfa,0xed,0x01] v_mad_u16 v5, m0, 0.5, m0 -// GFX11: encoding: [0x05,0x00,0x41,0xd6,0x7d,0xfe,0xf5,0x01,0x00,0x38,0x00,0x00] +// GFX11: encoding: [0x05,0x00,0x41,0xd6,0x7d,0xe0,0xf5,0x01] v_mad_u16 v5, exec_lo, -1, vcc_hi // GFX11: encoding: [0x05,0x00,0x41,0xd6,0x7e,0x82,0xad,0x01] @@ -3008,7 +3008,7 @@ v_mad_u16 v5, -1, exec_hi, src_scc op_sel:[1,0,0,0] // GFX11: encoding: [0x05,0x08,0x41,0xd6,0xc1,0xfe,0xf4,0x03] v_mad_u16 v5, 0.5, m0, 0.5 op_sel:[0,1,0,0] -// GFX11: encoding: [0x05,0x10,0x41,0xd6,0xff,0xfa,0xfc,0x03,0x00,0x38,0x00,0x00] +// GFX11: encoding: [0x05,0x10,0x41,0xd6,0xf0,0xfa,0xc0,0x03] v_mad_u16 v5, src_scc, vcc_lo, -1 op_sel:[0,0,1,0] // GFX11: encoding: [0x05,0x20,0x41,0xd6,0xfd,0xd4,0x04,0x03] @@ -3038,7 +3038,7 @@ v_mad_u32_u16 v5, ttmp15, src_scc, ttmp15 // GFX11: encoding: [0x05,0x00,0x59,0xd6,0x7b,0xfa,0xed,0x01] v_mad_u32_u16 v5, m0, 0.5, m0 -// GFX11: encoding: [0x05,0x00,0x59,0xd6,0x7d,0xfe,0xf5,0x01,0x00,0x38,0x00,0x00] +// GFX11: encoding: [0x05,0x00,0x59,0xd6,0x7d,0xe0,0xf5,0x01] v_mad_u32_u16 v5, exec_lo, -1, exec_hi // GFX11: encoding: [0x05,0x00,0x59,0xd6,0x7e,0x82,0xfd,0x01] @@ -3053,7 +3053,7 @@ v_mad_u32_u16 v5, -1, exec_hi, 0xaf123456 // GFX11: encoding: [0x05,0x00,0x59,0xd6,0xc1,0xfe,0xfc,0x03,0x56,0x34,0x12,0xaf] v_mad_u32_u16 v5, 0.5, m0, -1 op_sel:[0,0,0,0] -// GFX11: encoding: [0x05,0x00,0x59,0xd6,0xff,0xfa,0x04,0x03,0x00,0x38,0x00,0x00] +// GFX11: encoding: [0x05,0x00,0x59,0xd6,0xf0,0xfa,0x04,0x03] v_mad_u32_u16 v5, src_scc, vcc_lo, src_scc op_sel:[1,0,0,0] // GFX11: encoding: [0x05,0x08,0x59,0xd6,0xfd,0xd4,0xf4,0x03] @@ -3296,7 +3296,7 @@ v_max3_i16 v5, ttmp15, src_scc, ttmp15 // GFX11: encoding: [0x05,0x00,0x4d,0xd6,0x7b,0xfa,0xed,0x01] v_max3_i16 v5, m0, 0.5, m0 -// GFX11: encoding: [0x05,0x00,0x4d,0xd6,0x7d,0xfe,0xf5,0x01,0x00,0x38,0x00,0x00] +// GFX11: encoding: [0x05,0x00,0x4d,0xd6,0x7d,0xe0,0xf5,0x01] v_max3_i16 v5, exec_lo, -1, vcc_hi // GFX11: encoding: [0x05,0x00,0x4d,0xd6,0x7e,0x82,0xad,0x01] @@ -3311,7 +3311,7 @@ v_max3_i16 v5, -1, exec_hi, src_scc op_sel:[1,0,0,0] // GFX11: encoding: [0x05,0x08,0x4d,0xd6,0xc1,0xfe,0xf4,0x03] v_max3_i16 v5, 0.5, m0, 0.5 op_sel:[0,1,0,0] -// GFX11: encoding: [0x05,0x10,0x4d,0xd6,0xff,0xfa,0xfc,0x03,0x00,0x38,0x00,0x00] +// GFX11: encoding: [0x05,0x10,0x4d,0xd6,0xf0,0xfa,0xc0,0x03] v_max3_i16 v5, src_scc, vcc_lo, -1 op_sel:[0,0,1,0] // GFX11: encoding: [0x05,0x20,0x4d,0xd6,0xfd,0xd4,0x04,0x03] @@ -3386,7 +3386,7 @@ v_max3_u16 v5, ttmp15, src_scc, ttmp15 // GFX11: encoding: [0x05,0x00,0x4e,0xd6,0x7b,0xfa,0xed,0x01] v_max3_u16 v5, m0, 0.5, m0 -// GFX11: encoding: [0x05,0x00,0x4e,0xd6,0x7d,0xfe,0xf5,0x01,0x00,0x38,0x00,0x00] +// GFX11: encoding: [0x05,0x00,0x4e,0xd6,0x7d,0xe0,0xf5,0x01] v_max3_u16 v5, exec_lo, -1, vcc_hi // GFX11: encoding: [0x05,0x00,0x4e,0xd6,0x7e,0x82,0xad,0x01] @@ -3401,7 +3401,7 @@ v_max3_u16 v5, -1, exec_hi, src_scc op_sel:[1,0,0,0] // GFX11: encoding: [0x05,0x08,0x4e,0xd6,0xc1,0xfe,0xf4,0x03] v_max3_u16 v5, 0.5, m0, 0.5 op_sel:[0,1,0,0] -// GFX11: encoding: [0x05,0x10,0x4e,0xd6,0xff,0xfa,0xfc,0x03,0x00,0x38,0x00,0x00] +// GFX11: encoding: [0x05,0x10,0x4e,0xd6,0xf0,0xfa,0xc0,0x03] v_max3_u16 v5, src_scc, vcc_lo, -1 op_sel:[0,0,1,0] // GFX11: encoding: [0x05,0x20,0x4e,0xd6,0xfd,0xd4,0x04,0x03] @@ -3512,7 +3512,7 @@ v_max_i16 v5, ttmp15, src_scc // GFX11: encoding: [0x05,0x00,0x0a,0xd7,0x7b,0xfa,0x01,0x00] v_max_i16 v5, m0, 0.5 -// GFX11: encoding: [0x05,0x00,0x0a,0xd7,0x7d,0xfe,0x01,0x00,0x00,0x38,0x00,0x00] +// GFX11: encoding: [0x05,0x00,0x0a,0xd7,0x7d,0xe0,0x01,0x00] v_max_i16 v5, exec_lo, -1 // GFX11: encoding: [0x05,0x00,0x0a,0xd7,0x7e,0x82,0x01,0x00] @@ -3527,7 +3527,7 @@ v_max_i16 v5, -1, exec_hi // GFX11: encoding: [0x05,0x00,0x0a,0xd7,0xc1,0xfe,0x00,0x00] v_max_i16 v5, 0.5, m0 -// GFX11: encoding: [0x05,0x00,0x0a,0xd7,0xff,0xfa,0x00,0x00,0x00,0x38,0x00,0x00] +// GFX11: encoding: [0x05,0x00,0x0a,0xd7,0xf0,0xfa,0x00,0x00] v_max_i16 v5, src_scc, vcc_lo // GFX11: encoding: [0x05,0x00,0x0a,0xd7,0xfd,0xd4,0x00,0x00] @@ -3557,7 +3557,7 @@ v_max_u16 v5, ttmp15, src_scc // GFX11: encoding: [0x05,0x00,0x09,0xd7,0x7b,0xfa,0x01,0x00] v_max_u16 v5, m0, 0.5 -// GFX11: encoding: [0x05,0x00,0x09,0xd7,0x7d,0xfe,0x01,0x00,0x00,0x38,0x00,0x00] +// GFX11: encoding: [0x05,0x00,0x09,0xd7,0x7d,0xe0,0x01,0x00] v_max_u16 v5, exec_lo, -1 // GFX11: encoding: [0x05,0x00,0x09,0xd7,0x7e,0x82,0x01,0x00] @@ -3572,7 +3572,7 @@ v_max_u16 v5, -1, exec_hi // GFX11: encoding: [0x05,0x00,0x09,0xd7,0xc1,0xfe,0x00,0x00] v_max_u16 v5, 0.5, m0 -// GFX11: encoding: [0x05,0x00,0x09,0xd7,0xff,0xfa,0x00,0x00,0x00,0x38,0x00,0x00] +// GFX11: encoding: [0x05,0x00,0x09,0xd7,0xf0,0xfa,0x00,0x00] v_max_u16 v5, src_scc, vcc_lo // GFX11: encoding: [0x05,0x00,0x09,0xd7,0xfd,0xd4,0x00,0x00] @@ -3965,7 +3965,7 @@ v_med3_i16 v5, ttmp15, src_scc, ttmp15 // GFX11: encoding: [0x05,0x00,0x50,0xd6,0x7b,0xfa,0xed,0x01] v_med3_i16 v5, m0, 0.5, m0 -// GFX11: encoding: [0x05,0x00,0x50,0xd6,0x7d,0xfe,0xf5,0x01,0x00,0x38,0x00,0x00] +// GFX11: encoding: [0x05,0x00,0x50,0xd6,0x7d,0xe0,0xf5,0x01] v_med3_i16 v5, exec_lo, -1, vcc_hi // GFX11: encoding: [0x05,0x00,0x50,0xd6,0x7e,0x82,0xad,0x01] @@ -3980,7 +3980,7 @@ v_med3_i16 v5, -1, exec_hi, src_scc op_sel:[1,0,0,0] // GFX11: encoding: [0x05,0x08,0x50,0xd6,0xc1,0xfe,0xf4,0x03] v_med3_i16 v5, 0.5, m0, 0.5 op_sel:[0,1,0,0] -// GFX11: encoding: [0x05,0x10,0x50,0xd6,0xff,0xfa,0xfc,0x03,0x00,0x38,0x00,0x00] +// GFX11: encoding: [0x05,0x10,0x50,0xd6,0xf0,0xfa,0xc0,0x03] v_med3_i16 v5, src_scc, vcc_lo, -1 op_sel:[0,0,1,0] // GFX11: encoding: [0x05,0x20,0x50,0xd6,0xfd,0xd4,0x04,0x03] @@ -4055,7 +4055,7 @@ v_med3_u16 v5, ttmp15, src_scc, ttmp15 // GFX11: encoding: [0x05,0x00,0x51,0xd6,0x7b,0xfa,0xed,0x01] v_med3_u16 v5, m0, 0.5, m0 -// GFX11: encoding: [0x05,0x00,0x51,0xd6,0x7d,0xfe,0xf5,0x01,0x00,0x38,0x00,0x00] +// GFX11: encoding: [0x05,0x00,0x51,0xd6,0x7d,0xe0,0xf5,0x01] v_med3_u16 v5, exec_lo, -1, vcc_hi // GFX11: encoding: [0x05,0x00,0x51,0xd6,0x7e,0x82,0xad,0x01] @@ -4070,7 +4070,7 @@ v_med3_u16 v5, -1, exec_hi, src_scc op_sel:[1,0,0,0] // GFX11: encoding: [0x05,0x08,0x51,0xd6,0xc1,0xfe,0xf4,0x03] v_med3_u16 v5, 0.5, m0, 0.5 op_sel:[0,1,0,0] -// GFX11: encoding: [0x05,0x10,0x51,0xd6,0xff,0xfa,0xfc,0x03,0x00,0x38,0x00,0x00] +// GFX11: encoding: [0x05,0x10,0x51,0xd6,0xf0,0xfa,0xc0,0x03] v_med3_u16 v5, src_scc, vcc_lo, -1 op_sel:[0,0,1,0] // GFX11: encoding: [0x05,0x20,0x51,0xd6,0xfd,0xd4,0x04,0x03] @@ -4238,7 +4238,7 @@ v_min3_i16 v5, ttmp15, src_scc, ttmp15 // GFX11: encoding: [0x05,0x00,0x4a,0xd6,0x7b,0xfa,0xed,0x01] v_min3_i16 v5, m0, 0.5, m0 -// GFX11: encoding: [0x05,0x00,0x4a,0xd6,0x7d,0xfe,0xf5,0x01,0x00,0x38,0x00,0x00] +// GFX11: encoding: [0x05,0x00,0x4a,0xd6,0x7d,0xe0,0xf5,0x01] v_min3_i16 v5, exec_lo, -1, vcc_hi // GFX11: encoding: [0x05,0x00,0x4a,0xd6,0x7e,0x82,0xad,0x01] @@ -4253,7 +4253,7 @@ v_min3_i16 v5, -1, exec_hi, src_scc op_sel:[1,0,0,0] // GFX11: encoding: [0x05,0x08,0x4a,0xd6,0xc1,0xfe,0xf4,0x03] v_min3_i16 v5, 0.5, m0, 0.5 op_sel:[0,1,0,0] -// GFX11: encoding: [0x05,0x10,0x4a,0xd6,0xff,0xfa,0xfc,0x03,0x00,0x38,0x00,0x00] +// GFX11: encoding: [0x05,0x10,0x4a,0xd6,0xf0,0xfa,0xc0,0x03] v_min3_i16 v5, src_scc, vcc_lo, -1 op_sel:[0,0,1,0] // GFX11: encoding: [0x05,0x20,0x4a,0xd6,0xfd,0xd4,0x04,0x03] @@ -4328,7 +4328,7 @@ v_min3_u16 v5, ttmp15, src_scc, ttmp15 // GFX11: encoding: [0x05,0x00,0x4b,0xd6,0x7b,0xfa,0xed,0x01] v_min3_u16 v5, m0, 0.5, m0 -// GFX11: encoding: [0x05,0x00,0x4b,0xd6,0x7d,0xfe,0xf5,0x01,0x00,0x38,0x00,0x00] +// GFX11: encoding: [0x05,0x00,0x4b,0xd6,0x7d,0xe0,0xf5,0x01] v_min3_u16 v5, exec_lo, -1, vcc_hi // GFX11: encoding: [0x05,0x00,0x4b,0xd6,0x7e,0x82,0xad,0x01] @@ -4343,7 +4343,7 @@ v_min3_u16 v5, -1, exec_hi, src_scc op_sel:[1,0,0,0] // GFX11: encoding: [0x05,0x08,0x4b,0xd6,0xc1,0xfe,0xf4,0x03] v_min3_u16 v5, 0.5, m0, 0.5 op_sel:[0,1,0,0] -// GFX11: encoding: [0x05,0x10,0x4b,0xd6,0xff,0xfa,0xfc,0x03,0x00,0x38,0x00,0x00] +// GFX11: encoding: [0x05,0x10,0x4b,0xd6,0xf0,0xfa,0xc0,0x03] v_min3_u16 v5, src_scc, vcc_lo, -1 op_sel:[0,0,1,0] // GFX11: encoding: [0x05,0x20,0x4b,0xd6,0xfd,0xd4,0x04,0x03] @@ -4454,7 +4454,7 @@ v_min_i16 v5, ttmp15, src_scc // GFX11: encoding: [0x05,0x00,0x0c,0xd7,0x7b,0xfa,0x01,0x00] v_min_i16 v5, m0, 0.5 -// GFX11: encoding: [0x05,0x00,0x0c,0xd7,0x7d,0xfe,0x01,0x00,0x00,0x38,0x00,0x00] +// GFX11: encoding: [0x05,0x00,0x0c,0xd7,0x7d,0xe0,0x01,0x00] v_min_i16 v5, exec_lo, -1 // GFX11: encoding: [0x05,0x00,0x0c,0xd7,0x7e,0x82,0x01,0x00] @@ -4469,7 +4469,7 @@ v_min_i16 v5, -1, exec_hi // GFX11: encoding: [0x05,0x00,0x0c,0xd7,0xc1,0xfe,0x00,0x00] v_min_i16 v5, 0.5, m0 -// GFX11: encoding: [0x05,0x00,0x0c,0xd7,0xff,0xfa,0x00,0x00,0x00,0x38,0x00,0x00] +// GFX11: encoding: [0x05,0x00,0x0c,0xd7,0xf0,0xfa,0x00,0x00] v_min_i16 v5, src_scc, vcc_lo // GFX11: encoding: [0x05,0x00,0x0c,0xd7,0xfd,0xd4,0x00,0x00] @@ -4499,7 +4499,7 @@ v_min_u16 v5, ttmp15, src_scc // GFX11: encoding: [0x05,0x00,0x0b,0xd7,0x7b,0xfa,0x01,0x00] v_min_u16 v5, m0, 0.5 -// GFX11: encoding: [0x05,0x00,0x0b,0xd7,0x7d,0xfe,0x01,0x00,0x00,0x38,0x00,0x00] +// GFX11: encoding: [0x05,0x00,0x0b,0xd7,0x7d,0xe0,0x01,0x00] v_min_u16 v5, exec_lo, -1 // GFX11: encoding: [0x05,0x00,0x0b,0xd7,0x7e,0x82,0x01,0x00] @@ -4514,7 +4514,7 @@ v_min_u16 v5, -1, exec_hi // GFX11: encoding: [0x05,0x00,0x0b,0xd7,0xc1,0xfe,0x00,0x00] v_min_u16 v5, 0.5, m0 -// GFX11: encoding: [0x05,0x00,0x0b,0xd7,0xff,0xfa,0x00,0x00,0x00,0x38,0x00,0x00] +// GFX11: encoding: [0x05,0x00,0x0b,0xd7,0xf0,0xfa,0x00,0x00] v_min_u16 v5, src_scc, vcc_lo // GFX11: encoding: [0x05,0x00,0x0b,0xd7,0xfd,0xd4,0x00,0x00] @@ -4985,7 +4985,7 @@ v_mul_lo_u16 v5, ttmp15, src_scc // GFX11: encoding: [0x05,0x00,0x05,0xd7,0x7b,0xfa,0x01,0x00] v_mul_lo_u16 v5, m0, 0.5 -// GFX11: encoding: [0x05,0x00,0x05,0xd7,0x7d,0xfe,0x01,0x00,0x00,0x38,0x00,0x00] +// GFX11: encoding: [0x05,0x00,0x05,0xd7,0x7d,0xe0,0x01,0x00] v_mul_lo_u16 v5, exec_lo, -1 // GFX11: encoding: [0x05,0x00,0x05,0xd7,0x7e,0x82,0x01,0x00] @@ -5000,7 +5000,7 @@ v_mul_lo_u16 v5, -1, exec_hi // GFX11: encoding: [0x05,0x00,0x05,0xd7,0xc1,0xfe,0x00,0x00] v_mul_lo_u16 v5, 0.5, m0 -// GFX11: encoding: [0x05,0x00,0x05,0xd7,0xff,0xfa,0x00,0x00,0x00,0x38,0x00,0x00] +// GFX11: encoding: [0x05,0x00,0x05,0xd7,0xf0,0xfa,0x00,0x00] v_mul_lo_u16 v5, src_scc, vcc_lo // GFX11: encoding: [0x05,0x00,0x05,0xd7,0xfd,0xd4,0x00,0x00] @@ -5165,7 +5165,7 @@ v_or_b16 v5, ttmp15, src_scc // GFX11: encoding: [0x05,0x00,0x63,0xd7,0x7b,0xfa,0x01,0x00] v_or_b16 v5, m0, 0.5 -// GFX11: encoding: [0x05,0x00,0x63,0xd7,0x7d,0xfe,0x01,0x00,0x00,0x38,0x00,0x00] +// GFX11: encoding: [0x05,0x00,0x63,0xd7,0x7d,0xe0,0x01,0x00] v_or_b16 v5, exec_lo, -1 // GFX11: encoding: [0x05,0x00,0x63,0xd7,0x7e,0x82,0x01,0x00] @@ -5180,7 +5180,7 @@ v_or_b16 v5, -1, exec_hi // GFX11: encoding: [0x05,0x00,0x63,0xd7,0xc1,0xfe,0x00,0x00] v_or_b16 v5, 0.5, m0 -// GFX11: encoding: [0x05,0x00,0x63,0xd7,0xff,0xfa,0x00,0x00,0x00,0x38,0x00,0x00] +// GFX11: encoding: [0x05,0x00,0x63,0xd7,0xf0,0xfa,0x00,0x00] v_or_b16 v5, src_scc, vcc_lo // GFX11: encoding: [0x05,0x00,0x63,0xd7,0xfd,0xd4,0x00,0x00] @@ -5751,7 +5751,7 @@ v_sub_nc_i16 v5, ttmp15, src_scc // GFX11: encoding: [0x05,0x00,0x0e,0xd7,0x7b,0xfa,0x01,0x00] v_sub_nc_i16 v5, m0, 0.5 -// GFX11: encoding: [0x05,0x00,0x0e,0xd7,0x7d,0xfe,0x01,0x00,0x00,0x38,0x00,0x00] +// GFX11: encoding: [0x05,0x00,0x0e,0xd7,0x7d,0xe0,0x01,0x00] v_sub_nc_i16 v5, exec_lo, -1 // GFX11: encoding: [0x05,0x00,0x0e,0xd7,0x7e,0x82,0x01,0x00] @@ -5766,7 +5766,7 @@ v_sub_nc_i16 v5, -1, exec_hi op_sel:[0,0,0] // GFX11: encoding: [0x05,0x00,0x0e,0xd7,0xc1,0xfe,0x00,0x00] v_sub_nc_i16 v5, 0.5, m0 op_sel:[1,0,0] -// GFX11: encoding: [0x05,0x08,0x0e,0xd7,0xff,0xfa,0x00,0x00,0x00,0x38,0x00,0x00] +// GFX11: encoding: [0x05,0x08,0x0e,0xd7,0xf0,0xfa,0x00,0x00] v_sub_nc_i16 v5, src_scc, vcc_lo op_sel:[0,1,0] // GFX11: encoding: [0x05,0x10,0x0e,0xd7,0xfd,0xd4,0x00,0x00] @@ -5841,7 +5841,7 @@ v_sub_nc_u16 v5, ttmp15, src_scc // GFX11: encoding: [0x05,0x00,0x04,0xd7,0x7b,0xfa,0x01,0x00] v_sub_nc_u16 v5, m0, 0.5 -// GFX11: encoding: [0x05,0x00,0x04,0xd7,0x7d,0xfe,0x01,0x00,0x00,0x38,0x00,0x00] +// GFX11: encoding: [0x05,0x00,0x04,0xd7,0x7d,0xe0,0x01,0x00] v_sub_nc_u16 v5, exec_lo, -1 // GFX11: encoding: [0x05,0x00,0x04,0xd7,0x7e,0x82,0x01,0x00] @@ -5856,7 +5856,7 @@ v_sub_nc_u16 v5, -1, exec_hi op_sel:[0,0,0] // GFX11: encoding: [0x05,0x00,0x04,0xd7,0xc1,0xfe,0x00,0x00] v_sub_nc_u16 v5, 0.5, m0 op_sel:[1,0,0] -// GFX11: encoding: [0x05,0x08,0x04,0xd7,0xff,0xfa,0x00,0x00,0x00,0x38,0x00,0x00] +// GFX11: encoding: [0x05,0x08,0x04,0xd7,0xf0,0xfa,0x00,0x00] v_sub_nc_u16 v5, src_scc, vcc_lo op_sel:[0,1,0] // GFX11: encoding: [0x05,0x10,0x04,0xd7,0xfd,0xd4,0x00,0x00] @@ -6175,7 +6175,7 @@ v_xor_b16 v5, ttmp15, src_scc // GFX11: encoding: [0x05,0x00,0x64,0xd7,0x7b,0xfa,0x01,0x00] v_xor_b16 v5, m0, 0.5 -// GFX11: encoding: [0x05,0x00,0x64,0xd7,0x7d,0xfe,0x01,0x00,0x00,0x38,0x00,0x00] +// GFX11: encoding: [0x05,0x00,0x64,0xd7,0x7d,0xe0,0x01,0x00] v_xor_b16 v5, exec_lo, -1 // GFX11: encoding: [0x05,0x00,0x64,0xd7,0x7e,0x82,0x01,0x00] @@ -6190,7 +6190,7 @@ v_xor_b16 v5, -1, exec_hi // GFX11: encoding: [0x05,0x00,0x64,0xd7,0xc1,0xfe,0x00,0x00] v_xor_b16 v5, 0.5, m0 -// GFX11: encoding: [0x05,0x00,0x64,0xd7,0xff,0xfa,0x00,0x00,0x00,0x38,0x00,0x00] +// GFX11: encoding: [0x05,0x00,0x64,0xd7,0xf0,0xfa,0x00,0x00] v_xor_b16 v5, src_scc, vcc_lo // GFX11: encoding: [0x05,0x00,0x64,0xd7,0xfd,0xd4,0x00,0x00] diff --git a/llvm/test/MC/AMDGPU/gfx11_asm_vop3_from_vop1.s b/llvm/test/MC/AMDGPU/gfx11_asm_vop3_from_vop1.s index fb4e9108fe1d1a..71e0f82504151c 100644 --- a/llvm/test/MC/AMDGPU/gfx11_asm_vop3_from_vop1.s +++ b/llvm/test/MC/AMDGPU/gfx11_asm_vop3_from_vop1.s @@ -478,7 +478,7 @@ v_cvt_f16_i16_e64 v5, -1 // GFX11: encoding: [0x05,0x00,0xd1,0xd5,0xc1,0x00,0x00,0x00] v_cvt_f16_i16_e64 v5, 0.5 mul:2 -// GFX11: encoding: [0x05,0x00,0xd1,0xd5,0xff,0x00,0x00,0x08,0x00,0x38,0x00,0x00] +// GFX11: encoding: [0x05,0x00,0xd1,0xd5,0xf0,0x00,0x00,0x08] v_cvt_f16_i16_e64 v5, src_scc mul:4 // GFX11: encoding: [0x05,0x00,0xd1,0xd5,0xfd,0x00,0x00,0x10] @@ -523,7 +523,7 @@ v_cvt_f16_u16_e64 v5, -1 // GFX11: encoding: [0x05,0x00,0xd0,0xd5,0xc1,0x00,0x00,0x00] v_cvt_f16_u16_e64 v5, 0.5 mul:2 -// GFX11: encoding: [0x05,0x00,0xd0,0xd5,0xff,0x00,0x00,0x08,0x00,0x38,0x00,0x00] +// GFX11: encoding: [0x05,0x00,0xd0,0xd5,0xf0,0x00,0x00,0x08] v_cvt_f16_u16_e64 v5, src_scc mul:4 // GFX11: encoding: [0x05,0x00,0xd0,0xd5,0xfd,0x00,0x00,0x10] @@ -1270,7 +1270,7 @@ v_cvt_i32_i16_e64 v5, -1 // GFX11: encoding: [0x05,0x00,0xea,0xd5,0xc1,0x00,0x00,0x00] v_cvt_i32_i16_e64 v5, 0.5 -// GFX11: encoding: [0x05,0x00,0xea,0xd5,0xff,0x00,0x00,0x00,0x00,0x38,0x00,0x00] +// GFX11: encoding: [0x05,0x00,0xea,0xd5,0xf0,0x00,0x00,0x00] v_cvt_i32_i16_e64 v5, src_scc // GFX11: encoding: [0x05,0x00,0xea,0xd5,0xfd,0x00,0x00,0x00] @@ -1666,7 +1666,7 @@ v_cvt_u32_u16_e64 v5, -1 // GFX11: encoding: [0x05,0x00,0xeb,0xd5,0xc1,0x00,0x00,0x00] v_cvt_u32_u16_e64 v5, 0.5 -// GFX11: encoding: [0x05,0x00,0xeb,0xd5,0xff,0x00,0x00,0x00,0x00,0x38,0x00,0x00] +// GFX11: encoding: [0x05,0x00,0xeb,0xd5,0xf0,0x00,0x00,0x00] v_cvt_u32_u16_e64 v5, src_scc // GFX11: encoding: [0x05,0x00,0xeb,0xd5,0xfd,0x00,0x00,0x00] @@ -2641,7 +2641,7 @@ v_not_b16_e64 v5, -1 // GFX11: encoding: [0x05,0x00,0xe9,0xd5,0xc1,0x00,0x00,0x00] v_not_b16_e64 v5, 0.5 -// GFX11: encoding: [0x05,0x00,0xe9,0xd5,0xff,0x00,0x00,0x00,0x00,0x38,0x00,0x00] +// GFX11: encoding: [0x05,0x00,0xe9,0xd5,0xf0,0x00,0x00,0x00] v_not_b16_e64 v5, src_scc // GFX11: encoding: [0x05,0x00,0xe9,0xd5,0xfd,0x00,0x00,0x00] diff --git a/llvm/test/MC/AMDGPU/gfx11_asm_vop3_from_vopc.s b/llvm/test/MC/AMDGPU/gfx11_asm_vop3_from_vopc.s index 3a6a61891d2932..72894715408ad0 100644 --- a/llvm/test/MC/AMDGPU/gfx11_asm_vop3_from_vopc.s +++ b/llvm/test/MC/AMDGPU/gfx11_asm_vop3_from_vopc.s @@ -702,7 +702,7 @@ v_cmp_eq_i16_e64 s5, ttmp15, src_scc // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_eq_i16_e64 s5, m0, 0.5 -// W32: encoding: [0x05,0x00,0x32,0xd4,0x7d,0xfe,0x01,0x00,0x00,0x38,0x00,0x00] +// W32: encoding: [0x05,0x00,0x32,0xd4,0x7d,0xe0,0x01,0x00] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_eq_i16_e64 s5, exec_lo, -1 @@ -722,7 +722,7 @@ v_cmp_eq_i16_e64 vcc_lo, -1, exec_hi // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_eq_i16_e64 vcc_hi, 0.5, m0 -// W32: encoding: [0x6b,0x00,0x32,0xd4,0xff,0xfa,0x00,0x00,0x00,0x38,0x00,0x00] +// W32: encoding: [0x6b,0x00,0x32,0xd4,0xf0,0xfa,0x00,0x00] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_eq_i16_e64 ttmp15, src_scc, vcc_lo @@ -758,7 +758,7 @@ v_cmp_eq_i16_e64 s[10:11], ttmp15, src_scc // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_eq_i16_e64 s[10:11], m0, 0.5 -// W64: encoding: [0x0a,0x00,0x32,0xd4,0x7d,0xfe,0x01,0x00,0x00,0x38,0x00,0x00] +// W64: encoding: [0x0a,0x00,0x32,0xd4,0x7d,0xe0,0x01,0x00] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_eq_i16_e64 s[10:11], exec_lo, -1 @@ -778,7 +778,7 @@ v_cmp_eq_i16_e64 s[104:105], -1, exec_hi // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_eq_i16_e64 vcc, 0.5, m0 -// W64: encoding: [0x6a,0x00,0x32,0xd4,0xff,0xfa,0x00,0x00,0x00,0x38,0x00,0x00] +// W64: encoding: [0x6a,0x00,0x32,0xd4,0xf0,0xfa,0x00,0x00] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_eq_i16_e64 ttmp[14:15], src_scc, vcc_lo @@ -1023,7 +1023,7 @@ v_cmp_eq_u16_e64 s5, ttmp15, src_scc // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_eq_u16_e64 s5, m0, 0.5 -// W32: encoding: [0x05,0x00,0x3a,0xd4,0x7d,0xfe,0x01,0x00,0x00,0x38,0x00,0x00] +// W32: encoding: [0x05,0x00,0x3a,0xd4,0x7d,0xe0,0x01,0x00] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_eq_u16_e64 s5, exec_lo, -1 @@ -1043,7 +1043,7 @@ v_cmp_eq_u16_e64 vcc_lo, -1, exec_hi // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_eq_u16_e64 vcc_hi, 0.5, m0 -// W32: encoding: [0x6b,0x00,0x3a,0xd4,0xff,0xfa,0x00,0x00,0x00,0x38,0x00,0x00] +// W32: encoding: [0x6b,0x00,0x3a,0xd4,0xf0,0xfa,0x00,0x00] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_eq_u16_e64 ttmp15, src_scc, vcc_lo @@ -1079,7 +1079,7 @@ v_cmp_eq_u16_e64 s[10:11], ttmp15, src_scc // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_eq_u16_e64 s[10:11], m0, 0.5 -// W64: encoding: [0x0a,0x00,0x3a,0xd4,0x7d,0xfe,0x01,0x00,0x00,0x38,0x00,0x00] +// W64: encoding: [0x0a,0x00,0x3a,0xd4,0x7d,0xe0,0x01,0x00] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_eq_u16_e64 s[10:11], exec_lo, -1 @@ -1099,7 +1099,7 @@ v_cmp_eq_u16_e64 s[104:105], -1, exec_hi // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_eq_u16_e64 vcc, 0.5, m0 -// W64: encoding: [0x6a,0x00,0x3a,0xd4,0xff,0xfa,0x00,0x00,0x00,0x38,0x00,0x00] +// W64: encoding: [0x6a,0x00,0x3a,0xd4,0xf0,0xfa,0x00,0x00] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_eq_u16_e64 ttmp[14:15], src_scc, vcc_lo @@ -2398,7 +2398,7 @@ v_cmp_ge_i16_e64 s5, ttmp15, src_scc // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_ge_i16_e64 s5, m0, 0.5 -// W32: encoding: [0x05,0x00,0x36,0xd4,0x7d,0xfe,0x01,0x00,0x00,0x38,0x00,0x00] +// W32: encoding: [0x05,0x00,0x36,0xd4,0x7d,0xe0,0x01,0x00] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_ge_i16_e64 s5, exec_lo, -1 @@ -2418,7 +2418,7 @@ v_cmp_ge_i16_e64 vcc_lo, -1, exec_hi // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_ge_i16_e64 vcc_hi, 0.5, m0 -// W32: encoding: [0x6b,0x00,0x36,0xd4,0xff,0xfa,0x00,0x00,0x00,0x38,0x00,0x00] +// W32: encoding: [0x6b,0x00,0x36,0xd4,0xf0,0xfa,0x00,0x00] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_ge_i16_e64 ttmp15, src_scc, vcc_lo @@ -2454,7 +2454,7 @@ v_cmp_ge_i16_e64 s[10:11], ttmp15, src_scc // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_ge_i16_e64 s[10:11], m0, 0.5 -// W64: encoding: [0x0a,0x00,0x36,0xd4,0x7d,0xfe,0x01,0x00,0x00,0x38,0x00,0x00] +// W64: encoding: [0x0a,0x00,0x36,0xd4,0x7d,0xe0,0x01,0x00] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_ge_i16_e64 s[10:11], exec_lo, -1 @@ -2474,7 +2474,7 @@ v_cmp_ge_i16_e64 s[104:105], -1, exec_hi // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_ge_i16_e64 vcc, 0.5, m0 -// W64: encoding: [0x6a,0x00,0x36,0xd4,0xff,0xfa,0x00,0x00,0x00,0x38,0x00,0x00] +// W64: encoding: [0x6a,0x00,0x36,0xd4,0xf0,0xfa,0x00,0x00] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_ge_i16_e64 ttmp[14:15], src_scc, vcc_lo @@ -2719,7 +2719,7 @@ v_cmp_ge_u16_e64 s5, ttmp15, src_scc // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_ge_u16_e64 s5, m0, 0.5 -// W32: encoding: [0x05,0x00,0x3e,0xd4,0x7d,0xfe,0x01,0x00,0x00,0x38,0x00,0x00] +// W32: encoding: [0x05,0x00,0x3e,0xd4,0x7d,0xe0,0x01,0x00] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_ge_u16_e64 s5, exec_lo, -1 @@ -2739,7 +2739,7 @@ v_cmp_ge_u16_e64 vcc_lo, -1, exec_hi // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_ge_u16_e64 vcc_hi, 0.5, m0 -// W32: encoding: [0x6b,0x00,0x3e,0xd4,0xff,0xfa,0x00,0x00,0x00,0x38,0x00,0x00] +// W32: encoding: [0x6b,0x00,0x3e,0xd4,0xf0,0xfa,0x00,0x00] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_ge_u16_e64 ttmp15, src_scc, vcc_lo @@ -2775,7 +2775,7 @@ v_cmp_ge_u16_e64 s[10:11], ttmp15, src_scc // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_ge_u16_e64 s[10:11], m0, 0.5 -// W64: encoding: [0x0a,0x00,0x3e,0xd4,0x7d,0xfe,0x01,0x00,0x00,0x38,0x00,0x00] +// W64: encoding: [0x0a,0x00,0x3e,0xd4,0x7d,0xe0,0x01,0x00] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_ge_u16_e64 s[10:11], exec_lo, -1 @@ -2795,7 +2795,7 @@ v_cmp_ge_u16_e64 s[104:105], -1, exec_hi // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_ge_u16_e64 vcc, 0.5, m0 -// W64: encoding: [0x6a,0x00,0x3e,0xd4,0xff,0xfa,0x00,0x00,0x00,0x38,0x00,0x00] +// W64: encoding: [0x6a,0x00,0x3e,0xd4,0xf0,0xfa,0x00,0x00] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_ge_u16_e64 ttmp[14:15], src_scc, vcc_lo @@ -3361,7 +3361,7 @@ v_cmp_gt_i16_e64 s5, ttmp15, src_scc // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_gt_i16_e64 s5, m0, 0.5 -// W32: encoding: [0x05,0x00,0x34,0xd4,0x7d,0xfe,0x01,0x00,0x00,0x38,0x00,0x00] +// W32: encoding: [0x05,0x00,0x34,0xd4,0x7d,0xe0,0x01,0x00] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_gt_i16_e64 s5, exec_lo, -1 @@ -3381,7 +3381,7 @@ v_cmp_gt_i16_e64 vcc_lo, -1, exec_hi // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_gt_i16_e64 vcc_hi, 0.5, m0 -// W32: encoding: [0x6b,0x00,0x34,0xd4,0xff,0xfa,0x00,0x00,0x00,0x38,0x00,0x00] +// W32: encoding: [0x6b,0x00,0x34,0xd4,0xf0,0xfa,0x00,0x00] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_gt_i16_e64 ttmp15, src_scc, vcc_lo @@ -3417,7 +3417,7 @@ v_cmp_gt_i16_e64 s[10:11], ttmp15, src_scc // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_gt_i16_e64 s[10:11], m0, 0.5 -// W64: encoding: [0x0a,0x00,0x34,0xd4,0x7d,0xfe,0x01,0x00,0x00,0x38,0x00,0x00] +// W64: encoding: [0x0a,0x00,0x34,0xd4,0x7d,0xe0,0x01,0x00] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_gt_i16_e64 s[10:11], exec_lo, -1 @@ -3437,7 +3437,7 @@ v_cmp_gt_i16_e64 s[104:105], -1, exec_hi // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_gt_i16_e64 vcc, 0.5, m0 -// W64: encoding: [0x6a,0x00,0x34,0xd4,0xff,0xfa,0x00,0x00,0x00,0x38,0x00,0x00] +// W64: encoding: [0x6a,0x00,0x34,0xd4,0xf0,0xfa,0x00,0x00] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_gt_i16_e64 ttmp[14:15], src_scc, vcc_lo @@ -3682,7 +3682,7 @@ v_cmp_gt_u16_e64 s5, ttmp15, src_scc // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_gt_u16_e64 s5, m0, 0.5 -// W32: encoding: [0x05,0x00,0x3c,0xd4,0x7d,0xfe,0x01,0x00,0x00,0x38,0x00,0x00] +// W32: encoding: [0x05,0x00,0x3c,0xd4,0x7d,0xe0,0x01,0x00] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_gt_u16_e64 s5, exec_lo, -1 @@ -3702,7 +3702,7 @@ v_cmp_gt_u16_e64 vcc_lo, -1, exec_hi // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_gt_u16_e64 vcc_hi, 0.5, m0 -// W32: encoding: [0x6b,0x00,0x3c,0xd4,0xff,0xfa,0x00,0x00,0x00,0x38,0x00,0x00] +// W32: encoding: [0x6b,0x00,0x3c,0xd4,0xf0,0xfa,0x00,0x00] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_gt_u16_e64 ttmp15, src_scc, vcc_lo @@ -3738,7 +3738,7 @@ v_cmp_gt_u16_e64 s[10:11], ttmp15, src_scc // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_gt_u16_e64 s[10:11], m0, 0.5 -// W64: encoding: [0x0a,0x00,0x3c,0xd4,0x7d,0xfe,0x01,0x00,0x00,0x38,0x00,0x00] +// W64: encoding: [0x0a,0x00,0x3c,0xd4,0x7d,0xe0,0x01,0x00] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_gt_u16_e64 s[10:11], exec_lo, -1 @@ -3758,7 +3758,7 @@ v_cmp_gt_u16_e64 s[104:105], -1, exec_hi // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_gt_u16_e64 vcc, 0.5, m0 -// W64: encoding: [0x6a,0x00,0x3c,0xd4,0xff,0xfa,0x00,0x00,0x00,0x38,0x00,0x00] +// W64: encoding: [0x6a,0x00,0x3c,0xd4,0xf0,0xfa,0x00,0x00] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_gt_u16_e64 ttmp[14:15], src_scc, vcc_lo @@ -4324,7 +4324,7 @@ v_cmp_le_i16_e64 s5, ttmp15, src_scc // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_le_i16_e64 s5, m0, 0.5 -// W32: encoding: [0x05,0x00,0x33,0xd4,0x7d,0xfe,0x01,0x00,0x00,0x38,0x00,0x00] +// W32: encoding: [0x05,0x00,0x33,0xd4,0x7d,0xe0,0x01,0x00] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_le_i16_e64 s5, exec_lo, -1 @@ -4344,7 +4344,7 @@ v_cmp_le_i16_e64 vcc_lo, -1, exec_hi // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_le_i16_e64 vcc_hi, 0.5, m0 -// W32: encoding: [0x6b,0x00,0x33,0xd4,0xff,0xfa,0x00,0x00,0x00,0x38,0x00,0x00] +// W32: encoding: [0x6b,0x00,0x33,0xd4,0xf0,0xfa,0x00,0x00] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_le_i16_e64 ttmp15, src_scc, vcc_lo @@ -4380,7 +4380,7 @@ v_cmp_le_i16_e64 s[10:11], ttmp15, src_scc // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_le_i16_e64 s[10:11], m0, 0.5 -// W64: encoding: [0x0a,0x00,0x33,0xd4,0x7d,0xfe,0x01,0x00,0x00,0x38,0x00,0x00] +// W64: encoding: [0x0a,0x00,0x33,0xd4,0x7d,0xe0,0x01,0x00] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_le_i16_e64 s[10:11], exec_lo, -1 @@ -4400,7 +4400,7 @@ v_cmp_le_i16_e64 s[104:105], -1, exec_hi // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_le_i16_e64 vcc, 0.5, m0 -// W64: encoding: [0x6a,0x00,0x33,0xd4,0xff,0xfa,0x00,0x00,0x00,0x38,0x00,0x00] +// W64: encoding: [0x6a,0x00,0x33,0xd4,0xf0,0xfa,0x00,0x00] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_le_i16_e64 ttmp[14:15], src_scc, vcc_lo @@ -4645,7 +4645,7 @@ v_cmp_le_u16_e64 s5, ttmp15, src_scc // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_le_u16_e64 s5, m0, 0.5 -// W32: encoding: [0x05,0x00,0x3b,0xd4,0x7d,0xfe,0x01,0x00,0x00,0x38,0x00,0x00] +// W32: encoding: [0x05,0x00,0x3b,0xd4,0x7d,0xe0,0x01,0x00] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_le_u16_e64 s5, exec_lo, -1 @@ -4665,7 +4665,7 @@ v_cmp_le_u16_e64 vcc_lo, -1, exec_hi // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_le_u16_e64 vcc_hi, 0.5, m0 -// W32: encoding: [0x6b,0x00,0x3b,0xd4,0xff,0xfa,0x00,0x00,0x00,0x38,0x00,0x00] +// W32: encoding: [0x6b,0x00,0x3b,0xd4,0xf0,0xfa,0x00,0x00] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_le_u16_e64 ttmp15, src_scc, vcc_lo @@ -4701,7 +4701,7 @@ v_cmp_le_u16_e64 s[10:11], ttmp15, src_scc // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_le_u16_e64 s[10:11], m0, 0.5 -// W64: encoding: [0x0a,0x00,0x3b,0xd4,0x7d,0xfe,0x01,0x00,0x00,0x38,0x00,0x00] +// W64: encoding: [0x0a,0x00,0x3b,0xd4,0x7d,0xe0,0x01,0x00] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_le_u16_e64 s[10:11], exec_lo, -1 @@ -4721,7 +4721,7 @@ v_cmp_le_u16_e64 s[104:105], -1, exec_hi // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_le_u16_e64 vcc, 0.5, m0 -// W64: encoding: [0x6a,0x00,0x3b,0xd4,0xff,0xfa,0x00,0x00,0x00,0x38,0x00,0x00] +// W64: encoding: [0x6a,0x00,0x3b,0xd4,0xf0,0xfa,0x00,0x00] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_le_u16_e64 ttmp[14:15], src_scc, vcc_lo @@ -5608,7 +5608,7 @@ v_cmp_lt_i16_e64 s5, ttmp15, src_scc // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_lt_i16_e64 s5, m0, 0.5 -// W32: encoding: [0x05,0x00,0x31,0xd4,0x7d,0xfe,0x01,0x00,0x00,0x38,0x00,0x00] +// W32: encoding: [0x05,0x00,0x31,0xd4,0x7d,0xe0,0x01,0x00] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_lt_i16_e64 s5, exec_lo, -1 @@ -5628,7 +5628,7 @@ v_cmp_lt_i16_e64 vcc_lo, -1, exec_hi // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_lt_i16_e64 vcc_hi, 0.5, m0 -// W32: encoding: [0x6b,0x00,0x31,0xd4,0xff,0xfa,0x00,0x00,0x00,0x38,0x00,0x00] +// W32: encoding: [0x6b,0x00,0x31,0xd4,0xf0,0xfa,0x00,0x00] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_lt_i16_e64 ttmp15, src_scc, vcc_lo @@ -5664,7 +5664,7 @@ v_cmp_lt_i16_e64 s[10:11], ttmp15, src_scc // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_lt_i16_e64 s[10:11], m0, 0.5 -// W64: encoding: [0x0a,0x00,0x31,0xd4,0x7d,0xfe,0x01,0x00,0x00,0x38,0x00,0x00] +// W64: encoding: [0x0a,0x00,0x31,0xd4,0x7d,0xe0,0x01,0x00] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_lt_i16_e64 s[10:11], exec_lo, -1 @@ -5684,7 +5684,7 @@ v_cmp_lt_i16_e64 s[104:105], -1, exec_hi // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_lt_i16_e64 vcc, 0.5, m0 -// W64: encoding: [0x6a,0x00,0x31,0xd4,0xff,0xfa,0x00,0x00,0x00,0x38,0x00,0x00] +// W64: encoding: [0x6a,0x00,0x31,0xd4,0xf0,0xfa,0x00,0x00] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_lt_i16_e64 ttmp[14:15], src_scc, vcc_lo @@ -5929,7 +5929,7 @@ v_cmp_lt_u16_e64 s5, ttmp15, src_scc // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_lt_u16_e64 s5, m0, 0.5 -// W32: encoding: [0x05,0x00,0x39,0xd4,0x7d,0xfe,0x01,0x00,0x00,0x38,0x00,0x00] +// W32: encoding: [0x05,0x00,0x39,0xd4,0x7d,0xe0,0x01,0x00] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_lt_u16_e64 s5, exec_lo, -1 @@ -5949,7 +5949,7 @@ v_cmp_lt_u16_e64 vcc_lo, -1, exec_hi // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_lt_u16_e64 vcc_hi, 0.5, m0 -// W32: encoding: [0x6b,0x00,0x39,0xd4,0xff,0xfa,0x00,0x00,0x00,0x38,0x00,0x00] +// W32: encoding: [0x6b,0x00,0x39,0xd4,0xf0,0xfa,0x00,0x00] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_lt_u16_e64 ttmp15, src_scc, vcc_lo @@ -5985,7 +5985,7 @@ v_cmp_lt_u16_e64 s[10:11], ttmp15, src_scc // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_lt_u16_e64 s[10:11], m0, 0.5 -// W64: encoding: [0x0a,0x00,0x39,0xd4,0x7d,0xfe,0x01,0x00,0x00,0x38,0x00,0x00] +// W64: encoding: [0x0a,0x00,0x39,0xd4,0x7d,0xe0,0x01,0x00] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_lt_u16_e64 s[10:11], exec_lo, -1 @@ -6005,7 +6005,7 @@ v_cmp_lt_u16_e64 s[104:105], -1, exec_hi // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_lt_u16_e64 vcc, 0.5, m0 -// W64: encoding: [0x6a,0x00,0x39,0xd4,0xff,0xfa,0x00,0x00,0x00,0x38,0x00,0x00] +// W64: encoding: [0x6a,0x00,0x39,0xd4,0xf0,0xfa,0x00,0x00] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_lt_u16_e64 ttmp[14:15], src_scc, vcc_lo @@ -6250,7 +6250,7 @@ v_cmp_ne_i16_e64 s5, ttmp15, src_scc // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_ne_i16_e64 s5, m0, 0.5 -// W32: encoding: [0x05,0x00,0x35,0xd4,0x7d,0xfe,0x01,0x00,0x00,0x38,0x00,0x00] +// W32: encoding: [0x05,0x00,0x35,0xd4,0x7d,0xe0,0x01,0x00] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_ne_i16_e64 s5, exec_lo, -1 @@ -6270,7 +6270,7 @@ v_cmp_ne_i16_e64 vcc_lo, -1, exec_hi // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_ne_i16_e64 vcc_hi, 0.5, m0 -// W32: encoding: [0x6b,0x00,0x35,0xd4,0xff,0xfa,0x00,0x00,0x00,0x38,0x00,0x00] +// W32: encoding: [0x6b,0x00,0x35,0xd4,0xf0,0xfa,0x00,0x00] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_ne_i16_e64 ttmp15, src_scc, vcc_lo @@ -6306,7 +6306,7 @@ v_cmp_ne_i16_e64 s[10:11], ttmp15, src_scc // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_ne_i16_e64 s[10:11], m0, 0.5 -// W64: encoding: [0x0a,0x00,0x35,0xd4,0x7d,0xfe,0x01,0x00,0x00,0x38,0x00,0x00] +// W64: encoding: [0x0a,0x00,0x35,0xd4,0x7d,0xe0,0x01,0x00] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_ne_i16_e64 s[10:11], exec_lo, -1 @@ -6326,7 +6326,7 @@ v_cmp_ne_i16_e64 s[104:105], -1, exec_hi // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_ne_i16_e64 vcc, 0.5, m0 -// W64: encoding: [0x6a,0x00,0x35,0xd4,0xff,0xfa,0x00,0x00,0x00,0x38,0x00,0x00] +// W64: encoding: [0x6a,0x00,0x35,0xd4,0xf0,0xfa,0x00,0x00] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_ne_i16_e64 ttmp[14:15], src_scc, vcc_lo @@ -6571,7 +6571,7 @@ v_cmp_ne_u16_e64 s5, ttmp15, src_scc // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_ne_u16_e64 s5, m0, 0.5 -// W32: encoding: [0x05,0x00,0x3d,0xd4,0x7d,0xfe,0x01,0x00,0x00,0x38,0x00,0x00] +// W32: encoding: [0x05,0x00,0x3d,0xd4,0x7d,0xe0,0x01,0x00] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_ne_u16_e64 s5, exec_lo, -1 @@ -6591,7 +6591,7 @@ v_cmp_ne_u16_e64 vcc_lo, -1, exec_hi // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_ne_u16_e64 vcc_hi, 0.5, m0 -// W32: encoding: [0x6b,0x00,0x3d,0xd4,0xff,0xfa,0x00,0x00,0x00,0x38,0x00,0x00] +// W32: encoding: [0x6b,0x00,0x3d,0xd4,0xf0,0xfa,0x00,0x00] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_ne_u16_e64 ttmp15, src_scc, vcc_lo @@ -6627,7 +6627,7 @@ v_cmp_ne_u16_e64 s[10:11], ttmp15, src_scc // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_ne_u16_e64 s[10:11], m0, 0.5 -// W64: encoding: [0x0a,0x00,0x3d,0xd4,0x7d,0xfe,0x01,0x00,0x00,0x38,0x00,0x00] +// W64: encoding: [0x0a,0x00,0x3d,0xd4,0x7d,0xe0,0x01,0x00] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_ne_u16_e64 s[10:11], exec_lo, -1 @@ -6647,7 +6647,7 @@ v_cmp_ne_u16_e64 s[104:105], -1, exec_hi // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_ne_u16_e64 vcc, 0.5, m0 -// W64: encoding: [0x6a,0x00,0x3d,0xd4,0xff,0xfa,0x00,0x00,0x00,0x38,0x00,0x00] +// W64: encoding: [0x6a,0x00,0x3d,0xd4,0xf0,0xfa,0x00,0x00] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_ne_u16_e64 ttmp[14:15], src_scc, vcc_lo diff --git a/llvm/test/MC/AMDGPU/gfx11_asm_vop3_from_vopcx.s b/llvm/test/MC/AMDGPU/gfx11_asm_vop3_from_vopcx.s index f50a47777f641d..81f6e1ad9bc107 100644 --- a/llvm/test/MC/AMDGPU/gfx11_asm_vop3_from_vopcx.s +++ b/llvm/test/MC/AMDGPU/gfx11_asm_vop3_from_vopcx.s @@ -287,7 +287,7 @@ v_cmpx_eq_i16_e64 ttmp15, src_scc // GFX11: encoding: [0x7e,0x00,0xb2,0xd4,0x7b,0xfa,0x01,0x00] v_cmpx_eq_i16_e64 m0, 0.5 -// GFX11: encoding: [0x7e,0x00,0xb2,0xd4,0x7d,0xfe,0x01,0x00,0x00,0x38,0x00,0x00] +// GFX11: encoding: [0x7e,0x00,0xb2,0xd4,0x7d,0xe0,0x01,0x00] v_cmpx_eq_i16_e64 exec_lo, -1 // GFX11: encoding: [0x7e,0x00,0xb2,0xd4,0x7e,0x82,0x01,0x00] @@ -302,7 +302,7 @@ v_cmpx_eq_i16_e64 -1, exec_hi // GFX11: encoding: [0x7e,0x00,0xb2,0xd4,0xc1,0xfe,0x00,0x00] v_cmpx_eq_i16_e64 0.5, m0 -// GFX11: encoding: [0x7e,0x00,0xb2,0xd4,0xff,0xfa,0x00,0x00,0x00,0x38,0x00,0x00] +// GFX11: encoding: [0x7e,0x00,0xb2,0xd4,0xf0,0xfa,0x00,0x00] v_cmpx_eq_i16_e64 src_scc, vcc_lo // GFX11: encoding: [0x7e,0x00,0xb2,0xd4,0xfd,0xd4,0x00,0x00] @@ -413,7 +413,7 @@ v_cmpx_eq_u16_e64 ttmp15, src_scc // GFX11: encoding: [0x7e,0x00,0xba,0xd4,0x7b,0xfa,0x01,0x00] v_cmpx_eq_u16_e64 m0, 0.5 -// GFX11: encoding: [0x7e,0x00,0xba,0xd4,0x7d,0xfe,0x01,0x00,0x00,0x38,0x00,0x00] +// GFX11: encoding: [0x7e,0x00,0xba,0xd4,0x7d,0xe0,0x01,0x00] v_cmpx_eq_u16_e64 exec_lo, -1 // GFX11: encoding: [0x7e,0x00,0xba,0xd4,0x7e,0x82,0x01,0x00] @@ -428,7 +428,7 @@ v_cmpx_eq_u16_e64 -1, exec_hi // GFX11: encoding: [0x7e,0x00,0xba,0xd4,0xc1,0xfe,0x00,0x00] v_cmpx_eq_u16_e64 0.5, m0 -// GFX11: encoding: [0x7e,0x00,0xba,0xd4,0xff,0xfa,0x00,0x00,0x00,0x38,0x00,0x00] +// GFX11: encoding: [0x7e,0x00,0xba,0xd4,0xf0,0xfa,0x00,0x00] v_cmpx_eq_u16_e64 src_scc, vcc_lo // GFX11: encoding: [0x7e,0x00,0xba,0xd4,0xfd,0xd4,0x00,0x00] @@ -953,7 +953,7 @@ v_cmpx_ge_i16_e64 ttmp15, src_scc // GFX11: encoding: [0x7e,0x00,0xb6,0xd4,0x7b,0xfa,0x01,0x00] v_cmpx_ge_i16_e64 m0, 0.5 -// GFX11: encoding: [0x7e,0x00,0xb6,0xd4,0x7d,0xfe,0x01,0x00,0x00,0x38,0x00,0x00] +// GFX11: encoding: [0x7e,0x00,0xb6,0xd4,0x7d,0xe0,0x01,0x00] v_cmpx_ge_i16_e64 exec_lo, -1 // GFX11: encoding: [0x7e,0x00,0xb6,0xd4,0x7e,0x82,0x01,0x00] @@ -968,7 +968,7 @@ v_cmpx_ge_i16_e64 -1, exec_hi // GFX11: encoding: [0x7e,0x00,0xb6,0xd4,0xc1,0xfe,0x00,0x00] v_cmpx_ge_i16_e64 0.5, m0 -// GFX11: encoding: [0x7e,0x00,0xb6,0xd4,0xff,0xfa,0x00,0x00,0x00,0x38,0x00,0x00] +// GFX11: encoding: [0x7e,0x00,0xb6,0xd4,0xf0,0xfa,0x00,0x00] v_cmpx_ge_i16_e64 src_scc, vcc_lo // GFX11: encoding: [0x7e,0x00,0xb6,0xd4,0xfd,0xd4,0x00,0x00] @@ -1079,7 +1079,7 @@ v_cmpx_ge_u16_e64 ttmp15, src_scc // GFX11: encoding: [0x7e,0x00,0xbe,0xd4,0x7b,0xfa,0x01,0x00] v_cmpx_ge_u16_e64 m0, 0.5 -// GFX11: encoding: [0x7e,0x00,0xbe,0xd4,0x7d,0xfe,0x01,0x00,0x00,0x38,0x00,0x00] +// GFX11: encoding: [0x7e,0x00,0xbe,0xd4,0x7d,0xe0,0x01,0x00] v_cmpx_ge_u16_e64 exec_lo, -1 // GFX11: encoding: [0x7e,0x00,0xbe,0xd4,0x7e,0x82,0x01,0x00] @@ -1094,7 +1094,7 @@ v_cmpx_ge_u16_e64 -1, exec_hi // GFX11: encoding: [0x7e,0x00,0xbe,0xd4,0xc1,0xfe,0x00,0x00] v_cmpx_ge_u16_e64 0.5, m0 -// GFX11: encoding: [0x7e,0x00,0xbe,0xd4,0xff,0xfa,0x00,0x00,0x00,0x38,0x00,0x00] +// GFX11: encoding: [0x7e,0x00,0xbe,0xd4,0xf0,0xfa,0x00,0x00] v_cmpx_ge_u16_e64 src_scc, vcc_lo // GFX11: encoding: [0x7e,0x00,0xbe,0xd4,0xfd,0xd4,0x00,0x00] @@ -1331,7 +1331,7 @@ v_cmpx_gt_i16_e64 ttmp15, src_scc // GFX11: encoding: [0x7e,0x00,0xb4,0xd4,0x7b,0xfa,0x01,0x00] v_cmpx_gt_i16_e64 m0, 0.5 -// GFX11: encoding: [0x7e,0x00,0xb4,0xd4,0x7d,0xfe,0x01,0x00,0x00,0x38,0x00,0x00] +// GFX11: encoding: [0x7e,0x00,0xb4,0xd4,0x7d,0xe0,0x01,0x00] v_cmpx_gt_i16_e64 exec_lo, -1 // GFX11: encoding: [0x7e,0x00,0xb4,0xd4,0x7e,0x82,0x01,0x00] @@ -1346,7 +1346,7 @@ v_cmpx_gt_i16_e64 -1, exec_hi // GFX11: encoding: [0x7e,0x00,0xb4,0xd4,0xc1,0xfe,0x00,0x00] v_cmpx_gt_i16_e64 0.5, m0 -// GFX11: encoding: [0x7e,0x00,0xb4,0xd4,0xff,0xfa,0x00,0x00,0x00,0x38,0x00,0x00] +// GFX11: encoding: [0x7e,0x00,0xb4,0xd4,0xf0,0xfa,0x00,0x00] v_cmpx_gt_i16_e64 src_scc, vcc_lo // GFX11: encoding: [0x7e,0x00,0xb4,0xd4,0xfd,0xd4,0x00,0x00] @@ -1457,7 +1457,7 @@ v_cmpx_gt_u16_e64 ttmp15, src_scc // GFX11: encoding: [0x7e,0x00,0xbc,0xd4,0x7b,0xfa,0x01,0x00] v_cmpx_gt_u16_e64 m0, 0.5 -// GFX11: encoding: [0x7e,0x00,0xbc,0xd4,0x7d,0xfe,0x01,0x00,0x00,0x38,0x00,0x00] +// GFX11: encoding: [0x7e,0x00,0xbc,0xd4,0x7d,0xe0,0x01,0x00] v_cmpx_gt_u16_e64 exec_lo, -1 // GFX11: encoding: [0x7e,0x00,0xbc,0xd4,0x7e,0x82,0x01,0x00] @@ -1472,7 +1472,7 @@ v_cmpx_gt_u16_e64 -1, exec_hi // GFX11: encoding: [0x7e,0x00,0xbc,0xd4,0xc1,0xfe,0x00,0x00] v_cmpx_gt_u16_e64 0.5, m0 -// GFX11: encoding: [0x7e,0x00,0xbc,0xd4,0xff,0xfa,0x00,0x00,0x00,0x38,0x00,0x00] +// GFX11: encoding: [0x7e,0x00,0xbc,0xd4,0xf0,0xfa,0x00,0x00] v_cmpx_gt_u16_e64 src_scc, vcc_lo // GFX11: encoding: [0x7e,0x00,0xbc,0xd4,0xfd,0xd4,0x00,0x00] @@ -1709,7 +1709,7 @@ v_cmpx_le_i16_e64 ttmp15, src_scc // GFX11: encoding: [0x7e,0x00,0xb3,0xd4,0x7b,0xfa,0x01,0x00] v_cmpx_le_i16_e64 m0, 0.5 -// GFX11: encoding: [0x7e,0x00,0xb3,0xd4,0x7d,0xfe,0x01,0x00,0x00,0x38,0x00,0x00] +// GFX11: encoding: [0x7e,0x00,0xb3,0xd4,0x7d,0xe0,0x01,0x00] v_cmpx_le_i16_e64 exec_lo, -1 // GFX11: encoding: [0x7e,0x00,0xb3,0xd4,0x7e,0x82,0x01,0x00] @@ -1724,7 +1724,7 @@ v_cmpx_le_i16_e64 -1, exec_hi // GFX11: encoding: [0x7e,0x00,0xb3,0xd4,0xc1,0xfe,0x00,0x00] v_cmpx_le_i16_e64 0.5, m0 -// GFX11: encoding: [0x7e,0x00,0xb3,0xd4,0xff,0xfa,0x00,0x00,0x00,0x38,0x00,0x00] +// GFX11: encoding: [0x7e,0x00,0xb3,0xd4,0xf0,0xfa,0x00,0x00] v_cmpx_le_i16_e64 src_scc, vcc_lo // GFX11: encoding: [0x7e,0x00,0xb3,0xd4,0xfd,0xd4,0x00,0x00] @@ -1835,7 +1835,7 @@ v_cmpx_le_u16_e64 ttmp15, src_scc // GFX11: encoding: [0x7e,0x00,0xbb,0xd4,0x7b,0xfa,0x01,0x00] v_cmpx_le_u16_e64 m0, 0.5 -// GFX11: encoding: [0x7e,0x00,0xbb,0xd4,0x7d,0xfe,0x01,0x00,0x00,0x38,0x00,0x00] +// GFX11: encoding: [0x7e,0x00,0xbb,0xd4,0x7d,0xe0,0x01,0x00] v_cmpx_le_u16_e64 exec_lo, -1 // GFX11: encoding: [0x7e,0x00,0xbb,0xd4,0x7e,0x82,0x01,0x00] @@ -1850,7 +1850,7 @@ v_cmpx_le_u16_e64 -1, exec_hi // GFX11: encoding: [0x7e,0x00,0xbb,0xd4,0xc1,0xfe,0x00,0x00] v_cmpx_le_u16_e64 0.5, m0 -// GFX11: encoding: [0x7e,0x00,0xbb,0xd4,0xff,0xfa,0x00,0x00,0x00,0x38,0x00,0x00] +// GFX11: encoding: [0x7e,0x00,0xbb,0xd4,0xf0,0xfa,0x00,0x00] v_cmpx_le_u16_e64 src_scc, vcc_lo // GFX11: encoding: [0x7e,0x00,0xbb,0xd4,0xfd,0xd4,0x00,0x00] @@ -2213,7 +2213,7 @@ v_cmpx_lt_i16_e64 ttmp15, src_scc // GFX11: encoding: [0x7e,0x00,0xb1,0xd4,0x7b,0xfa,0x01,0x00] v_cmpx_lt_i16_e64 m0, 0.5 -// GFX11: encoding: [0x7e,0x00,0xb1,0xd4,0x7d,0xfe,0x01,0x00,0x00,0x38,0x00,0x00] +// GFX11: encoding: [0x7e,0x00,0xb1,0xd4,0x7d,0xe0,0x01,0x00] v_cmpx_lt_i16_e64 exec_lo, -1 // GFX11: encoding: [0x7e,0x00,0xb1,0xd4,0x7e,0x82,0x01,0x00] @@ -2228,7 +2228,7 @@ v_cmpx_lt_i16_e64 -1, exec_hi // GFX11: encoding: [0x7e,0x00,0xb1,0xd4,0xc1,0xfe,0x00,0x00] v_cmpx_lt_i16_e64 0.5, m0 -// GFX11: encoding: [0x7e,0x00,0xb1,0xd4,0xff,0xfa,0x00,0x00,0x00,0x38,0x00,0x00] +// GFX11: encoding: [0x7e,0x00,0xb1,0xd4,0xf0,0xfa,0x00,0x00] v_cmpx_lt_i16_e64 src_scc, vcc_lo // GFX11: encoding: [0x7e,0x00,0xb1,0xd4,0xfd,0xd4,0x00,0x00] @@ -2339,7 +2339,7 @@ v_cmpx_lt_u16_e64 ttmp15, src_scc // GFX11: encoding: [0x7e,0x00,0xb9,0xd4,0x7b,0xfa,0x01,0x00] v_cmpx_lt_u16_e64 m0, 0.5 -// GFX11: encoding: [0x7e,0x00,0xb9,0xd4,0x7d,0xfe,0x01,0x00,0x00,0x38,0x00,0x00] +// GFX11: encoding: [0x7e,0x00,0xb9,0xd4,0x7d,0xe0,0x01,0x00] v_cmpx_lt_u16_e64 exec_lo, -1 // GFX11: encoding: [0x7e,0x00,0xb9,0xd4,0x7e,0x82,0x01,0x00] @@ -2354,7 +2354,7 @@ v_cmpx_lt_u16_e64 -1, exec_hi // GFX11: encoding: [0x7e,0x00,0xb9,0xd4,0xc1,0xfe,0x00,0x00] v_cmpx_lt_u16_e64 0.5, m0 -// GFX11: encoding: [0x7e,0x00,0xb9,0xd4,0xff,0xfa,0x00,0x00,0x00,0x38,0x00,0x00] +// GFX11: encoding: [0x7e,0x00,0xb9,0xd4,0xf0,0xfa,0x00,0x00] v_cmpx_lt_u16_e64 src_scc, vcc_lo // GFX11: encoding: [0x7e,0x00,0xb9,0xd4,0xfd,0xd4,0x00,0x00] @@ -2465,7 +2465,7 @@ v_cmpx_ne_i16_e64 ttmp15, src_scc // GFX11: encoding: [0x7e,0x00,0xb5,0xd4,0x7b,0xfa,0x01,0x00] v_cmpx_ne_i16_e64 m0, 0.5 -// GFX11: encoding: [0x7e,0x00,0xb5,0xd4,0x7d,0xfe,0x01,0x00,0x00,0x38,0x00,0x00] +// GFX11: encoding: [0x7e,0x00,0xb5,0xd4,0x7d,0xe0,0x01,0x00] v_cmpx_ne_i16_e64 exec_lo, -1 // GFX11: encoding: [0x7e,0x00,0xb5,0xd4,0x7e,0x82,0x01,0x00] @@ -2480,7 +2480,7 @@ v_cmpx_ne_i16_e64 -1, exec_hi // GFX11: encoding: [0x7e,0x00,0xb5,0xd4,0xc1,0xfe,0x00,0x00] v_cmpx_ne_i16_e64 0.5, m0 -// GFX11: encoding: [0x7e,0x00,0xb5,0xd4,0xff,0xfa,0x00,0x00,0x00,0x38,0x00,0x00] +// GFX11: encoding: [0x7e,0x00,0xb5,0xd4,0xf0,0xfa,0x00,0x00] v_cmpx_ne_i16_e64 src_scc, vcc_lo // GFX11: encoding: [0x7e,0x00,0xb5,0xd4,0xfd,0xd4,0x00,0x00] @@ -2591,7 +2591,7 @@ v_cmpx_ne_u16_e64 ttmp15, src_scc // GFX11: encoding: [0x7e,0x00,0xbd,0xd4,0x7b,0xfa,0x01,0x00] v_cmpx_ne_u16_e64 m0, 0.5 -// GFX11: encoding: [0x7e,0x00,0xbd,0xd4,0x7d,0xfe,0x01,0x00,0x00,0x38,0x00,0x00] +// GFX11: encoding: [0x7e,0x00,0xbd,0xd4,0x7d,0xe0,0x01,0x00] v_cmpx_ne_u16_e64 exec_lo, -1 // GFX11: encoding: [0x7e,0x00,0xbd,0xd4,0x7e,0x82,0x01,0x00] @@ -2606,7 +2606,7 @@ v_cmpx_ne_u16_e64 -1, exec_hi // GFX11: encoding: [0x7e,0x00,0xbd,0xd4,0xc1,0xfe,0x00,0x00] v_cmpx_ne_u16_e64 0.5, m0 -// GFX11: encoding: [0x7e,0x00,0xbd,0xd4,0xff,0xfa,0x00,0x00,0x00,0x38,0x00,0x00] +// GFX11: encoding: [0x7e,0x00,0xbd,0xd4,0xf0,0xfa,0x00,0x00] v_cmpx_ne_u16_e64 src_scc, vcc_lo // GFX11: encoding: [0x7e,0x00,0xbd,0xd4,0xfd,0xd4,0x00,0x00] @@ -3865,130 +3865,130 @@ v_cmpx_t_u64_e64 src_scc, exec v_cmpx_t_u64_e64 0xaf123456, vcc // GFX11: encoding: [0x7e,0x00,0xdf,0xd4,0xff,0xd4,0x00,0x00,0x56,0x34,0x12,0xaf] -v_cmpx_tru_f16_e64 v1, v2 +v_cmpx_t_f16_e64 v1, v2 // GFX11: encoding: [0x7e,0x00,0x8f,0xd4,0x01,0x05,0x02,0x00] -v_cmpx_tru_f16_e64 v255, v255 +v_cmpx_t_f16_e64 v255, v255 // GFX11: encoding: [0x7e,0x00,0x8f,0xd4,0xff,0xff,0x03,0x00] -v_cmpx_tru_f16_e64 s1, s2 +v_cmpx_t_f16_e64 s1, s2 // GFX11: encoding: [0x7e,0x00,0x8f,0xd4,0x01,0x04,0x00,0x00] -v_cmpx_tru_f16_e64 s105, s105 +v_cmpx_t_f16_e64 s105, s105 // GFX11: encoding: [0x7e,0x00,0x8f,0xd4,0x69,0xd2,0x00,0x00] -v_cmpx_tru_f16_e64 vcc_lo, ttmp15 +v_cmpx_t_f16_e64 vcc_lo, ttmp15 // GFX11: encoding: [0x7e,0x00,0x8f,0xd4,0x6a,0xf6,0x00,0x00] -v_cmpx_tru_f16_e64 vcc_hi, 0xfe0b +v_cmpx_t_f16_e64 vcc_hi, 0xfe0b // GFX11: encoding: [0x7e,0x00,0x8f,0xd4,0x6b,0xfe,0x01,0x00,0x0b,0xfe,0x00,0x00] -v_cmpx_tru_f16_e64 ttmp15, src_scc +v_cmpx_t_f16_e64 ttmp15, src_scc // GFX11: encoding: [0x7e,0x00,0x8f,0xd4,0x7b,0xfa,0x01,0x00] -v_cmpx_tru_f16_e64 m0, 0.5 +v_cmpx_t_f16_e64 m0, 0.5 // GFX11: encoding: [0x7e,0x00,0x8f,0xd4,0x7d,0xe0,0x01,0x00] -v_cmpx_tru_f16_e64 exec_lo, -1 +v_cmpx_t_f16_e64 exec_lo, -1 // GFX11: encoding: [0x7e,0x00,0x8f,0xd4,0x7e,0x82,0x01,0x00] -v_cmpx_tru_f16_e64 |exec_hi|, null +v_cmpx_t_f16_e64 |exec_hi|, null // GFX11: encoding: [0x7e,0x01,0x8f,0xd4,0x7f,0xf8,0x00,0x00] -v_cmpx_tru_f16_e64 null, exec_lo +v_cmpx_t_f16_e64 null, exec_lo // GFX11: encoding: [0x7e,0x00,0x8f,0xd4,0x7c,0xfc,0x00,0x00] -v_cmpx_tru_f16_e64 -1, exec_hi +v_cmpx_t_f16_e64 -1, exec_hi // GFX11: encoding: [0x7e,0x00,0x8f,0xd4,0xc1,0xfe,0x00,0x00] -v_cmpx_tru_f16_e64 0.5, -m0 +v_cmpx_t_f16_e64 0.5, -m0 // GFX11: encoding: [0x7e,0x00,0x8f,0xd4,0xf0,0xfa,0x00,0x40] -v_cmpx_tru_f16_e64 -src_scc, |vcc_lo| +v_cmpx_t_f16_e64 -src_scc, |vcc_lo| // GFX11: encoding: [0x7e,0x02,0x8f,0xd4,0xfd,0xd4,0x00,0x20] -v_cmpx_tru_f16_e64 -|0xfe0b|, -|vcc_hi| clamp +v_cmpx_t_f16_e64 -|0xfe0b|, -|vcc_hi| clamp // GFX11: encoding: [0x7e,0x83,0x8f,0xd4,0xff,0xd6,0x00,0x60,0x0b,0xfe,0x00,0x00] -v_cmpx_tru_f32_e64 v1, v2 +v_cmpx_t_f32_e64 v1, v2 // GFX11: encoding: [0x7e,0x00,0x9f,0xd4,0x01,0x05,0x02,0x00] -v_cmpx_tru_f32_e64 v255, v255 +v_cmpx_t_f32_e64 v255, v255 // GFX11: encoding: [0x7e,0x00,0x9f,0xd4,0xff,0xff,0x03,0x00] -v_cmpx_tru_f32_e64 s1, s2 +v_cmpx_t_f32_e64 s1, s2 // GFX11: encoding: [0x7e,0x00,0x9f,0xd4,0x01,0x04,0x00,0x00] -v_cmpx_tru_f32_e64 s105, s105 +v_cmpx_t_f32_e64 s105, s105 // GFX11: encoding: [0x7e,0x00,0x9f,0xd4,0x69,0xd2,0x00,0x00] -v_cmpx_tru_f32_e64 vcc_lo, ttmp15 +v_cmpx_t_f32_e64 vcc_lo, ttmp15 // GFX11: encoding: [0x7e,0x00,0x9f,0xd4,0x6a,0xf6,0x00,0x00] -v_cmpx_tru_f32_e64 vcc_hi, 0xaf123456 +v_cmpx_t_f32_e64 vcc_hi, 0xaf123456 // GFX11: encoding: [0x7e,0x00,0x9f,0xd4,0x6b,0xfe,0x01,0x00,0x56,0x34,0x12,0xaf] -v_cmpx_tru_f32_e64 ttmp15, src_scc +v_cmpx_t_f32_e64 ttmp15, src_scc // GFX11: encoding: [0x7e,0x00,0x9f,0xd4,0x7b,0xfa,0x01,0x00] -v_cmpx_tru_f32_e64 m0, 0.5 +v_cmpx_t_f32_e64 m0, 0.5 // GFX11: encoding: [0x7e,0x00,0x9f,0xd4,0x7d,0xe0,0x01,0x00] -v_cmpx_tru_f32_e64 exec_lo, -1 +v_cmpx_t_f32_e64 exec_lo, -1 // GFX11: encoding: [0x7e,0x00,0x9f,0xd4,0x7e,0x82,0x01,0x00] -v_cmpx_tru_f32_e64 |exec_hi|, null +v_cmpx_t_f32_e64 |exec_hi|, null // GFX11: encoding: [0x7e,0x01,0x9f,0xd4,0x7f,0xf8,0x00,0x00] -v_cmpx_tru_f32_e64 null, exec_lo +v_cmpx_t_f32_e64 null, exec_lo // GFX11: encoding: [0x7e,0x00,0x9f,0xd4,0x7c,0xfc,0x00,0x00] -v_cmpx_tru_f32_e64 -1, exec_hi +v_cmpx_t_f32_e64 -1, exec_hi // GFX11: encoding: [0x7e,0x00,0x9f,0xd4,0xc1,0xfe,0x00,0x00] -v_cmpx_tru_f32_e64 0.5, -m0 +v_cmpx_t_f32_e64 0.5, -m0 // GFX11: encoding: [0x7e,0x00,0x9f,0xd4,0xf0,0xfa,0x00,0x40] -v_cmpx_tru_f32_e64 -src_scc, |vcc_lo| +v_cmpx_t_f32_e64 -src_scc, |vcc_lo| // GFX11: encoding: [0x7e,0x02,0x9f,0xd4,0xfd,0xd4,0x00,0x20] -v_cmpx_tru_f32_e64 -|0xaf123456|, -|vcc_hi| clamp +v_cmpx_t_f32_e64 -|0xaf123456|, -|vcc_hi| clamp // GFX11: encoding: [0x7e,0x83,0x9f,0xd4,0xff,0xd6,0x00,0x60,0x56,0x34,0x12,0xaf] -v_cmpx_tru_f64_e64 v[1:2], v[2:3] +v_cmpx_t_f64_e64 v[1:2], v[2:3] // GFX11: encoding: [0x7e,0x00,0xaf,0xd4,0x01,0x05,0x02,0x00] -v_cmpx_tru_f64_e64 v[254:255], v[254:255] +v_cmpx_t_f64_e64 v[254:255], v[254:255] // GFX11: encoding: [0x7e,0x00,0xaf,0xd4,0xfe,0xfd,0x03,0x00] -v_cmpx_tru_f64_e64 s[2:3], s[4:5] +v_cmpx_t_f64_e64 s[2:3], s[4:5] // GFX11: encoding: [0x7e,0x00,0xaf,0xd4,0x02,0x08,0x00,0x00] -v_cmpx_tru_f64_e64 s[104:105], s[104:105] +v_cmpx_t_f64_e64 s[104:105], s[104:105] // GFX11: encoding: [0x7e,0x00,0xaf,0xd4,0x68,0xd0,0x00,0x00] -v_cmpx_tru_f64_e64 vcc, ttmp[14:15] +v_cmpx_t_f64_e64 vcc, ttmp[14:15] // GFX11: encoding: [0x7e,0x00,0xaf,0xd4,0x6a,0xf4,0x00,0x00] -v_cmpx_tru_f64_e64 ttmp[14:15], 0xaf123456 +v_cmpx_t_f64_e64 ttmp[14:15], 0xaf123456 // GFX11: encoding: [0x7e,0x00,0xaf,0xd4,0x7a,0xfe,0x01,0x00,0x56,0x34,0x12,0xaf] -v_cmpx_tru_f64_e64 -|exec|, src_scc +v_cmpx_t_f64_e64 -|exec|, src_scc // GFX11: encoding: [0x7e,0x01,0xaf,0xd4,0x7e,0xfa,0x01,0x20] -v_cmpx_tru_f64_e64 null, 0.5 +v_cmpx_t_f64_e64 null, 0.5 // GFX11: encoding: [0x7e,0x00,0xaf,0xd4,0x7c,0xe0,0x01,0x00] -v_cmpx_tru_f64_e64 -1, -1 +v_cmpx_t_f64_e64 -1, -1 // GFX11: encoding: [0x7e,0x00,0xaf,0xd4,0xc1,0x82,0x01,0x00] -v_cmpx_tru_f64_e64 0.5, null +v_cmpx_t_f64_e64 0.5, null // GFX11: encoding: [0x7e,0x00,0xaf,0xd4,0xf0,0xf8,0x00,0x00] -v_cmpx_tru_f64_e64 -|src_scc|, -|exec| +v_cmpx_t_f64_e64 -|src_scc|, -|exec| // GFX11: encoding: [0x7e,0x03,0xaf,0xd4,0xfd,0xfc,0x00,0x60] -v_cmpx_tru_f64_e64 0xaf123456, -|vcc| clamp +v_cmpx_t_f64_e64 0xaf123456, -|vcc| clamp // GFX11: encoding: [0x7e,0x82,0xaf,0xd4,0xff,0xd4,0x00,0x40,0x56,0x34,0x12,0xaf] v_cmpx_u_f16_e64 v1, v2 diff --git a/llvm/test/MC/AMDGPU/gfx11_asm_vopc.s b/llvm/test/MC/AMDGPU/gfx11_asm_vopc.s index c9272f24e25a8c..f2025e4bd6d60a 100644 --- a/llvm/test/MC/AMDGPU/gfx11_asm_vopc.s +++ b/llvm/test/MC/AMDGPU/gfx11_asm_vopc.s @@ -724,7 +724,7 @@ v_cmp_eq_i16 vcc_lo, -1, v2 // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_eq_i16 vcc_lo, 0.5, v2 -// W32: encoding: [0xff,0x04,0x64,0x7c,0x00,0x38,0x00,0x00] +// W32: encoding: [0xf0,0x04,0x64,0x7c] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_eq_i16 vcc_lo, src_scc, v2 @@ -784,7 +784,7 @@ v_cmp_eq_i16 vcc, -1, v2 // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_eq_i16 vcc, 0.5, v2 -// W64: encoding: [0xff,0x04,0x64,0x7c,0x00,0x38,0x00,0x00] +// W64: encoding: [0xf0,0x04,0x64,0x7c] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_eq_i16 vcc, src_scc, v2 @@ -1060,7 +1060,7 @@ v_cmp_eq_u16 vcc_lo, -1, v2 // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_eq_u16 vcc_lo, 0.5, v2 -// W32: encoding: [0xff,0x04,0x74,0x7c,0x00,0x38,0x00,0x00] +// W32: encoding: [0xf0,0x04,0x74,0x7c] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_eq_u16 vcc_lo, src_scc, v2 @@ -1120,7 +1120,7 @@ v_cmp_eq_u16 vcc, -1, v2 // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_eq_u16 vcc, 0.5, v2 -// W64: encoding: [0xff,0x04,0x74,0x7c,0x00,0x38,0x00,0x00] +// W64: encoding: [0xf0,0x04,0x74,0x7c] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_eq_u16 vcc, src_scc, v2 @@ -2500,7 +2500,7 @@ v_cmp_ge_i16 vcc_lo, -1, v2 // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_ge_i16 vcc_lo, 0.5, v2 -// W32: encoding: [0xff,0x04,0x6c,0x7c,0x00,0x38,0x00,0x00] +// W32: encoding: [0xf0,0x04,0x6c,0x7c] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_ge_i16 vcc_lo, src_scc, v2 @@ -2560,7 +2560,7 @@ v_cmp_ge_i16 vcc, -1, v2 // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_ge_i16 vcc, 0.5, v2 -// W64: encoding: [0xff,0x04,0x6c,0x7c,0x00,0x38,0x00,0x00] +// W64: encoding: [0xf0,0x04,0x6c,0x7c] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_ge_i16 vcc, src_scc, v2 @@ -2836,7 +2836,7 @@ v_cmp_ge_u16 vcc_lo, -1, v2 // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_ge_u16 vcc_lo, 0.5, v2 -// W32: encoding: [0xff,0x04,0x7c,0x7c,0x00,0x38,0x00,0x00] +// W32: encoding: [0xf0,0x04,0x7c,0x7c] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_ge_u16 vcc_lo, src_scc, v2 @@ -2896,7 +2896,7 @@ v_cmp_ge_u16 vcc, -1, v2 // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_ge_u16 vcc, 0.5, v2 -// W64: encoding: [0xff,0x04,0x7c,0x7c,0x00,0x38,0x00,0x00] +// W64: encoding: [0xf0,0x04,0x7c,0x7c] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_ge_u16 vcc, src_scc, v2 @@ -3508,7 +3508,7 @@ v_cmp_gt_i16 vcc_lo, -1, v2 // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_gt_i16 vcc_lo, 0.5, v2 -// W32: encoding: [0xff,0x04,0x68,0x7c,0x00,0x38,0x00,0x00] +// W32: encoding: [0xf0,0x04,0x68,0x7c] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_gt_i16 vcc_lo, src_scc, v2 @@ -3568,7 +3568,7 @@ v_cmp_gt_i16 vcc, -1, v2 // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_gt_i16 vcc, 0.5, v2 -// W64: encoding: [0xff,0x04,0x68,0x7c,0x00,0x38,0x00,0x00] +// W64: encoding: [0xf0,0x04,0x68,0x7c] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_gt_i16 vcc, src_scc, v2 @@ -3844,7 +3844,7 @@ v_cmp_gt_u16 vcc_lo, -1, v2 // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_gt_u16 vcc_lo, 0.5, v2 -// W32: encoding: [0xff,0x04,0x78,0x7c,0x00,0x38,0x00,0x00] +// W32: encoding: [0xf0,0x04,0x78,0x7c] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_gt_u16 vcc_lo, src_scc, v2 @@ -3904,7 +3904,7 @@ v_cmp_gt_u16 vcc, -1, v2 // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_gt_u16 vcc, 0.5, v2 -// W64: encoding: [0xff,0x04,0x78,0x7c,0x00,0x38,0x00,0x00] +// W64: encoding: [0xf0,0x04,0x78,0x7c] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_gt_u16 vcc, src_scc, v2 @@ -4516,7 +4516,7 @@ v_cmp_le_i16 vcc_lo, -1, v2 // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_le_i16 vcc_lo, 0.5, v2 -// W32: encoding: [0xff,0x04,0x66,0x7c,0x00,0x38,0x00,0x00] +// W32: encoding: [0xf0,0x04,0x66,0x7c] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_le_i16 vcc_lo, src_scc, v2 @@ -4576,7 +4576,7 @@ v_cmp_le_i16 vcc, -1, v2 // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_le_i16 vcc, 0.5, v2 -// W64: encoding: [0xff,0x04,0x66,0x7c,0x00,0x38,0x00,0x00] +// W64: encoding: [0xf0,0x04,0x66,0x7c] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_le_i16 vcc, src_scc, v2 @@ -4852,7 +4852,7 @@ v_cmp_le_u16 vcc_lo, -1, v2 // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_le_u16 vcc_lo, 0.5, v2 -// W32: encoding: [0xff,0x04,0x76,0x7c,0x00,0x38,0x00,0x00] +// W32: encoding: [0xf0,0x04,0x76,0x7c] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_le_u16 vcc_lo, src_scc, v2 @@ -4912,7 +4912,7 @@ v_cmp_le_u16 vcc, -1, v2 // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_le_u16 vcc, 0.5, v2 -// W64: encoding: [0xff,0x04,0x76,0x7c,0x00,0x38,0x00,0x00] +// W64: encoding: [0xf0,0x04,0x76,0x7c] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_le_u16 vcc, src_scc, v2 @@ -5860,7 +5860,7 @@ v_cmp_lt_i16 vcc_lo, -1, v2 // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_lt_i16 vcc_lo, 0.5, v2 -// W32: encoding: [0xff,0x04,0x62,0x7c,0x00,0x38,0x00,0x00] +// W32: encoding: [0xf0,0x04,0x62,0x7c] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_lt_i16 vcc_lo, src_scc, v2 @@ -5920,7 +5920,7 @@ v_cmp_lt_i16 vcc, -1, v2 // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_lt_i16 vcc, 0.5, v2 -// W64: encoding: [0xff,0x04,0x62,0x7c,0x00,0x38,0x00,0x00] +// W64: encoding: [0xf0,0x04,0x62,0x7c] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_lt_i16 vcc, src_scc, v2 @@ -6196,7 +6196,7 @@ v_cmp_lt_u16 vcc_lo, -1, v2 // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_lt_u16 vcc_lo, 0.5, v2 -// W32: encoding: [0xff,0x04,0x72,0x7c,0x00,0x38,0x00,0x00] +// W32: encoding: [0xf0,0x04,0x72,0x7c] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_lt_u16 vcc_lo, src_scc, v2 @@ -6256,7 +6256,7 @@ v_cmp_lt_u16 vcc, -1, v2 // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_lt_u16 vcc, 0.5, v2 -// W64: encoding: [0xff,0x04,0x72,0x7c,0x00,0x38,0x00,0x00] +// W64: encoding: [0xf0,0x04,0x72,0x7c] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_lt_u16 vcc, src_scc, v2 @@ -6532,7 +6532,7 @@ v_cmp_ne_i16 vcc_lo, -1, v2 // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_ne_i16 vcc_lo, 0.5, v2 -// W32: encoding: [0xff,0x04,0x6a,0x7c,0x00,0x38,0x00,0x00] +// W32: encoding: [0xf0,0x04,0x6a,0x7c] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_ne_i16 vcc_lo, src_scc, v2 @@ -6592,7 +6592,7 @@ v_cmp_ne_i16 vcc, -1, v2 // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_ne_i16 vcc, 0.5, v2 -// W64: encoding: [0xff,0x04,0x6a,0x7c,0x00,0x38,0x00,0x00] +// W64: encoding: [0xf0,0x04,0x6a,0x7c] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_ne_i16 vcc, src_scc, v2 @@ -6868,7 +6868,7 @@ v_cmp_ne_u16 vcc_lo, -1, v2 // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_ne_u16 vcc_lo, 0.5, v2 -// W32: encoding: [0xff,0x04,0x7a,0x7c,0x00,0x38,0x00,0x00] +// W32: encoding: [0xf0,0x04,0x7a,0x7c] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_ne_u16 vcc_lo, src_scc, v2 @@ -6928,7 +6928,7 @@ v_cmp_ne_u16 vcc, -1, v2 // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_ne_u16 vcc, 0.5, v2 -// W64: encoding: [0xff,0x04,0x7a,0x7c,0x00,0x38,0x00,0x00] +// W64: encoding: [0xf0,0x04,0x7a,0x7c] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_ne_u16 vcc, src_scc, v2 diff --git a/llvm/test/MC/AMDGPU/gfx11_asm_vopcx.s b/llvm/test/MC/AMDGPU/gfx11_asm_vopcx.s index 2512f1a4b94b5e..4139cf4c1be4d0 100644 --- a/llvm/test/MC/AMDGPU/gfx11_asm_vopcx.s +++ b/llvm/test/MC/AMDGPU/gfx11_asm_vopcx.s @@ -1,7 +1,7 @@ // RUN: llvm-mc -triple=amdgcn -mcpu=gfx1100 -mattr=+wavefrontsize32,-wavefrontsize64 -show-encoding %s | FileCheck --check-prefixes=GFX11 %s // RUN: llvm-mc -triple=amdgcn -mcpu=gfx1100 -mattr=-wavefrontsize32,+wavefrontsize64 -show-encoding %s | FileCheck --check-prefixes=GFX11 %s -v_cmpx_class_f16_e32 v1, v2 +v_cmpx_class_f16 v1, v2 // GFX11: encoding: [0x01,0x05,0xfa,0x7d] v_cmpx_class_f16 v127, v2 @@ -290,7 +290,7 @@ v_cmpx_eq_i16 -1, v2 // GFX11: encoding: [0xc1,0x04,0x64,0x7d] v_cmpx_eq_i16 0.5, v2 -// GFX11: encoding: [0xff,0x04,0x64,0x7d,0x00,0x38,0x00,0x00] +// GFX11: encoding: [0xf0,0x04,0x64,0x7d] v_cmpx_eq_i16 src_scc, v2 // GFX11: encoding: [0xfd,0x04,0x64,0x7d] @@ -416,7 +416,7 @@ v_cmpx_eq_u16 -1, v2 // GFX11: encoding: [0xc1,0x04,0x74,0x7d] v_cmpx_eq_u16 0.5, v2 -// GFX11: encoding: [0xff,0x04,0x74,0x7d,0x00,0x38,0x00,0x00] +// GFX11: encoding: [0xf0,0x04,0x74,0x7d] v_cmpx_eq_u16 src_scc, v2 // GFX11: encoding: [0xfd,0x04,0x74,0x7d] @@ -956,7 +956,7 @@ v_cmpx_ge_i16 -1, v2 // GFX11: encoding: [0xc1,0x04,0x6c,0x7d] v_cmpx_ge_i16 0.5, v2 -// GFX11: encoding: [0xff,0x04,0x6c,0x7d,0x00,0x38,0x00,0x00] +// GFX11: encoding: [0xf0,0x04,0x6c,0x7d] v_cmpx_ge_i16 src_scc, v2 // GFX11: encoding: [0xfd,0x04,0x6c,0x7d] @@ -1082,7 +1082,7 @@ v_cmpx_ge_u16 -1, v2 // GFX11: encoding: [0xc1,0x04,0x7c,0x7d] v_cmpx_ge_u16 0.5, v2 -// GFX11: encoding: [0xff,0x04,0x7c,0x7d,0x00,0x38,0x00,0x00] +// GFX11: encoding: [0xf0,0x04,0x7c,0x7d] v_cmpx_ge_u16 src_scc, v2 // GFX11: encoding: [0xfd,0x04,0x7c,0x7d] @@ -1334,7 +1334,7 @@ v_cmpx_gt_i16 -1, v2 // GFX11: encoding: [0xc1,0x04,0x68,0x7d] v_cmpx_gt_i16 0.5, v2 -// GFX11: encoding: [0xff,0x04,0x68,0x7d,0x00,0x38,0x00,0x00] +// GFX11: encoding: [0xf0,0x04,0x68,0x7d] v_cmpx_gt_i16 src_scc, v2 // GFX11: encoding: [0xfd,0x04,0x68,0x7d] @@ -1460,7 +1460,7 @@ v_cmpx_gt_u16 -1, v2 // GFX11: encoding: [0xc1,0x04,0x78,0x7d] v_cmpx_gt_u16 0.5, v2 -// GFX11: encoding: [0xff,0x04,0x78,0x7d,0x00,0x38,0x00,0x00] +// GFX11: encoding: [0xf0,0x04,0x78,0x7d] v_cmpx_gt_u16 src_scc, v2 // GFX11: encoding: [0xfd,0x04,0x78,0x7d] @@ -1712,7 +1712,7 @@ v_cmpx_le_i16 -1, v2 // GFX11: encoding: [0xc1,0x04,0x66,0x7d] v_cmpx_le_i16 0.5, v2 -// GFX11: encoding: [0xff,0x04,0x66,0x7d,0x00,0x38,0x00,0x00] +// GFX11: encoding: [0xf0,0x04,0x66,0x7d] v_cmpx_le_i16 src_scc, v2 // GFX11: encoding: [0xfd,0x04,0x66,0x7d] @@ -1838,7 +1838,7 @@ v_cmpx_le_u16 -1, v2 // GFX11: encoding: [0xc1,0x04,0x76,0x7d] v_cmpx_le_u16 0.5, v2 -// GFX11: encoding: [0xff,0x04,0x76,0x7d,0x00,0x38,0x00,0x00] +// GFX11: encoding: [0xf0,0x04,0x76,0x7d] v_cmpx_le_u16 src_scc, v2 // GFX11: encoding: [0xfd,0x04,0x76,0x7d] @@ -2216,7 +2216,7 @@ v_cmpx_lt_i16 -1, v2 // GFX11: encoding: [0xc1,0x04,0x62,0x7d] v_cmpx_lt_i16 0.5, v2 -// GFX11: encoding: [0xff,0x04,0x62,0x7d,0x00,0x38,0x00,0x00] +// GFX11: encoding: [0xf0,0x04,0x62,0x7d] v_cmpx_lt_i16 src_scc, v2 // GFX11: encoding: [0xfd,0x04,0x62,0x7d] @@ -2342,7 +2342,7 @@ v_cmpx_lt_u16 -1, v2 // GFX11: encoding: [0xc1,0x04,0x72,0x7d] v_cmpx_lt_u16 0.5, v2 -// GFX11: encoding: [0xff,0x04,0x72,0x7d,0x00,0x38,0x00,0x00] +// GFX11: encoding: [0xf0,0x04,0x72,0x7d] v_cmpx_lt_u16 src_scc, v2 // GFX11: encoding: [0xfd,0x04,0x72,0x7d] @@ -2468,7 +2468,7 @@ v_cmpx_ne_i16 -1, v2 // GFX11: encoding: [0xc1,0x04,0x6a,0x7d] v_cmpx_ne_i16 0.5, v2 -// GFX11: encoding: [0xff,0x04,0x6a,0x7d,0x00,0x38,0x00,0x00] +// GFX11: encoding: [0xf0,0x04,0x6a,0x7d] v_cmpx_ne_i16 src_scc, v2 // GFX11: encoding: [0xfd,0x04,0x6a,0x7d] @@ -2594,7 +2594,7 @@ v_cmpx_ne_u16 -1, v2 // GFX11: encoding: [0xc1,0x04,0x7a,0x7d] v_cmpx_ne_u16 0.5, v2 -// GFX11: encoding: [0xff,0x04,0x7a,0x7d,0x00,0x38,0x00,0x00] +// GFX11: encoding: [0xf0,0x04,0x7a,0x7d] v_cmpx_ne_u16 src_scc, v2 // GFX11: encoding: [0xfd,0x04,0x7a,0x7d] diff --git a/llvm/test/MC/AMDGPU/gfx12_asm_vop1.s b/llvm/test/MC/AMDGPU/gfx12_asm_vop1.s index a21ef11bfb878a..5279588f050629 100644 --- a/llvm/test/MC/AMDGPU/gfx12_asm_vop1.s +++ b/llvm/test/MC/AMDGPU/gfx12_asm_vop1.s @@ -524,7 +524,7 @@ v_cvt_f16_i16 v5, -1 // GFX12: encoding: [0xc1,0xa2,0x0a,0x7e] v_cvt_f16_i16 v5, 0.5 -// GFX12: encoding: [0xff,0xa2,0x0a,0x7e,0x00,0x38,0x00,0x00] +// GFX12: encoding: [0xf0,0xa2,0x0a,0x7e] v_cvt_f16_i16 v5, src_scc // GFX12: encoding: [0xfd,0xa2,0x0a,0x7e] @@ -569,7 +569,7 @@ v_cvt_f16_u16 v5, -1 // GFX12: encoding: [0xc1,0xa0,0x0a,0x7e] v_cvt_f16_u16 v5, 0.5 -// GFX12: encoding: [0xff,0xa0,0x0a,0x7e,0x00,0x38,0x00,0x00] +// GFX12: encoding: [0xf0,0xa0,0x0a,0x7e] v_cvt_f16_u16 v5, src_scc // GFX12: encoding: [0xfd,0xa0,0x0a,0x7e] @@ -1316,7 +1316,7 @@ v_cvt_i32_i16 v5, -1 // GFX12: encoding: [0xc1,0xd4,0x0a,0x7e] v_cvt_i32_i16 v5, 0.5 -// GFX12: encoding: [0xff,0xd4,0x0a,0x7e,0x00,0x38,0x00,0x00] +// GFX12: encoding: [0xf0,0xd4,0x0a,0x7e] v_cvt_i32_i16 v5, src_scc // GFX12: encoding: [0xfd,0xd4,0x0a,0x7e] @@ -1712,7 +1712,7 @@ v_cvt_u32_u16 v5, -1 // GFX12: encoding: [0xc1,0xd6,0x0a,0x7e] v_cvt_u32_u16 v5, 0.5 -// GFX12: encoding: [0xff,0xd6,0x0a,0x7e,0x00,0x38,0x00,0x00] +// GFX12: encoding: [0xf0,0xd6,0x0a,0x7e] v_cvt_u32_u16 v5, src_scc // GFX12: encoding: [0xfd,0xd6,0x0a,0x7e] @@ -2687,7 +2687,7 @@ v_not_b16 v5, -1 // GFX12: encoding: [0xc1,0xd2,0x0a,0x7e] v_not_b16 v5, 0.5 -// GFX12: encoding: [0xff,0xd2,0x0a,0x7e,0x00,0x38,0x00,0x00] +// GFX12: encoding: [0xf0,0xd2,0x0a,0x7e] v_not_b16 v5, src_scc // GFX12: encoding: [0xfd,0xd2,0x0a,0x7e] diff --git a/llvm/test/MC/AMDGPU/gfx12_asm_vop3.s b/llvm/test/MC/AMDGPU/gfx12_asm_vop3.s index 9d0488fd2f1c4f..be9edc3e019e34 100644 --- a/llvm/test/MC/AMDGPU/gfx12_asm_vop3.s +++ b/llvm/test/MC/AMDGPU/gfx12_asm_vop3.s @@ -230,7 +230,7 @@ v_add_nc_i16 v5, ttmp15, src_scc // GFX12: encoding: [0x05,0x00,0x0d,0xd7,0x7b,0xfa,0x01,0x00] v_add_nc_i16 v5, m0, 0.5 -// GFX12: encoding: [0x05,0x00,0x0d,0xd7,0x7d,0xfe,0x01,0x00,0x00,0x38,0x00,0x00] +// GFX12: encoding: [0x05,0x00,0x0d,0xd7,0x7d,0xe0,0x01,0x00] v_add_nc_i16 v5, exec_lo, -1 // GFX12: encoding: [0x05,0x00,0x0d,0xd7,0x7e,0x82,0x01,0x00] @@ -245,7 +245,7 @@ v_add_nc_i16 v5, -1, exec_hi op_sel:[0,0,0] // GFX12: encoding: [0x05,0x00,0x0d,0xd7,0xc1,0xfe,0x00,0x00] v_add_nc_i16 v5, 0.5, m0 op_sel:[1,0,0] -// GFX12: encoding: [0x05,0x08,0x0d,0xd7,0xff,0xfa,0x00,0x00,0x00,0x38,0x00,0x00] +// GFX12: encoding: [0x05,0x08,0x0d,0xd7,0xf0,0xfa,0x00,0x00] v_add_nc_i16 v5, src_scc, vcc_lo op_sel:[0,1,0] // GFX12: encoding: [0x05,0x10,0x0d,0xd7,0xfd,0xd4,0x00,0x00] @@ -320,7 +320,7 @@ v_add_nc_u16 v5, ttmp15, src_scc // GFX12: encoding: [0x05,0x00,0x03,0xd7,0x7b,0xfa,0x01,0x00] v_add_nc_u16 v5, m0, 0.5 -// GFX12: encoding: [0x05,0x00,0x03,0xd7,0x7d,0xfe,0x01,0x00,0x00,0x38,0x00,0x00] +// GFX12: encoding: [0x05,0x00,0x03,0xd7,0x7d,0xe0,0x01,0x00] v_add_nc_u16 v5, exec_lo, -1 // GFX12: encoding: [0x05,0x00,0x03,0xd7,0x7e,0x82,0x01,0x00] @@ -335,7 +335,7 @@ v_add_nc_u16 v5, -1, exec_hi op_sel:[0,0,0] // GFX12: encoding: [0x05,0x00,0x03,0xd7,0xc1,0xfe,0x00,0x00] v_add_nc_u16 v5, 0.5, m0 op_sel:[1,0,0] -// GFX12: encoding: [0x05,0x08,0x03,0xd7,0xff,0xfa,0x00,0x00,0x00,0x38,0x00,0x00] +// GFX12: encoding: [0x05,0x08,0x03,0xd7,0xf0,0xfa,0x00,0x00] v_add_nc_u16 v5, src_scc, vcc_lo op_sel:[0,1,0] // GFX12: encoding: [0x05,0x10,0x03,0xd7,0xfd,0xd4,0x00,0x00] @@ -455,7 +455,7 @@ v_and_b16 v5, ttmp15, src_scc // GFX12: encoding: [0x05,0x00,0x62,0xd7,0x7b,0xfa,0x01,0x00] v_and_b16 v5, m0, 0.5 -// GFX12: encoding: [0x05,0x00,0x62,0xd7,0x7d,0xfe,0x01,0x00,0x00,0x38,0x00,0x00] +// GFX12: encoding: [0x05,0x00,0x62,0xd7,0x7d,0xe0,0x01,0x00] v_and_b16 v5, exec_lo, -1 // GFX12: encoding: [0x05,0x00,0x62,0xd7,0x7e,0x82,0x01,0x00] @@ -470,7 +470,7 @@ v_and_b16 v5, -1, exec_hi // GFX12: encoding: [0x05,0x00,0x62,0xd7,0xc1,0xfe,0x00,0x00] v_and_b16 v5, 0.5, m0 -// GFX12: encoding: [0x05,0x00,0x62,0xd7,0xff,0xfa,0x00,0x00,0x00,0x38,0x00,0x00] +// GFX12: encoding: [0x05,0x00,0x62,0xd7,0xf0,0xfa,0x00,0x00] v_and_b16 v5, src_scc, vcc_lo // GFX12: encoding: [0x05,0x00,0x62,0xd7,0xfd,0xd4,0x00,0x00] @@ -545,7 +545,7 @@ v_ashrrev_i16 v5, ttmp15, src_scc // GFX12: encoding: [0x05,0x00,0x3a,0xd7,0x7b,0xfa,0x01,0x00] v_ashrrev_i16 v5, m0, 0.5 -// GFX12: encoding: [0x05,0x00,0x3a,0xd7,0x7d,0xfe,0x01,0x00,0x00,0x38,0x00,0x00] +// GFX12: encoding: [0x05,0x00,0x3a,0xd7,0x7d,0xe0,0x01,0x00] v_ashrrev_i16 v5, exec_lo, -1 // GFX12: encoding: [0x05,0x00,0x3a,0xd7,0x7e,0x82,0x01,0x00] @@ -560,7 +560,7 @@ v_ashrrev_i16 v5, -1, exec_hi // GFX12: encoding: [0x05,0x00,0x3a,0xd7,0xc1,0xfe,0x00,0x00] v_ashrrev_i16 v5, 0.5, m0 -// GFX12: encoding: [0x05,0x00,0x3a,0xd7,0xff,0xfa,0x00,0x00,0x00,0x38,0x00,0x00] +// GFX12: encoding: [0x05,0x00,0x3a,0xd7,0xf0,0xfa,0x00,0x00] v_ashrrev_i16 v5, src_scc, vcc_lo // GFX12: encoding: [0x05,0x00,0x3a,0xd7,0xfd,0xd4,0x00,0x00] @@ -825,7 +825,7 @@ v_cndmask_b16 v5, v1, src_scc, s3 // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cndmask_b16 v5, v255, 0.5, s3 -// W32: encoding: [0x05,0x00,0x5d,0xd6,0xff,0xff,0x0d,0x00,0x00,0x38,0x00,0x00] +// W32: encoding: [0x05,0x00,0x5d,0xd6,0xff,0xe1,0x0d,0x00] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cndmask_b16 v5, s105, s105, s3 @@ -861,7 +861,7 @@ v_cndmask_b16 v5, -1, -|vcc_lo|, vcc_lo // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cndmask_b16 v5, 0.5, -1, vcc_hi -// W32: encoding: [0x05,0x00,0x5d,0xd6,0xff,0x82,0xad,0x01,0x00,0x38,0x00,0x00] +// W32: encoding: [0x05,0x00,0x5d,0xd6,0xf0,0x82,0xad,0x01] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cndmask_b16 v5, -|src_scc|, null, ttmp15 @@ -873,7 +873,7 @@ v_cndmask_b16 v5, v1, src_scc, s[6:7] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cndmask_b16 v5, v255, 0.5, s[6:7] -// W64: encoding: [0x05,0x00,0x5d,0xd6,0xff,0xff,0x19,0x00,0x00,0x38,0x00,0x00] +// W64: encoding: [0x05,0x00,0x5d,0xd6,0xff,0xe1,0x19,0x00] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cndmask_b16 v5, s105, s105, s[6:7] @@ -909,7 +909,7 @@ v_cndmask_b16 v5, -1, -|vcc_lo|, s[104:105] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cndmask_b16 v5, 0.5, -1, vcc -// W64: encoding: [0x05,0x00,0x5d,0xd6,0xff,0x82,0xa9,0x01,0x00,0x38,0x00,0x00] +// W64: encoding: [0x05,0x00,0x5d,0xd6,0xf0,0x82,0xa9,0x01] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cndmask_b16 v5, -|src_scc|, null, ttmp[14:15] @@ -2621,7 +2621,7 @@ v_lshlrev_b16 v5, ttmp15, src_scc // GFX12: encoding: [0x05,0x00,0x38,0xd7,0x7b,0xfa,0x01,0x00] v_lshlrev_b16 v5, m0, 0.5 -// GFX12: encoding: [0x05,0x00,0x38,0xd7,0x7d,0xfe,0x01,0x00,0x00,0x38,0x00,0x00] +// GFX12: encoding: [0x05,0x00,0x38,0xd7,0x7d,0xe0,0x01,0x00] v_lshlrev_b16 v5, exec_lo, -1 // GFX12: encoding: [0x05,0x00,0x38,0xd7,0x7e,0x82,0x01,0x00] @@ -2636,7 +2636,7 @@ v_lshlrev_b16 v5, -1, exec_hi // GFX12: encoding: [0x05,0x00,0x38,0xd7,0xc1,0xfe,0x00,0x00] v_lshlrev_b16 v5, 0.5, m0 -// GFX12: encoding: [0x05,0x00,0x38,0xd7,0xff,0xfa,0x00,0x00,0x00,0x38,0x00,0x00] +// GFX12: encoding: [0x05,0x00,0x38,0xd7,0xf0,0xfa,0x00,0x00] v_lshlrev_b16 v5, src_scc, vcc_lo // GFX12: encoding: [0x05,0x00,0x38,0xd7,0xfd,0xd4,0x00,0x00] @@ -2666,7 +2666,7 @@ v_lshrrev_b16 v5, ttmp15, src_scc // GFX12: encoding: [0x05,0x00,0x39,0xd7,0x7b,0xfa,0x01,0x00] v_lshrrev_b16 v5, m0, 0.5 -// GFX12: encoding: [0x05,0x00,0x39,0xd7,0x7d,0xfe,0x01,0x00,0x00,0x38,0x00,0x00] +// GFX12: encoding: [0x05,0x00,0x39,0xd7,0x7d,0xe0,0x01,0x00] v_lshrrev_b16 v5, exec_lo, -1 // GFX12: encoding: [0x05,0x00,0x39,0xd7,0x7e,0x82,0x01,0x00] @@ -2681,7 +2681,7 @@ v_lshrrev_b16 v5, -1, exec_hi // GFX12: encoding: [0x05,0x00,0x39,0xd7,0xc1,0xfe,0x00,0x00] v_lshrrev_b16 v5, 0.5, m0 -// GFX12: encoding: [0x05,0x00,0x39,0xd7,0xff,0xfa,0x00,0x00,0x00,0x38,0x00,0x00] +// GFX12: encoding: [0x05,0x00,0x39,0xd7,0xf0,0xfa,0x00,0x00] v_lshrrev_b16 v5, src_scc, vcc_lo // GFX12: encoding: [0x05,0x00,0x39,0xd7,0xfd,0xd4,0x00,0x00] @@ -2738,7 +2738,7 @@ v_mad_i16 v5, ttmp15, src_scc, ttmp15 // GFX12: encoding: [0x05,0x00,0x53,0xd6,0x7b,0xfa,0xed,0x01] v_mad_i16 v5, m0, 0.5, m0 -// GFX12: encoding: [0x05,0x00,0x53,0xd6,0x7d,0xfe,0xf5,0x01,0x00,0x38,0x00,0x00] +// GFX12: encoding: [0x05,0x00,0x53,0xd6,0x7d,0xe0,0xf5,0x01] v_mad_i16 v5, exec_lo, -1, vcc_hi // GFX12: encoding: [0x05,0x00,0x53,0xd6,0x7e,0x82,0xad,0x01] @@ -2753,7 +2753,7 @@ v_mad_i16 v5, -1, exec_hi, src_scc op_sel:[1,0,0,0] // GFX12: encoding: [0x05,0x08,0x53,0xd6,0xc1,0xfe,0xf4,0x03] v_mad_i16 v5, 0.5, m0, 0.5 op_sel:[0,1,0,0] -// GFX12: encoding: [0x05,0x10,0x53,0xd6,0xff,0xfa,0xfc,0x03,0x00,0x38,0x00,0x00] +// GFX12: encoding: [0x05,0x10,0x53,0xd6,0xf0,0xfa,0xc0,0x03] v_mad_i16 v5, src_scc, vcc_lo, -1 op_sel:[0,0,1,0] // GFX12: encoding: [0x05,0x20,0x53,0xd6,0xfd,0xd4,0x04,0x03] @@ -2783,7 +2783,7 @@ v_mad_i32_i16 v5, ttmp15, src_scc, ttmp15 // GFX12: encoding: [0x05,0x00,0x5a,0xd6,0x7b,0xfa,0xed,0x01] v_mad_i32_i16 v5, m0, 0.5, m0 -// GFX12: encoding: [0x05,0x00,0x5a,0xd6,0x7d,0xfe,0xf5,0x01,0x00,0x38,0x00,0x00] +// GFX12: encoding: [0x05,0x00,0x5a,0xd6,0x7d,0xe0,0xf5,0x01] v_mad_i32_i16 v5, exec_lo, -1, exec_hi // GFX12: encoding: [0x05,0x00,0x5a,0xd6,0x7e,0x82,0xfd,0x01] @@ -2798,7 +2798,7 @@ v_mad_i32_i16 v5, -1, exec_hi, 0xaf123456 // GFX12: encoding: [0x05,0x00,0x5a,0xd6,0xc1,0xfe,0xfc,0x03,0x56,0x34,0x12,0xaf] v_mad_i32_i16 v5, 0.5, m0, -1 op_sel:[0,0,0,0] -// GFX12: encoding: [0x05,0x00,0x5a,0xd6,0xff,0xfa,0x04,0x03,0x00,0x38,0x00,0x00] +// GFX12: encoding: [0x05,0x00,0x5a,0xd6,0xf0,0xfa,0x04,0x03] v_mad_i32_i16 v5, src_scc, vcc_lo, src_scc op_sel:[1,0,0,0] // GFX12: encoding: [0x05,0x08,0x5a,0xd6,0xfd,0xd4,0xf4,0x03] @@ -2948,7 +2948,7 @@ v_mad_u16 v5, ttmp15, src_scc, ttmp15 // GFX12: encoding: [0x05,0x00,0x41,0xd6,0x7b,0xfa,0xed,0x01] v_mad_u16 v5, m0, 0.5, m0 -// GFX12: encoding: [0x05,0x00,0x41,0xd6,0x7d,0xfe,0xf5,0x01,0x00,0x38,0x00,0x00] +// GFX12: encoding: [0x05,0x00,0x41,0xd6,0x7d,0xe0,0xf5,0x01] v_mad_u16 v5, exec_lo, -1, vcc_hi // GFX12: encoding: [0x05,0x00,0x41,0xd6,0x7e,0x82,0xad,0x01] @@ -2963,7 +2963,7 @@ v_mad_u16 v5, -1, exec_hi, src_scc op_sel:[1,0,0,0] // GFX12: encoding: [0x05,0x08,0x41,0xd6,0xc1,0xfe,0xf4,0x03] v_mad_u16 v5, 0.5, m0, 0.5 op_sel:[0,1,0,0] -// GFX12: encoding: [0x05,0x10,0x41,0xd6,0xff,0xfa,0xfc,0x03,0x00,0x38,0x00,0x00] +// GFX12: encoding: [0x05,0x10,0x41,0xd6,0xf0,0xfa,0xc0,0x03] v_mad_u16 v5, src_scc, vcc_lo, -1 op_sel:[0,0,1,0] // GFX12: encoding: [0x05,0x20,0x41,0xd6,0xfd,0xd4,0x04,0x03] @@ -2993,7 +2993,7 @@ v_mad_u32_u16 v5, ttmp15, src_scc, ttmp15 // GFX12: encoding: [0x05,0x00,0x59,0xd6,0x7b,0xfa,0xed,0x01] v_mad_u32_u16 v5, m0, 0.5, m0 -// GFX12: encoding: [0x05,0x00,0x59,0xd6,0x7d,0xfe,0xf5,0x01,0x00,0x38,0x00,0x00] +// GFX12: encoding: [0x05,0x00,0x59,0xd6,0x7d,0xe0,0xf5,0x01] v_mad_u32_u16 v5, exec_lo, -1, exec_hi // GFX12: encoding: [0x05,0x00,0x59,0xd6,0x7e,0x82,0xfd,0x01] @@ -3008,7 +3008,7 @@ v_mad_u32_u16 v5, -1, exec_hi, 0xaf123456 // GFX12: encoding: [0x05,0x00,0x59,0xd6,0xc1,0xfe,0xfc,0x03,0x56,0x34,0x12,0xaf] v_mad_u32_u16 v5, 0.5, m0, -1 op_sel:[0,0,0,0] -// GFX12: encoding: [0x05,0x00,0x59,0xd6,0xff,0xfa,0x04,0x03,0x00,0x38,0x00,0x00] +// GFX12: encoding: [0x05,0x00,0x59,0xd6,0xf0,0xfa,0x04,0x03] v_mad_u32_u16 v5, src_scc, vcc_lo, src_scc op_sel:[1,0,0,0] // GFX12: encoding: [0x05,0x08,0x59,0xd6,0xfd,0xd4,0xf4,0x03] @@ -3248,7 +3248,7 @@ v_max3_i16 v5, ttmp15, src_scc, ttmp15 // GFX12: encoding: [0x05,0x00,0x4d,0xd6,0x7b,0xfa,0xed,0x01] v_max3_i16 v5, m0, 0.5, m0 -// GFX12: encoding: [0x05,0x00,0x4d,0xd6,0x7d,0xfe,0xf5,0x01,0x00,0x38,0x00,0x00] +// GFX12: encoding: [0x05,0x00,0x4d,0xd6,0x7d,0xe0,0xf5,0x01] v_max3_i16 v5, exec_lo, -1, vcc_hi // GFX12: encoding: [0x05,0x00,0x4d,0xd6,0x7e,0x82,0xad,0x01] @@ -3263,7 +3263,7 @@ v_max3_i16 v5, -1, exec_hi, src_scc op_sel:[1,0,0,0] // GFX12: encoding: [0x05,0x08,0x4d,0xd6,0xc1,0xfe,0xf4,0x03] v_max3_i16 v5, 0.5, m0, 0.5 op_sel:[0,1,0,0] -// GFX12: encoding: [0x05,0x10,0x4d,0xd6,0xff,0xfa,0xfc,0x03,0x00,0x38,0x00,0x00] +// GFX12: encoding: [0x05,0x10,0x4d,0xd6,0xf0,0xfa,0xc0,0x03] v_max3_i16 v5, src_scc, vcc_lo, -1 op_sel:[0,0,1,0] // GFX12: encoding: [0x05,0x20,0x4d,0xd6,0xfd,0xd4,0x04,0x03] @@ -3338,7 +3338,7 @@ v_max3_u16 v5, ttmp15, src_scc, ttmp15 // GFX12: encoding: [0x05,0x00,0x4e,0xd6,0x7b,0xfa,0xed,0x01] v_max3_u16 v5, m0, 0.5, m0 -// GFX12: encoding: [0x05,0x00,0x4e,0xd6,0x7d,0xfe,0xf5,0x01,0x00,0x38,0x00,0x00] +// GFX12: encoding: [0x05,0x00,0x4e,0xd6,0x7d,0xe0,0xf5,0x01] v_max3_u16 v5, exec_lo, -1, vcc_hi // GFX12: encoding: [0x05,0x00,0x4e,0xd6,0x7e,0x82,0xad,0x01] @@ -3353,7 +3353,7 @@ v_max3_u16 v5, -1, exec_hi, src_scc op_sel:[1,0,0,0] // GFX12: encoding: [0x05,0x08,0x4e,0xd6,0xc1,0xfe,0xf4,0x03] v_max3_u16 v5, 0.5, m0, 0.5 op_sel:[0,1,0,0] -// GFX12: encoding: [0x05,0x10,0x4e,0xd6,0xff,0xfa,0xfc,0x03,0x00,0x38,0x00,0x00] +// GFX12: encoding: [0x05,0x10,0x4e,0xd6,0xf0,0xfa,0xc0,0x03] v_max3_u16 v5, src_scc, vcc_lo, -1 op_sel:[0,0,1,0] // GFX12: encoding: [0x05,0x20,0x4e,0xd6,0xfd,0xd4,0x04,0x03] @@ -3428,7 +3428,7 @@ v_max_i16 v5, ttmp15, src_scc // GFX12: encoding: [0x05,0x00,0x0a,0xd7,0x7b,0xfa,0x01,0x00] v_max_i16 v5, m0, 0.5 -// GFX12: encoding: [0x05,0x00,0x0a,0xd7,0x7d,0xfe,0x01,0x00,0x00,0x38,0x00,0x00] +// GFX12: encoding: [0x05,0x00,0x0a,0xd7,0x7d,0xe0,0x01,0x00] v_max_i16 v5, exec_lo, -1 // GFX12: encoding: [0x05,0x00,0x0a,0xd7,0x7e,0x82,0x01,0x00] @@ -3443,7 +3443,7 @@ v_max_i16 v5, -1, exec_hi // GFX12: encoding: [0x05,0x00,0x0a,0xd7,0xc1,0xfe,0x00,0x00] v_max_i16 v5, 0.5, m0 -// GFX12: encoding: [0x05,0x00,0x0a,0xd7,0xff,0xfa,0x00,0x00,0x00,0x38,0x00,0x00] +// GFX12: encoding: [0x05,0x00,0x0a,0xd7,0xf0,0xfa,0x00,0x00] v_max_i16 v5, src_scc, vcc_lo // GFX12: encoding: [0x05,0x00,0x0a,0xd7,0xfd,0xd4,0x00,0x00] @@ -3473,7 +3473,7 @@ v_max_u16 v5, ttmp15, src_scc // GFX12: encoding: [0x05,0x00,0x09,0xd7,0x7b,0xfa,0x01,0x00] v_max_u16 v5, m0, 0.5 -// GFX12: encoding: [0x05,0x00,0x09,0xd7,0x7d,0xfe,0x01,0x00,0x00,0x38,0x00,0x00] +// GFX12: encoding: [0x05,0x00,0x09,0xd7,0x7d,0xe0,0x01,0x00] v_max_u16 v5, exec_lo, -1 // GFX12: encoding: [0x05,0x00,0x09,0xd7,0x7e,0x82,0x01,0x00] @@ -3488,7 +3488,7 @@ v_max_u16 v5, -1, exec_hi // GFX12: encoding: [0x05,0x00,0x09,0xd7,0xc1,0xfe,0x00,0x00] v_max_u16 v5, 0.5, m0 -// GFX12: encoding: [0x05,0x00,0x09,0xd7,0xff,0xfa,0x00,0x00,0x00,0x38,0x00,0x00] +// GFX12: encoding: [0x05,0x00,0x09,0xd7,0xf0,0xfa,0x00,0x00] v_max_u16 v5, src_scc, vcc_lo // GFX12: encoding: [0x05,0x00,0x09,0xd7,0xfd,0xd4,0x00,0x00] @@ -3878,7 +3878,7 @@ v_med3_i16 v5, ttmp15, src_scc, ttmp15 // GFX12: encoding: [0x05,0x00,0x50,0xd6,0x7b,0xfa,0xed,0x01] v_med3_i16 v5, m0, 0.5, m0 -// GFX12: encoding: [0x05,0x00,0x50,0xd6,0x7d,0xfe,0xf5,0x01,0x00,0x38,0x00,0x00] +// GFX12: encoding: [0x05,0x00,0x50,0xd6,0x7d,0xe0,0xf5,0x01] v_med3_i16 v5, exec_lo, -1, vcc_hi // GFX12: encoding: [0x05,0x00,0x50,0xd6,0x7e,0x82,0xad,0x01] @@ -3893,7 +3893,7 @@ v_med3_i16 v5, -1, exec_hi, src_scc op_sel:[1,0,0,0] // GFX12: encoding: [0x05,0x08,0x50,0xd6,0xc1,0xfe,0xf4,0x03] v_med3_i16 v5, 0.5, m0, 0.5 op_sel:[0,1,0,0] -// GFX12: encoding: [0x05,0x10,0x50,0xd6,0xff,0xfa,0xfc,0x03,0x00,0x38,0x00,0x00] +// GFX12: encoding: [0x05,0x10,0x50,0xd6,0xf0,0xfa,0xc0,0x03] v_med3_i16 v5, src_scc, vcc_lo, -1 op_sel:[0,0,1,0] // GFX12: encoding: [0x05,0x20,0x50,0xd6,0xfd,0xd4,0x04,0x03] @@ -3968,7 +3968,7 @@ v_med3_u16 v5, ttmp15, src_scc, ttmp15 // GFX12: encoding: [0x05,0x00,0x51,0xd6,0x7b,0xfa,0xed,0x01] v_med3_u16 v5, m0, 0.5, m0 -// GFX12: encoding: [0x05,0x00,0x51,0xd6,0x7d,0xfe,0xf5,0x01,0x00,0x38,0x00,0x00] +// GFX12: encoding: [0x05,0x00,0x51,0xd6,0x7d,0xe0,0xf5,0x01] v_med3_u16 v5, exec_lo, -1, vcc_hi // GFX12: encoding: [0x05,0x00,0x51,0xd6,0x7e,0x82,0xad,0x01] @@ -3983,7 +3983,7 @@ v_med3_u16 v5, -1, exec_hi, src_scc op_sel:[1,0,0,0] // GFX12: encoding: [0x05,0x08,0x51,0xd6,0xc1,0xfe,0xf4,0x03] v_med3_u16 v5, 0.5, m0, 0.5 op_sel:[0,1,0,0] -// GFX12: encoding: [0x05,0x10,0x51,0xd6,0xff,0xfa,0xfc,0x03,0x00,0x38,0x00,0x00] +// GFX12: encoding: [0x05,0x10,0x51,0xd6,0xf0,0xfa,0xc0,0x03] v_med3_u16 v5, src_scc, vcc_lo, -1 op_sel:[0,0,1,0] // GFX12: encoding: [0x05,0x20,0x51,0xd6,0xfd,0xd4,0x04,0x03] @@ -4148,7 +4148,7 @@ v_min3_i16 v5, ttmp15, src_scc, ttmp15 // GFX12: encoding: [0x05,0x00,0x4a,0xd6,0x7b,0xfa,0xed,0x01] v_min3_i16 v5, m0, 0.5, m0 -// GFX12: encoding: [0x05,0x00,0x4a,0xd6,0x7d,0xfe,0xf5,0x01,0x00,0x38,0x00,0x00] +// GFX12: encoding: [0x05,0x00,0x4a,0xd6,0x7d,0xe0,0xf5,0x01] v_min3_i16 v5, exec_lo, -1, vcc_hi // GFX12: encoding: [0x05,0x00,0x4a,0xd6,0x7e,0x82,0xad,0x01] @@ -4163,7 +4163,7 @@ v_min3_i16 v5, -1, exec_hi, src_scc op_sel:[1,0,0,0] // GFX12: encoding: [0x05,0x08,0x4a,0xd6,0xc1,0xfe,0xf4,0x03] v_min3_i16 v5, 0.5, m0, 0.5 op_sel:[0,1,0,0] -// GFX12: encoding: [0x05,0x10,0x4a,0xd6,0xff,0xfa,0xfc,0x03,0x00,0x38,0x00,0x00] +// GFX12: encoding: [0x05,0x10,0x4a,0xd6,0xf0,0xfa,0xc0,0x03] v_min3_i16 v5, src_scc, vcc_lo, -1 op_sel:[0,0,1,0] // GFX12: encoding: [0x05,0x20,0x4a,0xd6,0xfd,0xd4,0x04,0x03] @@ -4238,7 +4238,7 @@ v_min3_u16 v5, ttmp15, src_scc, ttmp15 // GFX12: encoding: [0x05,0x00,0x4b,0xd6,0x7b,0xfa,0xed,0x01] v_min3_u16 v5, m0, 0.5, m0 -// GFX12: encoding: [0x05,0x00,0x4b,0xd6,0x7d,0xfe,0xf5,0x01,0x00,0x38,0x00,0x00] +// GFX12: encoding: [0x05,0x00,0x4b,0xd6,0x7d,0xe0,0xf5,0x01] v_min3_u16 v5, exec_lo, -1, vcc_hi // GFX12: encoding: [0x05,0x00,0x4b,0xd6,0x7e,0x82,0xad,0x01] @@ -4253,7 +4253,7 @@ v_min3_u16 v5, -1, exec_hi, src_scc op_sel:[1,0,0,0] // GFX12: encoding: [0x05,0x08,0x4b,0xd6,0xc1,0xfe,0xf4,0x03] v_min3_u16 v5, 0.5, m0, 0.5 op_sel:[0,1,0,0] -// GFX12: encoding: [0x05,0x10,0x4b,0xd6,0xff,0xfa,0xfc,0x03,0x00,0x38,0x00,0x00] +// GFX12: encoding: [0x05,0x10,0x4b,0xd6,0xf0,0xfa,0xc0,0x03] v_min3_u16 v5, src_scc, vcc_lo, -1 op_sel:[0,0,1,0] // GFX12: encoding: [0x05,0x20,0x4b,0xd6,0xfd,0xd4,0x04,0x03] @@ -4328,7 +4328,7 @@ v_min_i16 v5, ttmp15, src_scc // GFX12: encoding: [0x05,0x00,0x0c,0xd7,0x7b,0xfa,0x01,0x00] v_min_i16 v5, m0, 0.5 -// GFX12: encoding: [0x05,0x00,0x0c,0xd7,0x7d,0xfe,0x01,0x00,0x00,0x38,0x00,0x00] +// GFX12: encoding: [0x05,0x00,0x0c,0xd7,0x7d,0xe0,0x01,0x00] v_min_i16 v5, exec_lo, -1 // GFX12: encoding: [0x05,0x00,0x0c,0xd7,0x7e,0x82,0x01,0x00] @@ -4343,7 +4343,7 @@ v_min_i16 v5, -1, exec_hi // GFX12: encoding: [0x05,0x00,0x0c,0xd7,0xc1,0xfe,0x00,0x00] v_min_i16 v5, 0.5, m0 -// GFX12: encoding: [0x05,0x00,0x0c,0xd7,0xff,0xfa,0x00,0x00,0x00,0x38,0x00,0x00] +// GFX12: encoding: [0x05,0x00,0x0c,0xd7,0xf0,0xfa,0x00,0x00] v_min_i16 v5, src_scc, vcc_lo // GFX12: encoding: [0x05,0x00,0x0c,0xd7,0xfd,0xd4,0x00,0x00] @@ -4373,7 +4373,7 @@ v_min_u16 v5, ttmp15, src_scc // GFX12: encoding: [0x05,0x00,0x0b,0xd7,0x7b,0xfa,0x01,0x00] v_min_u16 v5, m0, 0.5 -// GFX12: encoding: [0x05,0x00,0x0b,0xd7,0x7d,0xfe,0x01,0x00,0x00,0x38,0x00,0x00] +// GFX12: encoding: [0x05,0x00,0x0b,0xd7,0x7d,0xe0,0x01,0x00] v_min_u16 v5, exec_lo, -1 // GFX12: encoding: [0x05,0x00,0x0b,0xd7,0x7e,0x82,0x01,0x00] @@ -4388,7 +4388,7 @@ v_min_u16 v5, -1, exec_hi // GFX12: encoding: [0x05,0x00,0x0b,0xd7,0xc1,0xfe,0x00,0x00] v_min_u16 v5, 0.5, m0 -// GFX12: encoding: [0x05,0x00,0x0b,0xd7,0xff,0xfa,0x00,0x00,0x00,0x38,0x00,0x00] +// GFX12: encoding: [0x05,0x00,0x0b,0xd7,0xf0,0xfa,0x00,0x00] v_min_u16 v5, src_scc, vcc_lo // GFX12: encoding: [0x05,0x00,0x0b,0xd7,0xfd,0xd4,0x00,0x00] @@ -4823,7 +4823,7 @@ v_mul_lo_u16 v5, ttmp15, src_scc // GFX12: encoding: [0x05,0x00,0x05,0xd7,0x7b,0xfa,0x01,0x00] v_mul_lo_u16 v5, m0, 0.5 -// GFX12: encoding: [0x05,0x00,0x05,0xd7,0x7d,0xfe,0x01,0x00,0x00,0x38,0x00,0x00] +// GFX12: encoding: [0x05,0x00,0x05,0xd7,0x7d,0xe0,0x01,0x00] v_mul_lo_u16 v5, exec_lo, -1 // GFX12: encoding: [0x05,0x00,0x05,0xd7,0x7e,0x82,0x01,0x00] @@ -4838,7 +4838,7 @@ v_mul_lo_u16 v5, -1, exec_hi // GFX12: encoding: [0x05,0x00,0x05,0xd7,0xc1,0xfe,0x00,0x00] v_mul_lo_u16 v5, 0.5, m0 -// GFX12: encoding: [0x05,0x00,0x05,0xd7,0xff,0xfa,0x00,0x00,0x00,0x38,0x00,0x00] +// GFX12: encoding: [0x05,0x00,0x05,0xd7,0xf0,0xfa,0x00,0x00] v_mul_lo_u16 v5, src_scc, vcc_lo // GFX12: encoding: [0x05,0x00,0x05,0xd7,0xfd,0xd4,0x00,0x00] @@ -5003,7 +5003,7 @@ v_or_b16 v5, ttmp15, src_scc // GFX12: encoding: [0x05,0x00,0x63,0xd7,0x7b,0xfa,0x01,0x00] v_or_b16 v5, m0, 0.5 -// GFX12: encoding: [0x05,0x00,0x63,0xd7,0x7d,0xfe,0x01,0x00,0x00,0x38,0x00,0x00] +// GFX12: encoding: [0x05,0x00,0x63,0xd7,0x7d,0xe0,0x01,0x00] v_or_b16 v5, exec_lo, -1 // GFX12: encoding: [0x05,0x00,0x63,0xd7,0x7e,0x82,0x01,0x00] @@ -5018,7 +5018,7 @@ v_or_b16 v5, -1, exec_hi // GFX12: encoding: [0x05,0x00,0x63,0xd7,0xc1,0xfe,0x00,0x00] v_or_b16 v5, 0.5, m0 -// GFX12: encoding: [0x05,0x00,0x63,0xd7,0xff,0xfa,0x00,0x00,0x00,0x38,0x00,0x00] +// GFX12: encoding: [0x05,0x00,0x63,0xd7,0xf0,0xfa,0x00,0x00] v_or_b16 v5, src_scc, vcc_lo // GFX12: encoding: [0x05,0x00,0x63,0xd7,0xfd,0xd4,0x00,0x00] @@ -5622,7 +5622,7 @@ v_sub_nc_i16 v5, ttmp15, src_scc // GFX12: encoding: [0x05,0x00,0x0e,0xd7,0x7b,0xfa,0x01,0x00] v_sub_nc_i16 v5, m0, 0.5 -// GFX12: encoding: [0x05,0x00,0x0e,0xd7,0x7d,0xfe,0x01,0x00,0x00,0x38,0x00,0x00] +// GFX12: encoding: [0x05,0x00,0x0e,0xd7,0x7d,0xe0,0x01,0x00] v_sub_nc_i16 v5, exec_lo, -1 // GFX12: encoding: [0x05,0x00,0x0e,0xd7,0x7e,0x82,0x01,0x00] @@ -5637,7 +5637,7 @@ v_sub_nc_i16 v5, -1, exec_hi op_sel:[0,0,0] // GFX12: encoding: [0x05,0x00,0x0e,0xd7,0xc1,0xfe,0x00,0x00] v_sub_nc_i16 v5, 0.5, m0 op_sel:[1,0,0] -// GFX12: encoding: [0x05,0x08,0x0e,0xd7,0xff,0xfa,0x00,0x00,0x00,0x38,0x00,0x00] +// GFX12: encoding: [0x05,0x08,0x0e,0xd7,0xf0,0xfa,0x00,0x00] v_sub_nc_i16 v5, src_scc, vcc_lo op_sel:[0,1,0] // GFX12: encoding: [0x05,0x10,0x0e,0xd7,0xfd,0xd4,0x00,0x00] @@ -5712,7 +5712,7 @@ v_sub_nc_u16 v5, ttmp15, src_scc // GFX12: encoding: [0x05,0x00,0x04,0xd7,0x7b,0xfa,0x01,0x00] v_sub_nc_u16 v5, m0, 0.5 -// GFX12: encoding: [0x05,0x00,0x04,0xd7,0x7d,0xfe,0x01,0x00,0x00,0x38,0x00,0x00] +// GFX12: encoding: [0x05,0x00,0x04,0xd7,0x7d,0xe0,0x01,0x00] v_sub_nc_u16 v5, exec_lo, -1 // GFX12: encoding: [0x05,0x00,0x04,0xd7,0x7e,0x82,0x01,0x00] @@ -5727,7 +5727,7 @@ v_sub_nc_u16 v5, -1, exec_hi op_sel:[0,0,0] // GFX12: encoding: [0x05,0x00,0x04,0xd7,0xc1,0xfe,0x00,0x00] v_sub_nc_u16 v5, 0.5, m0 op_sel:[1,0,0] -// GFX12: encoding: [0x05,0x08,0x04,0xd7,0xff,0xfa,0x00,0x00,0x00,0x38,0x00,0x00] +// GFX12: encoding: [0x05,0x08,0x04,0xd7,0xf0,0xfa,0x00,0x00] v_sub_nc_u16 v5, src_scc, vcc_lo op_sel:[0,1,0] // GFX12: encoding: [0x05,0x10,0x04,0xd7,0xfd,0xd4,0x00,0x00] @@ -6046,7 +6046,7 @@ v_xor_b16 v5, ttmp15, src_scc // GFX12: encoding: [0x05,0x00,0x64,0xd7,0x7b,0xfa,0x01,0x00] v_xor_b16 v5, m0, 0.5 -// GFX12: encoding: [0x05,0x00,0x64,0xd7,0x7d,0xfe,0x01,0x00,0x00,0x38,0x00,0x00] +// GFX12: encoding: [0x05,0x00,0x64,0xd7,0x7d,0xe0,0x01,0x00] v_xor_b16 v5, exec_lo, -1 // GFX12: encoding: [0x05,0x00,0x64,0xd7,0x7e,0x82,0x01,0x00] @@ -6061,7 +6061,7 @@ v_xor_b16 v5, -1, exec_hi // GFX12: encoding: [0x05,0x00,0x64,0xd7,0xc1,0xfe,0x00,0x00] v_xor_b16 v5, 0.5, m0 -// GFX12: encoding: [0x05,0x00,0x64,0xd7,0xff,0xfa,0x00,0x00,0x00,0x38,0x00,0x00] +// GFX12: encoding: [0x05,0x00,0x64,0xd7,0xf0,0xfa,0x00,0x00] v_xor_b16 v5, src_scc, vcc_lo // GFX12: encoding: [0x05,0x00,0x64,0xd7,0xfd,0xd4,0x00,0x00] diff --git a/llvm/test/MC/AMDGPU/gfx12_asm_vop3_from_vop1.s b/llvm/test/MC/AMDGPU/gfx12_asm_vop3_from_vop1.s index 9c6a3b8e68cd36..662905809ad9fe 100644 --- a/llvm/test/MC/AMDGPU/gfx12_asm_vop3_from_vop1.s +++ b/llvm/test/MC/AMDGPU/gfx12_asm_vop3_from_vop1.s @@ -616,7 +616,7 @@ v_cvt_f16_i16_e64 v5, -1 // GFX12: encoding: [0x05,0x00,0xd1,0xd5,0xc1,0x00,0x00,0x00] v_cvt_f16_i16_e64 v5, 0.5 mul:2 -// GFX12: encoding: [0x05,0x00,0xd1,0xd5,0xff,0x00,0x00,0x08,0x00,0x38,0x00,0x00] +// GFX12: encoding: [0x05,0x00,0xd1,0xd5,0xf0,0x00,0x00,0x08] v_cvt_f16_i16_e64 v5, src_scc mul:4 // GFX12: encoding: [0x05,0x00,0xd1,0xd5,0xfd,0x00,0x00,0x10] @@ -661,7 +661,7 @@ v_cvt_f16_u16_e64 v5, -1 // GFX12: encoding: [0x05,0x00,0xd0,0xd5,0xc1,0x00,0x00,0x00] v_cvt_f16_u16_e64 v5, 0.5 mul:2 -// GFX12: encoding: [0x05,0x00,0xd0,0xd5,0xff,0x00,0x00,0x08,0x00,0x38,0x00,0x00] +// GFX12: encoding: [0x05,0x00,0xd0,0xd5,0xf0,0x00,0x00,0x08] v_cvt_f16_u16_e64 v5, src_scc mul:4 // GFX12: encoding: [0x05,0x00,0xd0,0xd5,0xfd,0x00,0x00,0x10] @@ -1408,7 +1408,7 @@ v_cvt_i32_i16_e64 v5, -1 // GFX12: encoding: [0x05,0x00,0xea,0xd5,0xc1,0x00,0x00,0x00] v_cvt_i32_i16_e64 v5, 0.5 -// GFX12: encoding: [0x05,0x00,0xea,0xd5,0xff,0x00,0x00,0x00,0x00,0x38,0x00,0x00] +// GFX12: encoding: [0x05,0x00,0xea,0xd5,0xf0,0x00,0x00,0x00] v_cvt_i32_i16_e64 v5, src_scc // GFX12: encoding: [0x05,0x00,0xea,0xd5,0xfd,0x00,0x00,0x00] @@ -1804,7 +1804,7 @@ v_cvt_u32_u16_e64 v5, -1 // GFX12: encoding: [0x05,0x00,0xeb,0xd5,0xc1,0x00,0x00,0x00] v_cvt_u32_u16_e64 v5, 0.5 -// GFX12: encoding: [0x05,0x00,0xeb,0xd5,0xff,0x00,0x00,0x00,0x00,0x38,0x00,0x00] +// GFX12: encoding: [0x05,0x00,0xeb,0xd5,0xf0,0x00,0x00,0x00] v_cvt_u32_u16_e64 v5, src_scc // GFX12: encoding: [0x05,0x00,0xeb,0xd5,0xfd,0x00,0x00,0x00] @@ -2779,7 +2779,7 @@ v_not_b16_e64 v5, -1 // GFX12: encoding: [0x05,0x00,0xe9,0xd5,0xc1,0x00,0x00,0x00] v_not_b16_e64 v5, 0.5 -// GFX12: encoding: [0x05,0x00,0xe9,0xd5,0xff,0x00,0x00,0x00,0x00,0x38,0x00,0x00] +// GFX12: encoding: [0x05,0x00,0xe9,0xd5,0xf0,0x00,0x00,0x00] v_not_b16_e64 v5, src_scc // GFX12: encoding: [0x05,0x00,0xe9,0xd5,0xfd,0x00,0x00,0x00] diff --git a/llvm/test/MC/AMDGPU/gfx12_asm_vop3c.s b/llvm/test/MC/AMDGPU/gfx12_asm_vop3c.s index 8bc776498c0662..e03bb88e077104 100644 --- a/llvm/test/MC/AMDGPU/gfx12_asm_vop3c.s +++ b/llvm/test/MC/AMDGPU/gfx12_asm_vop3c.s @@ -698,7 +698,7 @@ v_cmp_eq_i16_e64 s5, ttmp15, src_scc // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_eq_i16_e64 s5, m0, 0.5 -// W32: encoding: [0x05,0x00,0x32,0xd4,0x7d,0xfe,0x01,0x00,0x00,0x38,0x00,0x00] +// W32: encoding: [0x05,0x00,0x32,0xd4,0x7d,0xe0,0x01,0x00] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_eq_i16_e64 s5, exec_lo, -1 @@ -718,7 +718,7 @@ v_cmp_eq_i16_e64 vcc_lo, -1, exec_hi // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_eq_i16_e64 vcc_hi, 0.5, m0 -// W32: encoding: [0x6b,0x00,0x32,0xd4,0xff,0xfa,0x00,0x00,0x00,0x38,0x00,0x00] +// W32: encoding: [0x6b,0x00,0x32,0xd4,0xf0,0xfa,0x00,0x00] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_eq_i16_e64 ttmp15, src_scc, vcc_lo @@ -754,7 +754,7 @@ v_cmp_eq_i16_e64 s[10:11], ttmp15, src_scc // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_eq_i16_e64 s[10:11], m0, 0.5 -// W64: encoding: [0x0a,0x00,0x32,0xd4,0x7d,0xfe,0x01,0x00,0x00,0x38,0x00,0x00] +// W64: encoding: [0x0a,0x00,0x32,0xd4,0x7d,0xe0,0x01,0x00] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_eq_i16_e64 s[10:11], exec_lo, -1 @@ -774,7 +774,7 @@ v_cmp_eq_i16_e64 s[104:105], -1, exec_hi // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_eq_i16_e64 vcc, 0.5, m0 -// W64: encoding: [0x6a,0x00,0x32,0xd4,0xff,0xfa,0x00,0x00,0x00,0x38,0x00,0x00] +// W64: encoding: [0x6a,0x00,0x32,0xd4,0xf0,0xfa,0x00,0x00] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_eq_i16_e64 ttmp[14:15], src_scc, vcc_lo @@ -1019,7 +1019,7 @@ v_cmp_eq_u16_e64 s5, ttmp15, src_scc // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_eq_u16_e64 s5, m0, 0.5 -// W32: encoding: [0x05,0x00,0x3a,0xd4,0x7d,0xfe,0x01,0x00,0x00,0x38,0x00,0x00] +// W32: encoding: [0x05,0x00,0x3a,0xd4,0x7d,0xe0,0x01,0x00] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_eq_u16_e64 s5, exec_lo, -1 @@ -1039,7 +1039,7 @@ v_cmp_eq_u16_e64 vcc_lo, -1, exec_hi // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_eq_u16_e64 vcc_hi, 0.5, m0 -// W32: encoding: [0x6b,0x00,0x3a,0xd4,0xff,0xfa,0x00,0x00,0x00,0x38,0x00,0x00] +// W32: encoding: [0x6b,0x00,0x3a,0xd4,0xf0,0xfa,0x00,0x00] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_eq_u16_e64 ttmp15, src_scc, vcc_lo @@ -1075,7 +1075,7 @@ v_cmp_eq_u16_e64 s[10:11], ttmp15, src_scc // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_eq_u16_e64 s[10:11], m0, 0.5 -// W64: encoding: [0x0a,0x00,0x3a,0xd4,0x7d,0xfe,0x01,0x00,0x00,0x38,0x00,0x00] +// W64: encoding: [0x0a,0x00,0x3a,0xd4,0x7d,0xe0,0x01,0x00] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_eq_u16_e64 s[10:11], exec_lo, -1 @@ -1095,7 +1095,7 @@ v_cmp_eq_u16_e64 s[104:105], -1, exec_hi // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_eq_u16_e64 vcc, 0.5, m0 -// W64: encoding: [0x6a,0x00,0x3a,0xd4,0xff,0xfa,0x00,0x00,0x00,0x38,0x00,0x00] +// W64: encoding: [0x6a,0x00,0x3a,0xd4,0xf0,0xfa,0x00,0x00] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_eq_u16_e64 ttmp[14:15], src_scc, vcc_lo @@ -1661,7 +1661,7 @@ v_cmp_ge_i16_e64 s5, ttmp15, src_scc // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_ge_i16_e64 s5, m0, 0.5 -// W32: encoding: [0x05,0x00,0x36,0xd4,0x7d,0xfe,0x01,0x00,0x00,0x38,0x00,0x00] +// W32: encoding: [0x05,0x00,0x36,0xd4,0x7d,0xe0,0x01,0x00] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_ge_i16_e64 s5, exec_lo, -1 @@ -1681,7 +1681,7 @@ v_cmp_ge_i16_e64 vcc_lo, -1, exec_hi // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_ge_i16_e64 vcc_hi, 0.5, m0 -// W32: encoding: [0x6b,0x00,0x36,0xd4,0xff,0xfa,0x00,0x00,0x00,0x38,0x00,0x00] +// W32: encoding: [0x6b,0x00,0x36,0xd4,0xf0,0xfa,0x00,0x00] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_ge_i16_e64 ttmp15, src_scc, vcc_lo @@ -1717,7 +1717,7 @@ v_cmp_ge_i16_e64 s[10:11], ttmp15, src_scc // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_ge_i16_e64 s[10:11], m0, 0.5 -// W64: encoding: [0x0a,0x00,0x36,0xd4,0x7d,0xfe,0x01,0x00,0x00,0x38,0x00,0x00] +// W64: encoding: [0x0a,0x00,0x36,0xd4,0x7d,0xe0,0x01,0x00] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_ge_i16_e64 s[10:11], exec_lo, -1 @@ -1737,7 +1737,7 @@ v_cmp_ge_i16_e64 s[104:105], -1, exec_hi // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_ge_i16_e64 vcc, 0.5, m0 -// W64: encoding: [0x6a,0x00,0x36,0xd4,0xff,0xfa,0x00,0x00,0x00,0x38,0x00,0x00] +// W64: encoding: [0x6a,0x00,0x36,0xd4,0xf0,0xfa,0x00,0x00] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_ge_i16_e64 ttmp[14:15], src_scc, vcc_lo @@ -1982,7 +1982,7 @@ v_cmp_ge_u16_e64 s5, ttmp15, src_scc // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_ge_u16_e64 s5, m0, 0.5 -// W32: encoding: [0x05,0x00,0x3e,0xd4,0x7d,0xfe,0x01,0x00,0x00,0x38,0x00,0x00] +// W32: encoding: [0x05,0x00,0x3e,0xd4,0x7d,0xe0,0x01,0x00] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_ge_u16_e64 s5, exec_lo, -1 @@ -2002,7 +2002,7 @@ v_cmp_ge_u16_e64 vcc_lo, -1, exec_hi // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_ge_u16_e64 vcc_hi, 0.5, m0 -// W32: encoding: [0x6b,0x00,0x3e,0xd4,0xff,0xfa,0x00,0x00,0x00,0x38,0x00,0x00] +// W32: encoding: [0x6b,0x00,0x3e,0xd4,0xf0,0xfa,0x00,0x00] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_ge_u16_e64 ttmp15, src_scc, vcc_lo @@ -2038,7 +2038,7 @@ v_cmp_ge_u16_e64 s[10:11], ttmp15, src_scc // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_ge_u16_e64 s[10:11], m0, 0.5 -// W64: encoding: [0x0a,0x00,0x3e,0xd4,0x7d,0xfe,0x01,0x00,0x00,0x38,0x00,0x00] +// W64: encoding: [0x0a,0x00,0x3e,0xd4,0x7d,0xe0,0x01,0x00] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_ge_u16_e64 s[10:11], exec_lo, -1 @@ -2058,7 +2058,7 @@ v_cmp_ge_u16_e64 s[104:105], -1, exec_hi // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_ge_u16_e64 vcc, 0.5, m0 -// W64: encoding: [0x6a,0x00,0x3e,0xd4,0xff,0xfa,0x00,0x00,0x00,0x38,0x00,0x00] +// W64: encoding: [0x6a,0x00,0x3e,0xd4,0xf0,0xfa,0x00,0x00] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_ge_u16_e64 ttmp[14:15], src_scc, vcc_lo @@ -2624,7 +2624,7 @@ v_cmp_gt_i16_e64 s5, ttmp15, src_scc // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_gt_i16_e64 s5, m0, 0.5 -// W32: encoding: [0x05,0x00,0x34,0xd4,0x7d,0xfe,0x01,0x00,0x00,0x38,0x00,0x00] +// W32: encoding: [0x05,0x00,0x34,0xd4,0x7d,0xe0,0x01,0x00] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_gt_i16_e64 s5, exec_lo, -1 @@ -2644,7 +2644,7 @@ v_cmp_gt_i16_e64 vcc_lo, -1, exec_hi // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_gt_i16_e64 vcc_hi, 0.5, m0 -// W32: encoding: [0x6b,0x00,0x34,0xd4,0xff,0xfa,0x00,0x00,0x00,0x38,0x00,0x00] +// W32: encoding: [0x6b,0x00,0x34,0xd4,0xf0,0xfa,0x00,0x00] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_gt_i16_e64 ttmp15, src_scc, vcc_lo @@ -2680,7 +2680,7 @@ v_cmp_gt_i16_e64 s[10:11], ttmp15, src_scc // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_gt_i16_e64 s[10:11], m0, 0.5 -// W64: encoding: [0x0a,0x00,0x34,0xd4,0x7d,0xfe,0x01,0x00,0x00,0x38,0x00,0x00] +// W64: encoding: [0x0a,0x00,0x34,0xd4,0x7d,0xe0,0x01,0x00] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_gt_i16_e64 s[10:11], exec_lo, -1 @@ -2700,7 +2700,7 @@ v_cmp_gt_i16_e64 s[104:105], -1, exec_hi // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_gt_i16_e64 vcc, 0.5, m0 -// W64: encoding: [0x6a,0x00,0x34,0xd4,0xff,0xfa,0x00,0x00,0x00,0x38,0x00,0x00] +// W64: encoding: [0x6a,0x00,0x34,0xd4,0xf0,0xfa,0x00,0x00] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_gt_i16_e64 ttmp[14:15], src_scc, vcc_lo @@ -2945,7 +2945,7 @@ v_cmp_gt_u16_e64 s5, ttmp15, src_scc // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_gt_u16_e64 s5, m0, 0.5 -// W32: encoding: [0x05,0x00,0x3c,0xd4,0x7d,0xfe,0x01,0x00,0x00,0x38,0x00,0x00] +// W32: encoding: [0x05,0x00,0x3c,0xd4,0x7d,0xe0,0x01,0x00] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_gt_u16_e64 s5, exec_lo, -1 @@ -2965,7 +2965,7 @@ v_cmp_gt_u16_e64 vcc_lo, -1, exec_hi // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_gt_u16_e64 vcc_hi, 0.5, m0 -// W32: encoding: [0x6b,0x00,0x3c,0xd4,0xff,0xfa,0x00,0x00,0x00,0x38,0x00,0x00] +// W32: encoding: [0x6b,0x00,0x3c,0xd4,0xf0,0xfa,0x00,0x00] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_gt_u16_e64 ttmp15, src_scc, vcc_lo @@ -3001,7 +3001,7 @@ v_cmp_gt_u16_e64 s[10:11], ttmp15, src_scc // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_gt_u16_e64 s[10:11], m0, 0.5 -// W64: encoding: [0x0a,0x00,0x3c,0xd4,0x7d,0xfe,0x01,0x00,0x00,0x38,0x00,0x00] +// W64: encoding: [0x0a,0x00,0x3c,0xd4,0x7d,0xe0,0x01,0x00] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_gt_u16_e64 s[10:11], exec_lo, -1 @@ -3021,7 +3021,7 @@ v_cmp_gt_u16_e64 s[104:105], -1, exec_hi // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_gt_u16_e64 vcc, 0.5, m0 -// W64: encoding: [0x6a,0x00,0x3c,0xd4,0xff,0xfa,0x00,0x00,0x00,0x38,0x00,0x00] +// W64: encoding: [0x6a,0x00,0x3c,0xd4,0xf0,0xfa,0x00,0x00] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_gt_u16_e64 ttmp[14:15], src_scc, vcc_lo @@ -3587,7 +3587,7 @@ v_cmp_le_i16_e64 s5, ttmp15, src_scc // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_le_i16_e64 s5, m0, 0.5 -// W32: encoding: [0x05,0x00,0x33,0xd4,0x7d,0xfe,0x01,0x00,0x00,0x38,0x00,0x00] +// W32: encoding: [0x05,0x00,0x33,0xd4,0x7d,0xe0,0x01,0x00] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_le_i16_e64 s5, exec_lo, -1 @@ -3607,7 +3607,7 @@ v_cmp_le_i16_e64 vcc_lo, -1, exec_hi // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_le_i16_e64 vcc_hi, 0.5, m0 -// W32: encoding: [0x6b,0x00,0x33,0xd4,0xff,0xfa,0x00,0x00,0x00,0x38,0x00,0x00] +// W32: encoding: [0x6b,0x00,0x33,0xd4,0xf0,0xfa,0x00,0x00] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_le_i16_e64 ttmp15, src_scc, vcc_lo @@ -3643,7 +3643,7 @@ v_cmp_le_i16_e64 s[10:11], ttmp15, src_scc // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_le_i16_e64 s[10:11], m0, 0.5 -// W64: encoding: [0x0a,0x00,0x33,0xd4,0x7d,0xfe,0x01,0x00,0x00,0x38,0x00,0x00] +// W64: encoding: [0x0a,0x00,0x33,0xd4,0x7d,0xe0,0x01,0x00] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_le_i16_e64 s[10:11], exec_lo, -1 @@ -3663,7 +3663,7 @@ v_cmp_le_i16_e64 s[104:105], -1, exec_hi // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_le_i16_e64 vcc, 0.5, m0 -// W64: encoding: [0x6a,0x00,0x33,0xd4,0xff,0xfa,0x00,0x00,0x00,0x38,0x00,0x00] +// W64: encoding: [0x6a,0x00,0x33,0xd4,0xf0,0xfa,0x00,0x00] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_le_i16_e64 ttmp[14:15], src_scc, vcc_lo @@ -3908,7 +3908,7 @@ v_cmp_le_u16_e64 s5, ttmp15, src_scc // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_le_u16_e64 s5, m0, 0.5 -// W32: encoding: [0x05,0x00,0x3b,0xd4,0x7d,0xfe,0x01,0x00,0x00,0x38,0x00,0x00] +// W32: encoding: [0x05,0x00,0x3b,0xd4,0x7d,0xe0,0x01,0x00] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_le_u16_e64 s5, exec_lo, -1 @@ -3928,7 +3928,7 @@ v_cmp_le_u16_e64 vcc_lo, -1, exec_hi // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_le_u16_e64 vcc_hi, 0.5, m0 -// W32: encoding: [0x6b,0x00,0x3b,0xd4,0xff,0xfa,0x00,0x00,0x00,0x38,0x00,0x00] +// W32: encoding: [0x6b,0x00,0x3b,0xd4,0xf0,0xfa,0x00,0x00] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_le_u16_e64 ttmp15, src_scc, vcc_lo @@ -3964,7 +3964,7 @@ v_cmp_le_u16_e64 s[10:11], ttmp15, src_scc // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_le_u16_e64 s[10:11], m0, 0.5 -// W64: encoding: [0x0a,0x00,0x3b,0xd4,0x7d,0xfe,0x01,0x00,0x00,0x38,0x00,0x00] +// W64: encoding: [0x0a,0x00,0x3b,0xd4,0x7d,0xe0,0x01,0x00] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_le_u16_e64 s[10:11], exec_lo, -1 @@ -3984,7 +3984,7 @@ v_cmp_le_u16_e64 s[104:105], -1, exec_hi // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_le_u16_e64 vcc, 0.5, m0 -// W64: encoding: [0x6a,0x00,0x3b,0xd4,0xff,0xfa,0x00,0x00,0x00,0x38,0x00,0x00] +// W64: encoding: [0x6a,0x00,0x3b,0xd4,0xf0,0xfa,0x00,0x00] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_le_u16_e64 ttmp[14:15], src_scc, vcc_lo @@ -4871,7 +4871,7 @@ v_cmp_lt_i16_e64 s5, ttmp15, src_scc // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_lt_i16_e64 s5, m0, 0.5 -// W32: encoding: [0x05,0x00,0x31,0xd4,0x7d,0xfe,0x01,0x00,0x00,0x38,0x00,0x00] +// W32: encoding: [0x05,0x00,0x31,0xd4,0x7d,0xe0,0x01,0x00] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_lt_i16_e64 s5, exec_lo, -1 @@ -4891,7 +4891,7 @@ v_cmp_lt_i16_e64 vcc_lo, -1, exec_hi // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_lt_i16_e64 vcc_hi, 0.5, m0 -// W32: encoding: [0x6b,0x00,0x31,0xd4,0xff,0xfa,0x00,0x00,0x00,0x38,0x00,0x00] +// W32: encoding: [0x6b,0x00,0x31,0xd4,0xf0,0xfa,0x00,0x00] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_lt_i16_e64 ttmp15, src_scc, vcc_lo @@ -4927,7 +4927,7 @@ v_cmp_lt_i16_e64 s[10:11], ttmp15, src_scc // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_lt_i16_e64 s[10:11], m0, 0.5 -// W64: encoding: [0x0a,0x00,0x31,0xd4,0x7d,0xfe,0x01,0x00,0x00,0x38,0x00,0x00] +// W64: encoding: [0x0a,0x00,0x31,0xd4,0x7d,0xe0,0x01,0x00] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_lt_i16_e64 s[10:11], exec_lo, -1 @@ -4947,7 +4947,7 @@ v_cmp_lt_i16_e64 s[104:105], -1, exec_hi // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_lt_i16_e64 vcc, 0.5, m0 -// W64: encoding: [0x6a,0x00,0x31,0xd4,0xff,0xfa,0x00,0x00,0x00,0x38,0x00,0x00] +// W64: encoding: [0x6a,0x00,0x31,0xd4,0xf0,0xfa,0x00,0x00] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_lt_i16_e64 ttmp[14:15], src_scc, vcc_lo @@ -5192,7 +5192,7 @@ v_cmp_lt_u16_e64 s5, ttmp15, src_scc // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_lt_u16_e64 s5, m0, 0.5 -// W32: encoding: [0x05,0x00,0x39,0xd4,0x7d,0xfe,0x01,0x00,0x00,0x38,0x00,0x00] +// W32: encoding: [0x05,0x00,0x39,0xd4,0x7d,0xe0,0x01,0x00] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_lt_u16_e64 s5, exec_lo, -1 @@ -5212,7 +5212,7 @@ v_cmp_lt_u16_e64 vcc_lo, -1, exec_hi // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_lt_u16_e64 vcc_hi, 0.5, m0 -// W32: encoding: [0x6b,0x00,0x39,0xd4,0xff,0xfa,0x00,0x00,0x00,0x38,0x00,0x00] +// W32: encoding: [0x6b,0x00,0x39,0xd4,0xf0,0xfa,0x00,0x00] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_lt_u16_e64 ttmp15, src_scc, vcc_lo @@ -5248,7 +5248,7 @@ v_cmp_lt_u16_e64 s[10:11], ttmp15, src_scc // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_lt_u16_e64 s[10:11], m0, 0.5 -// W64: encoding: [0x0a,0x00,0x39,0xd4,0x7d,0xfe,0x01,0x00,0x00,0x38,0x00,0x00] +// W64: encoding: [0x0a,0x00,0x39,0xd4,0x7d,0xe0,0x01,0x00] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_lt_u16_e64 s[10:11], exec_lo, -1 @@ -5268,7 +5268,7 @@ v_cmp_lt_u16_e64 s[104:105], -1, exec_hi // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_lt_u16_e64 vcc, 0.5, m0 -// W64: encoding: [0x6a,0x00,0x39,0xd4,0xff,0xfa,0x00,0x00,0x00,0x38,0x00,0x00] +// W64: encoding: [0x6a,0x00,0x39,0xd4,0xf0,0xfa,0x00,0x00] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_lt_u16_e64 ttmp[14:15], src_scc, vcc_lo @@ -5513,7 +5513,7 @@ v_cmp_ne_i16_e64 s5, ttmp15, src_scc // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_ne_i16_e64 s5, m0, 0.5 -// W32: encoding: [0x05,0x00,0x35,0xd4,0x7d,0xfe,0x01,0x00,0x00,0x38,0x00,0x00] +// W32: encoding: [0x05,0x00,0x35,0xd4,0x7d,0xe0,0x01,0x00] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_ne_i16_e64 s5, exec_lo, -1 @@ -5533,7 +5533,7 @@ v_cmp_ne_i16_e64 vcc_lo, -1, exec_hi // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_ne_i16_e64 vcc_hi, 0.5, m0 -// W32: encoding: [0x6b,0x00,0x35,0xd4,0xff,0xfa,0x00,0x00,0x00,0x38,0x00,0x00] +// W32: encoding: [0x6b,0x00,0x35,0xd4,0xf0,0xfa,0x00,0x00] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_ne_i16_e64 ttmp15, src_scc, vcc_lo @@ -5569,7 +5569,7 @@ v_cmp_ne_i16_e64 s[10:11], ttmp15, src_scc // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_ne_i16_e64 s[10:11], m0, 0.5 -// W64: encoding: [0x0a,0x00,0x35,0xd4,0x7d,0xfe,0x01,0x00,0x00,0x38,0x00,0x00] +// W64: encoding: [0x0a,0x00,0x35,0xd4,0x7d,0xe0,0x01,0x00] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_ne_i16_e64 s[10:11], exec_lo, -1 @@ -5589,7 +5589,7 @@ v_cmp_ne_i16_e64 s[104:105], -1, exec_hi // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_ne_i16_e64 vcc, 0.5, m0 -// W64: encoding: [0x6a,0x00,0x35,0xd4,0xff,0xfa,0x00,0x00,0x00,0x38,0x00,0x00] +// W64: encoding: [0x6a,0x00,0x35,0xd4,0xf0,0xfa,0x00,0x00] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_ne_i16_e64 ttmp[14:15], src_scc, vcc_lo @@ -5834,7 +5834,7 @@ v_cmp_ne_u16_e64 s5, ttmp15, src_scc // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_ne_u16_e64 s5, m0, 0.5 -// W32: encoding: [0x05,0x00,0x3d,0xd4,0x7d,0xfe,0x01,0x00,0x00,0x38,0x00,0x00] +// W32: encoding: [0x05,0x00,0x3d,0xd4,0x7d,0xe0,0x01,0x00] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_ne_u16_e64 s5, exec_lo, -1 @@ -5854,7 +5854,7 @@ v_cmp_ne_u16_e64 vcc_lo, -1, exec_hi // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_ne_u16_e64 vcc_hi, 0.5, m0 -// W32: encoding: [0x6b,0x00,0x3d,0xd4,0xff,0xfa,0x00,0x00,0x00,0x38,0x00,0x00] +// W32: encoding: [0x6b,0x00,0x3d,0xd4,0xf0,0xfa,0x00,0x00] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_ne_u16_e64 ttmp15, src_scc, vcc_lo @@ -5890,7 +5890,7 @@ v_cmp_ne_u16_e64 s[10:11], ttmp15, src_scc // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_ne_u16_e64 s[10:11], m0, 0.5 -// W64: encoding: [0x0a,0x00,0x3d,0xd4,0x7d,0xfe,0x01,0x00,0x00,0x38,0x00,0x00] +// W64: encoding: [0x0a,0x00,0x3d,0xd4,0x7d,0xe0,0x01,0x00] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_ne_u16_e64 s[10:11], exec_lo, -1 @@ -5910,7 +5910,7 @@ v_cmp_ne_u16_e64 s[104:105], -1, exec_hi // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_ne_u16_e64 vcc, 0.5, m0 -// W64: encoding: [0x6a,0x00,0x3d,0xd4,0xff,0xfa,0x00,0x00,0x00,0x38,0x00,0x00] +// W64: encoding: [0x6a,0x00,0x3d,0xd4,0xf0,0xfa,0x00,0x00] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_ne_u16_e64 ttmp[14:15], src_scc, vcc_lo diff --git a/llvm/test/MC/AMDGPU/gfx12_asm_vop3cx.s b/llvm/test/MC/AMDGPU/gfx12_asm_vop3cx.s index 46ecb9f4d2ca39..d0fe55ae0a7eef 100644 --- a/llvm/test/MC/AMDGPU/gfx12_asm_vop3cx.s +++ b/llvm/test/MC/AMDGPU/gfx12_asm_vop3cx.s @@ -284,7 +284,7 @@ v_cmpx_eq_i16_e64 ttmp15, src_scc // GFX12: encoding: [0x7e,0x00,0xb2,0xd4,0x7b,0xfa,0x01,0x00] v_cmpx_eq_i16_e64 m0, 0.5 -// GFX12: encoding: [0x7e,0x00,0xb2,0xd4,0x7d,0xfe,0x01,0x00,0x00,0x38,0x00,0x00] +// GFX12: encoding: [0x7e,0x00,0xb2,0xd4,0x7d,0xe0,0x01,0x00] v_cmpx_eq_i16_e64 exec_lo, -1 // GFX12: encoding: [0x7e,0x00,0xb2,0xd4,0x7e,0x82,0x01,0x00] @@ -299,7 +299,7 @@ v_cmpx_eq_i16_e64 -1, exec_hi // GFX12: encoding: [0x7e,0x00,0xb2,0xd4,0xc1,0xfe,0x00,0x00] v_cmpx_eq_i16_e64 0.5, m0 -// GFX12: encoding: [0x7e,0x00,0xb2,0xd4,0xff,0xfa,0x00,0x00,0x00,0x38,0x00,0x00] +// GFX12: encoding: [0x7e,0x00,0xb2,0xd4,0xf0,0xfa,0x00,0x00] v_cmpx_eq_i16_e64 src_scc, vcc_lo // GFX12: encoding: [0x7e,0x00,0xb2,0xd4,0xfd,0xd4,0x00,0x00] @@ -410,7 +410,7 @@ v_cmpx_eq_u16_e64 ttmp15, src_scc // GFX12: encoding: [0x7e,0x00,0xba,0xd4,0x7b,0xfa,0x01,0x00] v_cmpx_eq_u16_e64 m0, 0.5 -// GFX12: encoding: [0x7e,0x00,0xba,0xd4,0x7d,0xfe,0x01,0x00,0x00,0x38,0x00,0x00] +// GFX12: encoding: [0x7e,0x00,0xba,0xd4,0x7d,0xe0,0x01,0x00] v_cmpx_eq_u16_e64 exec_lo, -1 // GFX12: encoding: [0x7e,0x00,0xba,0xd4,0x7e,0x82,0x01,0x00] @@ -425,7 +425,7 @@ v_cmpx_eq_u16_e64 -1, exec_hi // GFX12: encoding: [0x7e,0x00,0xba,0xd4,0xc1,0xfe,0x00,0x00] v_cmpx_eq_u16_e64 0.5, m0 -// GFX12: encoding: [0x7e,0x00,0xba,0xd4,0xff,0xfa,0x00,0x00,0x00,0x38,0x00,0x00] +// GFX12: encoding: [0x7e,0x00,0xba,0xd4,0xf0,0xfa,0x00,0x00] v_cmpx_eq_u16_e64 src_scc, vcc_lo // GFX12: encoding: [0x7e,0x00,0xba,0xd4,0xfd,0xd4,0x00,0x00] @@ -662,7 +662,7 @@ v_cmpx_ge_i16_e64 ttmp15, src_scc // GFX12: encoding: [0x7e,0x00,0xb6,0xd4,0x7b,0xfa,0x01,0x00] v_cmpx_ge_i16_e64 m0, 0.5 -// GFX12: encoding: [0x7e,0x00,0xb6,0xd4,0x7d,0xfe,0x01,0x00,0x00,0x38,0x00,0x00] +// GFX12: encoding: [0x7e,0x00,0xb6,0xd4,0x7d,0xe0,0x01,0x00] v_cmpx_ge_i16_e64 exec_lo, -1 // GFX12: encoding: [0x7e,0x00,0xb6,0xd4,0x7e,0x82,0x01,0x00] @@ -677,7 +677,7 @@ v_cmpx_ge_i16_e64 -1, exec_hi // GFX12: encoding: [0x7e,0x00,0xb6,0xd4,0xc1,0xfe,0x00,0x00] v_cmpx_ge_i16_e64 0.5, m0 -// GFX12: encoding: [0x7e,0x00,0xb6,0xd4,0xff,0xfa,0x00,0x00,0x00,0x38,0x00,0x00] +// GFX12: encoding: [0x7e,0x00,0xb6,0xd4,0xf0,0xfa,0x00,0x00] v_cmpx_ge_i16_e64 src_scc, vcc_lo // GFX12: encoding: [0x7e,0x00,0xb6,0xd4,0xfd,0xd4,0x00,0x00] @@ -788,7 +788,7 @@ v_cmpx_ge_u16_e64 ttmp15, src_scc // GFX12: encoding: [0x7e,0x00,0xbe,0xd4,0x7b,0xfa,0x01,0x00] v_cmpx_ge_u16_e64 m0, 0.5 -// GFX12: encoding: [0x7e,0x00,0xbe,0xd4,0x7d,0xfe,0x01,0x00,0x00,0x38,0x00,0x00] +// GFX12: encoding: [0x7e,0x00,0xbe,0xd4,0x7d,0xe0,0x01,0x00] v_cmpx_ge_u16_e64 exec_lo, -1 // GFX12: encoding: [0x7e,0x00,0xbe,0xd4,0x7e,0x82,0x01,0x00] @@ -803,7 +803,7 @@ v_cmpx_ge_u16_e64 -1, exec_hi // GFX12: encoding: [0x7e,0x00,0xbe,0xd4,0xc1,0xfe,0x00,0x00] v_cmpx_ge_u16_e64 0.5, m0 -// GFX12: encoding: [0x7e,0x00,0xbe,0xd4,0xff,0xfa,0x00,0x00,0x00,0x38,0x00,0x00] +// GFX12: encoding: [0x7e,0x00,0xbe,0xd4,0xf0,0xfa,0x00,0x00] v_cmpx_ge_u16_e64 src_scc, vcc_lo // GFX12: encoding: [0x7e,0x00,0xbe,0xd4,0xfd,0xd4,0x00,0x00] @@ -1040,7 +1040,7 @@ v_cmpx_gt_i16_e64 ttmp15, src_scc // GFX12: encoding: [0x7e,0x00,0xb4,0xd4,0x7b,0xfa,0x01,0x00] v_cmpx_gt_i16_e64 m0, 0.5 -// GFX12: encoding: [0x7e,0x00,0xb4,0xd4,0x7d,0xfe,0x01,0x00,0x00,0x38,0x00,0x00] +// GFX12: encoding: [0x7e,0x00,0xb4,0xd4,0x7d,0xe0,0x01,0x00] v_cmpx_gt_i16_e64 exec_lo, -1 // GFX12: encoding: [0x7e,0x00,0xb4,0xd4,0x7e,0x82,0x01,0x00] @@ -1055,7 +1055,7 @@ v_cmpx_gt_i16_e64 -1, exec_hi // GFX12: encoding: [0x7e,0x00,0xb4,0xd4,0xc1,0xfe,0x00,0x00] v_cmpx_gt_i16_e64 0.5, m0 -// GFX12: encoding: [0x7e,0x00,0xb4,0xd4,0xff,0xfa,0x00,0x00,0x00,0x38,0x00,0x00] +// GFX12: encoding: [0x7e,0x00,0xb4,0xd4,0xf0,0xfa,0x00,0x00] v_cmpx_gt_i16_e64 src_scc, vcc_lo // GFX12: encoding: [0x7e,0x00,0xb4,0xd4,0xfd,0xd4,0x00,0x00] @@ -1166,7 +1166,7 @@ v_cmpx_gt_u16_e64 ttmp15, src_scc // GFX12: encoding: [0x7e,0x00,0xbc,0xd4,0x7b,0xfa,0x01,0x00] v_cmpx_gt_u16_e64 m0, 0.5 -// GFX12: encoding: [0x7e,0x00,0xbc,0xd4,0x7d,0xfe,0x01,0x00,0x00,0x38,0x00,0x00] +// GFX12: encoding: [0x7e,0x00,0xbc,0xd4,0x7d,0xe0,0x01,0x00] v_cmpx_gt_u16_e64 exec_lo, -1 // GFX12: encoding: [0x7e,0x00,0xbc,0xd4,0x7e,0x82,0x01,0x00] @@ -1181,7 +1181,7 @@ v_cmpx_gt_u16_e64 -1, exec_hi // GFX12: encoding: [0x7e,0x00,0xbc,0xd4,0xc1,0xfe,0x00,0x00] v_cmpx_gt_u16_e64 0.5, m0 -// GFX12: encoding: [0x7e,0x00,0xbc,0xd4,0xff,0xfa,0x00,0x00,0x00,0x38,0x00,0x00] +// GFX12: encoding: [0x7e,0x00,0xbc,0xd4,0xf0,0xfa,0x00,0x00] v_cmpx_gt_u16_e64 src_scc, vcc_lo // GFX12: encoding: [0x7e,0x00,0xbc,0xd4,0xfd,0xd4,0x00,0x00] @@ -1418,7 +1418,7 @@ v_cmpx_le_i16_e64 ttmp15, src_scc // GFX12: encoding: [0x7e,0x00,0xb3,0xd4,0x7b,0xfa,0x01,0x00] v_cmpx_le_i16_e64 m0, 0.5 -// GFX12: encoding: [0x7e,0x00,0xb3,0xd4,0x7d,0xfe,0x01,0x00,0x00,0x38,0x00,0x00] +// GFX12: encoding: [0x7e,0x00,0xb3,0xd4,0x7d,0xe0,0x01,0x00] v_cmpx_le_i16_e64 exec_lo, -1 // GFX12: encoding: [0x7e,0x00,0xb3,0xd4,0x7e,0x82,0x01,0x00] @@ -1433,7 +1433,7 @@ v_cmpx_le_i16_e64 -1, exec_hi // GFX12: encoding: [0x7e,0x00,0xb3,0xd4,0xc1,0xfe,0x00,0x00] v_cmpx_le_i16_e64 0.5, m0 -// GFX12: encoding: [0x7e,0x00,0xb3,0xd4,0xff,0xfa,0x00,0x00,0x00,0x38,0x00,0x00] +// GFX12: encoding: [0x7e,0x00,0xb3,0xd4,0xf0,0xfa,0x00,0x00] v_cmpx_le_i16_e64 src_scc, vcc_lo // GFX12: encoding: [0x7e,0x00,0xb3,0xd4,0xfd,0xd4,0x00,0x00] @@ -1544,7 +1544,7 @@ v_cmpx_le_u16_e64 ttmp15, src_scc // GFX12: encoding: [0x7e,0x00,0xbb,0xd4,0x7b,0xfa,0x01,0x00] v_cmpx_le_u16_e64 m0, 0.5 -// GFX12: encoding: [0x7e,0x00,0xbb,0xd4,0x7d,0xfe,0x01,0x00,0x00,0x38,0x00,0x00] +// GFX12: encoding: [0x7e,0x00,0xbb,0xd4,0x7d,0xe0,0x01,0x00] v_cmpx_le_u16_e64 exec_lo, -1 // GFX12: encoding: [0x7e,0x00,0xbb,0xd4,0x7e,0x82,0x01,0x00] @@ -1559,7 +1559,7 @@ v_cmpx_le_u16_e64 -1, exec_hi // GFX12: encoding: [0x7e,0x00,0xbb,0xd4,0xc1,0xfe,0x00,0x00] v_cmpx_le_u16_e64 0.5, m0 -// GFX12: encoding: [0x7e,0x00,0xbb,0xd4,0xff,0xfa,0x00,0x00,0x00,0x38,0x00,0x00] +// GFX12: encoding: [0x7e,0x00,0xbb,0xd4,0xf0,0xfa,0x00,0x00] v_cmpx_le_u16_e64 src_scc, vcc_lo // GFX12: encoding: [0x7e,0x00,0xbb,0xd4,0xfd,0xd4,0x00,0x00] @@ -1922,7 +1922,7 @@ v_cmpx_lt_i16_e64 ttmp15, src_scc // GFX12: encoding: [0x7e,0x00,0xb1,0xd4,0x7b,0xfa,0x01,0x00] v_cmpx_lt_i16_e64 m0, 0.5 -// GFX12: encoding: [0x7e,0x00,0xb1,0xd4,0x7d,0xfe,0x01,0x00,0x00,0x38,0x00,0x00] +// GFX12: encoding: [0x7e,0x00,0xb1,0xd4,0x7d,0xe0,0x01,0x00] v_cmpx_lt_i16_e64 exec_lo, -1 // GFX12: encoding: [0x7e,0x00,0xb1,0xd4,0x7e,0x82,0x01,0x00] @@ -1937,7 +1937,7 @@ v_cmpx_lt_i16_e64 -1, exec_hi // GFX12: encoding: [0x7e,0x00,0xb1,0xd4,0xc1,0xfe,0x00,0x00] v_cmpx_lt_i16_e64 0.5, m0 -// GFX12: encoding: [0x7e,0x00,0xb1,0xd4,0xff,0xfa,0x00,0x00,0x00,0x38,0x00,0x00] +// GFX12: encoding: [0x7e,0x00,0xb1,0xd4,0xf0,0xfa,0x00,0x00] v_cmpx_lt_i16_e64 src_scc, vcc_lo // GFX12: encoding: [0x7e,0x00,0xb1,0xd4,0xfd,0xd4,0x00,0x00] @@ -2048,7 +2048,7 @@ v_cmpx_lt_u16_e64 ttmp15, src_scc // GFX12: encoding: [0x7e,0x00,0xb9,0xd4,0x7b,0xfa,0x01,0x00] v_cmpx_lt_u16_e64 m0, 0.5 -// GFX12: encoding: [0x7e,0x00,0xb9,0xd4,0x7d,0xfe,0x01,0x00,0x00,0x38,0x00,0x00] +// GFX12: encoding: [0x7e,0x00,0xb9,0xd4,0x7d,0xe0,0x01,0x00] v_cmpx_lt_u16_e64 exec_lo, -1 // GFX12: encoding: [0x7e,0x00,0xb9,0xd4,0x7e,0x82,0x01,0x00] @@ -2063,7 +2063,7 @@ v_cmpx_lt_u16_e64 -1, exec_hi // GFX12: encoding: [0x7e,0x00,0xb9,0xd4,0xc1,0xfe,0x00,0x00] v_cmpx_lt_u16_e64 0.5, m0 -// GFX12: encoding: [0x7e,0x00,0xb9,0xd4,0xff,0xfa,0x00,0x00,0x00,0x38,0x00,0x00] +// GFX12: encoding: [0x7e,0x00,0xb9,0xd4,0xf0,0xfa,0x00,0x00] v_cmpx_lt_u16_e64 src_scc, vcc_lo // GFX12: encoding: [0x7e,0x00,0xb9,0xd4,0xfd,0xd4,0x00,0x00] @@ -2174,7 +2174,7 @@ v_cmpx_ne_i16_e64 ttmp15, src_scc // GFX12: encoding: [0x7e,0x00,0xb5,0xd4,0x7b,0xfa,0x01,0x00] v_cmpx_ne_i16_e64 m0, 0.5 -// GFX12: encoding: [0x7e,0x00,0xb5,0xd4,0x7d,0xfe,0x01,0x00,0x00,0x38,0x00,0x00] +// GFX12: encoding: [0x7e,0x00,0xb5,0xd4,0x7d,0xe0,0x01,0x00] v_cmpx_ne_i16_e64 exec_lo, -1 // GFX12: encoding: [0x7e,0x00,0xb5,0xd4,0x7e,0x82,0x01,0x00] @@ -2189,7 +2189,7 @@ v_cmpx_ne_i16_e64 -1, exec_hi // GFX12: encoding: [0x7e,0x00,0xb5,0xd4,0xc1,0xfe,0x00,0x00] v_cmpx_ne_i16_e64 0.5, m0 -// GFX12: encoding: [0x7e,0x00,0xb5,0xd4,0xff,0xfa,0x00,0x00,0x00,0x38,0x00,0x00] +// GFX12: encoding: [0x7e,0x00,0xb5,0xd4,0xf0,0xfa,0x00,0x00] v_cmpx_ne_i16_e64 src_scc, vcc_lo // GFX12: encoding: [0x7e,0x00,0xb5,0xd4,0xfd,0xd4,0x00,0x00] @@ -2300,7 +2300,7 @@ v_cmpx_ne_u16_e64 ttmp15, src_scc // GFX12: encoding: [0x7e,0x00,0xbd,0xd4,0x7b,0xfa,0x01,0x00] v_cmpx_ne_u16_e64 m0, 0.5 -// GFX12: encoding: [0x7e,0x00,0xbd,0xd4,0x7d,0xfe,0x01,0x00,0x00,0x38,0x00,0x00] +// GFX12: encoding: [0x7e,0x00,0xbd,0xd4,0x7d,0xe0,0x01,0x00] v_cmpx_ne_u16_e64 exec_lo, -1 // GFX12: encoding: [0x7e,0x00,0xbd,0xd4,0x7e,0x82,0x01,0x00] @@ -2315,7 +2315,7 @@ v_cmpx_ne_u16_e64 -1, exec_hi // GFX12: encoding: [0x7e,0x00,0xbd,0xd4,0xc1,0xfe,0x00,0x00] v_cmpx_ne_u16_e64 0.5, m0 -// GFX12: encoding: [0x7e,0x00,0xbd,0xd4,0xff,0xfa,0x00,0x00,0x00,0x38,0x00,0x00] +// GFX12: encoding: [0x7e,0x00,0xbd,0xd4,0xf0,0xfa,0x00,0x00] v_cmpx_ne_u16_e64 src_scc, vcc_lo // GFX12: encoding: [0x7e,0x00,0xbd,0xd4,0xfd,0xd4,0x00,0x00] diff --git a/llvm/test/MC/AMDGPU/gfx12_asm_vopc.s b/llvm/test/MC/AMDGPU/gfx12_asm_vopc.s index e0d48972575ed1..3ae0c0f314d937 100644 --- a/llvm/test/MC/AMDGPU/gfx12_asm_vopc.s +++ b/llvm/test/MC/AMDGPU/gfx12_asm_vopc.s @@ -724,7 +724,7 @@ v_cmp_eq_i16 vcc_lo, -1, v2 // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_eq_i16 vcc_lo, 0.5, v2 -// W32: encoding: [0xff,0x04,0x64,0x7c,0x00,0x38,0x00,0x00] +// W32: encoding: [0xf0,0x04,0x64,0x7c] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_eq_i16 vcc_lo, src_scc, v2 @@ -784,7 +784,7 @@ v_cmp_eq_i16 vcc, -1, v2 // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_eq_i16 vcc, 0.5, v2 -// W64: encoding: [0xff,0x04,0x64,0x7c,0x00,0x38,0x00,0x00] +// W64: encoding: [0xf0,0x04,0x64,0x7c] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_eq_i16 vcc, src_scc, v2 @@ -1060,7 +1060,7 @@ v_cmp_eq_u16 vcc_lo, -1, v2 // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_eq_u16 vcc_lo, 0.5, v2 -// W32: encoding: [0xff,0x04,0x74,0x7c,0x00,0x38,0x00,0x00] +// W32: encoding: [0xf0,0x04,0x74,0x7c] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_eq_u16 vcc_lo, src_scc, v2 @@ -1120,7 +1120,7 @@ v_cmp_eq_u16 vcc, -1, v2 // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_eq_u16 vcc, 0.5, v2 -// W64: encoding: [0xff,0x04,0x74,0x7c,0x00,0x38,0x00,0x00] +// W64: encoding: [0xf0,0x04,0x74,0x7c] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_eq_u16 vcc, src_scc, v2 @@ -1732,7 +1732,7 @@ v_cmp_ge_i16 vcc_lo, -1, v2 // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_ge_i16 vcc_lo, 0.5, v2 -// W32: encoding: [0xff,0x04,0x6c,0x7c,0x00,0x38,0x00,0x00] +// W32: encoding: [0xf0,0x04,0x6c,0x7c] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_ge_i16 vcc_lo, src_scc, v2 @@ -1792,7 +1792,7 @@ v_cmp_ge_i16 vcc, -1, v2 // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_ge_i16 vcc, 0.5, v2 -// W64: encoding: [0xff,0x04,0x6c,0x7c,0x00,0x38,0x00,0x00] +// W64: encoding: [0xf0,0x04,0x6c,0x7c] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_ge_i16 vcc, src_scc, v2 @@ -2068,7 +2068,7 @@ v_cmp_ge_u16 vcc_lo, -1, v2 // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_ge_u16 vcc_lo, 0.5, v2 -// W32: encoding: [0xff,0x04,0x7c,0x7c,0x00,0x38,0x00,0x00] +// W32: encoding: [0xf0,0x04,0x7c,0x7c] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_ge_u16 vcc_lo, src_scc, v2 @@ -2128,7 +2128,7 @@ v_cmp_ge_u16 vcc, -1, v2 // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_ge_u16 vcc, 0.5, v2 -// W64: encoding: [0xff,0x04,0x7c,0x7c,0x00,0x38,0x00,0x00] +// W64: encoding: [0xf0,0x04,0x7c,0x7c] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_ge_u16 vcc, src_scc, v2 @@ -2740,7 +2740,7 @@ v_cmp_gt_i16 vcc_lo, -1, v2 // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_gt_i16 vcc_lo, 0.5, v2 -// W32: encoding: [0xff,0x04,0x68,0x7c,0x00,0x38,0x00,0x00] +// W32: encoding: [0xf0,0x04,0x68,0x7c] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_gt_i16 vcc_lo, src_scc, v2 @@ -2800,7 +2800,7 @@ v_cmp_gt_i16 vcc, -1, v2 // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_gt_i16 vcc, 0.5, v2 -// W64: encoding: [0xff,0x04,0x68,0x7c,0x00,0x38,0x00,0x00] +// W64: encoding: [0xf0,0x04,0x68,0x7c] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_gt_i16 vcc, src_scc, v2 @@ -3076,7 +3076,7 @@ v_cmp_gt_u16 vcc_lo, -1, v2 // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_gt_u16 vcc_lo, 0.5, v2 -// W32: encoding: [0xff,0x04,0x78,0x7c,0x00,0x38,0x00,0x00] +// W32: encoding: [0xf0,0x04,0x78,0x7c] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_gt_u16 vcc_lo, src_scc, v2 @@ -3136,7 +3136,7 @@ v_cmp_gt_u16 vcc, -1, v2 // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_gt_u16 vcc, 0.5, v2 -// W64: encoding: [0xff,0x04,0x78,0x7c,0x00,0x38,0x00,0x00] +// W64: encoding: [0xf0,0x04,0x78,0x7c] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_gt_u16 vcc, src_scc, v2 @@ -3748,7 +3748,7 @@ v_cmp_le_i16 vcc_lo, -1, v2 // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_le_i16 vcc_lo, 0.5, v2 -// W32: encoding: [0xff,0x04,0x66,0x7c,0x00,0x38,0x00,0x00] +// W32: encoding: [0xf0,0x04,0x66,0x7c] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_le_i16 vcc_lo, src_scc, v2 @@ -3808,7 +3808,7 @@ v_cmp_le_i16 vcc, -1, v2 // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_le_i16 vcc, 0.5, v2 -// W64: encoding: [0xff,0x04,0x66,0x7c,0x00,0x38,0x00,0x00] +// W64: encoding: [0xf0,0x04,0x66,0x7c] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_le_i16 vcc, src_scc, v2 @@ -4084,7 +4084,7 @@ v_cmp_le_u16 vcc_lo, -1, v2 // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_le_u16 vcc_lo, 0.5, v2 -// W32: encoding: [0xff,0x04,0x76,0x7c,0x00,0x38,0x00,0x00] +// W32: encoding: [0xf0,0x04,0x76,0x7c] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_le_u16 vcc_lo, src_scc, v2 @@ -4144,7 +4144,7 @@ v_cmp_le_u16 vcc, -1, v2 // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_le_u16 vcc, 0.5, v2 -// W64: encoding: [0xff,0x04,0x76,0x7c,0x00,0x38,0x00,0x00] +// W64: encoding: [0xf0,0x04,0x76,0x7c] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_le_u16 vcc, src_scc, v2 @@ -5092,7 +5092,7 @@ v_cmp_lt_i16 vcc_lo, -1, v2 // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_lt_i16 vcc_lo, 0.5, v2 -// W32: encoding: [0xff,0x04,0x62,0x7c,0x00,0x38,0x00,0x00] +// W32: encoding: [0xf0,0x04,0x62,0x7c] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_lt_i16 vcc_lo, src_scc, v2 @@ -5152,7 +5152,7 @@ v_cmp_lt_i16 vcc, -1, v2 // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_lt_i16 vcc, 0.5, v2 -// W64: encoding: [0xff,0x04,0x62,0x7c,0x00,0x38,0x00,0x00] +// W64: encoding: [0xf0,0x04,0x62,0x7c] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_lt_i16 vcc, src_scc, v2 @@ -5428,7 +5428,7 @@ v_cmp_lt_u16 vcc_lo, -1, v2 // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_lt_u16 vcc_lo, 0.5, v2 -// W32: encoding: [0xff,0x04,0x72,0x7c,0x00,0x38,0x00,0x00] +// W32: encoding: [0xf0,0x04,0x72,0x7c] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_lt_u16 vcc_lo, src_scc, v2 @@ -5488,7 +5488,7 @@ v_cmp_lt_u16 vcc, -1, v2 // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_lt_u16 vcc, 0.5, v2 -// W64: encoding: [0xff,0x04,0x72,0x7c,0x00,0x38,0x00,0x00] +// W64: encoding: [0xf0,0x04,0x72,0x7c] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_lt_u16 vcc, src_scc, v2 @@ -5764,7 +5764,7 @@ v_cmp_ne_i16 vcc_lo, -1, v2 // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_ne_i16 vcc_lo, 0.5, v2 -// W32: encoding: [0xff,0x04,0x6a,0x7c,0x00,0x38,0x00,0x00] +// W32: encoding: [0xf0,0x04,0x6a,0x7c] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_ne_i16 vcc_lo, src_scc, v2 @@ -5824,7 +5824,7 @@ v_cmp_ne_i16 vcc, -1, v2 // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_ne_i16 vcc, 0.5, v2 -// W64: encoding: [0xff,0x04,0x6a,0x7c,0x00,0x38,0x00,0x00] +// W64: encoding: [0xf0,0x04,0x6a,0x7c] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_ne_i16 vcc, src_scc, v2 @@ -6100,7 +6100,7 @@ v_cmp_ne_u16 vcc_lo, -1, v2 // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_ne_u16 vcc_lo, 0.5, v2 -// W32: encoding: [0xff,0x04,0x7a,0x7c,0x00,0x38,0x00,0x00] +// W32: encoding: [0xf0,0x04,0x7a,0x7c] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_ne_u16 vcc_lo, src_scc, v2 @@ -6160,7 +6160,7 @@ v_cmp_ne_u16 vcc, -1, v2 // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_ne_u16 vcc, 0.5, v2 -// W64: encoding: [0xff,0x04,0x7a,0x7c,0x00,0x38,0x00,0x00] +// W64: encoding: [0xf0,0x04,0x7a,0x7c] // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode v_cmp_ne_u16 vcc, src_scc, v2 diff --git a/llvm/test/MC/AMDGPU/gfx12_asm_vopcx.s b/llvm/test/MC/AMDGPU/gfx12_asm_vopcx.s index ffbf50cce76e67..68c41abaf05fec 100644 --- a/llvm/test/MC/AMDGPU/gfx12_asm_vopcx.s +++ b/llvm/test/MC/AMDGPU/gfx12_asm_vopcx.s @@ -290,7 +290,7 @@ v_cmpx_eq_i16 -1, v2 // GFX12: encoding: [0xc1,0x04,0x64,0x7d] v_cmpx_eq_i16 0.5, v2 -// GFX12: encoding: [0xff,0x04,0x64,0x7d,0x00,0x38,0x00,0x00] +// GFX12: encoding: [0xf0,0x04,0x64,0x7d] v_cmpx_eq_i16 src_scc, v2 // GFX12: encoding: [0xfd,0x04,0x64,0x7d] @@ -416,7 +416,7 @@ v_cmpx_eq_u16 -1, v2 // GFX12: encoding: [0xc1,0x04,0x74,0x7d] v_cmpx_eq_u16 0.5, v2 -// GFX12: encoding: [0xff,0x04,0x74,0x7d,0x00,0x38,0x00,0x00] +// GFX12: encoding: [0xf0,0x04,0x74,0x7d] v_cmpx_eq_u16 src_scc, v2 // GFX12: encoding: [0xfd,0x04,0x74,0x7d] @@ -668,7 +668,7 @@ v_cmpx_ge_i16 -1, v2 // GFX12: encoding: [0xc1,0x04,0x6c,0x7d] v_cmpx_ge_i16 0.5, v2 -// GFX12: encoding: [0xff,0x04,0x6c,0x7d,0x00,0x38,0x00,0x00] +// GFX12: encoding: [0xf0,0x04,0x6c,0x7d] v_cmpx_ge_i16 src_scc, v2 // GFX12: encoding: [0xfd,0x04,0x6c,0x7d] @@ -794,7 +794,7 @@ v_cmpx_ge_u16 -1, v2 // GFX12: encoding: [0xc1,0x04,0x7c,0x7d] v_cmpx_ge_u16 0.5, v2 -// GFX12: encoding: [0xff,0x04,0x7c,0x7d,0x00,0x38,0x00,0x00] +// GFX12: encoding: [0xf0,0x04,0x7c,0x7d] v_cmpx_ge_u16 src_scc, v2 // GFX12: encoding: [0xfd,0x04,0x7c,0x7d] @@ -1046,7 +1046,7 @@ v_cmpx_gt_i16 -1, v2 // GFX12: encoding: [0xc1,0x04,0x68,0x7d] v_cmpx_gt_i16 0.5, v2 -// GFX12: encoding: [0xff,0x04,0x68,0x7d,0x00,0x38,0x00,0x00] +// GFX12: encoding: [0xf0,0x04,0x68,0x7d] v_cmpx_gt_i16 src_scc, v2 // GFX12: encoding: [0xfd,0x04,0x68,0x7d] @@ -1172,7 +1172,7 @@ v_cmpx_gt_u16 -1, v2 // GFX12: encoding: [0xc1,0x04,0x78,0x7d] v_cmpx_gt_u16 0.5, v2 -// GFX12: encoding: [0xff,0x04,0x78,0x7d,0x00,0x38,0x00,0x00] +// GFX12: encoding: [0xf0,0x04,0x78,0x7d] v_cmpx_gt_u16 src_scc, v2 // GFX12: encoding: [0xfd,0x04,0x78,0x7d] @@ -1424,7 +1424,7 @@ v_cmpx_le_i16 -1, v2 // GFX12: encoding: [0xc1,0x04,0x66,0x7d] v_cmpx_le_i16 0.5, v2 -// GFX12: encoding: [0xff,0x04,0x66,0x7d,0x00,0x38,0x00,0x00] +// GFX12: encoding: [0xf0,0x04,0x66,0x7d] v_cmpx_le_i16 src_scc, v2 // GFX12: encoding: [0xfd,0x04,0x66,0x7d] @@ -1550,7 +1550,7 @@ v_cmpx_le_u16 -1, v2 // GFX12: encoding: [0xc1,0x04,0x76,0x7d] v_cmpx_le_u16 0.5, v2 -// GFX12: encoding: [0xff,0x04,0x76,0x7d,0x00,0x38,0x00,0x00] +// GFX12: encoding: [0xf0,0x04,0x76,0x7d] v_cmpx_le_u16 src_scc, v2 // GFX12: encoding: [0xfd,0x04,0x76,0x7d] @@ -1928,7 +1928,7 @@ v_cmpx_lt_i16 -1, v2 // GFX12: encoding: [0xc1,0x04,0x62,0x7d] v_cmpx_lt_i16 0.5, v2 -// GFX12: encoding: [0xff,0x04,0x62,0x7d,0x00,0x38,0x00,0x00] +// GFX12: encoding: [0xf0,0x04,0x62,0x7d] v_cmpx_lt_i16 src_scc, v2 // GFX12: encoding: [0xfd,0x04,0x62,0x7d] @@ -2054,7 +2054,7 @@ v_cmpx_lt_u16 -1, v2 // GFX12: encoding: [0xc1,0x04,0x72,0x7d] v_cmpx_lt_u16 0.5, v2 -// GFX12: encoding: [0xff,0x04,0x72,0x7d,0x00,0x38,0x00,0x00] +// GFX12: encoding: [0xf0,0x04,0x72,0x7d] v_cmpx_lt_u16 src_scc, v2 // GFX12: encoding: [0xfd,0x04,0x72,0x7d] @@ -2180,7 +2180,7 @@ v_cmpx_ne_i16 -1, v2 // GFX12: encoding: [0xc1,0x04,0x6a,0x7d] v_cmpx_ne_i16 0.5, v2 -// GFX12: encoding: [0xff,0x04,0x6a,0x7d,0x00,0x38,0x00,0x00] +// GFX12: encoding: [0xf0,0x04,0x6a,0x7d] v_cmpx_ne_i16 src_scc, v2 // GFX12: encoding: [0xfd,0x04,0x6a,0x7d] @@ -2306,7 +2306,7 @@ v_cmpx_ne_u16 -1, v2 // GFX12: encoding: [0xc1,0x04,0x7a,0x7d] v_cmpx_ne_u16 0.5, v2 -// GFX12: encoding: [0xff,0x04,0x7a,0x7d,0x00,0x38,0x00,0x00] +// GFX12: encoding: [0xf0,0x04,0x7a,0x7d] v_cmpx_ne_u16 src_scc, v2 // GFX12: encoding: [0xfd,0x04,0x7a,0x7d] diff --git a/llvm/test/MC/AMDGPU/gfx8_asm_vop1.s b/llvm/test/MC/AMDGPU/gfx8_asm_vop1.s index 32ebbd9e1028a5..52a7762f7fde1f 100644 --- a/llvm/test/MC/AMDGPU/gfx8_asm_vop1.s +++ b/llvm/test/MC/AMDGPU/gfx8_asm_vop1.s @@ -3958,10 +3958,10 @@ v_cvt_f16_u16 v5, -1 // CHECK: [0xc1,0x72,0x0a,0x7e] v_cvt_f16_u16 v5, 0.5 -// CHECK: [0xff,0x72,0x0a,0x7e,0x00,0x38,0x00,0x00] +// CHECK: [0xf0,0x72,0x0a,0x7e] v_cvt_f16_u16 v5, -4.0 -// CHECK: [0xff,0x72,0x0a,0x7e,0x00,0xc4,0x00,0x00] +// CHECK: [0xf7,0x72,0x0a,0x7e] v_cvt_f16_u16 v5, src_vccz // CHECK: [0xfb,0x72,0x0a,0x7e] @@ -4039,10 +4039,10 @@ v_cvt_f16_i16 v5, -1 // CHECK: [0xc1,0x74,0x0a,0x7e] v_cvt_f16_i16 v5, 0.5 -// CHECK: [0xff,0x74,0x0a,0x7e,0x00,0x38,0x00,0x00] +// CHECK: [0xf0,0x74,0x0a,0x7e] v_cvt_f16_i16 v5, -4.0 -// CHECK: [0xff,0x74,0x0a,0x7e,0x00,0xc4,0x00,0x00] +// CHECK: [0xf7,0x74,0x0a,0x7e] v_cvt_f16_i16 v5, src_vccz // CHECK: [0xfb,0x74,0x0a,0x7e] diff --git a/llvm/test/MC/AMDGPU/gfx8_asm_vop2.s b/llvm/test/MC/AMDGPU/gfx8_asm_vop2.s index 1c355af950280f..5fc7f406a71642 100644 --- a/llvm/test/MC/AMDGPU/gfx8_asm_vop2.s +++ b/llvm/test/MC/AMDGPU/gfx8_asm_vop2.s @@ -2785,10 +2785,10 @@ v_add_u16 v5, -1, v2 // CHECK: [0xc1,0x04,0x0a,0x4c] v_add_u16 v5, 0.5, v2 -// CHECK: [0xff,0x04,0x0a,0x4c,0x00,0x38,0x00,0x00] +// CHECK: [0xf0,0x04,0x0a,0x4c] v_add_u16 v5, -4.0, v2 -// CHECK: [0xff,0x04,0x0a,0x4c,0x00,0xc4,0x00,0x00] +// CHECK: [0xf7,0x04,0x0a,0x4c] v_add_u16 v5, src_vccz, v2 // CHECK: [0xfb,0x04,0x0a,0x4c] @@ -2869,10 +2869,10 @@ v_sub_u16 v5, -1, v2 // CHECK: [0xc1,0x04,0x0a,0x4e] v_sub_u16 v5, 0.5, v2 -// CHECK: [0xff,0x04,0x0a,0x4e,0x00,0x38,0x00,0x00] +// CHECK: [0xf0,0x04,0x0a,0x4e] v_sub_u16 v5, -4.0, v2 -// CHECK: [0xff,0x04,0x0a,0x4e,0x00,0xc4,0x00,0x00] +// CHECK: [0xf7,0x04,0x0a,0x4e] v_sub_u16 v5, src_vccz, v2 // CHECK: [0xfb,0x04,0x0a,0x4e] @@ -2953,10 +2953,10 @@ v_subrev_u16 v5, -1, v2 // CHECK: [0xc1,0x04,0x0a,0x50] v_subrev_u16 v5, 0.5, v2 -// CHECK: [0xff,0x04,0x0a,0x50,0x00,0x38,0x00,0x00] +// CHECK: [0xf0,0x04,0x0a,0x50] v_subrev_u16 v5, -4.0, v2 -// CHECK: [0xff,0x04,0x0a,0x50,0x00,0xc4,0x00,0x00] +// CHECK: [0xf7,0x04,0x0a,0x50] v_subrev_u16 v5, src_vccz, v2 // CHECK: [0xfb,0x04,0x0a,0x50] @@ -3034,10 +3034,10 @@ v_mul_lo_u16 v5, -1, v2 // CHECK: [0xc1,0x04,0x0a,0x52] v_mul_lo_u16 v5, 0.5, v2 -// CHECK: [0xff,0x04,0x0a,0x52,0x00,0x38,0x00,0x00] +// CHECK: [0xf0,0x04,0x0a,0x52] v_mul_lo_u16 v5, -4.0, v2 -// CHECK: [0xff,0x04,0x0a,0x52,0x00,0xc4,0x00,0x00] +// CHECK: [0xf7,0x04,0x0a,0x52] v_mul_lo_u16 v5, src_vccz, v2 // CHECK: [0xfb,0x04,0x0a,0x52] @@ -3118,10 +3118,10 @@ v_lshlrev_b16 v5, -1, v2 // CHECK: [0xc1,0x04,0x0a,0x54] v_lshlrev_b16 v5, 0.5, v2 -// CHECK: [0xff,0x04,0x0a,0x54,0x00,0x38,0x00,0x00] +// CHECK: [0xf0,0x04,0x0a,0x54] v_lshlrev_b16 v5, -4.0, v2 -// CHECK: [0xff,0x04,0x0a,0x54,0x00,0xc4,0x00,0x00] +// CHECK: [0xf7,0x04,0x0a,0x54] v_lshlrev_b16 v5, src_vccz, v2 // CHECK: [0xfb,0x04,0x0a,0x54] @@ -3199,10 +3199,10 @@ v_lshrrev_b16 v5, -1, v2 // CHECK: [0xc1,0x04,0x0a,0x56] v_lshrrev_b16 v5, 0.5, v2 -// CHECK: [0xff,0x04,0x0a,0x56,0x00,0x38,0x00,0x00] +// CHECK: [0xf0,0x04,0x0a,0x56] v_lshrrev_b16 v5, -4.0, v2 -// CHECK: [0xff,0x04,0x0a,0x56,0x00,0xc4,0x00,0x00] +// CHECK: [0xf7,0x04,0x0a,0x56] v_lshrrev_b16 v5, src_vccz, v2 // CHECK: [0xfb,0x04,0x0a,0x56] @@ -3280,10 +3280,10 @@ v_ashrrev_i16 v5, -1, v2 // CHECK: [0xc1,0x04,0x0a,0x58] v_ashrrev_i16 v5, 0.5, v2 -// CHECK: [0xff,0x04,0x0a,0x58,0x00,0x38,0x00,0x00] +// CHECK: [0xf0,0x04,0x0a,0x58] v_ashrrev_i16 v5, -4.0, v2 -// CHECK: [0xff,0x04,0x0a,0x58,0x00,0xc4,0x00,0x00] +// CHECK: [0xf7,0x04,0x0a,0x58] v_ashrrev_i16 v5, src_vccz, v2 // CHECK: [0xfb,0x04,0x0a,0x58] @@ -3529,10 +3529,10 @@ v_max_u16 v5, -1, v2 // CHECK: [0xc1,0x04,0x0a,0x5e] v_max_u16 v5, 0.5, v2 -// CHECK: [0xff,0x04,0x0a,0x5e,0x00,0x38,0x00,0x00] +// CHECK: [0xf0,0x04,0x0a,0x5e] v_max_u16 v5, -4.0, v2 -// CHECK: [0xff,0x04,0x0a,0x5e,0x00,0xc4,0x00,0x00] +// CHECK: [0xf7,0x04,0x0a,0x5e] v_max_u16 v5, src_vccz, v2 // CHECK: [0xfb,0x04,0x0a,0x5e] @@ -3613,10 +3613,10 @@ v_max_i16 v5, -1, v2 // CHECK: [0xc1,0x04,0x0a,0x60] v_max_i16 v5, 0.5, v2 -// CHECK: [0xff,0x04,0x0a,0x60,0x00,0x38,0x00,0x00] +// CHECK: [0xf0,0x04,0x0a,0x60] v_max_i16 v5, -4.0, v2 -// CHECK: [0xff,0x04,0x0a,0x60,0x00,0xc4,0x00,0x00] +// CHECK: [0xf7,0x04,0x0a,0x60] v_max_i16 v5, src_vccz, v2 // CHECK: [0xfb,0x04,0x0a,0x60] @@ -3697,10 +3697,10 @@ v_min_u16 v5, -1, v2 // CHECK: [0xc1,0x04,0x0a,0x62] v_min_u16 v5, 0.5, v2 -// CHECK: [0xff,0x04,0x0a,0x62,0x00,0x38,0x00,0x00] +// CHECK: [0xf0,0x04,0x0a,0x62] v_min_u16 v5, -4.0, v2 -// CHECK: [0xff,0x04,0x0a,0x62,0x00,0xc4,0x00,0x00] +// CHECK: [0xf7,0x04,0x0a,0x62] v_min_u16 v5, src_vccz, v2 // CHECK: [0xfb,0x04,0x0a,0x62] @@ -3781,10 +3781,10 @@ v_min_i16 v5, -1, v2 // CHECK: [0xc1,0x04,0x0a,0x64] v_min_i16 v5, 0.5, v2 -// CHECK: [0xff,0x04,0x0a,0x64,0x00,0x38,0x00,0x00] +// CHECK: [0xf0,0x04,0x0a,0x64] v_min_i16 v5, -4.0, v2 -// CHECK: [0xff,0x04,0x0a,0x64,0x00,0xc4,0x00,0x00] +// CHECK: [0xf7,0x04,0x0a,0x64] v_min_i16 v5, src_vccz, v2 // CHECK: [0xfb,0x04,0x0a,0x64] diff --git a/llvm/test/MC/AMDGPU/gfx8_asm_vopc.s b/llvm/test/MC/AMDGPU/gfx8_asm_vopc.s index adbe3f6a268397..9a51867c2b60e0 100644 --- a/llvm/test/MC/AMDGPU/gfx8_asm_vopc.s +++ b/llvm/test/MC/AMDGPU/gfx8_asm_vopc.s @@ -1,5 +1,7 @@ // RUN: llvm-mc -triple=amdgcn -mcpu=tonga -show-encoding %s | FileCheck %s +.text + v_cmp_class_f32 vcc, v1, v2 // CHECK: [0x01,0x05,0x20,0x7c] @@ -7705,10 +7707,10 @@ v_cmp_f_i16 vcc, -1, v2 // CHECK: [0xc1,0x04,0x40,0x7d] v_cmp_f_i16 vcc, 0.5, v2 -// CHECK: [0xff,0x04,0x40,0x7d,0x00,0x38,0x00,0x00] +// CHECK: [0xf0,0x04,0x40,0x7d] v_cmp_f_i16 vcc, -4.0, v2 -// CHECK: [0xff,0x04,0x40,0x7d,0x00,0xc4,0x00,0x00] +// CHECK: [0xf7,0x04,0x40,0x7d] v_cmp_f_i16 vcc, src_vccz, v2 // CHECK: [0xfb,0x04,0x40,0x7d] @@ -7786,10 +7788,10 @@ v_cmp_lt_i16 vcc, -1, v2 // CHECK: [0xc1,0x04,0x42,0x7d] v_cmp_lt_i16 vcc, 0.5, v2 -// CHECK: [0xff,0x04,0x42,0x7d,0x00,0x38,0x00,0x00] +// CHECK: [0xf0,0x04,0x42,0x7d] v_cmp_lt_i16 vcc, -4.0, v2 -// CHECK: [0xff,0x04,0x42,0x7d,0x00,0xc4,0x00,0x00] +// CHECK: [0xf7,0x04,0x42,0x7d] v_cmp_lt_i16 vcc, src_vccz, v2 // CHECK: [0xfb,0x04,0x42,0x7d] @@ -7867,10 +7869,10 @@ v_cmp_eq_i16 vcc, -1, v2 // CHECK: [0xc1,0x04,0x44,0x7d] v_cmp_eq_i16 vcc, 0.5, v2 -// CHECK: [0xff,0x04,0x44,0x7d,0x00,0x38,0x00,0x00] +// CHECK: [0xf0,0x04,0x44,0x7d] v_cmp_eq_i16 vcc, -4.0, v2 -// CHECK: [0xff,0x04,0x44,0x7d,0x00,0xc4,0x00,0x00] +// CHECK: [0xf7,0x04,0x44,0x7d] v_cmp_eq_i16 vcc, src_vccz, v2 // CHECK: [0xfb,0x04,0x44,0x7d] @@ -7948,10 +7950,10 @@ v_cmp_le_i16 vcc, -1, v2 // CHECK: [0xc1,0x04,0x46,0x7d] v_cmp_le_i16 vcc, 0.5, v2 -// CHECK: [0xff,0x04,0x46,0x7d,0x00,0x38,0x00,0x00] +// CHECK: [0xf0,0x04,0x46,0x7d] v_cmp_le_i16 vcc, -4.0, v2 -// CHECK: [0xff,0x04,0x46,0x7d,0x00,0xc4,0x00,0x00] +// CHECK: [0xf7,0x04,0x46,0x7d] v_cmp_le_i16 vcc, src_vccz, v2 // CHECK: [0xfb,0x04,0x46,0x7d] @@ -8029,10 +8031,10 @@ v_cmp_gt_i16 vcc, -1, v2 // CHECK: [0xc1,0x04,0x48,0x7d] v_cmp_gt_i16 vcc, 0.5, v2 -// CHECK: [0xff,0x04,0x48,0x7d,0x00,0x38,0x00,0x00] +// CHECK: [0xf0,0x04,0x48,0x7d] v_cmp_gt_i16 vcc, -4.0, v2 -// CHECK: [0xff,0x04,0x48,0x7d,0x00,0xc4,0x00,0x00] +// CHECK: [0xf7,0x04,0x48,0x7d] v_cmp_gt_i16 vcc, src_vccz, v2 // CHECK: [0xfb,0x04,0x48,0x7d] @@ -8110,10 +8112,10 @@ v_cmp_ne_i16 vcc, -1, v2 // CHECK: [0xc1,0x04,0x4a,0x7d] v_cmp_ne_i16 vcc, 0.5, v2 -// CHECK: [0xff,0x04,0x4a,0x7d,0x00,0x38,0x00,0x00] +// CHECK: [0xf0,0x04,0x4a,0x7d] v_cmp_ne_i16 vcc, -4.0, v2 -// CHECK: [0xff,0x04,0x4a,0x7d,0x00,0xc4,0x00,0x00] +// CHECK: [0xf7,0x04,0x4a,0x7d] v_cmp_ne_i16 vcc, src_vccz, v2 // CHECK: [0xfb,0x04,0x4a,0x7d] @@ -8191,10 +8193,10 @@ v_cmp_ge_i16 vcc, -1, v2 // CHECK: [0xc1,0x04,0x4c,0x7d] v_cmp_ge_i16 vcc, 0.5, v2 -// CHECK: [0xff,0x04,0x4c,0x7d,0x00,0x38,0x00,0x00] +// CHECK: [0xf0,0x04,0x4c,0x7d] v_cmp_ge_i16 vcc, -4.0, v2 -// CHECK: [0xff,0x04,0x4c,0x7d,0x00,0xc4,0x00,0x00] +// CHECK: [0xf7,0x04,0x4c,0x7d] v_cmp_ge_i16 vcc, src_vccz, v2 // CHECK: [0xfb,0x04,0x4c,0x7d] @@ -8272,10 +8274,10 @@ v_cmp_t_i16 vcc, -1, v2 // CHECK: [0xc1,0x04,0x4e,0x7d] v_cmp_t_i16 vcc, 0.5, v2 -// CHECK: [0xff,0x04,0x4e,0x7d,0x00,0x38,0x00,0x00] +// CHECK: [0xf0,0x04,0x4e,0x7d] v_cmp_t_i16 vcc, -4.0, v2 -// CHECK: [0xff,0x04,0x4e,0x7d,0x00,0xc4,0x00,0x00] +// CHECK: [0xf7,0x04,0x4e,0x7d] v_cmp_t_i16 vcc, src_vccz, v2 // CHECK: [0xfb,0x04,0x4e,0x7d] @@ -8353,10 +8355,10 @@ v_cmp_f_u16 vcc, -1, v2 // CHECK: [0xc1,0x04,0x50,0x7d] v_cmp_f_u16 vcc, 0.5, v2 -// CHECK: [0xff,0x04,0x50,0x7d,0x00,0x38,0x00,0x00] +// CHECK: [0xf0,0x04,0x50,0x7d] v_cmp_f_u16 vcc, -4.0, v2 -// CHECK: [0xff,0x04,0x50,0x7d,0x00,0xc4,0x00,0x00] +// CHECK: [0xf7,0x04,0x50,0x7d] v_cmp_f_u16 vcc, src_vccz, v2 // CHECK: [0xfb,0x04,0x50,0x7d] @@ -8434,10 +8436,10 @@ v_cmp_lt_u16 vcc, -1, v2 // CHECK: [0xc1,0x04,0x52,0x7d] v_cmp_lt_u16 vcc, 0.5, v2 -// CHECK: [0xff,0x04,0x52,0x7d,0x00,0x38,0x00,0x00] +// CHECK: [0xf0,0x04,0x52,0x7d] v_cmp_lt_u16 vcc, -4.0, v2 -// CHECK: [0xff,0x04,0x52,0x7d,0x00,0xc4,0x00,0x00] +// CHECK: [0xf7,0x04,0x52,0x7d] v_cmp_lt_u16 vcc, src_vccz, v2 // CHECK: [0xfb,0x04,0x52,0x7d] @@ -8515,10 +8517,10 @@ v_cmp_eq_u16 vcc, -1, v2 // CHECK: [0xc1,0x04,0x54,0x7d] v_cmp_eq_u16 vcc, 0.5, v2 -// CHECK: [0xff,0x04,0x54,0x7d,0x00,0x38,0x00,0x00] +// CHECK: [0xf0,0x04,0x54,0x7d] v_cmp_eq_u16 vcc, -4.0, v2 -// CHECK: [0xff,0x04,0x54,0x7d,0x00,0xc4,0x00,0x00] +// CHECK: [0xf7,0x04,0x54,0x7d] v_cmp_eq_u16 vcc, src_vccz, v2 // CHECK: [0xfb,0x04,0x54,0x7d] @@ -8596,10 +8598,10 @@ v_cmp_le_u16 vcc, -1, v2 // CHECK: [0xc1,0x04,0x56,0x7d] v_cmp_le_u16 vcc, 0.5, v2 -// CHECK: [0xff,0x04,0x56,0x7d,0x00,0x38,0x00,0x00] +// CHECK: [0xf0,0x04,0x56,0x7d] v_cmp_le_u16 vcc, -4.0, v2 -// CHECK: [0xff,0x04,0x56,0x7d,0x00,0xc4,0x00,0x00] +// CHECK: [0xf7,0x04,0x56,0x7d] v_cmp_le_u16 vcc, src_vccz, v2 // CHECK: [0xfb,0x04,0x56,0x7d] @@ -8677,10 +8679,10 @@ v_cmp_gt_u16 vcc, -1, v2 // CHECK: [0xc1,0x04,0x58,0x7d] v_cmp_gt_u16 vcc, 0.5, v2 -// CHECK: [0xff,0x04,0x58,0x7d,0x00,0x38,0x00,0x00] +// CHECK: [0xf0,0x04,0x58,0x7d] v_cmp_gt_u16 vcc, -4.0, v2 -// CHECK: [0xff,0x04,0x58,0x7d,0x00,0xc4,0x00,0x00] +// CHECK: [0xf7,0x04,0x58,0x7d] v_cmp_gt_u16 vcc, src_vccz, v2 // CHECK: [0xfb,0x04,0x58,0x7d] @@ -8758,10 +8760,10 @@ v_cmp_ne_u16 vcc, -1, v2 // CHECK: [0xc1,0x04,0x5a,0x7d] v_cmp_ne_u16 vcc, 0.5, v2 -// CHECK: [0xff,0x04,0x5a,0x7d,0x00,0x38,0x00,0x00] +// CHECK: [0xf0,0x04,0x5a,0x7d] v_cmp_ne_u16 vcc, -4.0, v2 -// CHECK: [0xff,0x04,0x5a,0x7d,0x00,0xc4,0x00,0x00] +// CHECK: [0xf7,0x04,0x5a,0x7d] v_cmp_ne_u16 vcc, src_vccz, v2 // CHECK: [0xfb,0x04,0x5a,0x7d] @@ -8839,10 +8841,10 @@ v_cmp_ge_u16 vcc, -1, v2 // CHECK: [0xc1,0x04,0x5c,0x7d] v_cmp_ge_u16 vcc, 0.5, v2 -// CHECK: [0xff,0x04,0x5c,0x7d,0x00,0x38,0x00,0x00] +// CHECK: [0xf0,0x04,0x5c,0x7d] v_cmp_ge_u16 vcc, -4.0, v2 -// CHECK: [0xff,0x04,0x5c,0x7d,0x00,0xc4,0x00,0x00] +// CHECK: [0xf7,0x04,0x5c,0x7d] v_cmp_ge_u16 vcc, src_vccz, v2 // CHECK: [0xfb,0x04,0x5c,0x7d] @@ -8920,10 +8922,10 @@ v_cmp_t_u16 vcc, -1, v2 // CHECK: [0xc1,0x04,0x5e,0x7d] v_cmp_t_u16 vcc, 0.5, v2 -// CHECK: [0xff,0x04,0x5e,0x7d,0x00,0x38,0x00,0x00] +// CHECK: [0xf0,0x04,0x5e,0x7d] v_cmp_t_u16 vcc, -4.0, v2 -// CHECK: [0xff,0x04,0x5e,0x7d,0x00,0xc4,0x00,0x00] +// CHECK: [0xf7,0x04,0x5e,0x7d] v_cmp_t_u16 vcc, src_vccz, v2 // CHECK: [0xfb,0x04,0x5e,0x7d] @@ -9001,10 +9003,10 @@ v_cmpx_f_i16 vcc, -1, v2 // CHECK: [0xc1,0x04,0x60,0x7d] v_cmpx_f_i16 vcc, 0.5, v2 -// CHECK: [0xff,0x04,0x60,0x7d,0x00,0x38,0x00,0x00] +// CHECK: [0xf0,0x04,0x60,0x7d] v_cmpx_f_i16 vcc, -4.0, v2 -// CHECK: [0xff,0x04,0x60,0x7d,0x00,0xc4,0x00,0x00] +// CHECK: [0xf7,0x04,0x60,0x7d] v_cmpx_f_i16 vcc, src_vccz, v2 // CHECK: [0xfb,0x04,0x60,0x7d] @@ -9082,10 +9084,10 @@ v_cmpx_lt_i16 vcc, -1, v2 // CHECK: [0xc1,0x04,0x62,0x7d] v_cmpx_lt_i16 vcc, 0.5, v2 -// CHECK: [0xff,0x04,0x62,0x7d,0x00,0x38,0x00,0x00] +// CHECK: [0xf0,0x04,0x62,0x7d] v_cmpx_lt_i16 vcc, -4.0, v2 -// CHECK: [0xff,0x04,0x62,0x7d,0x00,0xc4,0x00,0x00] +// CHECK: [0xf7,0x04,0x62,0x7d] v_cmpx_lt_i16 vcc, src_vccz, v2 // CHECK: [0xfb,0x04,0x62,0x7d] @@ -9163,10 +9165,10 @@ v_cmpx_eq_i16 vcc, -1, v2 // CHECK: [0xc1,0x04,0x64,0x7d] v_cmpx_eq_i16 vcc, 0.5, v2 -// CHECK: [0xff,0x04,0x64,0x7d,0x00,0x38,0x00,0x00] +// CHECK: [0xf0,0x04,0x64,0x7d] v_cmpx_eq_i16 vcc, -4.0, v2 -// CHECK: [0xff,0x04,0x64,0x7d,0x00,0xc4,0x00,0x00] +// CHECK: [0xf7,0x04,0x64,0x7d] v_cmpx_eq_i16 vcc, src_vccz, v2 // CHECK: [0xfb,0x04,0x64,0x7d] @@ -9244,10 +9246,10 @@ v_cmpx_le_i16 vcc, -1, v2 // CHECK: [0xc1,0x04,0x66,0x7d] v_cmpx_le_i16 vcc, 0.5, v2 -// CHECK: [0xff,0x04,0x66,0x7d,0x00,0x38,0x00,0x00] +// CHECK: [0xf0,0x04,0x66,0x7d] v_cmpx_le_i16 vcc, -4.0, v2 -// CHECK: [0xff,0x04,0x66,0x7d,0x00,0xc4,0x00,0x00] +// CHECK: [0xf7,0x04,0x66,0x7d] v_cmpx_le_i16 vcc, src_vccz, v2 // CHECK: [0xfb,0x04,0x66,0x7d] @@ -9325,10 +9327,10 @@ v_cmpx_gt_i16 vcc, -1, v2 // CHECK: [0xc1,0x04,0x68,0x7d] v_cmpx_gt_i16 vcc, 0.5, v2 -// CHECK: [0xff,0x04,0x68,0x7d,0x00,0x38,0x00,0x00] +// CHECK: [0xf0,0x04,0x68,0x7d] v_cmpx_gt_i16 vcc, -4.0, v2 -// CHECK: [0xff,0x04,0x68,0x7d,0x00,0xc4,0x00,0x00] +// CHECK: [0xf7,0x04,0x68,0x7d] v_cmpx_gt_i16 vcc, src_vccz, v2 // CHECK: [0xfb,0x04,0x68,0x7d] @@ -9406,10 +9408,10 @@ v_cmpx_ne_i16 vcc, -1, v2 // CHECK: [0xc1,0x04,0x6a,0x7d] v_cmpx_ne_i16 vcc, 0.5, v2 -// CHECK: [0xff,0x04,0x6a,0x7d,0x00,0x38,0x00,0x00] +// CHECK: [0xf0,0x04,0x6a,0x7d] v_cmpx_ne_i16 vcc, -4.0, v2 -// CHECK: [0xff,0x04,0x6a,0x7d,0x00,0xc4,0x00,0x00] +// CHECK: [0xf7,0x04,0x6a,0x7d] v_cmpx_ne_i16 vcc, src_vccz, v2 // CHECK: [0xfb,0x04,0x6a,0x7d] @@ -9487,10 +9489,10 @@ v_cmpx_ge_i16 vcc, -1, v2 // CHECK: [0xc1,0x04,0x6c,0x7d] v_cmpx_ge_i16 vcc, 0.5, v2 -// CHECK: [0xff,0x04,0x6c,0x7d,0x00,0x38,0x00,0x00] +// CHECK: [0xf0,0x04,0x6c,0x7d] v_cmpx_ge_i16 vcc, -4.0, v2 -// CHECK: [0xff,0x04,0x6c,0x7d,0x00,0xc4,0x00,0x00] +// CHECK: [0xf7,0x04,0x6c,0x7d] v_cmpx_ge_i16 vcc, src_vccz, v2 // CHECK: [0xfb,0x04,0x6c,0x7d] @@ -9568,10 +9570,10 @@ v_cmpx_t_i16 vcc, -1, v2 // CHECK: [0xc1,0x04,0x6e,0x7d] v_cmpx_t_i16 vcc, 0.5, v2 -// CHECK: [0xff,0x04,0x6e,0x7d,0x00,0x38,0x00,0x00] +// CHECK: [0xf0,0x04,0x6e,0x7d] v_cmpx_t_i16 vcc, -4.0, v2 -// CHECK: [0xff,0x04,0x6e,0x7d,0x00,0xc4,0x00,0x00] +// CHECK: [0xf7,0x04,0x6e,0x7d] v_cmpx_t_i16 vcc, src_vccz, v2 // CHECK: [0xfb,0x04,0x6e,0x7d] @@ -9649,10 +9651,10 @@ v_cmpx_f_u16 vcc, -1, v2 // CHECK: [0xc1,0x04,0x70,0x7d] v_cmpx_f_u16 vcc, 0.5, v2 -// CHECK: [0xff,0x04,0x70,0x7d,0x00,0x38,0x00,0x00] +// CHECK: [0xf0,0x04,0x70,0x7d] v_cmpx_f_u16 vcc, -4.0, v2 -// CHECK: [0xff,0x04,0x70,0x7d,0x00,0xc4,0x00,0x00] +// CHECK: [0xf7,0x04,0x70,0x7d] v_cmpx_f_u16 vcc, src_vccz, v2 // CHECK: [0xfb,0x04,0x70,0x7d] @@ -9730,10 +9732,10 @@ v_cmpx_lt_u16 vcc, -1, v2 // CHECK: [0xc1,0x04,0x72,0x7d] v_cmpx_lt_u16 vcc, 0.5, v2 -// CHECK: [0xff,0x04,0x72,0x7d,0x00,0x38,0x00,0x00] +// CHECK: [0xf0,0x04,0x72,0x7d] v_cmpx_lt_u16 vcc, -4.0, v2 -// CHECK: [0xff,0x04,0x72,0x7d,0x00,0xc4,0x00,0x00] +// CHECK: [0xf7,0x04,0x72,0x7d] v_cmpx_lt_u16 vcc, src_vccz, v2 // CHECK: [0xfb,0x04,0x72,0x7d] @@ -9811,10 +9813,10 @@ v_cmpx_eq_u16 vcc, -1, v2 // CHECK: [0xc1,0x04,0x74,0x7d] v_cmpx_eq_u16 vcc, 0.5, v2 -// CHECK: [0xff,0x04,0x74,0x7d,0x00,0x38,0x00,0x00] +// CHECK: [0xf0,0x04,0x74,0x7d] v_cmpx_eq_u16 vcc, -4.0, v2 -// CHECK: [0xff,0x04,0x74,0x7d,0x00,0xc4,0x00,0x00] +// CHECK: [0xf7,0x04,0x74,0x7d] v_cmpx_eq_u16 vcc, src_vccz, v2 // CHECK: [0xfb,0x04,0x74,0x7d] @@ -9892,10 +9894,10 @@ v_cmpx_le_u16 vcc, -1, v2 // CHECK: [0xc1,0x04,0x76,0x7d] v_cmpx_le_u16 vcc, 0.5, v2 -// CHECK: [0xff,0x04,0x76,0x7d,0x00,0x38,0x00,0x00] +// CHECK: [0xf0,0x04,0x76,0x7d] v_cmpx_le_u16 vcc, -4.0, v2 -// CHECK: [0xff,0x04,0x76,0x7d,0x00,0xc4,0x00,0x00] +// CHECK: [0xf7,0x04,0x76,0x7d] v_cmpx_le_u16 vcc, src_vccz, v2 // CHECK: [0xfb,0x04,0x76,0x7d] @@ -9973,10 +9975,10 @@ v_cmpx_gt_u16 vcc, -1, v2 // CHECK: [0xc1,0x04,0x78,0x7d] v_cmpx_gt_u16 vcc, 0.5, v2 -// CHECK: [0xff,0x04,0x78,0x7d,0x00,0x38,0x00,0x00] +// CHECK: [0xf0,0x04,0x78,0x7d] v_cmpx_gt_u16 vcc, -4.0, v2 -// CHECK: [0xff,0x04,0x78,0x7d,0x00,0xc4,0x00,0x00] +// CHECK: [0xf7,0x04,0x78,0x7d] v_cmpx_gt_u16 vcc, src_vccz, v2 // CHECK: [0xfb,0x04,0x78,0x7d] @@ -10054,10 +10056,10 @@ v_cmpx_ne_u16 vcc, -1, v2 // CHECK: [0xc1,0x04,0x7a,0x7d] v_cmpx_ne_u16 vcc, 0.5, v2 -// CHECK: [0xff,0x04,0x7a,0x7d,0x00,0x38,0x00,0x00] +// CHECK: [0xf0,0x04,0x7a,0x7d] v_cmpx_ne_u16 vcc, -4.0, v2 -// CHECK: [0xff,0x04,0x7a,0x7d,0x00,0xc4,0x00,0x00] +// CHECK: [0xf7,0x04,0x7a,0x7d] v_cmpx_ne_u16 vcc, src_vccz, v2 // CHECK: [0xfb,0x04,0x7a,0x7d] @@ -10135,10 +10137,10 @@ v_cmpx_ge_u16 vcc, -1, v2 // CHECK: [0xc1,0x04,0x7c,0x7d] v_cmpx_ge_u16 vcc, 0.5, v2 -// CHECK: [0xff,0x04,0x7c,0x7d,0x00,0x38,0x00,0x00] +// CHECK: [0xf0,0x04,0x7c,0x7d] v_cmpx_ge_u16 vcc, -4.0, v2 -// CHECK: [0xff,0x04,0x7c,0x7d,0x00,0xc4,0x00,0x00] +// CHECK: [0xf7,0x04,0x7c,0x7d] v_cmpx_ge_u16 vcc, src_vccz, v2 // CHECK: [0xfb,0x04,0x7c,0x7d] @@ -10216,10 +10218,10 @@ v_cmpx_t_u16 vcc, -1, v2 // CHECK: [0xc1,0x04,0x7e,0x7d] v_cmpx_t_u16 vcc, 0.5, v2 -// CHECK: [0xff,0x04,0x7e,0x7d,0x00,0x38,0x00,0x00] +// CHECK: [0xf0,0x04,0x7e,0x7d] v_cmpx_t_u16 vcc, -4.0, v2 -// CHECK: [0xff,0x04,0x7e,0x7d,0x00,0xc4,0x00,0x00] +// CHECK: [0xf7,0x04,0x7e,0x7d] v_cmpx_t_u16 vcc, src_vccz, v2 // CHECK: [0xfb,0x04,0x7e,0x7d] diff --git a/llvm/test/MC/AMDGPU/gfx9-asm-err.s b/llvm/test/MC/AMDGPU/gfx9-asm-err.s index 451fab99e12ade..93138a82918504 100644 --- a/llvm/test/MC/AMDGPU/gfx9-asm-err.s +++ b/llvm/test/MC/AMDGPU/gfx9-asm-err.s @@ -1,33 +1,33 @@ // RUN: not llvm-mc -triple=amdgcn -mcpu=gfx900 %s 2>&1 | FileCheck -check-prefix=GFX9ERR --implicit-check-not=error: %s -v_cvt_f16_u16_e64 v5, 0.5 +v_cvt_f16_u16_e64 v5, 0.6 // GFX9ERR: :[[@LINE-1]]:{{[0-9]+}}: error: literal operands are not supported -v_cvt_f16_u16_e64 v5, -4.0 +v_cvt_f16_u16_e64 v5, -4.1 // GFX9ERR: :[[@LINE-1]]:{{[0-9]+}}: error: literal operands are not supported -v_add_u16_e64 v5, v1, 0.5 +v_add_u16_e64 v5, v1, 0.4 // GFX9ERR: :[[@LINE-1]]:{{[0-9]+}}: error: literal operands are not supported -v_add_u16_e64 v5, v1, -4.0 +v_add_u16_e64 v5, v1, -4.2 // GFX9ERR: :[[@LINE-1]]:{{[0-9]+}}: error: literal operands are not supported -v_cvt_f16_i16_e64 v5, 0.5 +v_cvt_f16_i16_e64 v5, 0.3 // GFX9ERR: :[[@LINE-1]]:{{[0-9]+}}: error: literal operands are not supported -v_cvt_f16_i16_e64 v5, -4.0 +v_cvt_f16_i16_e64 v5, -4.5 // GFX9ERR: :[[@LINE-1]]:{{[0-9]+}}: error: literal operands are not supported -v_add_u16_e64 v5, 0.5, v2 +v_add_u16_e64 v5, 0.1, v2 // GFX9ERR: :[[@LINE-1]]:{{[0-9]+}}: error: literal operands are not supported -v_add_u16_e64 v5, -4.0, v2 +v_add_u16_e64 v5, -3.8, v2 // GFX9ERR: :[[@LINE-1]]:{{[0-9]+}}: error: literal operands are not supported -v_subrev_u16_e64 v5, v1, 0.5 +v_subrev_u16_e64 v5, v1, 0.4 // GFX9ERR: :[[@LINE-1]]:{{[0-9]+}}: error: literal operands are not supported -v_subrev_u16_e64 v5, v1, -4.0 +v_subrev_u16_e64 v5, v1, -4.2 // GFX9ERR: :[[@LINE-1]]:{{[0-9]+}}: error: literal operands are not supported v_cvt_u32_f64 v5, v[0:1] quad_perm:[0,2,1,1] row_mask:0xf bank_mask:0xf diff --git a/llvm/test/MC/AMDGPU/gfx9_asm_vop1.s b/llvm/test/MC/AMDGPU/gfx9_asm_vop1.s index 038b4d2185a427..5227fcd9d22a25 100644 --- a/llvm/test/MC/AMDGPU/gfx9_asm_vop1.s +++ b/llvm/test/MC/AMDGPU/gfx9_asm_vop1.s @@ -3436,10 +3436,10 @@ v_cvt_f16_u16 v5, -1 // CHECK: [0xc1,0x72,0x0a,0x7e] v_cvt_f16_u16 v5, 0.5 -// CHECK: [0xff,0x72,0x0a,0x7e,0x00,0x38,0x00,0x00] +// CHECK: [0xf0,0x72,0x0a,0x7e] v_cvt_f16_u16 v5, -4.0 -// CHECK: [0xff,0x72,0x0a,0x7e,0x00,0xc4,0x00,0x00] +// CHECK: [0xf7,0x72,0x0a,0x7e] v_cvt_f16_u16 v5, src_vccz // CHECK: [0xfb,0x72,0x0a,0x7e] @@ -3505,10 +3505,10 @@ v_cvt_f16_i16 v5, -1 // CHECK: [0xc1,0x74,0x0a,0x7e] v_cvt_f16_i16 v5, 0.5 -// CHECK: [0xff,0x74,0x0a,0x7e,0x00,0x38,0x00,0x00] +// CHECK: [0xf0,0x74,0x0a,0x7e] v_cvt_f16_i16 v5, -4.0 -// CHECK: [0xff,0x74,0x0a,0x7e,0x00,0xc4,0x00,0x00] +// CHECK: [0xf7,0x74,0x0a,0x7e] v_cvt_f16_i16 v5, src_vccz // CHECK: [0xfb,0x74,0x0a,0x7e] diff --git a/llvm/test/MC/AMDGPU/gfx9_asm_vop2.s b/llvm/test/MC/AMDGPU/gfx9_asm_vop2.s index 7b53da641b761e..fe7fc66d95a22a 100644 --- a/llvm/test/MC/AMDGPU/gfx9_asm_vop2.s +++ b/llvm/test/MC/AMDGPU/gfx9_asm_vop2.s @@ -1,5 +1,7 @@ // RUN: llvm-mc -triple=amdgcn -mcpu=gfx900 -show-encoding %s | FileCheck %s +.text + v_cndmask_b32 v5, v1, v2, vcc // CHECK: [0x01,0x05,0x0a,0x00] @@ -2419,10 +2421,10 @@ v_add_u16 v5, -1, v2 // CHECK: [0xc1,0x04,0x0a,0x4c] v_add_u16 v5, 0.5, v2 -// CHECK: [0xff,0x04,0x0a,0x4c,0x00,0x38,0x00,0x00] +// CHECK: [0xf0,0x04,0x0a,0x4c] v_add_u16 v5, -4.0, v2 -// CHECK: [0xff,0x04,0x0a,0x4c,0x00,0xc4,0x00,0x00] +// CHECK: [0xf7,0x04,0x0a,0x4c] v_add_u16 v5, src_vccz, v2 // CHECK: [0xfb,0x04,0x0a,0x4c] @@ -2491,10 +2493,10 @@ v_sub_u16 v5, -1, v2 // CHECK: [0xc1,0x04,0x0a,0x4e] v_sub_u16 v5, 0.5, v2 -// CHECK: [0xff,0x04,0x0a,0x4e,0x00,0x38,0x00,0x00] +// CHECK: [0xf0,0x04,0x0a,0x4e] v_sub_u16 v5, -4.0, v2 -// CHECK: [0xff,0x04,0x0a,0x4e,0x00,0xc4,0x00,0x00] +// CHECK: [0xf7,0x04,0x0a,0x4e] v_sub_u16 v5, src_vccz, v2 // CHECK: [0xfb,0x04,0x0a,0x4e] @@ -2563,10 +2565,10 @@ v_subrev_u16 v5, -1, v2 // CHECK: [0xc1,0x04,0x0a,0x50] v_subrev_u16 v5, 0.5, v2 -// CHECK: [0xff,0x04,0x0a,0x50,0x00,0x38,0x00,0x00] +// CHECK: [0xf0,0x04,0x0a,0x50] v_subrev_u16 v5, -4.0, v2 -// CHECK: [0xff,0x04,0x0a,0x50,0x00,0xc4,0x00,0x00] +// CHECK: [0xf7,0x04,0x0a,0x50] v_subrev_u16 v5, src_vccz, v2 // CHECK: [0xfb,0x04,0x0a,0x50] @@ -2632,10 +2634,10 @@ v_mul_lo_u16 v5, -1, v2 // CHECK: [0xc1,0x04,0x0a,0x52] v_mul_lo_u16 v5, 0.5, v2 -// CHECK: [0xff,0x04,0x0a,0x52,0x00,0x38,0x00,0x00] +// CHECK: [0xf0,0x04,0x0a,0x52] v_mul_lo_u16 v5, -4.0, v2 -// CHECK: [0xff,0x04,0x0a,0x52,0x00,0xc4,0x00,0x00] +// CHECK: [0xf7,0x04,0x0a,0x52] v_mul_lo_u16 v5, src_vccz, v2 // CHECK: [0xfb,0x04,0x0a,0x52] @@ -2704,10 +2706,10 @@ v_lshlrev_b16 v5, -1, v2 // CHECK: [0xc1,0x04,0x0a,0x54] v_lshlrev_b16 v5, 0.5, v2 -// CHECK: [0xff,0x04,0x0a,0x54,0x00,0x38,0x00,0x00] +// CHECK: [0xf0,0x04,0x0a,0x54] v_lshlrev_b16 v5, -4.0, v2 -// CHECK: [0xff,0x04,0x0a,0x54,0x00,0xc4,0x00,0x00] +// CHECK: [0xf7,0x04,0x0a,0x54] v_lshlrev_b16 v5, src_vccz, v2 // CHECK: [0xfb,0x04,0x0a,0x54] @@ -2773,10 +2775,10 @@ v_lshrrev_b16 v5, -1, v2 // CHECK: [0xc1,0x04,0x0a,0x56] v_lshrrev_b16 v5, 0.5, v2 -// CHECK: [0xff,0x04,0x0a,0x56,0x00,0x38,0x00,0x00] +// CHECK: [0xf0,0x04,0x0a,0x56] v_lshrrev_b16 v5, -4.0, v2 -// CHECK: [0xff,0x04,0x0a,0x56,0x00,0xc4,0x00,0x00] +// CHECK: [0xf7,0x04,0x0a,0x56] v_lshrrev_b16 v5, src_vccz, v2 // CHECK: [0xfb,0x04,0x0a,0x56] @@ -2842,10 +2844,10 @@ v_ashrrev_i16 v5, -1, v2 // CHECK: [0xc1,0x04,0x0a,0x58] v_ashrrev_i16 v5, 0.5, v2 -// CHECK: [0xff,0x04,0x0a,0x58,0x00,0x38,0x00,0x00] +// CHECK: [0xf0,0x04,0x0a,0x58] v_ashrrev_i16 v5, -4.0, v2 -// CHECK: [0xff,0x04,0x0a,0x58,0x00,0xc4,0x00,0x00] +// CHECK: [0xf7,0x04,0x0a,0x58] v_ashrrev_i16 v5, src_vccz, v2 // CHECK: [0xfb,0x04,0x0a,0x58] @@ -3055,10 +3057,10 @@ v_max_u16 v5, -1, v2 // CHECK: [0xc1,0x04,0x0a,0x5e] v_max_u16 v5, 0.5, v2 -// CHECK: [0xff,0x04,0x0a,0x5e,0x00,0x38,0x00,0x00] +// CHECK: [0xf0,0x04,0x0a,0x5e] v_max_u16 v5, -4.0, v2 -// CHECK: [0xff,0x04,0x0a,0x5e,0x00,0xc4,0x00,0x00] +// CHECK: [0xf7,0x04,0x0a,0x5e] v_max_u16 v5, src_vccz, v2 // CHECK: [0xfb,0x04,0x0a,0x5e] @@ -3127,10 +3129,10 @@ v_max_i16 v5, -1, v2 // CHECK: [0xc1,0x04,0x0a,0x60] v_max_i16 v5, 0.5, v2 -// CHECK: [0xff,0x04,0x0a,0x60,0x00,0x38,0x00,0x00] +// CHECK: [0xf0,0x04,0x0a,0x60] v_max_i16 v5, -4.0, v2 -// CHECK: [0xff,0x04,0x0a,0x60,0x00,0xc4,0x00,0x00] +// CHECK: [0xf7,0x04,0x0a,0x60] v_max_i16 v5, src_vccz, v2 // CHECK: [0xfb,0x04,0x0a,0x60] @@ -3199,10 +3201,10 @@ v_min_u16 v5, -1, v2 // CHECK: [0xc1,0x04,0x0a,0x62] v_min_u16 v5, 0.5, v2 -// CHECK: [0xff,0x04,0x0a,0x62,0x00,0x38,0x00,0x00] +// CHECK: [0xf0,0x04,0x0a,0x62] v_min_u16 v5, -4.0, v2 -// CHECK: [0xff,0x04,0x0a,0x62,0x00,0xc4,0x00,0x00] +// CHECK: [0xf7,0x04,0x0a,0x62] v_min_u16 v5, src_vccz, v2 // CHECK: [0xfb,0x04,0x0a,0x62] @@ -3271,10 +3273,10 @@ v_min_i16 v5, -1, v2 // CHECK: [0xc1,0x04,0x0a,0x64] v_min_i16 v5, 0.5, v2 -// CHECK: [0xff,0x04,0x0a,0x64,0x00,0x38,0x00,0x00] +// CHECK: [0xf0,0x04,0x0a,0x64] v_min_i16 v5, -4.0, v2 -// CHECK: [0xff,0x04,0x0a,0x64,0x00,0xc4,0x00,0x00] +// CHECK: [0xf7,0x04,0x0a,0x64] v_min_i16 v5, src_vccz, v2 // CHECK: [0xfb,0x04,0x0a,0x64] diff --git a/llvm/test/MC/AMDGPU/gfx9_asm_vopc.s b/llvm/test/MC/AMDGPU/gfx9_asm_vopc.s index 345afa2149dc77..bcb717096607ab 100644 --- a/llvm/test/MC/AMDGPU/gfx9_asm_vopc.s +++ b/llvm/test/MC/AMDGPU/gfx9_asm_vopc.s @@ -6673,10 +6673,10 @@ v_cmp_f_i16 vcc, -1, v2 // CHECK: [0xc1,0x04,0x40,0x7d] v_cmp_f_i16 vcc, 0.5, v2 -// CHECK: [0xff,0x04,0x40,0x7d,0x00,0x38,0x00,0x00] +// CHECK: [0xf0,0x04,0x40,0x7d] v_cmp_f_i16 vcc, -4.0, v2 -// CHECK: [0xff,0x04,0x40,0x7d,0x00,0xc4,0x00,0x00] +// CHECK: [0xf7,0x04,0x40,0x7d] v_cmp_f_i16 vcc, src_vccz, v2 // CHECK: [0xfb,0x04,0x40,0x7d] @@ -6742,10 +6742,10 @@ v_cmp_lt_i16 vcc, -1, v2 // CHECK: [0xc1,0x04,0x42,0x7d] v_cmp_lt_i16 vcc, 0.5, v2 -// CHECK: [0xff,0x04,0x42,0x7d,0x00,0x38,0x00,0x00] +// CHECK: [0xf0,0x04,0x42,0x7d] v_cmp_lt_i16 vcc, -4.0, v2 -// CHECK: [0xff,0x04,0x42,0x7d,0x00,0xc4,0x00,0x00] +// CHECK: [0xf7,0x04,0x42,0x7d] v_cmp_lt_i16 vcc, src_vccz, v2 // CHECK: [0xfb,0x04,0x42,0x7d] @@ -6811,10 +6811,10 @@ v_cmp_eq_i16 vcc, -1, v2 // CHECK: [0xc1,0x04,0x44,0x7d] v_cmp_eq_i16 vcc, 0.5, v2 -// CHECK: [0xff,0x04,0x44,0x7d,0x00,0x38,0x00,0x00] +// CHECK: [0xf0,0x04,0x44,0x7d] v_cmp_eq_i16 vcc, -4.0, v2 -// CHECK: [0xff,0x04,0x44,0x7d,0x00,0xc4,0x00,0x00] +// CHECK: [0xf7,0x04,0x44,0x7d] v_cmp_eq_i16 vcc, src_vccz, v2 // CHECK: [0xfb,0x04,0x44,0x7d] @@ -6880,10 +6880,10 @@ v_cmp_le_i16 vcc, -1, v2 // CHECK: [0xc1,0x04,0x46,0x7d] v_cmp_le_i16 vcc, 0.5, v2 -// CHECK: [0xff,0x04,0x46,0x7d,0x00,0x38,0x00,0x00] +// CHECK: [0xf0,0x04,0x46,0x7d] v_cmp_le_i16 vcc, -4.0, v2 -// CHECK: [0xff,0x04,0x46,0x7d,0x00,0xc4,0x00,0x00] +// CHECK: [0xf7,0x04,0x46,0x7d] v_cmp_le_i16 vcc, src_vccz, v2 // CHECK: [0xfb,0x04,0x46,0x7d] @@ -6949,10 +6949,10 @@ v_cmp_gt_i16 vcc, -1, v2 // CHECK: [0xc1,0x04,0x48,0x7d] v_cmp_gt_i16 vcc, 0.5, v2 -// CHECK: [0xff,0x04,0x48,0x7d,0x00,0x38,0x00,0x00] +// CHECK: [0xf0,0x04,0x48,0x7d] v_cmp_gt_i16 vcc, -4.0, v2 -// CHECK: [0xff,0x04,0x48,0x7d,0x00,0xc4,0x00,0x00] +// CHECK: [0xf7,0x04,0x48,0x7d] v_cmp_gt_i16 vcc, src_vccz, v2 // CHECK: [0xfb,0x04,0x48,0x7d] @@ -7018,10 +7018,10 @@ v_cmp_ne_i16 vcc, -1, v2 // CHECK: [0xc1,0x04,0x4a,0x7d] v_cmp_ne_i16 vcc, 0.5, v2 -// CHECK: [0xff,0x04,0x4a,0x7d,0x00,0x38,0x00,0x00] +// CHECK: [0xf0,0x04,0x4a,0x7d] v_cmp_ne_i16 vcc, -4.0, v2 -// CHECK: [0xff,0x04,0x4a,0x7d,0x00,0xc4,0x00,0x00] +// CHECK: [0xf7,0x04,0x4a,0x7d] v_cmp_ne_i16 vcc, src_vccz, v2 // CHECK: [0xfb,0x04,0x4a,0x7d] @@ -7087,10 +7087,10 @@ v_cmp_ge_i16 vcc, -1, v2 // CHECK: [0xc1,0x04,0x4c,0x7d] v_cmp_ge_i16 vcc, 0.5, v2 -// CHECK: [0xff,0x04,0x4c,0x7d,0x00,0x38,0x00,0x00] +// CHECK: [0xf0,0x04,0x4c,0x7d] v_cmp_ge_i16 vcc, -4.0, v2 -// CHECK: [0xff,0x04,0x4c,0x7d,0x00,0xc4,0x00,0x00] +// CHECK: [0xf7,0x04,0x4c,0x7d] v_cmp_ge_i16 vcc, src_vccz, v2 // CHECK: [0xfb,0x04,0x4c,0x7d] @@ -7156,10 +7156,10 @@ v_cmp_t_i16 vcc, -1, v2 // CHECK: [0xc1,0x04,0x4e,0x7d] v_cmp_t_i16 vcc, 0.5, v2 -// CHECK: [0xff,0x04,0x4e,0x7d,0x00,0x38,0x00,0x00] +// CHECK: [0xf0,0x04,0x4e,0x7d] v_cmp_t_i16 vcc, -4.0, v2 -// CHECK: [0xff,0x04,0x4e,0x7d,0x00,0xc4,0x00,0x00] +// CHECK: [0xf7,0x04,0x4e,0x7d] v_cmp_t_i16 vcc, src_vccz, v2 // CHECK: [0xfb,0x04,0x4e,0x7d] @@ -7225,10 +7225,10 @@ v_cmp_f_u16 vcc, -1, v2 // CHECK: [0xc1,0x04,0x50,0x7d] v_cmp_f_u16 vcc, 0.5, v2 -// CHECK: [0xff,0x04,0x50,0x7d,0x00,0x38,0x00,0x00] +// CHECK: [0xf0,0x04,0x50,0x7d] v_cmp_f_u16 vcc, -4.0, v2 -// CHECK: [0xff,0x04,0x50,0x7d,0x00,0xc4,0x00,0x00] +// CHECK: [0xf7,0x04,0x50,0x7d] v_cmp_f_u16 vcc, src_vccz, v2 // CHECK: [0xfb,0x04,0x50,0x7d] @@ -7294,10 +7294,10 @@ v_cmp_lt_u16 vcc, -1, v2 // CHECK: [0xc1,0x04,0x52,0x7d] v_cmp_lt_u16 vcc, 0.5, v2 -// CHECK: [0xff,0x04,0x52,0x7d,0x00,0x38,0x00,0x00] +// CHECK: [0xf0,0x04,0x52,0x7d] v_cmp_lt_u16 vcc, -4.0, v2 -// CHECK: [0xff,0x04,0x52,0x7d,0x00,0xc4,0x00,0x00] +// CHECK: [0xf7,0x04,0x52,0x7d] v_cmp_lt_u16 vcc, src_vccz, v2 // CHECK: [0xfb,0x04,0x52,0x7d] @@ -7363,10 +7363,10 @@ v_cmp_eq_u16 vcc, -1, v2 // CHECK: [0xc1,0x04,0x54,0x7d] v_cmp_eq_u16 vcc, 0.5, v2 -// CHECK: [0xff,0x04,0x54,0x7d,0x00,0x38,0x00,0x00] +// CHECK: [0xf0,0x04,0x54,0x7d] v_cmp_eq_u16 vcc, -4.0, v2 -// CHECK: [0xff,0x04,0x54,0x7d,0x00,0xc4,0x00,0x00] +// CHECK: [0xf7,0x04,0x54,0x7d] v_cmp_eq_u16 vcc, src_vccz, v2 // CHECK: [0xfb,0x04,0x54,0x7d] @@ -7432,10 +7432,10 @@ v_cmp_le_u16 vcc, -1, v2 // CHECK: [0xc1,0x04,0x56,0x7d] v_cmp_le_u16 vcc, 0.5, v2 -// CHECK: [0xff,0x04,0x56,0x7d,0x00,0x38,0x00,0x00] +// CHECK: [0xf0,0x04,0x56,0x7d] v_cmp_le_u16 vcc, -4.0, v2 -// CHECK: [0xff,0x04,0x56,0x7d,0x00,0xc4,0x00,0x00] +// CHECK: [0xf7,0x04,0x56,0x7d] v_cmp_le_u16 vcc, src_vccz, v2 // CHECK: [0xfb,0x04,0x56,0x7d] @@ -7501,10 +7501,10 @@ v_cmp_gt_u16 vcc, -1, v2 // CHECK: [0xc1,0x04,0x58,0x7d] v_cmp_gt_u16 vcc, 0.5, v2 -// CHECK: [0xff,0x04,0x58,0x7d,0x00,0x38,0x00,0x00] +// CHECK: [0xf0,0x04,0x58,0x7d] v_cmp_gt_u16 vcc, -4.0, v2 -// CHECK: [0xff,0x04,0x58,0x7d,0x00,0xc4,0x00,0x00] +// CHECK: [0xf7,0x04,0x58,0x7d] v_cmp_gt_u16 vcc, src_vccz, v2 // CHECK: [0xfb,0x04,0x58,0x7d] @@ -7570,10 +7570,10 @@ v_cmp_ne_u16 vcc, -1, v2 // CHECK: [0xc1,0x04,0x5a,0x7d] v_cmp_ne_u16 vcc, 0.5, v2 -// CHECK: [0xff,0x04,0x5a,0x7d,0x00,0x38,0x00,0x00] +// CHECK: [0xf0,0x04,0x5a,0x7d] v_cmp_ne_u16 vcc, -4.0, v2 -// CHECK: [0xff,0x04,0x5a,0x7d,0x00,0xc4,0x00,0x00] +// CHECK: [0xf7,0x04,0x5a,0x7d] v_cmp_ne_u16 vcc, src_vccz, v2 // CHECK: [0xfb,0x04,0x5a,0x7d] @@ -7639,10 +7639,10 @@ v_cmp_ge_u16 vcc, -1, v2 // CHECK: [0xc1,0x04,0x5c,0x7d] v_cmp_ge_u16 vcc, 0.5, v2 -// CHECK: [0xff,0x04,0x5c,0x7d,0x00,0x38,0x00,0x00] +// CHECK: [0xf0,0x04,0x5c,0x7d] v_cmp_ge_u16 vcc, -4.0, v2 -// CHECK: [0xff,0x04,0x5c,0x7d,0x00,0xc4,0x00,0x00] +// CHECK: [0xf7,0x04,0x5c,0x7d] v_cmp_ge_u16 vcc, src_vccz, v2 // CHECK: [0xfb,0x04,0x5c,0x7d] @@ -7708,10 +7708,10 @@ v_cmp_t_u16 vcc, -1, v2 // CHECK: [0xc1,0x04,0x5e,0x7d] v_cmp_t_u16 vcc, 0.5, v2 -// CHECK: [0xff,0x04,0x5e,0x7d,0x00,0x38,0x00,0x00] +// CHECK: [0xf0,0x04,0x5e,0x7d] v_cmp_t_u16 vcc, -4.0, v2 -// CHECK: [0xff,0x04,0x5e,0x7d,0x00,0xc4,0x00,0x00] +// CHECK: [0xf7,0x04,0x5e,0x7d] v_cmp_t_u16 vcc, src_vccz, v2 // CHECK: [0xfb,0x04,0x5e,0x7d] @@ -7777,10 +7777,10 @@ v_cmpx_f_i16 vcc, -1, v2 // CHECK: [0xc1,0x04,0x60,0x7d] v_cmpx_f_i16 vcc, 0.5, v2 -// CHECK: [0xff,0x04,0x60,0x7d,0x00,0x38,0x00,0x00] +// CHECK: [0xf0,0x04,0x60,0x7d] v_cmpx_f_i16 vcc, -4.0, v2 -// CHECK: [0xff,0x04,0x60,0x7d,0x00,0xc4,0x00,0x00] +// CHECK: [0xf7,0x04,0x60,0x7d] v_cmpx_f_i16 vcc, src_vccz, v2 // CHECK: [0xfb,0x04,0x60,0x7d] @@ -7846,10 +7846,10 @@ v_cmpx_lt_i16 vcc, -1, v2 // CHECK: [0xc1,0x04,0x62,0x7d] v_cmpx_lt_i16 vcc, 0.5, v2 -// CHECK: [0xff,0x04,0x62,0x7d,0x00,0x38,0x00,0x00] +// CHECK: [0xf0,0x04,0x62,0x7d] v_cmpx_lt_i16 vcc, -4.0, v2 -// CHECK: [0xff,0x04,0x62,0x7d,0x00,0xc4,0x00,0x00] +// CHECK: [0xf7,0x04,0x62,0x7d] v_cmpx_lt_i16 vcc, src_vccz, v2 // CHECK: [0xfb,0x04,0x62,0x7d] @@ -7915,10 +7915,10 @@ v_cmpx_eq_i16 vcc, -1, v2 // CHECK: [0xc1,0x04,0x64,0x7d] v_cmpx_eq_i16 vcc, 0.5, v2 -// CHECK: [0xff,0x04,0x64,0x7d,0x00,0x38,0x00,0x00] +// CHECK: [0xf0,0x04,0x64,0x7d] v_cmpx_eq_i16 vcc, -4.0, v2 -// CHECK: [0xff,0x04,0x64,0x7d,0x00,0xc4,0x00,0x00] +// CHECK: [0xf7,0x04,0x64,0x7d] v_cmpx_eq_i16 vcc, src_vccz, v2 // CHECK: [0xfb,0x04,0x64,0x7d] @@ -7984,10 +7984,10 @@ v_cmpx_le_i16 vcc, -1, v2 // CHECK: [0xc1,0x04,0x66,0x7d] v_cmpx_le_i16 vcc, 0.5, v2 -// CHECK: [0xff,0x04,0x66,0x7d,0x00,0x38,0x00,0x00] +// CHECK: [0xf0,0x04,0x66,0x7d] v_cmpx_le_i16 vcc, -4.0, v2 -// CHECK: [0xff,0x04,0x66,0x7d,0x00,0xc4,0x00,0x00] +// CHECK: [0xf7,0x04,0x66,0x7d] v_cmpx_le_i16 vcc, src_vccz, v2 // CHECK: [0xfb,0x04,0x66,0x7d] @@ -8053,10 +8053,10 @@ v_cmpx_gt_i16 vcc, -1, v2 // CHECK: [0xc1,0x04,0x68,0x7d] v_cmpx_gt_i16 vcc, 0.5, v2 -// CHECK: [0xff,0x04,0x68,0x7d,0x00,0x38,0x00,0x00] +// CHECK: [0xf0,0x04,0x68,0x7d] v_cmpx_gt_i16 vcc, -4.0, v2 -// CHECK: [0xff,0x04,0x68,0x7d,0x00,0xc4,0x00,0x00] +// CHECK: [0xf7,0x04,0x68,0x7d] v_cmpx_gt_i16 vcc, src_vccz, v2 // CHECK: [0xfb,0x04,0x68,0x7d] @@ -8122,10 +8122,10 @@ v_cmpx_ne_i16 vcc, -1, v2 // CHECK: [0xc1,0x04,0x6a,0x7d] v_cmpx_ne_i16 vcc, 0.5, v2 -// CHECK: [0xff,0x04,0x6a,0x7d,0x00,0x38,0x00,0x00] +// CHECK: [0xf0,0x04,0x6a,0x7d] v_cmpx_ne_i16 vcc, -4.0, v2 -// CHECK: [0xff,0x04,0x6a,0x7d,0x00,0xc4,0x00,0x00] +// CHECK: [0xf7,0x04,0x6a,0x7d] v_cmpx_ne_i16 vcc, src_vccz, v2 // CHECK: [0xfb,0x04,0x6a,0x7d] @@ -8191,10 +8191,10 @@ v_cmpx_ge_i16 vcc, -1, v2 // CHECK: [0xc1,0x04,0x6c,0x7d] v_cmpx_ge_i16 vcc, 0.5, v2 -// CHECK: [0xff,0x04,0x6c,0x7d,0x00,0x38,0x00,0x00] +// CHECK: [0xf0,0x04,0x6c,0x7d] v_cmpx_ge_i16 vcc, -4.0, v2 -// CHECK: [0xff,0x04,0x6c,0x7d,0x00,0xc4,0x00,0x00] +// CHECK: [0xf7,0x04,0x6c,0x7d] v_cmpx_ge_i16 vcc, src_vccz, v2 // CHECK: [0xfb,0x04,0x6c,0x7d] @@ -8260,10 +8260,10 @@ v_cmpx_t_i16 vcc, -1, v2 // CHECK: [0xc1,0x04,0x6e,0x7d] v_cmpx_t_i16 vcc, 0.5, v2 -// CHECK: [0xff,0x04,0x6e,0x7d,0x00,0x38,0x00,0x00] +// CHECK: [0xf0,0x04,0x6e,0x7d] v_cmpx_t_i16 vcc, -4.0, v2 -// CHECK: [0xff,0x04,0x6e,0x7d,0x00,0xc4,0x00,0x00] +// CHECK: [0xf7,0x04,0x6e,0x7d] v_cmpx_t_i16 vcc, src_vccz, v2 // CHECK: [0xfb,0x04,0x6e,0x7d] @@ -8329,10 +8329,10 @@ v_cmpx_f_u16 vcc, -1, v2 // CHECK: [0xc1,0x04,0x70,0x7d] v_cmpx_f_u16 vcc, 0.5, v2 -// CHECK: [0xff,0x04,0x70,0x7d,0x00,0x38,0x00,0x00] +// CHECK: [0xf0,0x04,0x70,0x7d] v_cmpx_f_u16 vcc, -4.0, v2 -// CHECK: [0xff,0x04,0x70,0x7d,0x00,0xc4,0x00,0x00] +// CHECK: [0xf7,0x04,0x70,0x7d] v_cmpx_f_u16 vcc, src_vccz, v2 // CHECK: [0xfb,0x04,0x70,0x7d] @@ -8398,10 +8398,10 @@ v_cmpx_lt_u16 vcc, -1, v2 // CHECK: [0xc1,0x04,0x72,0x7d] v_cmpx_lt_u16 vcc, 0.5, v2 -// CHECK: [0xff,0x04,0x72,0x7d,0x00,0x38,0x00,0x00] +// CHECK: [0xf0,0x04,0x72,0x7d] v_cmpx_lt_u16 vcc, -4.0, v2 -// CHECK: [0xff,0x04,0x72,0x7d,0x00,0xc4,0x00,0x00] +// CHECK: [0xf7,0x04,0x72,0x7d] v_cmpx_lt_u16 vcc, src_vccz, v2 // CHECK: [0xfb,0x04,0x72,0x7d] @@ -8467,10 +8467,10 @@ v_cmpx_eq_u16 vcc, -1, v2 // CHECK: [0xc1,0x04,0x74,0x7d] v_cmpx_eq_u16 vcc, 0.5, v2 -// CHECK: [0xff,0x04,0x74,0x7d,0x00,0x38,0x00,0x00] +// CHECK: [0xf0,0x04,0x74,0x7d] v_cmpx_eq_u16 vcc, -4.0, v2 -// CHECK: [0xff,0x04,0x74,0x7d,0x00,0xc4,0x00,0x00] +// CHECK: [0xf7,0x04,0x74,0x7d] v_cmpx_eq_u16 vcc, src_vccz, v2 // CHECK: [0xfb,0x04,0x74,0x7d] @@ -8536,10 +8536,10 @@ v_cmpx_le_u16 vcc, -1, v2 // CHECK: [0xc1,0x04,0x76,0x7d] v_cmpx_le_u16 vcc, 0.5, v2 -// CHECK: [0xff,0x04,0x76,0x7d,0x00,0x38,0x00,0x00] +// CHECK: [0xf0,0x04,0x76,0x7d] v_cmpx_le_u16 vcc, -4.0, v2 -// CHECK: [0xff,0x04,0x76,0x7d,0x00,0xc4,0x00,0x00] +// CHECK: [0xf7,0x04,0x76,0x7d] v_cmpx_le_u16 vcc, src_vccz, v2 // CHECK: [0xfb,0x04,0x76,0x7d] @@ -8605,10 +8605,10 @@ v_cmpx_gt_u16 vcc, -1, v2 // CHECK: [0xc1,0x04,0x78,0x7d] v_cmpx_gt_u16 vcc, 0.5, v2 -// CHECK: [0xff,0x04,0x78,0x7d,0x00,0x38,0x00,0x00] +// CHECK: [0xf0,0x04,0x78,0x7d] v_cmpx_gt_u16 vcc, -4.0, v2 -// CHECK: [0xff,0x04,0x78,0x7d,0x00,0xc4,0x00,0x00] +// CHECK: [0xf7,0x04,0x78,0x7d] v_cmpx_gt_u16 vcc, src_vccz, v2 // CHECK: [0xfb,0x04,0x78,0x7d] @@ -8674,10 +8674,10 @@ v_cmpx_ne_u16 vcc, -1, v2 // CHECK: [0xc1,0x04,0x7a,0x7d] v_cmpx_ne_u16 vcc, 0.5, v2 -// CHECK: [0xff,0x04,0x7a,0x7d,0x00,0x38,0x00,0x00] +// CHECK: [0xf0,0x04,0x7a,0x7d] v_cmpx_ne_u16 vcc, -4.0, v2 -// CHECK: [0xff,0x04,0x7a,0x7d,0x00,0xc4,0x00,0x00] +// CHECK: [0xf7,0x04,0x7a,0x7d] v_cmpx_ne_u16 vcc, src_vccz, v2 // CHECK: [0xfb,0x04,0x7a,0x7d] @@ -8743,10 +8743,10 @@ v_cmpx_ge_u16 vcc, -1, v2 // CHECK: [0xc1,0x04,0x7c,0x7d] v_cmpx_ge_u16 vcc, 0.5, v2 -// CHECK: [0xff,0x04,0x7c,0x7d,0x00,0x38,0x00,0x00] +// CHECK: [0xf0,0x04,0x7c,0x7d] v_cmpx_ge_u16 vcc, -4.0, v2 -// CHECK: [0xff,0x04,0x7c,0x7d,0x00,0xc4,0x00,0x00] +// CHECK: [0xf7,0x04,0x7c,0x7d] v_cmpx_ge_u16 vcc, src_vccz, v2 // CHECK: [0xfb,0x04,0x7c,0x7d] @@ -8812,10 +8812,10 @@ v_cmpx_t_u16 vcc, -1, v2 // CHECK: [0xc1,0x04,0x7e,0x7d] v_cmpx_t_u16 vcc, 0.5, v2 -// CHECK: [0xff,0x04,0x7e,0x7d,0x00,0x38,0x00,0x00] +// CHECK: [0xf0,0x04,0x7e,0x7d] v_cmpx_t_u16 vcc, -4.0, v2 -// CHECK: [0xff,0x04,0x7e,0x7d,0x00,0xc4,0x00,0x00] +// CHECK: [0xf7,0x04,0x7e,0x7d] v_cmpx_t_u16 vcc, src_vccz, v2 // CHECK: [0xfb,0x04,0x7e,0x7d] diff --git a/llvm/test/MC/AMDGPU/gfx9_err_pos.s b/llvm/test/MC/AMDGPU/gfx9_err_pos.s index 350a699fe0d71c..578a063ebb7037 100644 --- a/llvm/test/MC/AMDGPU/gfx9_err_pos.s +++ b/llvm/test/MC/AMDGPU/gfx9_err_pos.s @@ -168,16 +168,6 @@ v_bfe_u32 v0, v2, undef, v3 // CHECK-NEXT:{{^}}v_bfe_u32 v0, v2, undef, v3 // CHECK-NEXT:{{^}} ^ -v_add_i16 v5, v1, 0.5 -// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: literal operands are not supported -// CHECK-NEXT:{{^}}v_add_i16 v5, v1, 0.5 -// CHECK-NEXT:{{^}} ^ - -v_add_i16 v5, 0.5, v2 -// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: literal operands are not supported -// CHECK-NEXT:{{^}}v_add_i16 v5, 0.5, v2 -// CHECK-NEXT:{{^}} ^ - //============================================================================== // too few operands for instruction diff --git a/llvm/test/MC/AMDGPU/vop3-gfx10.s b/llvm/test/MC/AMDGPU/vop3-gfx10.s index 50810e82647b1a..2bd78ea8043552 100644 --- a/llvm/test/MC/AMDGPU/vop3-gfx10.s +++ b/llvm/test/MC/AMDGPU/vop3-gfx10.s @@ -1,13 +1,13 @@ // RUN: llvm-mc -triple=amdgcn -mcpu=gfx1010 -show-encoding %s | FileCheck -check-prefix=GFX10 %s v_mad_i16 v5, v1, 4.0, v3 -// GFX10: v_mad_i16 v5, v1, 0x4400, v3 ; encoding: [0x05,0x00,0x5e,0xd7,0x01,0xff,0x0d,0x04,0x00,0x44,0x00,0x00] +// GFX10: v_mad_i16 v5, v1, 4.0, v3 ; encoding: [0x05,0x00,0x5e,0xd7,0x01,0xed,0x0d,0x04] v_mad_i16 v5, v1, 0x4400, v3 // GFX10: v_mad_i16 v5, v1, 0x4400, v3 ; encoding: [0x05,0x00,0x5e,0xd7,0x01,0xff,0x0d,0x04,0x00,0x44,0x00,0x00] v_mad_i16 v5, v1, -4.0, v3 -// GFX10: v_mad_i16 v5, v1, 0xc400, v3 ; encoding: [0x05,0x00,0x5e,0xd7,0x01,0xff,0x0d,0x04,0x00,0xc4,0x00,0x00] +// GFX10: v_mad_i16 v5, v1, -4.0, v3 ; encoding: [0x05,0x00,0x5e,0xd7,0x01,0xef,0x0d,0x04] v_mad_i16 v5, v1, 0xc400, v3 // GFX10: v_mad_i16 v5, v1, 0xc400, v3 ; encoding: [0x05,0x00,0x5e,0xd7,0x01,0xff,0x0d,0x04,0x00,0xc4,0x00,0x00] diff --git a/llvm/test/MC/AMDGPU/vop3-gfx9.s b/llvm/test/MC/AMDGPU/vop3-gfx9.s index b61f690d20233c..a61b0c87e199f1 100644 --- a/llvm/test/MC/AMDGPU/vop3-gfx9.s +++ b/llvm/test/MC/AMDGPU/vop3-gfx9.s @@ -426,9 +426,9 @@ v_mad_i16 v5, v1, -1, v3 // VI: v_mad_i16 v5, v1, -1, v3 ; encoding: [0x05,0x00,0xec,0xd1,0x01,0x83,0x0d,0x04] v_mad_i16 v5, v1, v2, -4.0 -// NOGFX9: :[[@LINE-1]]:{{[0-9]+}}: error: literal operands are not supported +// GFX9: v_mad_i16 v5, v1, v2, -4.0 ; encoding: [0x05,0x00,0x05,0xd2,0x01,0x05,0xde,0x03] // NOSICI: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU -// NOVI: :[[@LINE-3]]:{{[0-9]+}}: error: literal operands are not supported +// VI: v_mad_i16 v5, v1, v2, -4.0 ; encoding: [0x05,0x00,0xec,0xd1,0x01,0x05,0xde,0x03] v_mad_i16 v5, v1, v2, v3 clamp // GFX9: v_mad_i16 v5, v1, v2, v3 clamp ; encoding: [0x05,0x80,0x05,0xd2,0x01,0x05,0x0e,0x04] @@ -478,11 +478,11 @@ v_mad_legacy_i16 v5, v1, -1, v3 // NOGCN: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU v_mad_legacy_i16 v5, v1, v2, -4.0 -// NOGFX9: :[[@LINE-1]]:{{[0-9]+}}: error: literal operands are not supported +// GFX9: v_mad_legacy_i16 v5, v1, v2, -4.0 ; encoding: [0x05,0x00,0xec,0xd1,0x01,0x05,0xde,0x03] // NOGCN: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU v_mad_legacy_i16 v5, v1, v2, -4.0 clamp -// NOGFX9: :[[@LINE-1]]:{{[0-9]+}}: error: literal operands are not supported +// GFX9: v_mad_legacy_i16 v5, v1, v2, -4.0 clamp ; encoding: [0x05,0x80,0xec,0xd1,0x01,0x05,0xde,0x03] // NOGCN: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU v_mad_legacy_u16_e64 v5, 0, v2, v3 @@ -494,11 +494,11 @@ v_mad_legacy_u16 v5, v1, -1, v3 // NOGCN: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU v_mad_legacy_u16 v5, v1, v2, -4.0 -// NOGFX9: :[[@LINE-1]]:{{[0-9]+}}: error: literal operands are not supported +// GFX9: v_mad_legacy_u16 v5, v1, v2, -4.0 ; encoding: [0x05,0x00,0xeb,0xd1,0x01,0x05,0xde,0x03] // NOGCN: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU v_mad_legacy_u16 v5, v1, v2, -4.0 clamp -// NOGFX9: :[[@LINE-1]]:{{[0-9]+}}: error: literal operands are not supported +// GFX9: v_mad_legacy_u16 v5, v1, v2, -4.0 clamp ; encoding: [0x05,0x80,0xeb,0xd1,0x01,0x05,0xde,0x03] // NOGCN: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU v_mad_u16_e64 v5, 0, v2, v3 @@ -512,9 +512,9 @@ v_mad_u16 v5, v1, -1, v3 // VI: v_mad_u16 v5, v1, -1, v3 ; encoding: [0x05,0x00,0xeb,0xd1,0x01,0x83,0x0d,0x04] v_mad_u16 v5, v1, v2, -4.0 -// NOGFX9: :[[@LINE-1]]:{{[0-9]+}}: error: literal operands are not supported +// GFX9: v_mad_u16 v5, v1, v2, -4.0 ; encoding: [0x05,0x00,0x04,0xd2,0x01,0x05,0xde,0x03] // NOSICI: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU -// NOVI: :[[@LINE-3]]:{{[0-9]+}}: error: literal operands are not supported +// VI: v_mad_u16 v5, v1, v2, -4.0 ; encoding: [0x05,0x00,0xeb,0xd1,0x01,0x05,0xde,0x03] v_mad_u16 v5, v1, v2, v3 clamp // GFX9: v_mad_u16 v5, v1, v2, v3 clamp ; encoding: [0x05,0x80,0x04,0xd2,0x01,0x05,0x0e,0x04] diff --git a/llvm/test/MC/AMDGPU/vop3.s b/llvm/test/MC/AMDGPU/vop3.s index 27fcf5e1ba3372..0d2544002a9f21 100644 --- a/llvm/test/MC/AMDGPU/vop3.s +++ b/llvm/test/MC/AMDGPU/vop3.s @@ -599,7 +599,7 @@ v_mad_i16_e64 v5, -1, v2, v3 // NOSICI: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU v_mad_i16 v5, v1, -4.0, v3 -// NOVI: :[[@LINE-1]]:{{[0-9]+}}: error: literal operands are not supported +// VI: v_mad_i16 v5, v1, -4.0, v3 ; encoding: [0x05,0x00,0xec,0xd1,0x01,0xef,0x0d,0x04] // NOSICI: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU v_mad_i16 v5, v1, v2, 0 @@ -615,7 +615,7 @@ v_mad_u16 v5, v1, 0, v3 // NOSICI: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU v_mad_u16 v5, v1, v2, -4.0 -// NOVI: :[[@LINE-1]]:{{[0-9]+}}: error: literal operands are not supported +// VI: v_mad_u16 v5, v1, v2, -4.0 ; encoding: [0x05,0x00,0xeb,0xd1,0x01,0x05,0xde,0x03] // NOSICI: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU ///===---------------------------------------------------------------------===// diff --git a/llvm/test/MC/AMDGPU/vop_sdwa.s b/llvm/test/MC/AMDGPU/vop_sdwa.s index 6c8482aaddd994..974bb49174bd7b 100644 --- a/llvm/test/MC/AMDGPU/vop_sdwa.s +++ b/llvm/test/MC/AMDGPU/vop_sdwa.s @@ -963,12 +963,12 @@ v_exp_f16_sdwa v5, -|0.5| // NOSICI: :[[@LINE+3]]:{{[0-9]+}}: error: instruction not supported on this GPU // NOVI: :[[@LINE+2]]:{{[0-9]+}}: error: invalid operand for instruction -// NOGFX9: :[[@LINE+1]]:{{[0-9]+}}: error: invalid operand for instruction +// GFX9: v_max_i16_sdwa v5, -4.0, v2 dst_sel:DWORD dst_unused:UNUSED_PRESERVE src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x60,0xf7,0x16,0x86,0x06] v_max_i16_sdwa v5, -4.0, v2 dst_sel:DWORD dst_unused:UNUSED_PRESERVE src0_sel:DWORD src1_sel:DWORD // NOSICI: :[[@LINE+3]]:{{[0-9]+}}: error: instruction not supported on this GPU // NOVI: :[[@LINE+2]]:{{[0-9]+}}: error: invalid operand for instruction -// NOGFX9: :[[@LINE+1]]:{{[0-9]+}}: error: invalid operand for instruction +// GFX9: v_max_i16_sdwa v5, sext(-4.0), v2 dst_sel:DWORD dst_unused:UNUSED_PRESERVE src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x04,0x0a,0x60,0xf7,0x16,0x8e,0x06] v_max_i16_sdwa v5, sext(-4.0), v2 dst_sel:DWORD dst_unused:UNUSED_PRESERVE src0_sel:DWORD src1_sel:DWORD // NOSICI: :[[@LINE+3]]:{{[0-9]+}}: error: instruction not supported on this GPU