/ include / libm / amd_funcs_internal.h
amd_funcs_internal.h
 1  /*
 2   * Copyright (C) 2018-2020, Advanced Micro Devices, Inc. All rights reserved.
 3   *
 4   * Redistribution and use in source and binary forms, with or without modification,
 5   * are permitted provided that the following conditions are met:
 6   * 1. Redistributions of source code must retain the above copyright notice,
 7   *    this list of conditions and the following disclaimer.
 8   * 2. Redistributions in binary form must reproduce the above copyright notice,
 9   *    this list of conditions and the following disclaimer in the documentation
10   *    and/or other materials provided with the distribution.
11   * 3. Neither the name of the copyright holder nor the names of its contributors
12   *    may be used to endorse or promote products derived from this software without
13   *    specific prior written permission.
14   *
15   * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
16   * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
17   * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
18   * IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
19   * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
20   * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
21   * OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
22   * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
23   * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
24   * POSSIBILITY OF SUCH DAMAGE.
25   *
26   */
27  
28  #ifndef __ALM_FUNCS_INTERNAL_H__
29  #define __ALM_FUNCS_INTERNAL_H__
30  
31  #include <libm_macros.h>
32  
33  #pragma push_macro("ALM_PROTO_INTERNAL")
34  
35  #undef ALM_PROTO_INTERNAL
36  
37  #define ALM_PROTO_INTERNAL ALM_PROTO
38  #include "__alm_func_internal.h"
39  #undef ALM_PROTO_INTERNAL
40  
41  #define ALM_PROTO_INTERNAL ALM_PROTO_FMA3
42  #include "__alm_func_internal.h"
43  #undef ALM_PROTO_INTERNAL
44  
45  #define ALM_PROTO_INTERNAL ALM_PROTO_BAS64
46  #include "__alm_func_internal.h"
47  #undef ALM_PROTO_INTERNAL
48  
49  #define ALM_PROTO_INTERNAL ALM_PROTO_OPT
50  #include "__alm_func_internal.h"
51  #undef ALM_PROTO_INTERNAL
52  
53  #define ALM_PROTO_INTERNAL ALM_PROTO_REF
54  #include "__alm_func_internal.h"
55  #undef ALM_PROTO_INTERNAL
56  
57  #define ALM_PROTO_INTERNAL ALM_PROTO_FAST
58  #include "__alm_func_internal.h"
59  #undef ALM_PROTO_INTERNAL
60  
61  #pragma pop_macro("ALM_PROTO_INTERNAL")
62  
63  #endif	/* __ALM_FUNCS_INTERNAL_H__ */
64