1# RUN: llvm-mc -arch=amdgcn -mcpu=gfx900 -disassemble -show-encoding < %s 2>&1 | FileCheck -check-prefix=GCN %s 2# RUN: llvm-mc -arch=amdgcn -mcpu=gfx1100 -disassemble -show-encoding < %s 2>&1 | FileCheck -check-prefix=GFX11 %s 3 4# GCN: warning: invalid instruction encoding 50xdf,0x00,0x00,0x02 6 7# this is buffer_atomic_csub_u32 v5, off, s[8:11], s3 offset:4095. Invalid without glc 8# GFX11: warning: invalid instruction encoding 90xff,0x0f,0xdc,0xe0,0x00,0x05,0x02,0x03 10