|
1 | 1 | ; RUN: not llvm-mc -triple=amdgcn -mcpu=gfx1250 -show-encoding %s 2>&1 | FileCheck --check-prefix=GFX1250-ERR --implicit-check-not=error: --strict-whitespace %s
|
2 | 2 |
|
| 3 | +;; Ray Tracing: DS_BVH_STACK ops |
| 4 | + |
| 5 | +ds_bvh_stack_rtn_b32 v255, v254, v253, v[249:252] |
| 6 | +// GFX1250-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU |
| 7 | + |
| 8 | +ds_bvh_stack_push4_pop1_rtn_b32 v1, v0, v1, v[2:5] |
| 9 | +// GFX1250-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU |
| 10 | + |
| 11 | +ds_bvh_stack_push8_pop1_rtn_b32 v1, v0, v1, v[2:9] |
| 12 | +// GFX1250-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU |
| 13 | + |
| 14 | +ds_bvh_stack_push8_pop2_rtn_b64 v[254:255], v253, v252, v[244:251] |
| 15 | +// GFX1250-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU |
| 16 | + |
| 17 | +;; S_WAIT_*CNT instructions. |
| 18 | + |
| 19 | +s_wait_samplecnt 0x1234 |
| 20 | +// GFX1250-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU |
| 21 | + |
| 22 | +s_wait_bvhcnt 0x1234 |
| 23 | +// GFX1250-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU |
| 24 | + |
| 25 | +;; S_WAITCNT instruction. |
| 26 | + |
| 27 | +s_waitcnt 0 |
| 28 | +// GFX1250-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU |
| 29 | + |
3 | 30 | ;; All "TBUFFER" ops, and BUFFER_LOAD/STORE_FORMAT ops.
|
4 | 31 |
|
5 | 32 | tbuffer_load_d16_format_x v4, off, s[8:11], s3 format:[BUF_FMT_8_UNORM] offset:8388607
|
|
0 commit comments