]> granicus.if.org Git - llvm/commit
AMDGPU: Correct operand types for v_mad_mix*
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Wed, 30 Aug 2017 22:18:40 +0000 (22:18 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Wed, 30 Aug 2017 22:18:40 +0000 (22:18 +0000)
commit73dd3b8c432a27fc46d42c643b6b606d1cc85e11
treede741d974ca473bc8f1ef94e3e18c841c7494a5c
parent92b6b153a4a2ef547d1cb12c497a18afd6e33fa1
AMDGPU: Correct operand types for v_mad_mix*

These aren't really packed instructions, so the default
op_sel_hi should be 0 since this indicates a conversion.
The operand types are scalar values that behave similar
to an f16 scalar that may be converted to f32.

Doesn't change the default printing for op_sel_hi, just
the parsing.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@312179 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
lib/Target/AMDGPU/SIInstrInfo.td
lib/Target/AMDGPU/VOP3PInstructions.td
lib/Target/AMDGPU/VOPInstructions.td
test/MC/AMDGPU/gfx9_asm_all.s
test/MC/AMDGPU/vop3p.s