xref: /freebsd/contrib/llvm-project/clang/lib/Headers/msa.h (revision e25152834cdf3b353892835a4f3b157e066a8ed4)
10b57cec5SDimitry Andric /*===---- msa.h - MIPS MSA intrinsics --------------------------------------===
20b57cec5SDimitry Andric  *
30b57cec5SDimitry Andric  * Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
40b57cec5SDimitry Andric  * See https://llvm.org/LICENSE.txt for license information.
50b57cec5SDimitry Andric  * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
60b57cec5SDimitry Andric  *
70b57cec5SDimitry Andric  *===-----------------------------------------------------------------------===
80b57cec5SDimitry Andric  */
90b57cec5SDimitry Andric 
100b57cec5SDimitry Andric #ifndef _MSA_H
110b57cec5SDimitry Andric #define _MSA_H 1
120b57cec5SDimitry Andric 
130b57cec5SDimitry Andric #if defined(__mips_msa)
140b57cec5SDimitry Andric typedef signed char v16i8 __attribute__((vector_size(16), aligned(16)));
150b57cec5SDimitry Andric typedef signed char v16i8_b __attribute__((vector_size(16), aligned(1)));
160b57cec5SDimitry Andric typedef unsigned char v16u8 __attribute__((vector_size(16), aligned(16)));
170b57cec5SDimitry Andric typedef unsigned char v16u8_b __attribute__((vector_size(16), aligned(1)));
180b57cec5SDimitry Andric typedef short v8i16 __attribute__((vector_size(16), aligned(16)));
190b57cec5SDimitry Andric typedef short v8i16_h __attribute__((vector_size(16), aligned(2)));
200b57cec5SDimitry Andric typedef unsigned short v8u16 __attribute__((vector_size(16), aligned(16)));
210b57cec5SDimitry Andric typedef unsigned short v8u16_h __attribute__((vector_size(16), aligned(2)));
220b57cec5SDimitry Andric typedef int v4i32 __attribute__((vector_size(16), aligned(16)));
230b57cec5SDimitry Andric typedef int v4i32_w __attribute__((vector_size(16), aligned(4)));
240b57cec5SDimitry Andric typedef unsigned int v4u32 __attribute__((vector_size(16), aligned(16)));
250b57cec5SDimitry Andric typedef unsigned int v4u32_w __attribute__((vector_size(16), aligned(4)));
260b57cec5SDimitry Andric typedef long long v2i64 __attribute__((vector_size(16), aligned(16)));
270b57cec5SDimitry Andric typedef long long v2i64_d __attribute__((vector_size(16), aligned(8)));
280b57cec5SDimitry Andric typedef unsigned long long v2u64 __attribute__((vector_size(16), aligned(16)));
290b57cec5SDimitry Andric typedef unsigned long long v2u64_d __attribute__((vector_size(16), aligned(8)));
300b57cec5SDimitry Andric typedef float v4f32 __attribute__((vector_size(16), aligned(16)));
310b57cec5SDimitry Andric typedef float v4f32_w __attribute__((vector_size(16), aligned(4)));
320b57cec5SDimitry Andric typedef double v2f64 __attribute__ ((vector_size(16), aligned(16)));
330b57cec5SDimitry Andric typedef double v2f64_d __attribute__ ((vector_size(16), aligned(8)));
340b57cec5SDimitry Andric 
350b57cec5SDimitry Andric #define __msa_sll_b __builtin_msa_sll_b
360b57cec5SDimitry Andric #define __msa_sll_h __builtin_msa_sll_h
370b57cec5SDimitry Andric #define __msa_sll_w __builtin_msa_sll_w
380b57cec5SDimitry Andric #define __msa_sll_d __builtin_msa_sll_d
390b57cec5SDimitry Andric #define __msa_slli_b __builtin_msa_slli_b
400b57cec5SDimitry Andric #define __msa_slli_h __builtin_msa_slli_h
410b57cec5SDimitry Andric #define __msa_slli_w __builtin_msa_slli_w
420b57cec5SDimitry Andric #define __msa_slli_d __builtin_msa_slli_d
430b57cec5SDimitry Andric #define __msa_sra_b __builtin_msa_sra_b
440b57cec5SDimitry Andric #define __msa_sra_h __builtin_msa_sra_h
450b57cec5SDimitry Andric #define __msa_sra_w __builtin_msa_sra_w
460b57cec5SDimitry Andric #define __msa_sra_d __builtin_msa_sra_d
470b57cec5SDimitry Andric #define __msa_srai_b __builtin_msa_srai_b
480b57cec5SDimitry Andric #define __msa_srai_h __builtin_msa_srai_h
490b57cec5SDimitry Andric #define __msa_srai_w __builtin_msa_srai_w
500b57cec5SDimitry Andric #define __msa_srai_d __builtin_msa_srai_d
510b57cec5SDimitry Andric #define __msa_srar_b __builtin_msa_srar_b
520b57cec5SDimitry Andric #define __msa_srar_h __builtin_msa_srar_h
530b57cec5SDimitry Andric #define __msa_srar_w __builtin_msa_srar_w
540b57cec5SDimitry Andric #define __msa_srar_d __builtin_msa_srar_d
550b57cec5SDimitry Andric #define __msa_srari_b __builtin_msa_srari_b
560b57cec5SDimitry Andric #define __msa_srari_h __builtin_msa_srari_h
570b57cec5SDimitry Andric #define __msa_srari_w __builtin_msa_srari_w
580b57cec5SDimitry Andric #define __msa_srari_d __builtin_msa_srari_d
590b57cec5SDimitry Andric #define __msa_srl_b __builtin_msa_srl_b
600b57cec5SDimitry Andric #define __msa_srl_h __builtin_msa_srl_h
610b57cec5SDimitry Andric #define __msa_srl_w __builtin_msa_srl_w
620b57cec5SDimitry Andric #define __msa_srl_d __builtin_msa_srl_d
630b57cec5SDimitry Andric #define __msa_srli_b __builtin_msa_srli_b
640b57cec5SDimitry Andric #define __msa_srli_h __builtin_msa_srli_h
650b57cec5SDimitry Andric #define __msa_srli_w __builtin_msa_srli_w
660b57cec5SDimitry Andric #define __msa_srli_d __builtin_msa_srli_d
670b57cec5SDimitry Andric #define __msa_srlr_b __builtin_msa_srlr_b
680b57cec5SDimitry Andric #define __msa_srlr_h __builtin_msa_srlr_h
690b57cec5SDimitry Andric #define __msa_srlr_w __builtin_msa_srlr_w
700b57cec5SDimitry Andric #define __msa_srlr_d __builtin_msa_srlr_d
710b57cec5SDimitry Andric #define __msa_srlri_b __builtin_msa_srlri_b
720b57cec5SDimitry Andric #define __msa_srlri_h __builtin_msa_srlri_h
730b57cec5SDimitry Andric #define __msa_srlri_w __builtin_msa_srlri_w
740b57cec5SDimitry Andric #define __msa_srlri_d __builtin_msa_srlri_d
750b57cec5SDimitry Andric #define __msa_bclr_b __builtin_msa_bclr_b
760b57cec5SDimitry Andric #define __msa_bclr_h __builtin_msa_bclr_h
770b57cec5SDimitry Andric #define __msa_bclr_w __builtin_msa_bclr_w
780b57cec5SDimitry Andric #define __msa_bclr_d __builtin_msa_bclr_d
790b57cec5SDimitry Andric #define __msa_bclri_b __builtin_msa_bclri_b
800b57cec5SDimitry Andric #define __msa_bclri_h __builtin_msa_bclri_h
810b57cec5SDimitry Andric #define __msa_bclri_w __builtin_msa_bclri_w
820b57cec5SDimitry Andric #define __msa_bclri_d __builtin_msa_bclri_d
830b57cec5SDimitry Andric #define __msa_bset_b __builtin_msa_bset_b
840b57cec5SDimitry Andric #define __msa_bset_h __builtin_msa_bset_h
850b57cec5SDimitry Andric #define __msa_bset_w __builtin_msa_bset_w
860b57cec5SDimitry Andric #define __msa_bset_d __builtin_msa_bset_d
870b57cec5SDimitry Andric #define __msa_bseti_b __builtin_msa_bseti_b
880b57cec5SDimitry Andric #define __msa_bseti_h __builtin_msa_bseti_h
890b57cec5SDimitry Andric #define __msa_bseti_w __builtin_msa_bseti_w
900b57cec5SDimitry Andric #define __msa_bseti_d __builtin_msa_bseti_d
910b57cec5SDimitry Andric #define __msa_bneg_b __builtin_msa_bneg_b
920b57cec5SDimitry Andric #define __msa_bneg_h __builtin_msa_bneg_h
930b57cec5SDimitry Andric #define __msa_bneg_w __builtin_msa_bneg_w
940b57cec5SDimitry Andric #define __msa_bneg_d __builtin_msa_bneg_d
950b57cec5SDimitry Andric #define __msa_bnegi_b __builtin_msa_bnegi_b
960b57cec5SDimitry Andric #define __msa_bnegi_h __builtin_msa_bnegi_h
970b57cec5SDimitry Andric #define __msa_bnegi_w __builtin_msa_bnegi_w
980b57cec5SDimitry Andric #define __msa_bnegi_d __builtin_msa_bnegi_d
990b57cec5SDimitry Andric #define __msa_binsl_b __builtin_msa_binsl_b
1000b57cec5SDimitry Andric #define __msa_binsl_h __builtin_msa_binsl_h
1010b57cec5SDimitry Andric #define __msa_binsl_w __builtin_msa_binsl_w
1020b57cec5SDimitry Andric #define __msa_binsl_d __builtin_msa_binsl_d
1030b57cec5SDimitry Andric #define __msa_binsli_b __builtin_msa_binsli_b
1040b57cec5SDimitry Andric #define __msa_binsli_h __builtin_msa_binsli_h
1050b57cec5SDimitry Andric #define __msa_binsli_w __builtin_msa_binsli_w
1060b57cec5SDimitry Andric #define __msa_binsli_d __builtin_msa_binsli_d
1070b57cec5SDimitry Andric #define __msa_binsr_b __builtin_msa_binsr_b
1080b57cec5SDimitry Andric #define __msa_binsr_h __builtin_msa_binsr_h
1090b57cec5SDimitry Andric #define __msa_binsr_w __builtin_msa_binsr_w
1100b57cec5SDimitry Andric #define __msa_binsr_d __builtin_msa_binsr_d
1110b57cec5SDimitry Andric #define __msa_binsri_b __builtin_msa_binsri_b
1120b57cec5SDimitry Andric #define __msa_binsri_h __builtin_msa_binsri_h
1130b57cec5SDimitry Andric #define __msa_binsri_w __builtin_msa_binsri_w
1140b57cec5SDimitry Andric #define __msa_binsri_d __builtin_msa_binsri_d
1150b57cec5SDimitry Andric #define __msa_addv_b __builtin_msa_addv_b
1160b57cec5SDimitry Andric #define __msa_addv_h __builtin_msa_addv_h
1170b57cec5SDimitry Andric #define __msa_addv_w __builtin_msa_addv_w
1180b57cec5SDimitry Andric #define __msa_addv_d __builtin_msa_addv_d
1190b57cec5SDimitry Andric #define __msa_addvi_b __builtin_msa_addvi_b
1200b57cec5SDimitry Andric #define __msa_addvi_h __builtin_msa_addvi_h
1210b57cec5SDimitry Andric #define __msa_addvi_w __builtin_msa_addvi_w
1220b57cec5SDimitry Andric #define __msa_addvi_d __builtin_msa_addvi_d
1230b57cec5SDimitry Andric #define __msa_subv_b __builtin_msa_subv_b
1240b57cec5SDimitry Andric #define __msa_subv_h __builtin_msa_subv_h
1250b57cec5SDimitry Andric #define __msa_subv_w __builtin_msa_subv_w
1260b57cec5SDimitry Andric #define __msa_subv_d __builtin_msa_subv_d
1270b57cec5SDimitry Andric #define __msa_subvi_b __builtin_msa_subvi_b
1280b57cec5SDimitry Andric #define __msa_subvi_h __builtin_msa_subvi_h
1290b57cec5SDimitry Andric #define __msa_subvi_w __builtin_msa_subvi_w
1300b57cec5SDimitry Andric #define __msa_subvi_d __builtin_msa_subvi_d
1310b57cec5SDimitry Andric #define __msa_max_s_b __builtin_msa_max_s_b
1320b57cec5SDimitry Andric #define __msa_max_s_h __builtin_msa_max_s_h
1330b57cec5SDimitry Andric #define __msa_max_s_w __builtin_msa_max_s_w
1340b57cec5SDimitry Andric #define __msa_max_s_d __builtin_msa_max_s_d
1350b57cec5SDimitry Andric #define __msa_maxi_s_b __builtin_msa_maxi_s_b
1360b57cec5SDimitry Andric #define __msa_maxi_s_h __builtin_msa_maxi_s_h
1370b57cec5SDimitry Andric #define __msa_maxi_s_w __builtin_msa_maxi_s_w
1380b57cec5SDimitry Andric #define __msa_maxi_s_d __builtin_msa_maxi_s_d
1390b57cec5SDimitry Andric #define __msa_max_u_b __builtin_msa_max_u_b
1400b57cec5SDimitry Andric #define __msa_max_u_h __builtin_msa_max_u_h
1410b57cec5SDimitry Andric #define __msa_max_u_w __builtin_msa_max_u_w
1420b57cec5SDimitry Andric #define __msa_max_u_d __builtin_msa_max_u_d
1430b57cec5SDimitry Andric #define __msa_maxi_u_b __builtin_msa_maxi_u_b
1440b57cec5SDimitry Andric #define __msa_maxi_u_h __builtin_msa_maxi_u_h
1450b57cec5SDimitry Andric #define __msa_maxi_u_w __builtin_msa_maxi_u_w
1460b57cec5SDimitry Andric #define __msa_maxi_u_d __builtin_msa_maxi_u_d
1470b57cec5SDimitry Andric #define __msa_min_s_b __builtin_msa_min_s_b
1480b57cec5SDimitry Andric #define __msa_min_s_h __builtin_msa_min_s_h
1490b57cec5SDimitry Andric #define __msa_min_s_w __builtin_msa_min_s_w
1500b57cec5SDimitry Andric #define __msa_min_s_d __builtin_msa_min_s_d
1510b57cec5SDimitry Andric #define __msa_mini_s_b __builtin_msa_mini_s_b
1520b57cec5SDimitry Andric #define __msa_mini_s_h __builtin_msa_mini_s_h
1530b57cec5SDimitry Andric #define __msa_mini_s_w __builtin_msa_mini_s_w
1540b57cec5SDimitry Andric #define __msa_mini_s_d __builtin_msa_mini_s_d
1550b57cec5SDimitry Andric #define __msa_min_u_b __builtin_msa_min_u_b
1560b57cec5SDimitry Andric #define __msa_min_u_h __builtin_msa_min_u_h
1570b57cec5SDimitry Andric #define __msa_min_u_w __builtin_msa_min_u_w
1580b57cec5SDimitry Andric #define __msa_min_u_d __builtin_msa_min_u_d
1590b57cec5SDimitry Andric #define __msa_mini_u_b __builtin_msa_mini_u_b
1600b57cec5SDimitry Andric #define __msa_mini_u_h __builtin_msa_mini_u_h
1610b57cec5SDimitry Andric #define __msa_mini_u_w __builtin_msa_mini_u_w
1620b57cec5SDimitry Andric #define __msa_mini_u_d __builtin_msa_mini_u_d
1630b57cec5SDimitry Andric #define __msa_max_a_b __builtin_msa_max_a_b
1640b57cec5SDimitry Andric #define __msa_max_a_h __builtin_msa_max_a_h
1650b57cec5SDimitry Andric #define __msa_max_a_w __builtin_msa_max_a_w
1660b57cec5SDimitry Andric #define __msa_max_a_d __builtin_msa_max_a_d
1670b57cec5SDimitry Andric #define __msa_min_a_b __builtin_msa_min_a_b
1680b57cec5SDimitry Andric #define __msa_min_a_h __builtin_msa_min_a_h
1690b57cec5SDimitry Andric #define __msa_min_a_w __builtin_msa_min_a_w
1700b57cec5SDimitry Andric #define __msa_min_a_d __builtin_msa_min_a_d
1710b57cec5SDimitry Andric #define __msa_ceq_b __builtin_msa_ceq_b
1720b57cec5SDimitry Andric #define __msa_ceq_h __builtin_msa_ceq_h
1730b57cec5SDimitry Andric #define __msa_ceq_w __builtin_msa_ceq_w
1740b57cec5SDimitry Andric #define __msa_ceq_d __builtin_msa_ceq_d
1750b57cec5SDimitry Andric #define __msa_ceqi_b __builtin_msa_ceqi_b
1760b57cec5SDimitry Andric #define __msa_ceqi_h __builtin_msa_ceqi_h
1770b57cec5SDimitry Andric #define __msa_ceqi_w __builtin_msa_ceqi_w
1780b57cec5SDimitry Andric #define __msa_ceqi_d __builtin_msa_ceqi_d
1790b57cec5SDimitry Andric #define __msa_clt_s_b __builtin_msa_clt_s_b
1800b57cec5SDimitry Andric #define __msa_clt_s_h __builtin_msa_clt_s_h
1810b57cec5SDimitry Andric #define __msa_clt_s_w __builtin_msa_clt_s_w
1820b57cec5SDimitry Andric #define __msa_clt_s_d __builtin_msa_clt_s_d
1830b57cec5SDimitry Andric #define __msa_clti_s_b __builtin_msa_clti_s_b
1840b57cec5SDimitry Andric #define __msa_clti_s_h __builtin_msa_clti_s_h
1850b57cec5SDimitry Andric #define __msa_clti_s_w __builtin_msa_clti_s_w
1860b57cec5SDimitry Andric #define __msa_clti_s_d __builtin_msa_clti_s_d
1870b57cec5SDimitry Andric #define __msa_clt_u_b __builtin_msa_clt_u_b
1880b57cec5SDimitry Andric #define __msa_clt_u_h __builtin_msa_clt_u_h
1890b57cec5SDimitry Andric #define __msa_clt_u_w __builtin_msa_clt_u_w
1900b57cec5SDimitry Andric #define __msa_clt_u_d __builtin_msa_clt_u_d
1910b57cec5SDimitry Andric #define __msa_clti_u_b __builtin_msa_clti_u_b
1920b57cec5SDimitry Andric #define __msa_clti_u_h __builtin_msa_clti_u_h
1930b57cec5SDimitry Andric #define __msa_clti_u_w __builtin_msa_clti_u_w
1940b57cec5SDimitry Andric #define __msa_clti_u_d __builtin_msa_clti_u_d
1950b57cec5SDimitry Andric #define __msa_cle_s_b __builtin_msa_cle_s_b
1960b57cec5SDimitry Andric #define __msa_cle_s_h __builtin_msa_cle_s_h
1970b57cec5SDimitry Andric #define __msa_cle_s_w __builtin_msa_cle_s_w
1980b57cec5SDimitry Andric #define __msa_cle_s_d __builtin_msa_cle_s_d
1990b57cec5SDimitry Andric #define __msa_clei_s_b __builtin_msa_clei_s_b
2000b57cec5SDimitry Andric #define __msa_clei_s_h __builtin_msa_clei_s_h
2010b57cec5SDimitry Andric #define __msa_clei_s_w __builtin_msa_clei_s_w
2020b57cec5SDimitry Andric #define __msa_clei_s_d __builtin_msa_clei_s_d
2030b57cec5SDimitry Andric #define __msa_cle_u_b __builtin_msa_cle_u_b
2040b57cec5SDimitry Andric #define __msa_cle_u_h __builtin_msa_cle_u_h
2050b57cec5SDimitry Andric #define __msa_cle_u_w __builtin_msa_cle_u_w
2060b57cec5SDimitry Andric #define __msa_cle_u_d __builtin_msa_cle_u_d
2070b57cec5SDimitry Andric #define __msa_clei_u_b __builtin_msa_clei_u_b
2080b57cec5SDimitry Andric #define __msa_clei_u_h __builtin_msa_clei_u_h
2090b57cec5SDimitry Andric #define __msa_clei_u_w __builtin_msa_clei_u_w
2100b57cec5SDimitry Andric #define __msa_clei_u_d __builtin_msa_clei_u_d
2110b57cec5SDimitry Andric #define __msa_ld_b __builtin_msa_ld_b
2120b57cec5SDimitry Andric #define __msa_ld_h __builtin_msa_ld_h
2130b57cec5SDimitry Andric #define __msa_ld_w __builtin_msa_ld_w
2140b57cec5SDimitry Andric #define __msa_ld_d __builtin_msa_ld_d
215*5ffd83dbSDimitry Andric #define __msa_ldr_d __builtin_msa_ldr_d
216*5ffd83dbSDimitry Andric #define __msa_ldr_w __builtin_msa_ldrq_w
2170b57cec5SDimitry Andric #define __msa_st_b __builtin_msa_st_b
2180b57cec5SDimitry Andric #define __msa_st_h __builtin_msa_st_h
2190b57cec5SDimitry Andric #define __msa_st_w __builtin_msa_st_w
2200b57cec5SDimitry Andric #define __msa_st_d __builtin_msa_st_d
221*5ffd83dbSDimitry Andric #define __msa_str_d __builtin_msa_str_d
222*5ffd83dbSDimitry Andric #define __msa_str_w __builtin_msa_strq_w
2230b57cec5SDimitry Andric #define __msa_sat_s_b __builtin_msa_sat_s_b
2240b57cec5SDimitry Andric #define __msa_sat_s_h __builtin_msa_sat_s_h
2250b57cec5SDimitry Andric #define __msa_sat_s_w __builtin_msa_sat_s_w
2260b57cec5SDimitry Andric #define __msa_sat_s_d __builtin_msa_sat_s_d
2270b57cec5SDimitry Andric #define __msa_sat_u_b __builtin_msa_sat_u_b
2280b57cec5SDimitry Andric #define __msa_sat_u_h __builtin_msa_sat_u_h
2290b57cec5SDimitry Andric #define __msa_sat_u_w __builtin_msa_sat_u_w
2300b57cec5SDimitry Andric #define __msa_sat_u_d __builtin_msa_sat_u_d
2310b57cec5SDimitry Andric #define __msa_add_a_b __builtin_msa_add_a_b
2320b57cec5SDimitry Andric #define __msa_add_a_h __builtin_msa_add_a_h
2330b57cec5SDimitry Andric #define __msa_add_a_w __builtin_msa_add_a_w
2340b57cec5SDimitry Andric #define __msa_add_a_d __builtin_msa_add_a_d
2350b57cec5SDimitry Andric #define __msa_adds_a_b __builtin_msa_adds_a_b
2360b57cec5SDimitry Andric #define __msa_adds_a_h __builtin_msa_adds_a_h
2370b57cec5SDimitry Andric #define __msa_adds_a_w __builtin_msa_adds_a_w
2380b57cec5SDimitry Andric #define __msa_adds_a_d __builtin_msa_adds_a_d
2390b57cec5SDimitry Andric #define __msa_adds_s_b __builtin_msa_adds_s_b
2400b57cec5SDimitry Andric #define __msa_adds_s_h __builtin_msa_adds_s_h
2410b57cec5SDimitry Andric #define __msa_adds_s_w __builtin_msa_adds_s_w
2420b57cec5SDimitry Andric #define __msa_adds_s_d __builtin_msa_adds_s_d
2430b57cec5SDimitry Andric #define __msa_adds_u_b __builtin_msa_adds_u_b
2440b57cec5SDimitry Andric #define __msa_adds_u_h __builtin_msa_adds_u_h
2450b57cec5SDimitry Andric #define __msa_adds_u_w __builtin_msa_adds_u_w
2460b57cec5SDimitry Andric #define __msa_adds_u_d __builtin_msa_adds_u_d
2470b57cec5SDimitry Andric #define __msa_ave_s_b __builtin_msa_ave_s_b
2480b57cec5SDimitry Andric #define __msa_ave_s_h __builtin_msa_ave_s_h
2490b57cec5SDimitry Andric #define __msa_ave_s_w __builtin_msa_ave_s_w
2500b57cec5SDimitry Andric #define __msa_ave_s_d __builtin_msa_ave_s_d
2510b57cec5SDimitry Andric #define __msa_ave_u_b __builtin_msa_ave_u_b
2520b57cec5SDimitry Andric #define __msa_ave_u_h __builtin_msa_ave_u_h
2530b57cec5SDimitry Andric #define __msa_ave_u_w __builtin_msa_ave_u_w
2540b57cec5SDimitry Andric #define __msa_ave_u_d __builtin_msa_ave_u_d
2550b57cec5SDimitry Andric #define __msa_aver_s_b __builtin_msa_aver_s_b
2560b57cec5SDimitry Andric #define __msa_aver_s_h __builtin_msa_aver_s_h
2570b57cec5SDimitry Andric #define __msa_aver_s_w __builtin_msa_aver_s_w
2580b57cec5SDimitry Andric #define __msa_aver_s_d __builtin_msa_aver_s_d
2590b57cec5SDimitry Andric #define __msa_aver_u_b __builtin_msa_aver_u_b
2600b57cec5SDimitry Andric #define __msa_aver_u_h __builtin_msa_aver_u_h
2610b57cec5SDimitry Andric #define __msa_aver_u_w __builtin_msa_aver_u_w
2620b57cec5SDimitry Andric #define __msa_aver_u_d __builtin_msa_aver_u_d
2630b57cec5SDimitry Andric #define __msa_subs_s_b __builtin_msa_subs_s_b
2640b57cec5SDimitry Andric #define __msa_subs_s_h __builtin_msa_subs_s_h
2650b57cec5SDimitry Andric #define __msa_subs_s_w __builtin_msa_subs_s_w
2660b57cec5SDimitry Andric #define __msa_subs_s_d __builtin_msa_subs_s_d
2670b57cec5SDimitry Andric #define __msa_subs_u_b __builtin_msa_subs_u_b
2680b57cec5SDimitry Andric #define __msa_subs_u_h __builtin_msa_subs_u_h
2690b57cec5SDimitry Andric #define __msa_subs_u_w __builtin_msa_subs_u_w
2700b57cec5SDimitry Andric #define __msa_subs_u_d __builtin_msa_subs_u_d
2710b57cec5SDimitry Andric #define __msa_subsuu_s_b __builtin_msa_subsuu_s_b
2720b57cec5SDimitry Andric #define __msa_subsuu_s_h __builtin_msa_subsuu_s_h
2730b57cec5SDimitry Andric #define __msa_subsuu_s_w __builtin_msa_subsuu_s_w
2740b57cec5SDimitry Andric #define __msa_subsuu_s_d __builtin_msa_subsuu_s_d
2750b57cec5SDimitry Andric #define __msa_subsus_u_b __builtin_msa_subsus_u_b
2760b57cec5SDimitry Andric #define __msa_subsus_u_h __builtin_msa_subsus_u_h
2770b57cec5SDimitry Andric #define __msa_subsus_u_w __builtin_msa_subsus_u_w
2780b57cec5SDimitry Andric #define __msa_subsus_u_d __builtin_msa_subsus_u_d
2790b57cec5SDimitry Andric #define __msa_asub_s_b __builtin_msa_asub_s_b
2800b57cec5SDimitry Andric #define __msa_asub_s_h __builtin_msa_asub_s_h
2810b57cec5SDimitry Andric #define __msa_asub_s_w __builtin_msa_asub_s_w
2820b57cec5SDimitry Andric #define __msa_asub_s_d __builtin_msa_asub_s_d
2830b57cec5SDimitry Andric #define __msa_asub_u_b __builtin_msa_asub_u_b
2840b57cec5SDimitry Andric #define __msa_asub_u_h __builtin_msa_asub_u_h
2850b57cec5SDimitry Andric #define __msa_asub_u_w __builtin_msa_asub_u_w
2860b57cec5SDimitry Andric #define __msa_asub_u_d __builtin_msa_asub_u_d
2870b57cec5SDimitry Andric #define __msa_mulv_b __builtin_msa_mulv_b
2880b57cec5SDimitry Andric #define __msa_mulv_h __builtin_msa_mulv_h
2890b57cec5SDimitry Andric #define __msa_mulv_w __builtin_msa_mulv_w
2900b57cec5SDimitry Andric #define __msa_mulv_d __builtin_msa_mulv_d
2910b57cec5SDimitry Andric #define __msa_maddv_b __builtin_msa_maddv_b
2920b57cec5SDimitry Andric #define __msa_maddv_h __builtin_msa_maddv_h
2930b57cec5SDimitry Andric #define __msa_maddv_w __builtin_msa_maddv_w
2940b57cec5SDimitry Andric #define __msa_maddv_d __builtin_msa_maddv_d
2950b57cec5SDimitry Andric #define __msa_msubv_b __builtin_msa_msubv_b
2960b57cec5SDimitry Andric #define __msa_msubv_h __builtin_msa_msubv_h
2970b57cec5SDimitry Andric #define __msa_msubv_w __builtin_msa_msubv_w
2980b57cec5SDimitry Andric #define __msa_msubv_d __builtin_msa_msubv_d
2990b57cec5SDimitry Andric #define __msa_div_s_b __builtin_msa_div_s_b
3000b57cec5SDimitry Andric #define __msa_div_s_h __builtin_msa_div_s_h
3010b57cec5SDimitry Andric #define __msa_div_s_w __builtin_msa_div_s_w
3020b57cec5SDimitry Andric #define __msa_div_s_d __builtin_msa_div_s_d
3030b57cec5SDimitry Andric #define __msa_div_u_b __builtin_msa_div_u_b
3040b57cec5SDimitry Andric #define __msa_div_u_h __builtin_msa_div_u_h
3050b57cec5SDimitry Andric #define __msa_div_u_w __builtin_msa_div_u_w
3060b57cec5SDimitry Andric #define __msa_div_u_d __builtin_msa_div_u_d
3070b57cec5SDimitry Andric #define __msa_hadd_s_h __builtin_msa_hadd_s_h
3080b57cec5SDimitry Andric #define __msa_hadd_s_w __builtin_msa_hadd_s_w
3090b57cec5SDimitry Andric #define __msa_hadd_s_d __builtin_msa_hadd_s_d
3100b57cec5SDimitry Andric #define __msa_hadd_u_h __builtin_msa_hadd_u_h
3110b57cec5SDimitry Andric #define __msa_hadd_u_w __builtin_msa_hadd_u_w
3120b57cec5SDimitry Andric #define __msa_hadd_u_d __builtin_msa_hadd_u_d
3130b57cec5SDimitry Andric #define __msa_hsub_s_h __builtin_msa_hsub_s_h
3140b57cec5SDimitry Andric #define __msa_hsub_s_w __builtin_msa_hsub_s_w
3150b57cec5SDimitry Andric #define __msa_hsub_s_d __builtin_msa_hsub_s_d
3160b57cec5SDimitry Andric #define __msa_hsub_u_h __builtin_msa_hsub_u_h
3170b57cec5SDimitry Andric #define __msa_hsub_u_w __builtin_msa_hsub_u_w
3180b57cec5SDimitry Andric #define __msa_hsub_u_d __builtin_msa_hsub_u_d
3190b57cec5SDimitry Andric #define __msa_mod_s_b __builtin_msa_mod_s_b
3200b57cec5SDimitry Andric #define __msa_mod_s_h __builtin_msa_mod_s_h
3210b57cec5SDimitry Andric #define __msa_mod_s_w __builtin_msa_mod_s_w
3220b57cec5SDimitry Andric #define __msa_mod_s_d __builtin_msa_mod_s_d
3230b57cec5SDimitry Andric #define __msa_mod_u_b __builtin_msa_mod_u_b
3240b57cec5SDimitry Andric #define __msa_mod_u_h __builtin_msa_mod_u_h
3250b57cec5SDimitry Andric #define __msa_mod_u_w __builtin_msa_mod_u_w
3260b57cec5SDimitry Andric #define __msa_mod_u_d __builtin_msa_mod_u_d
3270b57cec5SDimitry Andric #define __msa_dotp_s_h __builtin_msa_dotp_s_h
3280b57cec5SDimitry Andric #define __msa_dotp_s_w __builtin_msa_dotp_s_w
3290b57cec5SDimitry Andric #define __msa_dotp_s_d __builtin_msa_dotp_s_d
3300b57cec5SDimitry Andric #define __msa_dotp_u_h __builtin_msa_dotp_u_h
3310b57cec5SDimitry Andric #define __msa_dotp_u_w __builtin_msa_dotp_u_w
3320b57cec5SDimitry Andric #define __msa_dotp_u_d __builtin_msa_dotp_u_d
3330b57cec5SDimitry Andric #define __msa_dpadd_s_h __builtin_msa_dpadd_s_h
3340b57cec5SDimitry Andric #define __msa_dpadd_s_w __builtin_msa_dpadd_s_w
3350b57cec5SDimitry Andric #define __msa_dpadd_s_d __builtin_msa_dpadd_s_d
3360b57cec5SDimitry Andric #define __msa_dpadd_u_h __builtin_msa_dpadd_u_h
3370b57cec5SDimitry Andric #define __msa_dpadd_u_w __builtin_msa_dpadd_u_w
3380b57cec5SDimitry Andric #define __msa_dpadd_u_d __builtin_msa_dpadd_u_d
3390b57cec5SDimitry Andric #define __msa_dpsub_s_h __builtin_msa_dpsub_s_h
3400b57cec5SDimitry Andric #define __msa_dpsub_s_w __builtin_msa_dpsub_s_w
3410b57cec5SDimitry Andric #define __msa_dpsub_s_d __builtin_msa_dpsub_s_d
3420b57cec5SDimitry Andric #define __msa_dpsub_u_h __builtin_msa_dpsub_u_h
3430b57cec5SDimitry Andric #define __msa_dpsub_u_w __builtin_msa_dpsub_u_w
3440b57cec5SDimitry Andric #define __msa_dpsub_u_d __builtin_msa_dpsub_u_d
3450b57cec5SDimitry Andric #define __msa_sld_b __builtin_msa_sld_b
3460b57cec5SDimitry Andric #define __msa_sld_h __builtin_msa_sld_h
3470b57cec5SDimitry Andric #define __msa_sld_w __builtin_msa_sld_w
3480b57cec5SDimitry Andric #define __msa_sld_d __builtin_msa_sld_d
3490b57cec5SDimitry Andric #define __msa_sldi_b __builtin_msa_sldi_b
3500b57cec5SDimitry Andric #define __msa_sldi_h __builtin_msa_sldi_h
3510b57cec5SDimitry Andric #define __msa_sldi_w __builtin_msa_sldi_w
3520b57cec5SDimitry Andric #define __msa_sldi_d __builtin_msa_sldi_d
3530b57cec5SDimitry Andric #define __msa_splat_b __builtin_msa_splat_b
3540b57cec5SDimitry Andric #define __msa_splat_h __builtin_msa_splat_h
3550b57cec5SDimitry Andric #define __msa_splat_w __builtin_msa_splat_w
3560b57cec5SDimitry Andric #define __msa_splat_d __builtin_msa_splat_d
3570b57cec5SDimitry Andric #define __msa_splati_b __builtin_msa_splati_b
3580b57cec5SDimitry Andric #define __msa_splati_h __builtin_msa_splati_h
3590b57cec5SDimitry Andric #define __msa_splati_w __builtin_msa_splati_w
3600b57cec5SDimitry Andric #define __msa_splati_d __builtin_msa_splati_d
3610b57cec5SDimitry Andric #define __msa_pckev_b __builtin_msa_pckev_b
3620b57cec5SDimitry Andric #define __msa_pckev_h __builtin_msa_pckev_h
3630b57cec5SDimitry Andric #define __msa_pckev_w __builtin_msa_pckev_w
3640b57cec5SDimitry Andric #define __msa_pckev_d __builtin_msa_pckev_d
3650b57cec5SDimitry Andric #define __msa_pckod_b __builtin_msa_pckod_b
3660b57cec5SDimitry Andric #define __msa_pckod_h __builtin_msa_pckod_h
3670b57cec5SDimitry Andric #define __msa_pckod_w __builtin_msa_pckod_w
3680b57cec5SDimitry Andric #define __msa_pckod_d __builtin_msa_pckod_d
3690b57cec5SDimitry Andric #define __msa_ilvl_b __builtin_msa_ilvl_b
3700b57cec5SDimitry Andric #define __msa_ilvl_h __builtin_msa_ilvl_h
3710b57cec5SDimitry Andric #define __msa_ilvl_w __builtin_msa_ilvl_w
3720b57cec5SDimitry Andric #define __msa_ilvl_d __builtin_msa_ilvl_d
3730b57cec5SDimitry Andric #define __msa_ilvr_b __builtin_msa_ilvr_b
3740b57cec5SDimitry Andric #define __msa_ilvr_h __builtin_msa_ilvr_h
3750b57cec5SDimitry Andric #define __msa_ilvr_w __builtin_msa_ilvr_w
3760b57cec5SDimitry Andric #define __msa_ilvr_d __builtin_msa_ilvr_d
3770b57cec5SDimitry Andric #define __msa_ilvev_b __builtin_msa_ilvev_b
3780b57cec5SDimitry Andric #define __msa_ilvev_h __builtin_msa_ilvev_h
3790b57cec5SDimitry Andric #define __msa_ilvev_w __builtin_msa_ilvev_w
3800b57cec5SDimitry Andric #define __msa_ilvev_d __builtin_msa_ilvev_d
3810b57cec5SDimitry Andric #define __msa_ilvod_b __builtin_msa_ilvod_b
3820b57cec5SDimitry Andric #define __msa_ilvod_h __builtin_msa_ilvod_h
3830b57cec5SDimitry Andric #define __msa_ilvod_w __builtin_msa_ilvod_w
3840b57cec5SDimitry Andric #define __msa_ilvod_d __builtin_msa_ilvod_d
3850b57cec5SDimitry Andric #define __msa_vshf_b __builtin_msa_vshf_b
3860b57cec5SDimitry Andric #define __msa_vshf_h __builtin_msa_vshf_h
3870b57cec5SDimitry Andric #define __msa_vshf_w __builtin_msa_vshf_w
3880b57cec5SDimitry Andric #define __msa_vshf_d __builtin_msa_vshf_d
3890b57cec5SDimitry Andric #define __msa_and_v __builtin_msa_and_v
3900b57cec5SDimitry Andric #define __msa_andi_b __builtin_msa_andi_b
3910b57cec5SDimitry Andric #define __msa_or_v __builtin_msa_or_v
3920b57cec5SDimitry Andric #define __msa_ori_b __builtin_msa_ori_b
3930b57cec5SDimitry Andric #define __msa_nor_v __builtin_msa_nor_v
3940b57cec5SDimitry Andric #define __msa_nori_b __builtin_msa_nori_b
3950b57cec5SDimitry Andric #define __msa_xor_v __builtin_msa_xor_v
3960b57cec5SDimitry Andric #define __msa_xori_b __builtin_msa_xori_b
3970b57cec5SDimitry Andric #define __msa_bmnz_v __builtin_msa_bmnz_v
3980b57cec5SDimitry Andric #define __msa_bmnzi_b __builtin_msa_bmnzi_b
3990b57cec5SDimitry Andric #define __msa_bmz_v __builtin_msa_bmz_v
4000b57cec5SDimitry Andric #define __msa_bmzi_b __builtin_msa_bmzi_b
4010b57cec5SDimitry Andric #define __msa_bsel_v __builtin_msa_bsel_v
4020b57cec5SDimitry Andric #define __msa_bseli_b __builtin_msa_bseli_b
4030b57cec5SDimitry Andric #define __msa_shf_b __builtin_msa_shf_b
4040b57cec5SDimitry Andric #define __msa_shf_h __builtin_msa_shf_h
4050b57cec5SDimitry Andric #define __msa_shf_w __builtin_msa_shf_w
4060b57cec5SDimitry Andric #define __msa_test_bnz_v __builtin_msa_bnz_v
4070b57cec5SDimitry Andric #define __msa_test_bz_v __builtin_msa_bz_v
4080b57cec5SDimitry Andric #define __msa_fill_b __builtin_msa_fill_b
4090b57cec5SDimitry Andric #define __msa_fill_h __builtin_msa_fill_h
4100b57cec5SDimitry Andric #define __msa_fill_w __builtin_msa_fill_w
4110b57cec5SDimitry Andric #define __msa_fill_d __builtin_msa_fill_d
4120b57cec5SDimitry Andric #define __msa_pcnt_b __builtin_msa_pcnt_b
4130b57cec5SDimitry Andric #define __msa_pcnt_h __builtin_msa_pcnt_h
4140b57cec5SDimitry Andric #define __msa_pcnt_w __builtin_msa_pcnt_w
4150b57cec5SDimitry Andric #define __msa_pcnt_d __builtin_msa_pcnt_d
4160b57cec5SDimitry Andric #define __msa_nloc_b __builtin_msa_nloc_b
4170b57cec5SDimitry Andric #define __msa_nloc_h __builtin_msa_nloc_h
4180b57cec5SDimitry Andric #define __msa_nloc_w __builtin_msa_nloc_w
4190b57cec5SDimitry Andric #define __msa_nloc_d __builtin_msa_nloc_d
4200b57cec5SDimitry Andric #define __msa_nlzc_b __builtin_msa_nlzc_b
4210b57cec5SDimitry Andric #define __msa_nlzc_h __builtin_msa_nlzc_h
4220b57cec5SDimitry Andric #define __msa_nlzc_w __builtin_msa_nlzc_w
4230b57cec5SDimitry Andric #define __msa_nlzc_d __builtin_msa_nlzc_d
4240b57cec5SDimitry Andric #define __msa_copy_s_b __builtin_msa_copy_s_b
4250b57cec5SDimitry Andric #define __msa_copy_s_h __builtin_msa_copy_s_h
4260b57cec5SDimitry Andric #define __msa_copy_s_w __builtin_msa_copy_s_w
4270b57cec5SDimitry Andric #define __msa_copy_s_d __builtin_msa_copy_s_d
4280b57cec5SDimitry Andric #define __msa_copy_u_b __builtin_msa_copy_u_b
4290b57cec5SDimitry Andric #define __msa_copy_u_h __builtin_msa_copy_u_h
4300b57cec5SDimitry Andric #define __msa_copy_u_w __builtin_msa_copy_u_w
4310b57cec5SDimitry Andric #define __msa_copy_u_d __builtin_msa_copy_u_d
4320b57cec5SDimitry Andric #define __msa_insert_b __builtin_msa_insert_b
4330b57cec5SDimitry Andric #define __msa_insert_h __builtin_msa_insert_h
4340b57cec5SDimitry Andric #define __msa_insert_w __builtin_msa_insert_w
4350b57cec5SDimitry Andric #define __msa_insert_d __builtin_msa_insert_d
4360b57cec5SDimitry Andric #define __msa_insve_b __builtin_msa_insve_b
4370b57cec5SDimitry Andric #define __msa_insve_h __builtin_msa_insve_h
4380b57cec5SDimitry Andric #define __msa_insve_w __builtin_msa_insve_w
4390b57cec5SDimitry Andric #define __msa_insve_d __builtin_msa_insve_d
4400b57cec5SDimitry Andric #define __msa_test_bnz_b __builtin_msa_bnz_b
4410b57cec5SDimitry Andric #define __msa_test_bnz_h __builtin_msa_bnz_h
4420b57cec5SDimitry Andric #define __msa_test_bnz_w __builtin_msa_bnz_w
4430b57cec5SDimitry Andric #define __msa_test_bnz_d __builtin_msa_bnz_d
4440b57cec5SDimitry Andric #define __msa_test_bz_b __builtin_msa_bz_b
4450b57cec5SDimitry Andric #define __msa_test_bz_h __builtin_msa_bz_h
4460b57cec5SDimitry Andric #define __msa_test_bz_w __builtin_msa_bz_w
4470b57cec5SDimitry Andric #define __msa_test_bz_d __builtin_msa_bz_d
4480b57cec5SDimitry Andric #define __msa_ldi_b __builtin_msa_ldi_b
4490b57cec5SDimitry Andric #define __msa_ldi_h __builtin_msa_ldi_h
4500b57cec5SDimitry Andric #define __msa_ldi_w __builtin_msa_ldi_w
4510b57cec5SDimitry Andric #define __msa_ldi_d __builtin_msa_ldi_d
4520b57cec5SDimitry Andric #define __msa_fcaf_w __builtin_msa_fcaf_w
4530b57cec5SDimitry Andric #define __msa_fcaf_d __builtin_msa_fcaf_d
4540b57cec5SDimitry Andric #define __msa_fcor_w __builtin_msa_fcor_w
4550b57cec5SDimitry Andric #define __msa_fcor_d __builtin_msa_fcor_d
4560b57cec5SDimitry Andric #define __msa_fcun_w __builtin_msa_fcun_w
4570b57cec5SDimitry Andric #define __msa_fcun_d __builtin_msa_fcun_d
4580b57cec5SDimitry Andric #define __msa_fcune_w __builtin_msa_fcune_w
4590b57cec5SDimitry Andric #define __msa_fcune_d __builtin_msa_fcune_d
4600b57cec5SDimitry Andric #define __msa_fcueq_w __builtin_msa_fcueq_w
4610b57cec5SDimitry Andric #define __msa_fcueq_d __builtin_msa_fcueq_d
4620b57cec5SDimitry Andric #define __msa_fceq_w __builtin_msa_fceq_w
4630b57cec5SDimitry Andric #define __msa_fceq_d __builtin_msa_fceq_d
4640b57cec5SDimitry Andric #define __msa_fcne_w __builtin_msa_fcne_w
4650b57cec5SDimitry Andric #define __msa_fcne_d __builtin_msa_fcne_d
4660b57cec5SDimitry Andric #define __msa_fclt_w __builtin_msa_fclt_w
4670b57cec5SDimitry Andric #define __msa_fclt_d __builtin_msa_fclt_d
4680b57cec5SDimitry Andric #define __msa_fcult_w __builtin_msa_fcult_w
4690b57cec5SDimitry Andric #define __msa_fcult_d __builtin_msa_fcult_d
4700b57cec5SDimitry Andric #define __msa_fcle_w __builtin_msa_fcle_w
4710b57cec5SDimitry Andric #define __msa_fcle_d __builtin_msa_fcle_d
4720b57cec5SDimitry Andric #define __msa_fcule_w __builtin_msa_fcule_w
4730b57cec5SDimitry Andric #define __msa_fcule_d __builtin_msa_fcule_d
4740b57cec5SDimitry Andric #define __msa_fsaf_w __builtin_msa_fsaf_w
4750b57cec5SDimitry Andric #define __msa_fsaf_d __builtin_msa_fsaf_d
4760b57cec5SDimitry Andric #define __msa_fsor_w __builtin_msa_fsor_w
4770b57cec5SDimitry Andric #define __msa_fsor_d __builtin_msa_fsor_d
4780b57cec5SDimitry Andric #define __msa_fsun_w __builtin_msa_fsun_w
4790b57cec5SDimitry Andric #define __msa_fsun_d __builtin_msa_fsun_d
4800b57cec5SDimitry Andric #define __msa_fsune_w __builtin_msa_fsune_w
4810b57cec5SDimitry Andric #define __msa_fsune_d __builtin_msa_fsune_d
4820b57cec5SDimitry Andric #define __msa_fsueq_w __builtin_msa_fsueq_w
4830b57cec5SDimitry Andric #define __msa_fsueq_d __builtin_msa_fsueq_d
4840b57cec5SDimitry Andric #define __msa_fseq_w __builtin_msa_fseq_w
4850b57cec5SDimitry Andric #define __msa_fseq_d __builtin_msa_fseq_d
4860b57cec5SDimitry Andric #define __msa_fsne_w __builtin_msa_fsne_w
4870b57cec5SDimitry Andric #define __msa_fsne_d __builtin_msa_fsne_d
4880b57cec5SDimitry Andric #define __msa_fslt_w __builtin_msa_fslt_w
4890b57cec5SDimitry Andric #define __msa_fslt_d __builtin_msa_fslt_d
4900b57cec5SDimitry Andric #define __msa_fsult_w __builtin_msa_fsult_w
4910b57cec5SDimitry Andric #define __msa_fsult_d __builtin_msa_fsult_d
4920b57cec5SDimitry Andric #define __msa_fsle_w __builtin_msa_fsle_w
4930b57cec5SDimitry Andric #define __msa_fsle_d __builtin_msa_fsle_d
4940b57cec5SDimitry Andric #define __msa_fsule_w __builtin_msa_fsule_w
4950b57cec5SDimitry Andric #define __msa_fsule_d __builtin_msa_fsule_d
4960b57cec5SDimitry Andric #define __msa_fadd_w __builtin_msa_fadd_w
4970b57cec5SDimitry Andric #define __msa_fadd_d __builtin_msa_fadd_d
4980b57cec5SDimitry Andric #define __msa_fsub_w __builtin_msa_fsub_w
4990b57cec5SDimitry Andric #define __msa_fsub_d __builtin_msa_fsub_d
5000b57cec5SDimitry Andric #define __msa_fmul_w __builtin_msa_fmul_w
5010b57cec5SDimitry Andric #define __msa_fmul_d __builtin_msa_fmul_d
5020b57cec5SDimitry Andric #define __msa_fdiv_w __builtin_msa_fdiv_w
5030b57cec5SDimitry Andric #define __msa_fdiv_d __builtin_msa_fdiv_d
5040b57cec5SDimitry Andric #define __msa_fmadd_w __builtin_msa_fmadd_w
5050b57cec5SDimitry Andric #define __msa_fmadd_d __builtin_msa_fmadd_d
5060b57cec5SDimitry Andric #define __msa_fmsub_w __builtin_msa_fmsub_w
5070b57cec5SDimitry Andric #define __msa_fmsub_d __builtin_msa_fmsub_d
5080b57cec5SDimitry Andric #define __msa_fexp2_w __builtin_msa_fexp2_w
5090b57cec5SDimitry Andric #define __msa_fexp2_d __builtin_msa_fexp2_d
5100b57cec5SDimitry Andric #define __msa_fexdo_h __builtin_msa_fexdo_h
5110b57cec5SDimitry Andric #define __msa_fexdo_w __builtin_msa_fexdo_w
5120b57cec5SDimitry Andric #define __msa_ftq_h __builtin_msa_ftq_h
5130b57cec5SDimitry Andric #define __msa_ftq_w __builtin_msa_ftq_w
5140b57cec5SDimitry Andric #define __msa_fmin_w __builtin_msa_fmin_w
5150b57cec5SDimitry Andric #define __msa_fmin_d __builtin_msa_fmin_d
5160b57cec5SDimitry Andric #define __msa_fmin_a_w __builtin_msa_fmin_a_w
5170b57cec5SDimitry Andric #define __msa_fmin_a_d __builtin_msa_fmin_a_d
5180b57cec5SDimitry Andric #define __msa_fmax_w __builtin_msa_fmax_w
5190b57cec5SDimitry Andric #define __msa_fmax_d __builtin_msa_fmax_d
5200b57cec5SDimitry Andric #define __msa_fmax_a_w __builtin_msa_fmax_a_w
5210b57cec5SDimitry Andric #define __msa_fmax_a_d __builtin_msa_fmax_a_d
5220b57cec5SDimitry Andric #define __msa_mul_q_h __builtin_msa_mul_q_h
5230b57cec5SDimitry Andric #define __msa_mul_q_w __builtin_msa_mul_q_w
5240b57cec5SDimitry Andric #define __msa_mulr_q_h __builtin_msa_mulr_q_h
5250b57cec5SDimitry Andric #define __msa_mulr_q_w __builtin_msa_mulr_q_w
5260b57cec5SDimitry Andric #define __msa_madd_q_h __builtin_msa_madd_q_h
5270b57cec5SDimitry Andric #define __msa_madd_q_w __builtin_msa_madd_q_w
5280b57cec5SDimitry Andric #define __msa_maddr_q_h __builtin_msa_maddr_q_h
5290b57cec5SDimitry Andric #define __msa_maddr_q_w __builtin_msa_maddr_q_w
5300b57cec5SDimitry Andric #define __msa_msub_q_h __builtin_msa_msub_q_h
5310b57cec5SDimitry Andric #define __msa_msub_q_w __builtin_msa_msub_q_w
5320b57cec5SDimitry Andric #define __msa_msubr_q_h __builtin_msa_msubr_q_h
5330b57cec5SDimitry Andric #define __msa_msubr_q_w __builtin_msa_msubr_q_w
5340b57cec5SDimitry Andric #define __msa_fclass_w __builtin_msa_fclass_w
5350b57cec5SDimitry Andric #define __msa_fclass_d __builtin_msa_fclass_d
5360b57cec5SDimitry Andric #define __msa_fsqrt_w __builtin_msa_fsqrt_w
5370b57cec5SDimitry Andric #define __msa_fsqrt_d __builtin_msa_fsqrt_d
5380b57cec5SDimitry Andric #define __msa_frcp_w __builtin_msa_frcp_w
5390b57cec5SDimitry Andric #define __msa_frcp_d __builtin_msa_frcp_d
5400b57cec5SDimitry Andric #define __msa_frint_w __builtin_msa_frint_w
5410b57cec5SDimitry Andric #define __msa_frint_d __builtin_msa_frint_d
5420b57cec5SDimitry Andric #define __msa_frsqrt_w __builtin_msa_frsqrt_w
5430b57cec5SDimitry Andric #define __msa_frsqrt_d __builtin_msa_frsqrt_d
5440b57cec5SDimitry Andric #define __msa_flog2_w __builtin_msa_flog2_w
5450b57cec5SDimitry Andric #define __msa_flog2_d __builtin_msa_flog2_d
5460b57cec5SDimitry Andric #define __msa_fexupl_w __builtin_msa_fexupl_w
5470b57cec5SDimitry Andric #define __msa_fexupl_d __builtin_msa_fexupl_d
5480b57cec5SDimitry Andric #define __msa_fexupr_w __builtin_msa_fexupr_w
5490b57cec5SDimitry Andric #define __msa_fexupr_d __builtin_msa_fexupr_d
5500b57cec5SDimitry Andric #define __msa_ffql_w __builtin_msa_ffql_w
5510b57cec5SDimitry Andric #define __msa_ffql_d __builtin_msa_ffql_d
5520b57cec5SDimitry Andric #define __msa_ffqr_w __builtin_msa_ffqr_w
5530b57cec5SDimitry Andric #define __msa_ffqr_d __builtin_msa_ffqr_d
5540b57cec5SDimitry Andric #define __msa_ftint_s_w __builtin_msa_ftint_s_w
5550b57cec5SDimitry Andric #define __msa_ftint_s_d __builtin_msa_ftint_s_d
5560b57cec5SDimitry Andric #define __msa_ftint_u_w __builtin_msa_ftint_u_w
5570b57cec5SDimitry Andric #define __msa_ftint_u_d __builtin_msa_ftint_u_d
5580b57cec5SDimitry Andric #define __msa_ftrunc_s_w __builtin_msa_ftrunc_s_w
5590b57cec5SDimitry Andric #define __msa_ftrunc_s_d __builtin_msa_ftrunc_s_d
5600b57cec5SDimitry Andric #define __msa_ftrunc_u_w __builtin_msa_ftrunc_u_w
5610b57cec5SDimitry Andric #define __msa_ftrunc_u_d __builtin_msa_ftrunc_u_d
5620b57cec5SDimitry Andric #define __msa_ffint_s_w __builtin_msa_ffint_s_w
5630b57cec5SDimitry Andric #define __msa_ffint_s_d __builtin_msa_ffint_s_d
5640b57cec5SDimitry Andric #define __msa_ffint_u_w __builtin_msa_ffint_u_w
5650b57cec5SDimitry Andric #define __msa_ffint_u_d __builtin_msa_ffint_u_d
5660b57cec5SDimitry Andric #define __msa_cfcmsa __builtin_msa_cfcmsa
5670b57cec5SDimitry Andric #define __msa_move_v __builtin_msa_move_v
5680b57cec5SDimitry Andric #define __msa_cast_to_vector_float __builtin_msa_cast_to_vector_float
5690b57cec5SDimitry Andric #define __msa_cast_to_vector_double __builtin_msa_cast_to_vector_double
5700b57cec5SDimitry Andric #define __msa_cast_to_scalar_float __builtin_msa_cast_to_scalar_float
5710b57cec5SDimitry Andric #define __msa_cast_to_scalar_double __builtin_msa_cast_to_scalar_double
5720b57cec5SDimitry Andric #endif /* defined(__mips_msa) */
5730b57cec5SDimitry Andric #endif /* _MSA_H */
574