C++ Device API Reference Manual
Reference documentation for the Simics C++ Device API.
Loading...
Searching...
No Matches
_inline.h
Go to the documentation of this file.
1
/*
2
© 2023 Intel Corporation
3
4
This software and the related documents are Intel copyrighted materials, and
5
your use of them is governed by the express license under which they were
6
provided to you ("License"). Unless the License provides otherwise, you may
7
not use, modify, copy, publish, distribute, disclose or transmit this software
8
or the related documents without Intel's prior written permission.
9
10
This software and the related documents are provided as is, with no express or
11
implied warranties, other than those that are expressly stated in the License.
12
*/
13
14
#ifndef CPP_API_EXTENSIONS_SRC_SME_AQPP_ABSTRACTION_COMPILER__INLINE_H
15
#define CPP_API_EXTENSIONS_SRC_SME_AQPP_ABSTRACTION_COMPILER__INLINE_H
16
17
#include "
sme/aqpp/abstraction/compiler/identification.h
"
18
19
// This library does not rely on intrinsic inlign-ing of the compiler
20
21
#if defined( SUPPORT_GCC_ATTRIBUTES)
22
#define _always_inline __attribute__((always_inline)) inline
23
#define _fast_func __attribute__((always_inline, flatten, hot)) inline
24
#define _keep_hot __attribute__((flatten, hot))
25
#elif defined( SUPPORT_MS_ATTRIBUTES)
26
#define _always_inline __forceinline
27
#define _fast_func __forceinline
28
#define _keep_hot
29
#else
30
#define _always_inline inline
31
#define _fast_func inline
32
#define _keep_hot
33
#endif
34
35
36
#endif
/* ABSTRACTION_COMPILER__INLINE_H_ */
identification.h