[AMDGPU][MC] Correct image_gather4h
authorDmitry Preobrazhensky <dmitri.preobrazhenski@gmail.com>
Tue, 11 Oct 2022 11:40:23 +0000 (14:40 +0300)
committerDmitry Preobrazhensky <dmitri.preobrazhenski@gmail.com>
Tue, 11 Oct 2022 11:41:27 +0000 (14:41 +0300)
commit4e62d02db9309486e5f2c8433f2499b906ba114d
treeeb8f7ff7e0c820df81667609a8a24404bec6aa7a
parent018ac7847bb5a18ff68cf05b1d68f37fb32792d8
[AMDGPU][MC] Correct image_gather4h

Correct encoding of image_gather4h for GFX9; disable this instruction for SI, CI and VI.

Differential Revision: https://reviews.llvm.org/D135605
llvm/lib/Target/AMDGPU/MIMGInstructions.td
llvm/test/MC/AMDGPU/gfx7_unsupported.s
llvm/test/MC/AMDGPU/gfx8_unsupported.s
llvm/test/MC/AMDGPU/gfx90a_err.s
llvm/test/MC/AMDGPU/gfx9_asm_mimg.s
llvm/test/MC/Disassembler/AMDGPU/gfx9_mimg.txt