clang 24.0.0git
hmx_hexagon_protos.h
Go to the documentation of this file.
1//===----------------------------------------------------------------------===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8// Automatically generated file, do not edit!
9//===----------------------------------------------------------------------===//
10
11#ifndef _HMX_HEXAGON_PROTOS_H_
12#define _HMX_HEXAGON_PROTOS_H_ 1
13
14#ifdef __HMX__
15/* ==========================================================================
16 Assembly Syntax: mxclracc.hf
17 C Intrinsic Prototype: void Q6_mxclracc_hf()
18 Instruction Type: ST
19 Execution Slots: SLOT0
20 ========================================================================== */
21
22#define Q6_mxclracc_hf __builtin_HEXAGON_M8_mxclracc_hf
23
24/* ==========================================================================
25 Assembly Syntax: bias=mxmem2(Rs32)
26 C Intrinsic Prototype: void Q6_bias_mxmem2_A(Address Rs)
27 Instruction Type: LD
28 Execution Slots: SLOT0
29 ========================================================================== */
30
31#define Q6_bias_mxmem2_A __builtin_HEXAGON_M8_mxmem2_bias
32
33/* ==========================================================================
34 Assembly Syntax: mxmem2(Rs32)=bias
35 C Intrinsic Prototype: void Q6_mxmem2_bias_A(Address Rs)
36 Instruction Type: ST
37 Execution Slots: SLOT0
38 ========================================================================== */
39
40#define Q6_mxmem2_bias_A __builtin_HEXAGON_M8_mxmem2_st_bias
41
42/* ==========================================================================
43 Assembly Syntax: activation.hf=mxmem(Rs32,Rt32)
44 C Intrinsic Prototype: void Q6_activation_hf_mxmem_RR(UWord32 Rs, Word32 Rt)
45 Instruction Type: LD
46 Execution Slots: SLOT01
47 ========================================================================== */
48
49#define Q6_activation_hf_mxmem_RR __builtin_HEXAGON_M8_mxmem_blk_sm_act_hf
50
51/* ==========================================================================
52 Assembly Syntax: activation.hf=mxmem(Rs32,Rt32):deep
53 C Intrinsic Prototype: void Q6_activation_hf_mxmem_RR_deep(UWord32 Rs, Word32 Rt)
54 Instruction Type: LD
55 Execution Slots: SLOT01
56 ========================================================================== */
57
58#define Q6_activation_hf_mxmem_RR_deep __builtin_HEXAGON_M8_mxmem_sm_act_hf
59
60/* ==========================================================================
61 Assembly Syntax: weight.hf=mxmem(Rs32,Rt32)
62 C Intrinsic Prototype: void Q6_weight_hf_mxmem_RR(UWord32 Rs, Word32 Rt)
63 Instruction Type: LD
64 Execution Slots: SLOT0
65 ========================================================================== */
66
67#define Q6_weight_hf_mxmem_RR __builtin_HEXAGON_M8_mxmem_wei_hf
68
69/* ==========================================================================
70 Assembly Syntax: weight.hf=mxmem(Rs32,Rt32):deep
71 C Intrinsic Prototype: void Q6_weight_hf_mxmem_RR_deep(UWord32 Rs, Word32 Rt)
72 Instruction Type: LD
73 Execution Slots: SLOT0
74 ========================================================================== */
75
76#define Q6_weight_hf_mxmem_RR_deep __builtin_HEXAGON_M8_mxmemdp_wei_hf
77
78/* ==========================================================================
79 Assembly Syntax: activation.hf=mxmem(Rs32,Rt32):single
80 C Intrinsic Prototype: void Q6_activation_hf_mxmem_RR_single(UWord32 Rs, Word32 Rt)
81 Instruction Type: LD
82 Execution Slots: SLOT01
83 ========================================================================== */
84
85#define Q6_activation_hf_mxmem_RR_single __builtin_HEXAGON_M8_mxmems_blk_sm_act_hf
86
87#if __HMX_ARCH__ >= 73
88/* ==========================================================================
89 Assembly Syntax: cvt.hf=acc(Rs32)
90 C Intrinsic Prototype: void Q6_cvt_hf_acc_R(Word32 Rs)
91 Instruction Type: ST
92 Execution Slots: SLOT02
93 ========================================================================== */
94
95#define Q6_cvt_hf_acc_R __builtin_HEXAGON_M8_cvt_rs_hf
96#endif
97
98#if __HMX_ARCH__ >= 73
99/* ==========================================================================
100 Assembly Syntax: mxmem(Rs32,Rt32)=cvt
101 C Intrinsic Prototype: void Q6_mxmem_cvt_RR(Word32 Rs, Word32 Rt)
102 Instruction Type: ST
103 Execution Slots: SLOT0
104 ========================================================================== */
105
106#define Q6_mxmem_cvt_RR __builtin_HEXAGON_M8_mxmem
107#endif
108
109#endif /* __HMX__ */
110
111#endif