2
2
// RUN: llvm-mc -triple=amdgcn -mcpu=gfx1250 -mattr=+real-true16 -show-encoding < %s | FileCheck --check-prefix=GFX1250 %s
3
3
// RUN: not llvm-mc -triple=amdgcn -mcpu=gfx1200 -mattr=+real-true16 -show-encoding %s 2 >&1 | FileCheck --check-prefix=GFX12-ERR --implicit-check-not =error: --strict-whitespace %s
4
4
5
- v_cvt_pk_f16_bf8 v1, v128.l dpp8:[7 ,6 ,5 ,4 ,3 ,2 ,1 ,0 ] fi:1
6
- // GFX1250: v_cvt_pk_f16_bf8_e64_dpp v1, v128.l dpp8:[7 ,6 ,5 ,4 ,3 ,2 ,1 ,0 ] fi:1 ; encoding: [0x01,0x00,0xf6,0xd5,0xea,0x00,0x00,0x00,0x80,0x77,0x39,0x05]
7
- // GFX12-ERR: :[[@LINE-2 ]]:1 : error: instruction not supported on this GPU
8
-
9
- v_cvt_pk_f16_bf8 v1, v128.h dpp8:[7 ,6 ,5 ,4 ,3 ,2 ,1 ,0 ]
10
- // GFX1250: v_cvt_pk_f16_bf8_e64_dpp v1, v128.h op_sel:[1 ,0 ] dpp8:[7 ,6 ,5 ,4 ,3 ,2 ,1 ,0 ] ; encoding: [0x01,0x08,0xf6,0xd5,0xe9,0x00,0x00,0x00,0x80,0x77,0x39,0x05]
11
- // GFX12-ERR: :[[@LINE-2 ]]:1 : error: instruction not supported on this GPU
12
-
13
5
v_cvt_f32_bf16_e64_dpp v5, v1 dpp8:[7 ,6 ,5 ,4 ,3 ,2 ,1 ,0 ]
14
6
// GFX1250: v_cvt_f32_bf16_e64_dpp v5, v1 dpp8:[7 ,6 ,5 ,4 ,3 ,2 ,1 ,0 ] ; encoding: [0x05,0x00,0xf2,0xd5,0xe9,0x00,0x00,0x00,0x01,0x77,0x39,0x05]
15
7
// GFX12-ERR: :[[@LINE-2 ]]:1 : error: instruction not supported on this GPU
@@ -18,6 +10,14 @@ v_cvt_f32_bf16_e64_dpp v5, v128.h dpp8:[7,6,5,4,3,2,1,0]
18
10
// GFX1250: v_cvt_f32_bf16_e64_dpp v5, v128.h op_sel:[1 ,0 ] dpp8:[7 ,6 ,5 ,4 ,3 ,2 ,1 ,0 ] ; encoding: [0x05,0x08,0xf2,0xd5,0xe9,0x00,0x00,0x00,0x80,0x77,0x39,0x05]
19
11
// GFX12-ERR: :[[@LINE-2 ]]:1 : error: instruction not supported on this GPU
20
12
13
+ v_cvt_pk_f16_bf8 v1, v128.l dpp8:[7 ,6 ,5 ,4 ,3 ,2 ,1 ,0 ] fi:1
14
+ // GFX1250: v_cvt_pk_f16_bf8_e64_dpp v1, v128.l dpp8:[7 ,6 ,5 ,4 ,3 ,2 ,1 ,0 ] fi:1 ; encoding: [0x01,0x00,0xf6,0xd5,0xea,0x00,0x00,0x00,0x80,0x77,0x39,0x05]
15
+ // GFX12-ERR: :[[@LINE-2 ]]:1 : error: instruction not supported on this GPU
16
+
17
+ v_cvt_pk_f16_bf8 v1, v128.h dpp8:[7 ,6 ,5 ,4 ,3 ,2 ,1 ,0 ]
18
+ // GFX1250: v_cvt_pk_f16_bf8_e64_dpp v1, v128.h op_sel:[1 ,0 ] dpp8:[7 ,6 ,5 ,4 ,3 ,2 ,1 ,0 ] ; encoding: [0x01,0x08,0xf6,0xd5,0xe9,0x00,0x00,0x00,0x80,0x77,0x39,0x05]
19
+ // GFX12-ERR: :[[@LINE-2 ]]:1 : error: instruction not supported on this GPU
20
+
21
21
v_cvt_pk_f16_fp8 v1, v128.l dpp8:[7 ,6 ,5 ,4 ,3 ,2 ,1 ,0 ] fi:1
22
22
// GFX1250: v_cvt_pk_f16_fp8_e64_dpp v1, v128.l dpp8:[7 ,6 ,5 ,4 ,3 ,2 ,1 ,0 ] fi:1 ; encoding: [0x01,0x00,0xf5,0xd5,0xea,0x00,0x00,0x00,0x80,0x77,0x39,0x05]
23
23
// GFX12-ERR: :[[@LINE-2 ]]:1 : error: instruction not supported on this GPU
0 commit comments