[AMDGPU][MC][GFX11] Correct encoding of neg modifier for v_dot2_f32_bf16
authorDmitry Preobrazhensky <dmitri.preobrazhenski@gmail.com>
Fri, 30 Dec 2022 13:20:38 +0000 (16:20 +0300)
committerDmitry Preobrazhensky <dmitri.preobrazhenski@gmail.com>
Fri, 30 Dec 2022 13:25:22 +0000 (16:25 +0300)
commit9f40d9ffd18685f1605869efb358f4532112c295
tree90e77612107460ed85d45939bc224c1dc9617272
parentdd50e26f8a844aa7dc9908b94bce66188c4d4e91
[AMDGPU][MC][GFX11] Correct encoding of neg modifier for v_dot2_f32_bf16

Fix a bug with neg_lo:[0,1,0] and neg_hi:[0,1,0] modifiers - they are accepted but not encoded.

Differential Revision: https://reviews.llvm.org/D140470
llvm/lib/Target/AMDGPU/VOP3PInstructions.td
llvm/test/MC/AMDGPU/gfx11_asm_vop3p.s
llvm/test/MC/AMDGPU/gfx11_asm_vop3p_features.s
llvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_vop3p.txt