1 // RUN
: llvm-mc
-triple
=amdgcn
-mcpu
=gfx1100
-mattr
=-real-true16
,+wavefrontsize32
-show-encoding
%s | FileCheck
--check-prefixes
=GFX11
%s
2 // RUN
: llvm-mc
-triple
=amdgcn
-mcpu
=gfx1100
-mattr
=-real-true16
,+wavefrontsize64
-show-encoding
%s | FileCheck
--check-prefixes
=GFX11
%s
4 v_floor_f16 v5
, v1 dpp8
:[7,6,5,4,3,2,1,0]
5 // GFX11
: encoding
: [0xe9,0xb6,0x0a,0x7e,0x01,0x77,0x39,0x05]
7 v_floor_f16 v5
, v1 dpp8
:[7,6,5,4,3,2,1,0] fi
:1
8 // GFX11
: encoding
: [0xea,0xb6,0x0a,0x7e,0x01,0x77,0x39,0x05]
10 v_floor_f16 v127
, v127 dpp8
:[0,0,0,0,0,0,0,0] fi
:0
11 // GFX11
: encoding
: [0xe9,0xb6,0xfe,0x7e,0x7f,0x00,0x00,0x00]
13 v_ceil_f16 v5
, v1 dpp8
:[7,6,5,4,3,2,1,0]
14 // GFX11
: encoding
: [0xe9,0xb8,0x0a,0x7e,0x01,0x77,0x39,0x05]
16 v_ceil_f16 v5
, v1 dpp8
:[7,6,5,4,3,2,1,0] fi
:1
17 // GFX11
: encoding
: [0xea,0xb8,0x0a,0x7e,0x01,0x77,0x39,0x05]
19 v_ceil_f16 v127
, v127 dpp8
:[0,0,0,0,0,0,0,0] fi
:0
20 // GFX11
: encoding
: [0xe9,0xb8,0xfe,0x7e,0x7f,0x00,0x00,0x00]
22 v_rcp_f16 v5
, v1 dpp8
:[7,6,5,4,3,2,1,0]
23 // GFX11
: encoding
: [0xe9,0xa8,0x0a,0x7e,0x01,0x77,0x39,0x05]
25 v_rcp_f16 v5
, v1 dpp8
:[7,6,5,4,3,2,1,0] fi
:1
26 // GFX11
: encoding
: [0xea,0xa8,0x0a,0x7e,0x01,0x77,0x39,0x05]
28 v_rcp_f16 v127
, v127 dpp8
:[0,0,0,0,0,0,0,0] fi
:0
29 // GFX11
: encoding
: [0xe9,0xa8,0xfe,0x7e,0x7f,0x00,0x00,0x00]
31 v_sqrt_f16 v5
, v1 dpp8
:[7,6,5,4,3,2,1,0]
32 // GFX11
: encoding
: [0xe9,0xaa,0x0a,0x7e,0x01,0x77,0x39,0x05]
34 v_sqrt_f16 v5
, v1 dpp8
:[7,6,5,4,3,2,1,0] fi
:1
35 // GFX11
: encoding
: [0xea,0xaa,0x0a,0x7e,0x01,0x77,0x39,0x05]
37 v_sqrt_f16 v127
, v127 dpp8
:[0,0,0,0,0,0,0,0] fi
:0
38 // GFX11
: encoding
: [0xe9,0xaa,0xfe,0x7e,0x7f,0x00,0x00,0x00]
40 v_rsq_f16 v5
, v1 dpp8
:[7,6,5,4,3,2,1,0]
41 // GFX11
: encoding
: [0xe9,0xac,0x0a,0x7e,0x01,0x77,0x39,0x05]
43 v_rsq_f16 v5
, v1 dpp8
:[7,6,5,4,3,2,1,0] fi
:1
44 // GFX11
: encoding
: [0xea,0xac,0x0a,0x7e,0x01,0x77,0x39,0x05]
46 v_rsq_f16 v127
, v127 dpp8
:[0,0,0,0,0,0,0,0] fi
:0
47 // GFX11
: encoding
: [0xe9,0xac,0xfe,0x7e,0x7f,0x00,0x00,0x00]
49 v_log_f16 v5
, v1 dpp8
:[7,6,5,4,3,2,1,0]
50 // GFX11
: encoding
: [0xe9,0xae,0x0a,0x7e,0x01,0x77,0x39,0x05]
52 v_log_f16 v5
, v1 dpp8
:[7,6,5,4,3,2,1,0] fi
:1
53 // GFX11
: encoding
: [0xea,0xae,0x0a,0x7e,0x01,0x77,0x39,0x05]
55 v_log_f16 v127
, v127 dpp8
:[0,0,0,0,0,0,0,0] fi
:0
56 // GFX11
: encoding
: [0xe9,0xae,0xfe,0x7e,0x7f,0x00,0x00,0x00]
58 v_exp_f16 v5
, v1 dpp8
:[7,6,5,4,3,2,1,0]
59 // GFX11
: encoding
: [0xe9,0xb0,0x0a,0x7e,0x01,0x77,0x39,0x05]
61 v_exp_f16 v5
, v1 dpp8
:[7,6,5,4,3,2,1,0] fi
:1
62 // GFX11
: encoding
: [0xea,0xb0,0x0a,0x7e,0x01,0x77,0x39,0x05]
64 v_exp_f16 v127
, v127 dpp8
:[0,0,0,0,0,0,0,0] fi
:0
65 // GFX11
: encoding
: [0xe9,0xb0,0xfe,0x7e,0x7f,0x00,0x00,0x00]