llvm/llvm/test/MC/Disassembler/AMDGPU/gfx12_dasm_vop3p_err.txt

# RUN: not llvm-mc -disassemble -triple=amdgcn -mcpu=gfx1200 -show-encoding %s 2>&1 | FileCheck --implicit-check-not=warning: --check-prefix=GFX12 %s

# v_dot4_f32_fp8_bf8

# GFX12: warning: invalid instruction encoding
[0x00,0xc0,0x24,0xcc,0x01,0x05,0x0e,0x1c] # clamp

# GFX12: warning: invalid instruction encoding
[0x00,0x48,0x24,0xcc,0x01,0x05,0x0e,0x1c] # op_sel:[1,0,0]

# GFX12: warning: invalid instruction encoding
[0x00,0x50,0x24,0xcc,0x01,0x05,0x0e,0x1c] # op_sel:[0,1,0]

# GFX12: warning: invalid instruction encoding
[0x00,0x60,0x24,0xcc,0x01,0x05,0x0e,0x1c] # op_sel:[0,0,1]

# GFX12: warning: invalid instruction encoding
[0x00,0x40,0x24,0xcc,0x01,0x05,0x0e,0x14] # op_sel_hi:[0,1,1]

# GFX12: warning: invalid instruction encoding
[0x00,0x40,0x24,0xcc,0x01,0x05,0x0e,0x0c] # op_sel_hi:[1,0,1]

# GFX12: warning: invalid instruction encoding
[0x00,0x00,0x24,0xcc,0x01,0x05,0x0e,0x1c] # op_sel_hi:[1,1,0]

# GFX12: warning: invalid instruction encoding
[0x00,0x40,0x24,0xcc,0x01,0x05,0x0e,0x3c] # neg_lo:[1,0,0]

# GFX12: warning: invalid instruction encoding
[0x00,0x40,0x24,0xcc,0x01,0x05,0x0e,0x5c] # neg_lo:[0,1,0]

# GFX12: warning: invalid instruction encoding
[0x00,0x41,0x24,0xcc,0x01,0x05,0x0e,0x1c] # neg_hi:[1,0,0]

# GFX12: warning: invalid instruction encoding
[0x00,0x42,0x24,0xcc,0x01,0x05,0x0e,0x1c] # neg_hi:[0,1,0]


# v_dot4_f32_bf8_fp8

# GFX12: warning: invalid instruction encoding
[0x00,0xc0,0x25,0xcc,0x01,0x05,0x0e,0x1c] # clamp

# GFX12: warning: invalid instruction encoding
[0x00,0x48,0x25,0xcc,0x01,0x05,0x0e,0x1c] # op_sel:[1,0,0]

# GFX12: warning: invalid instruction encoding
[0x00,0x50,0x25,0xcc,0x01,0x05,0x0e,0x1c] # op_sel:[0,1,0]

# GFX12: warning: invalid instruction encoding
[0x00,0x60,0x25,0xcc,0x01,0x05,0x0e,0x1c] # op_sel:[0,0,1]

# GFX12: warning: invalid instruction encoding
[0x00,0x40,0x25,0xcc,0x01,0x05,0x0e,0x14] # op_sel_hi:[0,1,1]

# GFX12: warning: invalid instruction encoding
[0x00,0x40,0x25,0xcc,0x01,0x05,0x0e,0x0c] # op_sel_hi:[1,0,1]

# GFX12: warning: invalid instruction encoding
[0x00,0x00,0x25,0xcc,0x01,0x05,0x0e,0x1c] # op_sel_hi:[1,1,0]

# GFX12: warning: invalid instruction encoding
[0x00,0x40,0x25,0xcc,0x01,0x05,0x0e,0x3c] # neg_lo:[1,0,0]

# GFX12: warning: invalid instruction encoding
[0x00,0x40,0x25,0xcc,0x01,0x05,0x0e,0x5c] # neg_lo:[0,1,0]

# GFX12: warning: invalid instruction encoding
[0x00,0x41,0x25,0xcc,0x01,0x05,0x0e,0x1c] # neg_hi:[1,0,0]

# GFX12: warning: invalid instruction encoding
[0x00,0x42,0x25,0xcc,0x01,0x05,0x0e,0x1c] # neg_hi:[0,1,0]


# v_dot4_f32_fp8_fp8

# GFX12: warning: invalid instruction encoding
[0x00,0xc0,0x26,0xcc,0x01,0x05,0x0e,0x1c] # clamp

# GFX12: warning: invalid instruction encoding
[0x00,0x48,0x26,0xcc,0x01,0x05,0x0e,0x1c] # op_sel:[1,0,0]

# GFX12: warning: invalid instruction encoding
[0x00,0x50,0x26,0xcc,0x01,0x05,0x0e,0x1c] # op_sel:[0,1,0]

# GFX12: warning: invalid instruction encoding
[0x00,0x60,0x26,0xcc,0x01,0x05,0x0e,0x1c] # op_sel:[0,0,1]

# GFX12: warning: invalid instruction encoding
[0x00,0x40,0x26,0xcc,0x01,0x05,0x0e,0x14] # op_sel_hi:[0,1,1]

# GFX12: warning: invalid instruction encoding
[0x00,0x40,0x26,0xcc,0x01,0x05,0x0e,0x0c] # op_sel_hi:[1,0,1]

# GFX12: warning: invalid instruction encoding
[0x00,0x00,0x26,0xcc,0x01,0x05,0x0e,0x1c] # op_sel_hi:[1,1,0]

# GFX12: warning: invalid instruction encoding
[0x00,0x40,0x26,0xcc,0x01,0x05,0x0e,0x3c] # neg_lo:[1,0,0]

# GFX12: warning: invalid instruction encoding
[0x00,0x40,0x26,0xcc,0x01,0x05,0x0e,0x5c] # neg_lo:[0,1,0]

# GFX12: warning: invalid instruction encoding
[0x00,0x41,0x26,0xcc,0x01,0x05,0x0e,0x1c] # neg_hi:[1,0,0]

# GFX12: warning: invalid instruction encoding
[0x00,0x42,0x26,0xcc,0x01,0x05,0x0e,0x1c] # neg_hi:[0,1,0]


# v_dot4_f32_bf8_bf8

# GFX12: warning: invalid instruction encoding
[0x00,0xc0,0x27,0xcc,0x01,0x05,0x0e,0x1c] # clamp

# GFX12: warning: invalid instruction encoding
[0x00,0x48,0x27,0xcc,0x01,0x05,0x0e,0x1c] # op_sel:[1,0,0]

# GFX12: warning: invalid instruction encoding
[0x00,0x50,0x27,0xcc,0x01,0x05,0x0e,0x1c] # op_sel:[0,1,0]

# GFX12: warning: invalid instruction encoding
[0x00,0x60,0x27,0xcc,0x01,0x05,0x0e,0x1c] # op_sel:[0,0,1]

# GFX12: warning: invalid instruction encoding
[0x00,0x40,0x27,0xcc,0x01,0x05,0x0e,0x14] # op_sel_hi:[0,1,1]

# GFX12: warning: invalid instruction encoding
[0x00,0x40,0x27,0xcc,0x01,0x05,0x0e,0x0c] # op_sel_hi:[1,0,1]

# GFX12: warning: invalid instruction encoding
[0x00,0x00,0x27,0xcc,0x01,0x05,0x0e,0x1c] # op_sel_hi:[1,1,0]

# GFX12: warning: invalid instruction encoding
[0x00,0x40,0x27,0xcc,0x01,0x05,0x0e,0x3c] # neg_lo:[1,0,0]

# GFX12: warning: invalid instruction encoding
[0x00,0x40,0x27,0xcc,0x01,0x05,0x0e,0x5c] # neg_lo:[0,1,0]

# GFX12: warning: invalid instruction encoding
[0x00,0x41,0x27,0xcc,0x01,0x05,0x0e,0x1c] # neg_hi:[1,0,0]

# GFX12: warning: invalid instruction encoding
[0x00,0x42,0x27,0xcc,0x01,0x05,0x0e,0x1c] # neg_hi:[0,1,0]