brintos

brintos / llvm-project-archived public Read only

0
0
Text · 2.8 KiB · 358fe0b Raw
70 lines · plain
1// RUN: llvm-mc -triple=amdgcn -show-encoding -mcpu=gfx1250 %s | FileCheck --check-prefix=GFX1250 %s2// RUN: not llvm-mc -triple=amdgcn -mcpu=gfx1200 -show-encoding %s 2>&1 | FileCheck --check-prefixes=GFX12-ERR --implicit-check-not=error: -strict-whitespace %s3 4s_wait_asynccnt 0x12345// GFX1250: [0x34,0x12,0xca,0xbf]6// GFX12-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU7 8s_wait_asynccnt 0xc1d19// GFX1250: [0xd1,0xc1,0xca,0xbf]10// GFX12-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU11 12s_wait_tensorcnt 0x013// GFX1250: [0x00,0x00,0xcb,0xbf]14// GFX12-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU15 16s_wait_tensorcnt 0x117// GFX1250: [0x01,0x00,0xcb,0xbf]18// GFX12-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU19 20s_wait_tensorcnt 0x321// GFX1250: [0x03,0x00,0xcb,0xbf]22// GFX12-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU23 24s_wait_xcnt 0x025// GFX1250: [0x00,0x00,0xc5,0xbf]26// GFX12-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU27 28s_wait_xcnt 0x729// GFX1250: [0x07,0x00,0xc5,0xbf]30// GFX12-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU31 32s_wait_xcnt 0xf33// GFX1250: [0x0f,0x00,0xc5,0xbf]34// GFX12-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU35 36s_setprio_inc_wg 10037// GFX1250: [0x64,0x00,0xbe,0xbf]38// GFX12-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU39 40s_set_vgpr_msb 1041// GFX1250: [0x0a,0x00,0x86,0xbf]42// GFX12-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU43 44s_set_vgpr_msb 25545// GFX1250: [0xff,0x00,0x86,0xbf]46// GFX12-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU47 48s_set_vgpr_msb 0xffff49// GFX1250: [0xff,0xff,0x86,0xbf]50// GFX12-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU51 52s_monitor_sleep 153// GFX1250: s_monitor_sleep 1                       ; encoding: [0x01,0x00,0x84,0xbf]54// GFX12-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU55 56s_monitor_sleep 3276857// GFX1250: s_monitor_sleep 0x8000                  ; encoding: [0x00,0x80,0x84,0xbf]58// GFX12-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU59 60s_monitor_sleep 061// GFX1250: s_monitor_sleep 0                       ; encoding: [0x00,0x00,0x84,0xbf]62// GFX12-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU63 64s_sendmsg sendmsg(MSG_SAVEWAVE_HAS_TDM)65// GFX1250: s_sendmsg sendmsg(MSG_SAVEWAVE_HAS_TDM)     ; encoding: [0x0a,0x00,0xb6,0xbf]66// GFX12-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: specified message id is not supported on this GPU67 68s_barrier_wait -369// GFX1250: s_barrier_wait -3                       ; encoding: [0xfd,0xff,0x94,0xbf]70