53 lines · plain
1# RUN: llvm-mc -triple=amdgcn -mcpu=gfx1250 -disassemble -show-encoding < %s | FileCheck -check-prefixes=GFX1250 %s2 3# GFX1250: s_wait_asynccnt 0x1234 ; encoding: [0x34,0x12,0xca,0xbf]40x34,0x12,0xca,0xbf5 6# GFX1250: s_wait_asynccnt 0xc1d1 ; encoding: [0xd1,0xc1,0xca,0xbf]70xd1,0xc1,0xca,0xbf8 9# GFX1250: s_wait_tensorcnt 0x0 ; encoding: [0x00,0x00,0xcb,0xbf]100x00,0x00,0xcb,0xbf11 12# GFX1250: s_wait_tensorcnt 0x1 ; encoding: [0x01,0x00,0xcb,0xbf]130x01,0x00,0xcb,0xbf14 15# GFX1250: s_wait_tensorcnt 0x3 ; encoding: [0x03,0x00,0xcb,0xbf]160x03,0x00,0xcb,0xbf17 18# GFX1250: s_wait_xcnt 0x0 ; encoding: [0x00,0x00,0xc5,0xbf]190x00,0x00,0xc5,0xbf20 21# GFX1250: s_wait_xcnt 0x7 ; encoding: [0x07,0x00,0xc5,0xbf]220x07,0x00,0xc5,0xbf23 24# GFX1250: s_wait_xcnt 0xf ; encoding: [0x0f,0x00,0xc5,0xbf]250x0f,0x00,0xc5,0xbf26 27# GFX1250: s_setprio_inc_wg 0x64 ; encoding: [0x64,0x00,0xbe,0xbf]280x64,0x00,0xbe,0xbf29 30# GFX1250: s_set_vgpr_msb 10 ; encoding: [0x0a,0x00,0x86,0xbf]310x0a,0x00,0x86,0xbf32 33# GFX1250: s_set_vgpr_msb 0xff ; encoding: [0xff,0x00,0x86,0xbf]340xff,0x00,0x86,0xbf35 36# GFX1250: s_set_vgpr_msb 0xffff ; encoding: [0xff,0xff,0x86,0xbf]370xff,0xff,0x86,0xbf38 39# GFX1250: s_monitor_sleep 0 ; encoding: [0x00,0x00,0x84,0xbf]400x00,0x00,0x84,0xbf41 42# GFX1250: s_monitor_sleep 0x8000 ; encoding: [0x00,0x80,0x84,0xbf]430x00,0x80,0x84,0xbf44 45# GFX1250: s_monitor_sleep 1 ; encoding: [0x01,0x00,0x84,0xbf]460x01,0x00,0x84,0xbf47 48# GFX1250: s_sendmsg sendmsg(MSG_SAVEWAVE_HAS_TDM) ; encoding: [0x0a,0x00,0xb6,0xbf]490x0a,0x00,0xb6,0xbf50 51# GFX1250: s_barrier_wait 0xfffd ; encoding: [0xfd,0xff,0x94,0xbf]520xfd,0xff,0x94,0xbf53