|
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 | +;; Export, S_WAIT_EXPCNT and S_WAIT_EVENT |
| 4 | + |
| 5 | +export mrt0 off, off, off, off |
| 6 | +// GFX1250-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU |
| 7 | + |
| 8 | +export mrt7 v1, v1, v1, v1 |
| 9 | +// GFX1250-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU |
| 10 | + |
| 11 | +export mrtz v4, v3, v2, v1 |
| 12 | +// GFX1250-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU |
| 13 | + |
| 14 | +export pos0 v4, v3, v2, v1 |
| 15 | +// GFX1250-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU |
| 16 | + |
| 17 | +export pos3 v4, v3, v2, v1 |
| 18 | +// GFX1250-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU |
| 19 | + |
| 20 | +exp mrt0 off, off, off, off |
| 21 | +// GFX1250-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU |
| 22 | + |
| 23 | +exp mrt7 v1, v1, v1, v1 |
| 24 | +// GFX1250-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU |
| 25 | + |
| 26 | +exp mrtz v4, v3, v2, v1 |
| 27 | +// GFX1250-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU |
| 28 | + |
| 29 | +exp pos0 v4, v3, v2, v1 |
| 30 | +// GFX1250-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU |
| 31 | + |
| 32 | +exp pos3 v4, v3, v2, v1 |
| 33 | +// GFX1250-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU |
| 34 | + |
| 35 | +s_wait_event 0x3141 |
| 36 | +// GFX1250-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU |
| 37 | + |
| 38 | +s_wait_expcnt 0x1234 |
| 39 | +// GFX1250-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU |
| 40 | + |
3 | 41 | ;; Ray Tracing: DS_BVH_STACK ops |
4 | 42 |
|
5 | 43 | ds_bvh_stack_rtn_b32 v255, v254, v253, v[249:252] |
|
0 commit comments