Home | History | Annotate | Download | only in Basic
      1 //===--- BuiltinsX86.def - X86 Builtin function database --------*- C++ -*-===//
      2 //
      3 //                     The LLVM Compiler Infrastructure
      4 //
      5 // This file is distributed under the University of Illinois Open Source
      6 // License. See LICENSE.TXT for details.
      7 //
      8 //===----------------------------------------------------------------------===//
      9 //
     10 // This file defines the X86-specific builtin function database.  Users of
     11 // this file must define the BUILTIN macro to make use of this information.
     12 //
     13 //===----------------------------------------------------------------------===//
     14 
     15 // The format of this database matches clang/Basic/Builtins.def.
     16 
     17 // FIXME: In GCC, these builtins are defined depending on whether support for
     18 // MMX/SSE/etc is turned on. We should do this too.
     19 
     20 // FIXME: Ideally we would be able to pull this information from what
     21 // LLVM already knows about X86 builtins. We need to match the LLVM
     22 // definition anyway, since code generation will lower to the
     23 // intrinsic if one exists.
     24 
     25 // FIXME: Are these nothrow/const?
     26 
     27 // 3DNow!
     28 //
     29 BUILTIN(__builtin_ia32_femms, "v", "")
     30 BUILTIN(__builtin_ia32_pavgusb, "V8cV8cV8c", "nc")
     31 BUILTIN(__builtin_ia32_pf2id, "V2iV2f", "nc")
     32 BUILTIN(__builtin_ia32_pfacc, "V2fV2fV2f", "nc")
     33 BUILTIN(__builtin_ia32_pfadd, "V2fV2fV2f", "nc")
     34 BUILTIN(__builtin_ia32_pfcmpeq, "V2iV2fV2f", "nc")
     35 BUILTIN(__builtin_ia32_pfcmpge, "V2iV2fV2f", "nc")
     36 BUILTIN(__builtin_ia32_pfcmpgt, "V2iV2fV2f", "nc")
     37 BUILTIN(__builtin_ia32_pfmax, "V2fV2fV2f", "nc")
     38 BUILTIN(__builtin_ia32_pfmin, "V2fV2fV2f", "nc")
     39 BUILTIN(__builtin_ia32_pfmul, "V2fV2fV2f", "nc")
     40 BUILTIN(__builtin_ia32_pfrcp, "V2fV2f", "nc")
     41 BUILTIN(__builtin_ia32_pfrcpit1, "V2fV2fV2f", "nc")
     42 BUILTIN(__builtin_ia32_pfrcpit2, "V2fV2fV2f", "nc")
     43 BUILTIN(__builtin_ia32_pfrsqrt, "V2fV2f", "nc")
     44 BUILTIN(__builtin_ia32_pfrsqit1, "V2fV2fV2f", "nc")
     45 BUILTIN(__builtin_ia32_pfsub, "V2fV2fV2f", "nc")
     46 BUILTIN(__builtin_ia32_pfsubr, "V2fV2fV2f", "nc")
     47 BUILTIN(__builtin_ia32_pi2fd, "V2fV2i", "nc")
     48 BUILTIN(__builtin_ia32_pmulhrw, "V4sV4sV4s", "nc")
     49 // 3DNow! Extensions (3dnowa).
     50 BUILTIN(__builtin_ia32_pf2iw, "V2iV2f", "nc")
     51 BUILTIN(__builtin_ia32_pfnacc, "V2fV2fV2f", "nc")
     52 BUILTIN(__builtin_ia32_pfpnacc, "V2fV2fV2f", "nc")
     53 BUILTIN(__builtin_ia32_pi2fw, "V2fV2i", "nc")
     54 BUILTIN(__builtin_ia32_pswapdsf, "V2fV2f", "nc")
     55 BUILTIN(__builtin_ia32_pswapdsi, "V2iV2i", "nc")
     56 
     57 // MMX
     58 //
     59 // All MMX instructions will be generated via builtins. Any MMX vector
     60 // types (<1 x i64>, <2 x i32>, etc.) that aren't used by these builtins will be
     61 // expanded by the back-end.
     62 BUILTIN(_mm_prefetch, "vcC*i", "nc")
     63 BUILTIN(__builtin_ia32_emms, "v", "")
     64 BUILTIN(__builtin_ia32_paddb, "V8cV8cV8c", "")
     65 BUILTIN(__builtin_ia32_paddw, "V4sV4sV4s", "")
     66 BUILTIN(__builtin_ia32_paddd, "V2iV2iV2i", "")
     67 BUILTIN(__builtin_ia32_paddsb, "V8cV8cV8c", "")
     68 BUILTIN(__builtin_ia32_paddsw, "V4sV4sV4s", "")
     69 BUILTIN(__builtin_ia32_paddusb, "V8cV8cV8c", "")
     70 BUILTIN(__builtin_ia32_paddusw, "V4sV4sV4s", "")
     71 BUILTIN(__builtin_ia32_psubb, "V8cV8cV8c", "")
     72 BUILTIN(__builtin_ia32_psubw, "V4sV4sV4s", "")
     73 BUILTIN(__builtin_ia32_psubd, "V2iV2iV2i", "")
     74 BUILTIN(__builtin_ia32_psubsb, "V8cV8cV8c", "")
     75 BUILTIN(__builtin_ia32_psubsw, "V4sV4sV4s", "")
     76 BUILTIN(__builtin_ia32_psubusb, "V8cV8cV8c", "")
     77 BUILTIN(__builtin_ia32_psubusw, "V4sV4sV4s", "")
     78 BUILTIN(__builtin_ia32_pmulhw, "V4sV4sV4s", "")
     79 BUILTIN(__builtin_ia32_pmullw, "V4sV4sV4s", "")
     80 BUILTIN(__builtin_ia32_pmaddwd, "V2iV4sV4s", "")
     81 BUILTIN(__builtin_ia32_pand, "V1LLiV1LLiV1LLi", "")
     82 BUILTIN(__builtin_ia32_pandn, "V1LLiV1LLiV1LLi", "")
     83 BUILTIN(__builtin_ia32_por, "V1LLiV1LLiV1LLi", "")
     84 BUILTIN(__builtin_ia32_pxor, "V1LLiV1LLiV1LLi", "")
     85 BUILTIN(__builtin_ia32_psllw, "V4sV4sV1LLi", "")
     86 BUILTIN(__builtin_ia32_pslld, "V2iV2iV1LLi", "")
     87 BUILTIN(__builtin_ia32_psllq, "V1LLiV1LLiV1LLi", "")
     88 BUILTIN(__builtin_ia32_psrlw, "V4sV4sV1LLi", "")
     89 BUILTIN(__builtin_ia32_psrld, "V2iV2iV1LLi", "")
     90 BUILTIN(__builtin_ia32_psrlq, "V1LLiV1LLiV1LLi", "")
     91 BUILTIN(__builtin_ia32_psraw, "V4sV4sV1LLi", "")
     92 BUILTIN(__builtin_ia32_psrad, "V2iV2iV1LLi", "")
     93 BUILTIN(__builtin_ia32_psllwi, "V4sV4si", "")
     94 BUILTIN(__builtin_ia32_pslldi, "V2iV2ii", "")
     95 BUILTIN(__builtin_ia32_psllqi, "V1LLiV1LLii", "")
     96 BUILTIN(__builtin_ia32_psrlwi, "V4sV4si", "")
     97 BUILTIN(__builtin_ia32_psrldi, "V2iV2ii", "")
     98 BUILTIN(__builtin_ia32_psrlqi, "V1LLiV1LLii", "")
     99 BUILTIN(__builtin_ia32_psrawi, "V4sV4si", "")
    100 BUILTIN(__builtin_ia32_psradi, "V2iV2ii", "")
    101 BUILTIN(__builtin_ia32_packsswb, "V8cV4sV4s", "")
    102 BUILTIN(__builtin_ia32_packssdw, "V4sV2iV2i", "")
    103 BUILTIN(__builtin_ia32_packuswb, "V8cV4sV4s", "")
    104 BUILTIN(__builtin_ia32_punpckhbw, "V8cV8cV8c", "")
    105 BUILTIN(__builtin_ia32_punpckhwd, "V4sV4sV4s", "")
    106 BUILTIN(__builtin_ia32_punpckhdq, "V2iV2iV2i", "")
    107 BUILTIN(__builtin_ia32_punpcklbw, "V8cV8cV8c", "")
    108 BUILTIN(__builtin_ia32_punpcklwd, "V4sV4sV4s", "")
    109 BUILTIN(__builtin_ia32_punpckldq, "V2iV2iV2i", "")
    110 BUILTIN(__builtin_ia32_pcmpeqb, "V8cV8cV8c", "")
    111 BUILTIN(__builtin_ia32_pcmpeqw, "V4sV4sV4s", "")
    112 BUILTIN(__builtin_ia32_pcmpeqd, "V2iV2iV2i", "")
    113 BUILTIN(__builtin_ia32_pcmpgtb, "V8cV8cV8c", "")
    114 BUILTIN(__builtin_ia32_pcmpgtw, "V4sV4sV4s", "")
    115 BUILTIN(__builtin_ia32_pcmpgtd, "V2iV2iV2i", "")
    116 BUILTIN(__builtin_ia32_maskmovq, "vV8cV8cc*", "")
    117 BUILTIN(__builtin_ia32_movntq, "vV1LLi*V1LLi", "")
    118 BUILTIN(__builtin_ia32_vec_init_v2si, "V2iii", "")
    119 BUILTIN(__builtin_ia32_vec_init_v4hi, "V4sssss", "")
    120 BUILTIN(__builtin_ia32_vec_init_v8qi, "V8ccccccccc", "")
    121 BUILTIN(__builtin_ia32_vec_ext_v2si, "iV2ii", "")
    122 
    123 // MMX2 (MMX+SSE) intrinsics
    124 BUILTIN(__builtin_ia32_cvtpi2ps, "V4fV4fV2i", "")
    125 BUILTIN(__builtin_ia32_cvtps2pi, "V2iV4f", "")
    126 BUILTIN(__builtin_ia32_cvttps2pi, "V2iV4f", "")
    127 BUILTIN(__builtin_ia32_pavgb, "V8cV8cV8c", "")
    128 BUILTIN(__builtin_ia32_pavgw, "V4sV4sV4s", "")
    129 BUILTIN(__builtin_ia32_pmaxsw, "V4sV4sV4s", "")
    130 BUILTIN(__builtin_ia32_pmaxub, "V8cV8cV8c", "")
    131 BUILTIN(__builtin_ia32_pminsw, "V4sV4sV4s", "")
    132 BUILTIN(__builtin_ia32_pminub, "V8cV8cV8c", "")
    133 BUILTIN(__builtin_ia32_pmovmskb, "iV8c", "")
    134 BUILTIN(__builtin_ia32_pmulhuw, "V4sV4sV4s", "")
    135 BUILTIN(__builtin_ia32_psadbw, "V4sV8cV8c", "")
    136 BUILTIN(__builtin_ia32_pshufw, "V4sV4sIc", "")
    137 
    138 // MMX+SSE2
    139 BUILTIN(__builtin_ia32_cvtpd2pi, "V2iV2d", "")
    140 BUILTIN(__builtin_ia32_cvtpi2pd, "V2dV2i", "")
    141 BUILTIN(__builtin_ia32_cvttpd2pi, "V2iV2d", "")
    142 BUILTIN(__builtin_ia32_paddq, "V1LLiV1LLiV1LLi", "")
    143 BUILTIN(__builtin_ia32_pmuludq, "V1LLiV2iV2i", "")
    144 BUILTIN(__builtin_ia32_psubq, "V1LLiV1LLiV1LLi", "")
    145 
    146 // MMX+SSSE3
    147 BUILTIN(__builtin_ia32_pabsb, "V8cV8c", "")
    148 BUILTIN(__builtin_ia32_pabsd, "V2iV2i", "")
    149 BUILTIN(__builtin_ia32_pabsw, "V4sV4s", "")
    150 BUILTIN(__builtin_ia32_palignr, "V8cV8cV8cIc", "")
    151 BUILTIN(__builtin_ia32_phaddd, "V2iV2iV2i", "")
    152 BUILTIN(__builtin_ia32_phaddsw, "V4sV4sV4s", "")
    153 BUILTIN(__builtin_ia32_phaddw, "V4sV4sV4s", "")
    154 BUILTIN(__builtin_ia32_phsubd, "V2iV2iV2i", "")
    155 BUILTIN(__builtin_ia32_phsubsw, "V4sV4sV4s", "")
    156 BUILTIN(__builtin_ia32_phsubw, "V4sV4sV4s", "")
    157 BUILTIN(__builtin_ia32_pmaddubsw, "V8cV8cV8c", "")
    158 BUILTIN(__builtin_ia32_pmulhrsw, "V4sV4sV4s", "")
    159 BUILTIN(__builtin_ia32_pshufb, "V8cV8cV8c", "")
    160 BUILTIN(__builtin_ia32_psignw, "V4sV4sV4s", "")
    161 BUILTIN(__builtin_ia32_psignb, "V8cV8cV8c", "")
    162 BUILTIN(__builtin_ia32_psignd, "V2iV2iV2i", "")
    163 
    164 // SSE intrinsics.
    165 BUILTIN(__builtin_ia32_comieq, "iV4fV4f", "")
    166 BUILTIN(__builtin_ia32_comilt, "iV4fV4f", "")
    167 BUILTIN(__builtin_ia32_comile, "iV4fV4f", "")
    168 BUILTIN(__builtin_ia32_comigt, "iV4fV4f", "")
    169 BUILTIN(__builtin_ia32_comige, "iV4fV4f", "")
    170 BUILTIN(__builtin_ia32_comineq, "iV4fV4f", "")
    171 BUILTIN(__builtin_ia32_ucomieq, "iV4fV4f", "")
    172 BUILTIN(__builtin_ia32_ucomilt, "iV4fV4f", "")
    173 BUILTIN(__builtin_ia32_ucomile, "iV4fV4f", "")
    174 BUILTIN(__builtin_ia32_ucomigt, "iV4fV4f", "")
    175 BUILTIN(__builtin_ia32_ucomige, "iV4fV4f", "")
    176 BUILTIN(__builtin_ia32_ucomineq, "iV4fV4f", "")
    177 BUILTIN(__builtin_ia32_comisdeq, "iV2dV2d", "")
    178 BUILTIN(__builtin_ia32_comisdlt, "iV2dV2d", "")
    179 BUILTIN(__builtin_ia32_comisdle, "iV2dV2d", "")
    180 BUILTIN(__builtin_ia32_comisdgt, "iV2dV2d", "")
    181 BUILTIN(__builtin_ia32_comisdge, "iV2dV2d", "")
    182 BUILTIN(__builtin_ia32_comisdneq, "iV2dV2d", "")
    183 BUILTIN(__builtin_ia32_ucomisdeq, "iV2dV2d", "")
    184 BUILTIN(__builtin_ia32_ucomisdlt, "iV2dV2d", "")
    185 BUILTIN(__builtin_ia32_ucomisdle, "iV2dV2d", "")
    186 BUILTIN(__builtin_ia32_ucomisdgt, "iV2dV2d", "")
    187 BUILTIN(__builtin_ia32_ucomisdge, "iV2dV2d", "")
    188 BUILTIN(__builtin_ia32_ucomisdneq, "iV2dV2d", "")
    189 BUILTIN(__builtin_ia32_cmpps, "V4fV4fV4fIc", "")
    190 BUILTIN(__builtin_ia32_cmpss, "V4fV4fV4fIc", "")
    191 BUILTIN(__builtin_ia32_minps, "V4fV4fV4f", "")
    192 BUILTIN(__builtin_ia32_maxps, "V4fV4fV4f", "")
    193 BUILTIN(__builtin_ia32_minss, "V4fV4fV4f", "")
    194 BUILTIN(__builtin_ia32_maxss, "V4fV4fV4f", "")
    195 BUILTIN(__builtin_ia32_cmppd, "V2dV2dV2dIc", "")
    196 BUILTIN(__builtin_ia32_cmpsd, "V2dV2dV2dIc", "")
    197 BUILTIN(__builtin_ia32_minpd, "V2dV2dV2d", "")
    198 BUILTIN(__builtin_ia32_maxpd, "V2dV2dV2d", "")
    199 BUILTIN(__builtin_ia32_minsd, "V2dV2dV2d", "")
    200 BUILTIN(__builtin_ia32_maxsd, "V2dV2dV2d", "")
    201 BUILTIN(__builtin_ia32_paddsb128, "V16cV16cV16c", "")
    202 BUILTIN(__builtin_ia32_paddsw128, "V8sV8sV8s", "")
    203 BUILTIN(__builtin_ia32_psubsb128, "V16cV16cV16c", "")
    204 BUILTIN(__builtin_ia32_psubsw128, "V8sV8sV8s", "")
    205 BUILTIN(__builtin_ia32_paddusb128, "V16cV16cV16c", "")
    206 BUILTIN(__builtin_ia32_paddusw128, "V8sV8sV8s", "")
    207 BUILTIN(__builtin_ia32_psubusb128, "V16cV16cV16c", "")
    208 BUILTIN(__builtin_ia32_psubusw128, "V8sV8sV8s", "")
    209 BUILTIN(__builtin_ia32_pmulhw128, "V8sV8sV8s", "")
    210 BUILTIN(__builtin_ia32_pavgb128, "V16cV16cV16c", "")
    211 BUILTIN(__builtin_ia32_pavgw128, "V8sV8sV8s", "")
    212 BUILTIN(__builtin_ia32_pmaxub128, "V16cV16cV16c", "")
    213 BUILTIN(__builtin_ia32_pmaxsw128, "V8sV8sV8s", "")
    214 BUILTIN(__builtin_ia32_pminub128, "V16cV16cV16c", "")
    215 BUILTIN(__builtin_ia32_pminsw128, "V8sV8sV8s", "")
    216 BUILTIN(__builtin_ia32_packsswb128, "V16cV8sV8s", "")
    217 BUILTIN(__builtin_ia32_packssdw128, "V8sV4iV4i", "")
    218 BUILTIN(__builtin_ia32_packuswb128, "V16cV8sV8s", "")
    219 BUILTIN(__builtin_ia32_pmulhuw128, "V8sV8sV8s", "")
    220 BUILTIN(__builtin_ia32_addsubps, "V4fV4fV4f", "")
    221 BUILTIN(__builtin_ia32_addsubpd, "V2dV2dV2d", "")
    222 BUILTIN(__builtin_ia32_haddps, "V4fV4fV4f", "")
    223 BUILTIN(__builtin_ia32_haddpd, "V2dV2dV2d", "")
    224 BUILTIN(__builtin_ia32_hsubps, "V4fV4fV4f", "")
    225 BUILTIN(__builtin_ia32_hsubpd, "V2dV2dV2d", "")
    226 BUILTIN(__builtin_ia32_phaddw128, "V8sV8sV8s", "")
    227 BUILTIN(__builtin_ia32_phaddd128, "V4iV4iV4i", "")
    228 BUILTIN(__builtin_ia32_phaddsw128, "V8sV8sV8s", "")
    229 BUILTIN(__builtin_ia32_phsubw128, "V8sV8sV8s", "")
    230 BUILTIN(__builtin_ia32_phsubd128, "V4iV4iV4i", "")
    231 BUILTIN(__builtin_ia32_phsubsw128, "V8sV8sV8s", "")
    232 BUILTIN(__builtin_ia32_pmaddubsw128, "V8sV16cV16c", "")
    233 BUILTIN(__builtin_ia32_pmulhrsw128, "V8sV8sV8s", "")
    234 BUILTIN(__builtin_ia32_pshufb128, "V16cV16cV16c", "")
    235 BUILTIN(__builtin_ia32_psignb128, "V16cV16cV16c", "")
    236 BUILTIN(__builtin_ia32_psignw128, "V8sV8sV8s", "")
    237 BUILTIN(__builtin_ia32_psignd128, "V4iV4iV4i", "")
    238 BUILTIN(__builtin_ia32_pabsb128, "V16cV16c", "")
    239 BUILTIN(__builtin_ia32_pabsw128, "V8sV8s", "")
    240 BUILTIN(__builtin_ia32_pabsd128, "V4iV4i", "")
    241 BUILTIN(__builtin_ia32_ldmxcsr, "vUi", "")
    242 BUILTIN(__builtin_ia32_stmxcsr, "Ui", "")
    243 BUILTIN(__builtin_ia32_cvtss2si, "iV4f", "")
    244 BUILTIN(__builtin_ia32_cvtss2si64, "LLiV4f", "")
    245 BUILTIN(__builtin_ia32_storeups, "vf*V4f", "")
    246 BUILTIN(__builtin_ia32_storehps, "vV2i*V4f", "")
    247 BUILTIN(__builtin_ia32_storelps, "vV2i*V4f", "")
    248 BUILTIN(__builtin_ia32_movmskps, "iV4f", "")
    249 BUILTIN(__builtin_ia32_movntps, "vf*V4f", "")
    250 BUILTIN(__builtin_ia32_sfence, "v", "")
    251 BUILTIN(__builtin_ia32_rcpps, "V4fV4f", "")
    252 BUILTIN(__builtin_ia32_rcpss, "V4fV4f", "")
    253 BUILTIN(__builtin_ia32_rsqrtps, "V4fV4f", "")
    254 BUILTIN(__builtin_ia32_rsqrtss, "V4fV4f", "")
    255 BUILTIN(__builtin_ia32_sqrtps, "V4fV4f", "")
    256 BUILTIN(__builtin_ia32_sqrtss, "V4fV4f", "")
    257 BUILTIN(__builtin_ia32_maskmovdqu, "vV16cV16cc*", "")
    258 BUILTIN(__builtin_ia32_storeupd, "vd*V2d", "")
    259 BUILTIN(__builtin_ia32_movmskpd, "iV2d", "")
    260 BUILTIN(__builtin_ia32_pmovmskb128, "iV16c", "")
    261 BUILTIN(__builtin_ia32_movnti, "vi*i", "")
    262 BUILTIN(__builtin_ia32_movnti64, "vLLi*LLi", "")
    263 BUILTIN(__builtin_ia32_movntpd, "vd*V2d", "")
    264 BUILTIN(__builtin_ia32_movntdq, "vV2LLi*V2LLi", "")
    265 BUILTIN(__builtin_ia32_psadbw128, "V2LLiV16cV16c", "")
    266 BUILTIN(__builtin_ia32_sqrtpd, "V2dV2d", "")
    267 BUILTIN(__builtin_ia32_sqrtsd, "V2dV2d", "")
    268 BUILTIN(__builtin_ia32_cvtdq2pd, "V2dV4i", "")
    269 BUILTIN(__builtin_ia32_cvtdq2ps, "V4fV4i", "")
    270 BUILTIN(__builtin_ia32_cvtpd2dq, "V2LLiV2d", "")
    271 BUILTIN(__builtin_ia32_cvtpd2ps, "V4fV2d", "")
    272 BUILTIN(__builtin_ia32_cvttpd2dq, "V4iV2d", "")
    273 BUILTIN(__builtin_ia32_cvtsd2si, "iV2d", "")
    274 BUILTIN(__builtin_ia32_cvtsd2si64, "LLiV2d", "")
    275 BUILTIN(__builtin_ia32_cvtps2dq, "V4iV4f", "")
    276 BUILTIN(__builtin_ia32_cvtps2pd, "V2dV4f", "")
    277 BUILTIN(__builtin_ia32_cvttps2dq, "V4iV4f", "")
    278 BUILTIN(__builtin_ia32_clflush, "vvC*", "")
    279 BUILTIN(__builtin_ia32_lfence, "v", "")
    280 BUILTIN(__builtin_ia32_mfence, "v", "")
    281 BUILTIN(__builtin_ia32_storedqu, "vc*V16c", "")
    282 BUILTIN(__builtin_ia32_pmuludq128, "V2LLiV4iV4i", "")
    283 BUILTIN(__builtin_ia32_psraw128, "V8sV8sV8s", "")
    284 BUILTIN(__builtin_ia32_psrad128, "V4iV4iV4i", "")
    285 BUILTIN(__builtin_ia32_psrlw128, "V8sV8sV8s", "")
    286 BUILTIN(__builtin_ia32_psrld128, "V4iV4iV4i", "")
    287 BUILTIN(__builtin_ia32_pslldqi128, "V2LLiV2LLiIi", "")
    288 BUILTIN(__builtin_ia32_psrldqi128, "V2LLiV2LLiIi", "")
    289 BUILTIN(__builtin_ia32_psrlq128, "V2LLiV2LLiV2LLi", "")
    290 BUILTIN(__builtin_ia32_psllw128, "V8sV8sV8s", "")
    291 BUILTIN(__builtin_ia32_pslld128, "V4iV4iV4i", "")
    292 BUILTIN(__builtin_ia32_psllq128, "V2LLiV2LLiV2LLi", "")
    293 BUILTIN(__builtin_ia32_psllwi128, "V8sV8si", "")
    294 BUILTIN(__builtin_ia32_pslldi128, "V4iV4ii", "")
    295 BUILTIN(__builtin_ia32_psllqi128, "V2LLiV2LLii", "")
    296 BUILTIN(__builtin_ia32_psrlwi128, "V8sV8si", "")
    297 BUILTIN(__builtin_ia32_psrldi128, "V4iV4ii", "")
    298 BUILTIN(__builtin_ia32_psrlqi128, "V2LLiV2LLii", "")
    299 BUILTIN(__builtin_ia32_psrawi128, "V8sV8si", "")
    300 BUILTIN(__builtin_ia32_psradi128, "V4iV4ii", "")
    301 BUILTIN(__builtin_ia32_pmaddwd128, "V4iV8sV8s", "")
    302 BUILTIN(__builtin_ia32_monitor, "vv*UiUi", "")
    303 BUILTIN(__builtin_ia32_mwait, "vUiUi", "")
    304 BUILTIN(__builtin_ia32_lddqu, "V16ccC*", "")
    305 BUILTIN(__builtin_ia32_palignr128, "V16cV16cV16cIc", "")
    306 BUILTIN(__builtin_ia32_insertps128, "V4fV4fV4fi", "")
    307 
    308 BUILTIN(__builtin_ia32_pblendvb128, "V16cV16cV16cV16c", "")
    309 BUILTIN(__builtin_ia32_pblendw128, "V8sV8sV8sIi", "")
    310 BUILTIN(__builtin_ia32_blendpd, "V2dV2dV2dIi", "")
    311 BUILTIN(__builtin_ia32_blendps, "V4fV4fV4fIi", "")
    312 BUILTIN(__builtin_ia32_blendvpd, "V2dV2dV2dV2d", "")
    313 BUILTIN(__builtin_ia32_blendvps, "V4fV4fV4fV4f", "")
    314 
    315 BUILTIN(__builtin_ia32_packusdw128, "V8sV4iV4i", "")
    316 BUILTIN(__builtin_ia32_pmaxsb128, "V16cV16cV16c", "")
    317 BUILTIN(__builtin_ia32_pmaxsd128, "V4iV4iV4i", "")
    318 BUILTIN(__builtin_ia32_pmaxud128, "V4iV4iV4i", "")
    319 BUILTIN(__builtin_ia32_pmaxuw128, "V8sV8sV8s", "")
    320 BUILTIN(__builtin_ia32_pminsb128, "V16cV16cV16c", "")
    321 BUILTIN(__builtin_ia32_pminsd128, "V4iV4iV4i", "")
    322 BUILTIN(__builtin_ia32_pminud128, "V4iV4iV4i", "")
    323 BUILTIN(__builtin_ia32_pminuw128, "V8sV8sV8s", "")
    324 BUILTIN(__builtin_ia32_pmovsxbd128, "V4iV16c", "")
    325 BUILTIN(__builtin_ia32_pmovsxbq128, "V2LLiV16c", "")
    326 BUILTIN(__builtin_ia32_pmovsxbw128, "V8sV16c", "")
    327 BUILTIN(__builtin_ia32_pmovsxdq128, "V2LLiV4i", "")
    328 BUILTIN(__builtin_ia32_pmovsxwd128, "V4iV8s", "")
    329 BUILTIN(__builtin_ia32_pmovsxwq128, "V2LLiV8s", "")
    330 BUILTIN(__builtin_ia32_pmovzxbd128, "V4iV16c", "")
    331 BUILTIN(__builtin_ia32_pmovzxbq128, "V2LLiV16c", "")
    332 BUILTIN(__builtin_ia32_pmovzxbw128, "V8sV16c", "")
    333 BUILTIN(__builtin_ia32_pmovzxdq128, "V2LLiV4i", "")
    334 BUILTIN(__builtin_ia32_pmovzxwd128, "V4iV8s", "")
    335 BUILTIN(__builtin_ia32_pmovzxwq128, "V2LLiV8s", "")
    336 BUILTIN(__builtin_ia32_pmuldq128, "V2LLiV4iV4i", "")
    337 BUILTIN(__builtin_ia32_pmulld128, "V4iV4iV4i", "")
    338 BUILTIN(__builtin_ia32_roundps, "V4fV4fi", "")
    339 BUILTIN(__builtin_ia32_roundss, "V4fV4fV4fi", "")
    340 BUILTIN(__builtin_ia32_roundsd, "V2dV2dV2di", "")
    341 BUILTIN(__builtin_ia32_roundpd, "V2dV2di", "")
    342 BUILTIN(__builtin_ia32_dpps, "V4fV4fV4fi", "")
    343 BUILTIN(__builtin_ia32_dppd, "V2dV2dV2di", "")
    344 BUILTIN(__builtin_ia32_movntdqa, "V2LLiV2LLi*", "")
    345 BUILTIN(__builtin_ia32_ptestz128, "iV2LLiV2LLi", "")
    346 BUILTIN(__builtin_ia32_ptestc128, "iV2LLiV2LLi", "")
    347 BUILTIN(__builtin_ia32_ptestnzc128, "iV2LLiV2LLi", "")
    348 BUILTIN(__builtin_ia32_mpsadbw128, "V16cV16cV16ci", "")
    349 BUILTIN(__builtin_ia32_phminposuw128, "V8sV8s", "")
    350 
    351 // SSE 4.2
    352 BUILTIN(__builtin_ia32_pcmpistrm128, "V16cV16cV16cIc", "")
    353 BUILTIN(__builtin_ia32_pcmpistri128, "iV16cV16cIc", "")
    354 BUILTIN(__builtin_ia32_pcmpestrm128, "V16cV16ciV16ciIc", "")
    355 BUILTIN(__builtin_ia32_pcmpestri128, "iV16ciV16ciIc","")
    356 
    357 BUILTIN(__builtin_ia32_pcmpistria128, "iV16cV16cIc","")
    358 BUILTIN(__builtin_ia32_pcmpistric128, "iV16cV16cIc","")
    359 BUILTIN(__builtin_ia32_pcmpistrio128, "iV16cV16cIc","")
    360 BUILTIN(__builtin_ia32_pcmpistris128, "iV16cV16cIc","")
    361 BUILTIN(__builtin_ia32_pcmpistriz128, "iV16cV16cIc","")
    362 BUILTIN(__builtin_ia32_pcmpestria128, "iV16ciV16ciIc","")
    363 BUILTIN(__builtin_ia32_pcmpestric128, "iV16ciV16ciIc","")
    364 BUILTIN(__builtin_ia32_pcmpestrio128, "iV16ciV16ciIc","")
    365 BUILTIN(__builtin_ia32_pcmpestris128, "iV16ciV16ciIc","")
    366 BUILTIN(__builtin_ia32_pcmpestriz128, "iV16ciV16ciIc","")
    367 
    368 BUILTIN(__builtin_ia32_crc32qi, "UiUiUc", "")
    369 BUILTIN(__builtin_ia32_crc32hi, "UiUiUs", "")
    370 BUILTIN(__builtin_ia32_crc32si, "UiUiUi", "")
    371 BUILTIN(__builtin_ia32_crc32di, "ULLiULLiULLi", "")
    372 
    373 // SSE4a
    374 BUILTIN(__builtin_ia32_extrqi, "V2LLiV2LLiIcIc", "")
    375 BUILTIN(__builtin_ia32_extrq, "V2LLiV2LLiV16c", "")
    376 BUILTIN(__builtin_ia32_insertqi, "V2LLiV2LLiV2LLiIcIc", "")
    377 BUILTIN(__builtin_ia32_insertq, "V2LLiV2LLiV2LLi", "")
    378 BUILTIN(__builtin_ia32_movntsd, "vd*V2d", "")
    379 BUILTIN(__builtin_ia32_movntss, "vf*V4f", "")
    380 
    381 // AES
    382 BUILTIN(__builtin_ia32_aesenc128, "V2LLiV2LLiV2LLi", "")
    383 BUILTIN(__builtin_ia32_aesenclast128, "V2LLiV2LLiV2LLi", "")
    384 BUILTIN(__builtin_ia32_aesdec128, "V2LLiV2LLiV2LLi", "")
    385 BUILTIN(__builtin_ia32_aesdeclast128, "V2LLiV2LLiV2LLi", "")
    386 BUILTIN(__builtin_ia32_aesimc128, "V2LLiV2LLi", "")
    387 BUILTIN(__builtin_ia32_aeskeygenassist128, "V2LLiV2LLiIc", "")
    388 
    389 // CLMUL
    390 BUILTIN(__builtin_ia32_pclmulqdq128, "V2LLiV2LLiV2LLiIc", "")
    391 
    392 // AVX
    393 BUILTIN(__builtin_ia32_addsubpd256, "V4dV4dV4d", "")
    394 BUILTIN(__builtin_ia32_addsubps256, "V8fV8fV8f", "")
    395 BUILTIN(__builtin_ia32_haddpd256, "V4dV4dV4d", "")
    396 BUILTIN(__builtin_ia32_hsubps256, "V8fV8fV8f", "")
    397 BUILTIN(__builtin_ia32_hsubpd256, "V4dV4dV4d", "")
    398 BUILTIN(__builtin_ia32_haddps256, "V8fV8fV8f", "")
    399 BUILTIN(__builtin_ia32_maxpd256, "V4dV4dV4d", "")
    400 BUILTIN(__builtin_ia32_maxps256, "V8fV8fV8f", "")
    401 BUILTIN(__builtin_ia32_minpd256, "V4dV4dV4d", "")
    402 BUILTIN(__builtin_ia32_minps256, "V8fV8fV8f", "")
    403 BUILTIN(__builtin_ia32_vpermilvarpd, "V2dV2dV2LLi", "")
    404 BUILTIN(__builtin_ia32_vpermilvarps, "V4fV4fV4i", "")
    405 BUILTIN(__builtin_ia32_vpermilvarpd256, "V4dV4dV4LLi", "")
    406 BUILTIN(__builtin_ia32_vpermilvarps256, "V8fV8fV8i", "")
    407 BUILTIN(__builtin_ia32_blendpd256, "V4dV4dV4dIi", "")
    408 BUILTIN(__builtin_ia32_blendps256, "V8fV8fV8fIi", "")
    409 BUILTIN(__builtin_ia32_blendvpd256, "V4dV4dV4dV4d", "")
    410 BUILTIN(__builtin_ia32_blendvps256, "V8fV8fV8fV8f", "")
    411 BUILTIN(__builtin_ia32_dpps256, "V8fV8fV8fIi", "")
    412 BUILTIN(__builtin_ia32_cmppd256, "V4dV4dV4dc", "")
    413 BUILTIN(__builtin_ia32_cmpps256, "V8fV8fV8fc", "")
    414 BUILTIN(__builtin_ia32_vextractf128_pd256, "V2dV4dIc", "")
    415 BUILTIN(__builtin_ia32_vextractf128_ps256, "V4fV8fIc", "")
    416 BUILTIN(__builtin_ia32_vextractf128_si256, "V4iV8iIc", "")
    417 BUILTIN(__builtin_ia32_cvtdq2pd256, "V4dV4i", "")
    418 BUILTIN(__builtin_ia32_cvtdq2ps256, "V8fV8i", "")
    419 BUILTIN(__builtin_ia32_cvtpd2ps256, "V4fV4d", "")
    420 BUILTIN(__builtin_ia32_cvtps2dq256, "V8iV8f", "")
    421 BUILTIN(__builtin_ia32_cvtps2pd256, "V4dV4f", "")
    422 BUILTIN(__builtin_ia32_cvttpd2dq256, "V4iV4d", "")
    423 BUILTIN(__builtin_ia32_cvtpd2dq256, "V4iV4d", "")
    424 BUILTIN(__builtin_ia32_cvttps2dq256, "V8iV8f", "")
    425 BUILTIN(__builtin_ia32_vperm2f128_pd256, "V4dV4dV4dIc", "")
    426 BUILTIN(__builtin_ia32_vperm2f128_ps256, "V8fV8fV8fIc", "")
    427 BUILTIN(__builtin_ia32_vperm2f128_si256, "V8iV8iV8iIc", "")
    428 BUILTIN(__builtin_ia32_vinsertf128_pd256, "V4dV4dV2dIc", "")
    429 BUILTIN(__builtin_ia32_vinsertf128_ps256, "V8fV8fV4fIc", "")
    430 BUILTIN(__builtin_ia32_vinsertf128_si256, "V8iV8iV4iIc", "")
    431 BUILTIN(__builtin_ia32_sqrtpd256, "V4dV4d", "")
    432 BUILTIN(__builtin_ia32_sqrtps256, "V8fV8f", "")
    433 BUILTIN(__builtin_ia32_rsqrtps256, "V8fV8f", "")
    434 BUILTIN(__builtin_ia32_rcpps256, "V8fV8f", "")
    435 BUILTIN(__builtin_ia32_roundpd256, "V4dV4dIi", "")
    436 BUILTIN(__builtin_ia32_roundps256, "V8fV8fIi", "")
    437 BUILTIN(__builtin_ia32_vtestzpd, "iV2dV2d", "")
    438 BUILTIN(__builtin_ia32_vtestcpd, "iV2dV2d", "")
    439 BUILTIN(__builtin_ia32_vtestnzcpd, "iV2dV2d", "")
    440 BUILTIN(__builtin_ia32_vtestzps, "iV4fV4f", "")
    441 BUILTIN(__builtin_ia32_vtestcps, "iV4fV4f", "")
    442 BUILTIN(__builtin_ia32_vtestnzcps, "iV4fV4f", "")
    443 BUILTIN(__builtin_ia32_vtestzpd256, "iV4dV4d", "")
    444 BUILTIN(__builtin_ia32_vtestcpd256, "iV4dV4d", "")
    445 BUILTIN(__builtin_ia32_vtestnzcpd256, "iV4dV4d", "")
    446 BUILTIN(__builtin_ia32_vtestzps256, "iV8fV8f", "")
    447 BUILTIN(__builtin_ia32_vtestcps256, "iV8fV8f", "")
    448 BUILTIN(__builtin_ia32_vtestnzcps256, "iV8fV8f", "")
    449 BUILTIN(__builtin_ia32_ptestz256, "iV4LLiV4LLi", "")
    450 BUILTIN(__builtin_ia32_ptestc256, "iV4LLiV4LLi", "")
    451 BUILTIN(__builtin_ia32_ptestnzc256, "iV4LLiV4LLi", "")
    452 BUILTIN(__builtin_ia32_movmskpd256, "iV4d", "")
    453 BUILTIN(__builtin_ia32_movmskps256, "iV8f", "")
    454 BUILTIN(__builtin_ia32_vzeroall, "v", "")
    455 BUILTIN(__builtin_ia32_vzeroupper, "v", "")
    456 BUILTIN(__builtin_ia32_vbroadcastf128_pd256, "V4dV2dC*", "")
    457 BUILTIN(__builtin_ia32_vbroadcastf128_ps256, "V8fV4fC*", "")
    458 BUILTIN(__builtin_ia32_storeupd256, "vd*V4d", "")
    459 BUILTIN(__builtin_ia32_storeups256, "vf*V8f", "")
    460 BUILTIN(__builtin_ia32_storedqu256, "vc*V32c", "")
    461 BUILTIN(__builtin_ia32_lddqu256, "V32ccC*", "")
    462 BUILTIN(__builtin_ia32_movntdq256, "vV4LLi*V4LLi", "")
    463 BUILTIN(__builtin_ia32_movntpd256, "vd*V4d", "")
    464 BUILTIN(__builtin_ia32_movntps256, "vf*V8f", "")
    465 BUILTIN(__builtin_ia32_maskloadpd, "V2dV2dC*V2d", "")
    466 BUILTIN(__builtin_ia32_maskloadps, "V4fV4fC*V4f", "")
    467 BUILTIN(__builtin_ia32_maskloadpd256, "V4dV4dC*V4d", "")
    468 BUILTIN(__builtin_ia32_maskloadps256, "V8fV8fC*V8f", "")
    469 BUILTIN(__builtin_ia32_maskstorepd, "vV2d*V2dV2d", "")
    470 BUILTIN(__builtin_ia32_maskstoreps, "vV4f*V4fV4f", "")
    471 BUILTIN(__builtin_ia32_maskstorepd256, "vV4d*V4dV4d", "")
    472 BUILTIN(__builtin_ia32_maskstoreps256, "vV8f*V8fV8f", "")
    473 
    474 // AVX2
    475 BUILTIN(__builtin_ia32_mpsadbw256, "V32cV32cV32ci", "")
    476 BUILTIN(__builtin_ia32_pabsb256, "V32cV32c", "")
    477 BUILTIN(__builtin_ia32_pabsw256, "V16sV16s", "")
    478 BUILTIN(__builtin_ia32_pabsd256, "V8iV8i", "")
    479 BUILTIN(__builtin_ia32_packsswb256, "V32cV16sV16s", "")
    480 BUILTIN(__builtin_ia32_packssdw256, "V16sV8iV8i", "")
    481 BUILTIN(__builtin_ia32_packuswb256, "V32cV16sV16s", "")
    482 BUILTIN(__builtin_ia32_packusdw256, "V16sV8iV8i", "")
    483 BUILTIN(__builtin_ia32_paddsb256, "V32cV32cV32c", "")
    484 BUILTIN(__builtin_ia32_paddsw256, "V16sV16sV16s", "")
    485 BUILTIN(__builtin_ia32_psubsb256, "V32cV32cV32c", "")
    486 BUILTIN(__builtin_ia32_psubsw256, "V16sV16sV16s", "")
    487 BUILTIN(__builtin_ia32_paddusb256, "V32cV32cV32c", "")
    488 BUILTIN(__builtin_ia32_paddusw256, "V16sV16sV16s", "")
    489 BUILTIN(__builtin_ia32_psubusb256, "V32cV32cV32c", "")
    490 BUILTIN(__builtin_ia32_psubusw256, "V16sV16sV16s", "")
    491 BUILTIN(__builtin_ia32_palignr256, "V32cV32cV32cIc", "")
    492 BUILTIN(__builtin_ia32_pavgb256, "V32cV32cV32c", "")
    493 BUILTIN(__builtin_ia32_pavgw256, "V16sV16sV16s", "")
    494 BUILTIN(__builtin_ia32_pblendvb256, "V32cV32cV32cV32c", "")
    495 BUILTIN(__builtin_ia32_pblendw256, "V16sV16sV16sIi", "")
    496 BUILTIN(__builtin_ia32_phaddw256, "V16sV16sV16s", "")
    497 BUILTIN(__builtin_ia32_phaddd256, "V8iV8iV8i", "")
    498 BUILTIN(__builtin_ia32_phaddsw256, "V16sV16sV16s", "")
    499 BUILTIN(__builtin_ia32_phsubw256, "V16sV16sV16s", "")
    500 BUILTIN(__builtin_ia32_phsubd256, "V8iV8iV8i", "")
    501 BUILTIN(__builtin_ia32_phsubsw256, "V16sV16sV16s", "")
    502 BUILTIN(__builtin_ia32_pmaddubsw256, "V16sV32cV32c", "")
    503 BUILTIN(__builtin_ia32_pmaddwd256, "V8iV16sV16s", "")
    504 BUILTIN(__builtin_ia32_pmaxub256, "V32cV32cV32c", "")
    505 BUILTIN(__builtin_ia32_pmaxuw256, "V16sV16sV16s", "")
    506 BUILTIN(__builtin_ia32_pmaxud256, "V8iV8iV8i", "")
    507 BUILTIN(__builtin_ia32_pmaxsb256, "V32cV32cV32c", "")
    508 BUILTIN(__builtin_ia32_pmaxsw256, "V16sV16sV16s", "")
    509 BUILTIN(__builtin_ia32_pmaxsd256, "V8iV8iV8i", "")
    510 BUILTIN(__builtin_ia32_pminub256, "V32cV32cV32c", "")
    511 BUILTIN(__builtin_ia32_pminuw256, "V16sV16sV16s", "")
    512 BUILTIN(__builtin_ia32_pminud256, "V8iV8iV8i", "")
    513 BUILTIN(__builtin_ia32_pminsb256, "V32cV32cV32c", "")
    514 BUILTIN(__builtin_ia32_pminsw256, "V16sV16sV16s", "")
    515 BUILTIN(__builtin_ia32_pminsd256, "V8iV8iV8i", "")
    516 BUILTIN(__builtin_ia32_pmovmskb256, "iV32c", "")
    517 BUILTIN(__builtin_ia32_pmovsxbw256, "V16sV16c", "")
    518 BUILTIN(__builtin_ia32_pmovsxbd256, "V8iV16c", "")
    519 BUILTIN(__builtin_ia32_pmovsxbq256, "V4LLiV16c", "")
    520 BUILTIN(__builtin_ia32_pmovsxwd256, "V8iV8s", "")
    521 BUILTIN(__builtin_ia32_pmovsxwq256, "V4LLiV8s", "")
    522 BUILTIN(__builtin_ia32_pmovsxdq256, "V4LLiV4i", "")
    523 BUILTIN(__builtin_ia32_pmovzxbw256, "V16sV16c", "")
    524 BUILTIN(__builtin_ia32_pmovzxbd256, "V8iV16c", "")
    525 BUILTIN(__builtin_ia32_pmovzxbq256, "V4LLiV16c", "")
    526 BUILTIN(__builtin_ia32_pmovzxwd256, "V8iV8s", "")
    527 BUILTIN(__builtin_ia32_pmovzxwq256, "V4LLiV8s", "")
    528 BUILTIN(__builtin_ia32_pmovzxdq256, "V4LLiV4i", "")
    529 BUILTIN(__builtin_ia32_pmuldq256, "V4LLiV8iV8i", "")
    530 BUILTIN(__builtin_ia32_pmulhrsw256, "V16sV16sV16s", "")
    531 BUILTIN(__builtin_ia32_pmulhuw256, "V16sV16sV16s", "")
    532 BUILTIN(__builtin_ia32_pmulhw256, "V16sV16sV16s", "")
    533 BUILTIN(__builtin_ia32_pmuludq256, "V4LLiV8iV8i", "")
    534 BUILTIN(__builtin_ia32_psadbw256, "V4LLiV32cV32c", "")
    535 BUILTIN(__builtin_ia32_pshufb256, "V32cV32cV32c", "")
    536 BUILTIN(__builtin_ia32_psignb256, "V32cV32cV32c", "")
    537 BUILTIN(__builtin_ia32_psignw256, "V16sV16sV16s", "")
    538 BUILTIN(__builtin_ia32_psignd256, "V8iV8iV8i", "")
    539 BUILTIN(__builtin_ia32_pslldqi256, "V4LLiV4LLiIi", "")
    540 BUILTIN(__builtin_ia32_psllwi256, "V16sV16si", "")
    541 BUILTIN(__builtin_ia32_psllw256, "V16sV16sV8s", "")
    542 BUILTIN(__builtin_ia32_pslldi256, "V8iV8ii", "")
    543 BUILTIN(__builtin_ia32_pslld256, "V8iV8iV4i", "")
    544 BUILTIN(__builtin_ia32_psllqi256, "V4LLiV4LLii", "")
    545 BUILTIN(__builtin_ia32_psllq256, "V4LLiV4LLiV2LLi", "")
    546 BUILTIN(__builtin_ia32_psrawi256, "V16sV16si", "")
    547 BUILTIN(__builtin_ia32_psraw256, "V16sV16sV8s", "")
    548 BUILTIN(__builtin_ia32_psradi256, "V8iV8ii", "")
    549 BUILTIN(__builtin_ia32_psrad256, "V8iV8iV4i", "")
    550 BUILTIN(__builtin_ia32_psrldqi256, "V4LLiV4LLiIi", "")
    551 BUILTIN(__builtin_ia32_psrlwi256, "V16sV16si", "")
    552 BUILTIN(__builtin_ia32_psrlw256, "V16sV16sV8s", "")
    553 BUILTIN(__builtin_ia32_psrldi256, "V8iV8ii", "")
    554 BUILTIN(__builtin_ia32_psrld256, "V8iV8iV4i", "")
    555 BUILTIN(__builtin_ia32_psrlqi256, "V4LLiV4LLii", "")
    556 BUILTIN(__builtin_ia32_psrlq256, "V4LLiV4LLiV2LLi", "")
    557 BUILTIN(__builtin_ia32_movntdqa256, "V4LLiV4LLi*", "")
    558 BUILTIN(__builtin_ia32_vbroadcastss_ps, "V4fV4f", "")
    559 BUILTIN(__builtin_ia32_vbroadcastss_ps256, "V8fV4f", "")
    560 BUILTIN(__builtin_ia32_vbroadcastsd_pd256, "V4dV2d", "")
    561 BUILTIN(__builtin_ia32_vbroadcastsi256, "V4LLiV2LLi", "")
    562 BUILTIN(__builtin_ia32_pblendd128, "V4iV4iV4iIi", "")
    563 BUILTIN(__builtin_ia32_pblendd256, "V8iV8iV8iIi", "")
    564 BUILTIN(__builtin_ia32_pbroadcastb256, "V32cV16c", "")
    565 BUILTIN(__builtin_ia32_pbroadcastw256, "V16sV8s", "")
    566 BUILTIN(__builtin_ia32_pbroadcastd256, "V8iV4i", "")
    567 BUILTIN(__builtin_ia32_pbroadcastq256, "V4LLiV2LLi", "")
    568 BUILTIN(__builtin_ia32_pbroadcastb128, "V16cV16c", "")
    569 BUILTIN(__builtin_ia32_pbroadcastw128, "V8sV8s", "")
    570 BUILTIN(__builtin_ia32_pbroadcastd128, "V4iV4i", "")
    571 BUILTIN(__builtin_ia32_pbroadcastq128, "V2LLiV2LLi", "")
    572 BUILTIN(__builtin_ia32_permvarsi256, "V8iV8iV8i", "")
    573 BUILTIN(__builtin_ia32_permvarsf256, "V8fV8fV8f", "")
    574 BUILTIN(__builtin_ia32_permti256, "V4LLiV4LLiV4LLiIc", "")
    575 BUILTIN(__builtin_ia32_extract128i256, "V2LLiV4LLiIc", "")
    576 BUILTIN(__builtin_ia32_insert128i256, "V4LLiV4LLiV2LLiIc", "")
    577 BUILTIN(__builtin_ia32_maskloadd256, "V8iV8iC*V8i", "")
    578 BUILTIN(__builtin_ia32_maskloadq256, "V4LLiV4LLiC*V4LLi", "")
    579 BUILTIN(__builtin_ia32_maskloadd, "V4iV4iC*V4i", "")
    580 BUILTIN(__builtin_ia32_maskloadq, "V2LLiV2LLiC*V2LLi", "")
    581 BUILTIN(__builtin_ia32_maskstored256, "vV8i*V8iV8i", "")
    582 BUILTIN(__builtin_ia32_maskstoreq256, "vV4LLi*V4LLiV4LLi", "")
    583 BUILTIN(__builtin_ia32_maskstored, "vV4i*V4iV4i", "")
    584 BUILTIN(__builtin_ia32_maskstoreq, "vV2LLi*V2LLiV2LLi", "")
    585 BUILTIN(__builtin_ia32_psllv8si, "V8iV8iV8i", "")
    586 BUILTIN(__builtin_ia32_psllv4si, "V4iV4iV4i", "")
    587 BUILTIN(__builtin_ia32_psllv4di, "V4LLiV4LLiV4LLi", "")
    588 BUILTIN(__builtin_ia32_psllv2di, "V2LLiV2LLiV2LLi", "")
    589 BUILTIN(__builtin_ia32_psrav8si, "V8iV8iV8i", "")
    590 BUILTIN(__builtin_ia32_psrav4si, "V4iV4iV4i", "")
    591 BUILTIN(__builtin_ia32_psrlv8si, "V8iV8iV8i", "")
    592 BUILTIN(__builtin_ia32_psrlv4si, "V4iV4iV4i", "")
    593 BUILTIN(__builtin_ia32_psrlv4di, "V4LLiV4LLiV4LLi", "")
    594 BUILTIN(__builtin_ia32_psrlv2di, "V2LLiV2LLiV2LLi", "")
    595 
    596 // GATHER
    597 BUILTIN(__builtin_ia32_gatherd_pd, "V2dV2dV2dC*V4iV2dIc", "")
    598 BUILTIN(__builtin_ia32_gatherd_pd256, "V4dV4dV4dC*V4iV4dIc", "")
    599 BUILTIN(__builtin_ia32_gatherq_pd, "V2dV2dV2dC*V2LLiV2dIc", "")
    600 BUILTIN(__builtin_ia32_gatherq_pd256, "V4dV4dV4dC*V4LLiV4dIc", "")
    601 BUILTIN(__builtin_ia32_gatherd_ps, "V4fV4fV4fC*V4iV4fIc", "")
    602 BUILTIN(__builtin_ia32_gatherd_ps256, "V8fV8fV8fC*V8iV8fIc", "")
    603 BUILTIN(__builtin_ia32_gatherq_ps, "V4fV4fV4fC*V2LLiV4fIc", "")
    604 BUILTIN(__builtin_ia32_gatherq_ps256, "V4fV4fV4fC*V4LLiV4fIc", "")
    605 
    606 BUILTIN(__builtin_ia32_gatherd_q, "V2LLiV2LLiV2LLiC*V4iV2LLiIc", "")
    607 BUILTIN(__builtin_ia32_gatherd_q256, "V4LLiV4LLiV4LLiC*V4iV4LLiIc", "")
    608 BUILTIN(__builtin_ia32_gatherq_q, "V2LLiV2LLiV2LLiC*V2LLiV2LLiIc", "")
    609 BUILTIN(__builtin_ia32_gatherq_q256, "V4LLiV4LLiV4LLiC*V4LLiV4LLiIc", "")
    610 BUILTIN(__builtin_ia32_gatherd_d, "V4iV4iV4iC*V4iV4iIc", "")
    611 BUILTIN(__builtin_ia32_gatherd_d256, "V8iV8iV8iC*V8iV8iIc", "")
    612 BUILTIN(__builtin_ia32_gatherq_d, "V4iV4iV4iC*V2LLiV4iIc", "")
    613 BUILTIN(__builtin_ia32_gatherq_d256, "V4iV4iV4iC*V4LLiV4iIc", "")
    614 
    615 // F16C
    616 BUILTIN(__builtin_ia32_vcvtps2ph, "V8sV4fIi", "")
    617 BUILTIN(__builtin_ia32_vcvtps2ph256, "V8sV8fIi", "")
    618 BUILTIN(__builtin_ia32_vcvtph2ps, "V4fV8s", "")
    619 BUILTIN(__builtin_ia32_vcvtph2ps256, "V8fV8s", "")
    620 
    621 // RDRAND
    622 BUILTIN(__builtin_ia32_rdrand16_step, "UiUs*", "")
    623 BUILTIN(__builtin_ia32_rdrand32_step, "UiUi*", "")
    624 BUILTIN(__builtin_ia32_rdrand64_step, "UiULLi*", "")
    625 
    626 // RDSEED
    627 BUILTIN(__builtin_ia32_rdseed16_step, "UiUs*", "")
    628 BUILTIN(__builtin_ia32_rdseed32_step, "UiUi*", "")
    629 BUILTIN(__builtin_ia32_rdseed64_step, "UiULLi*", "")
    630 
    631 // BMI
    632 BUILTIN(__builtin_ia32_bextr_u32, "UiUiUi", "")
    633 BUILTIN(__builtin_ia32_bextr_u64, "ULLiULLiULLi", "")
    634 
    635 // BMI2
    636 BUILTIN(__builtin_ia32_bzhi_si, "UiUiUi", "")
    637 BUILTIN(__builtin_ia32_bzhi_di, "ULLiULLiULLi", "")
    638 BUILTIN(__builtin_ia32_pdep_si, "UiUiUi", "")
    639 BUILTIN(__builtin_ia32_pdep_di, "ULLiULLiULLi", "")
    640 BUILTIN(__builtin_ia32_pext_si, "UiUiUi", "")
    641 BUILTIN(__builtin_ia32_pext_di, "ULLiULLiULLi", "")
    642 
    643 // TBM
    644 BUILTIN(__builtin_ia32_bextri_u32, "UiUiIUi", "")
    645 BUILTIN(__builtin_ia32_bextri_u64, "ULLiULLiIULLi", "")
    646 
    647 // SHA
    648 BUILTIN(__builtin_ia32_sha1rnds4, "V4iV4iV4iIc", "")
    649 BUILTIN(__builtin_ia32_sha1nexte, "V4iV4iV4i", "")
    650 BUILTIN(__builtin_ia32_sha1msg1, "V4iV4iV4i", "")
    651 BUILTIN(__builtin_ia32_sha1msg2, "V4iV4iV4i", "")
    652 BUILTIN(__builtin_ia32_sha256rnds2, "V4iV4iV4iV4i", "")
    653 BUILTIN(__builtin_ia32_sha256msg1, "V4iV4iV4i", "")
    654 BUILTIN(__builtin_ia32_sha256msg2, "V4iV4iV4i", "")
    655 
    656 // FMA4
    657 BUILTIN(__builtin_ia32_vfmaddps, "V4fV4fV4fV4f", "")
    658 BUILTIN(__builtin_ia32_vfmaddpd, "V2dV2dV2dV2d", "")
    659 BUILTIN(__builtin_ia32_vfmaddss, "V4fV4fV4fV4f", "")
    660 BUILTIN(__builtin_ia32_vfmaddsd, "V2dV2dV2dV2d", "")
    661 BUILTIN(__builtin_ia32_vfmsubps, "V4fV4fV4fV4f", "")
    662 BUILTIN(__builtin_ia32_vfmsubpd, "V2dV2dV2dV2d", "")
    663 BUILTIN(__builtin_ia32_vfmsubss, "V4fV4fV4fV4f", "")
    664 BUILTIN(__builtin_ia32_vfmsubsd, "V2dV2dV2dV2d", "")
    665 BUILTIN(__builtin_ia32_vfnmaddps, "V4fV4fV4fV4f", "")
    666 BUILTIN(__builtin_ia32_vfnmaddpd, "V2dV2dV2dV2d", "")
    667 BUILTIN(__builtin_ia32_vfnmaddss, "V4fV4fV4fV4f", "")
    668 BUILTIN(__builtin_ia32_vfnmaddsd, "V2dV2dV2dV2d", "")
    669 BUILTIN(__builtin_ia32_vfnmsubps, "V4fV4fV4fV4f", "")
    670 BUILTIN(__builtin_ia32_vfnmsubpd, "V2dV2dV2dV2d", "")
    671 BUILTIN(__builtin_ia32_vfnmsubss, "V4fV4fV4fV4f", "")
    672 BUILTIN(__builtin_ia32_vfnmsubsd, "V2dV2dV2dV2d", "")
    673 BUILTIN(__builtin_ia32_vfmaddsubps, "V4fV4fV4fV4f", "")
    674 BUILTIN(__builtin_ia32_vfmaddsubpd, "V2dV2dV2dV2d", "")
    675 BUILTIN(__builtin_ia32_vfmsubaddps, "V4fV4fV4fV4f", "")
    676 BUILTIN(__builtin_ia32_vfmsubaddpd, "V2dV2dV2dV2d", "")
    677 BUILTIN(__builtin_ia32_vfmaddps256, "V8fV8fV8fV8f", "")
    678 BUILTIN(__builtin_ia32_vfmaddpd256, "V4dV4dV4dV4d", "")
    679 BUILTIN(__builtin_ia32_vfmsubps256, "V8fV8fV8fV8f", "")
    680 BUILTIN(__builtin_ia32_vfmsubpd256, "V4dV4dV4dV4d", "")
    681 BUILTIN(__builtin_ia32_vfnmaddps256, "V8fV8fV8fV8f", "")
    682 BUILTIN(__builtin_ia32_vfnmaddpd256, "V4dV4dV4dV4d", "")
    683 BUILTIN(__builtin_ia32_vfnmsubps256, "V8fV8fV8fV8f", "")
    684 BUILTIN(__builtin_ia32_vfnmsubpd256, "V4dV4dV4dV4d", "")
    685 BUILTIN(__builtin_ia32_vfmaddsubps256, "V8fV8fV8fV8f", "")
    686 BUILTIN(__builtin_ia32_vfmaddsubpd256, "V4dV4dV4dV4d", "")
    687 BUILTIN(__builtin_ia32_vfmsubaddps256, "V8fV8fV8fV8f", "")
    688 BUILTIN(__builtin_ia32_vfmsubaddpd256, "V4dV4dV4dV4d", "")
    689 
    690 // XOP
    691 BUILTIN(__builtin_ia32_vpmacssww, "V8sV8sV8sV8s", "")
    692 BUILTIN(__builtin_ia32_vpmacsww, "V8sV8sV8sV8s", "")
    693 BUILTIN(__builtin_ia32_vpmacsswd, "V4iV8sV8sV4i", "")
    694 BUILTIN(__builtin_ia32_vpmacswd, "V4iV8sV8sV4i", "")
    695 BUILTIN(__builtin_ia32_vpmacssdd, "V4iV4iV4iV4i", "")
    696 BUILTIN(__builtin_ia32_vpmacsdd, "V4iV4iV4iV4i", "")
    697 BUILTIN(__builtin_ia32_vpmacssdql, "V2LLiV4iV4iV2LLi", "")
    698 BUILTIN(__builtin_ia32_vpmacsdql, "V2LLiV4iV4iV2LLi", "")
    699 BUILTIN(__builtin_ia32_vpmacssdqh, "V2LLiV4iV4iV2LLi", "")
    700 BUILTIN(__builtin_ia32_vpmacsdqh, "V2LLiV4iV4iV2LLi", "")
    701 BUILTIN(__builtin_ia32_vpmadcsswd, "V4iV8sV8sV4i", "")
    702 BUILTIN(__builtin_ia32_vpmadcswd, "V4iV8sV8sV4i", "")
    703 
    704 BUILTIN(__builtin_ia32_vphaddbw, "V8sV16c", "")
    705 BUILTIN(__builtin_ia32_vphaddbd, "V4iV16c", "")
    706 BUILTIN(__builtin_ia32_vphaddbq, "V2LLiV16c", "")
    707 BUILTIN(__builtin_ia32_vphaddwd, "V4iV8s", "")
    708 BUILTIN(__builtin_ia32_vphaddwq, "V2LLiV8s", "")
    709 BUILTIN(__builtin_ia32_vphadddq, "V2LLiV4i", "")
    710 BUILTIN(__builtin_ia32_vphaddubw, "V8sV16c", "")
    711 BUILTIN(__builtin_ia32_vphaddubd, "V4iV16c", "")
    712 BUILTIN(__builtin_ia32_vphaddubq, "V2LLiV16c", "")
    713 BUILTIN(__builtin_ia32_vphadduwd, "V4iV8s", "")
    714 BUILTIN(__builtin_ia32_vphadduwq, "V2LLiV8s", "")
    715 BUILTIN(__builtin_ia32_vphaddudq, "V2LLiV4i", "")
    716 BUILTIN(__builtin_ia32_vphsubbw, "V8sV16c", "")
    717 BUILTIN(__builtin_ia32_vphsubwd, "V4iV8s", "")
    718 BUILTIN(__builtin_ia32_vphsubdq, "V2LLiV4i", "")
    719 BUILTIN(__builtin_ia32_vpcmov, "V2LLiV2LLiV2LLiV2LLi", "")
    720 BUILTIN(__builtin_ia32_vpcmov_256, "V4LLiV4LLiV4LLiV4LLi", "")
    721 BUILTIN(__builtin_ia32_vpperm, "V16cV16cV16cV16c", "")
    722 BUILTIN(__builtin_ia32_vprotb, "V16cV16cV16c", "")
    723 BUILTIN(__builtin_ia32_vprotw, "V8sV8sV8s", "")
    724 BUILTIN(__builtin_ia32_vprotd, "V4iV4iV4i", "")
    725 BUILTIN(__builtin_ia32_vprotq, "V2LLiV2LLiV2LLi", "")
    726 BUILTIN(__builtin_ia32_vprotbi, "V16cV16cIc", "")
    727 BUILTIN(__builtin_ia32_vprotwi, "V8sV8sIc", "")
    728 BUILTIN(__builtin_ia32_vprotdi, "V4iV4iIc", "")
    729 BUILTIN(__builtin_ia32_vprotqi, "V2LLiV2LLiIc", "")
    730 BUILTIN(__builtin_ia32_vpshlb, "V16cV16cV16c", "")
    731 BUILTIN(__builtin_ia32_vpshlw, "V8sV8sV8s", "")
    732 BUILTIN(__builtin_ia32_vpshld, "V4iV4iV4i", "")
    733 BUILTIN(__builtin_ia32_vpshlq, "V2LLiV2LLiV2LLi", "")
    734 BUILTIN(__builtin_ia32_vpshab, "V16cV16cV16c", "")
    735 BUILTIN(__builtin_ia32_vpshaw, "V8sV8sV8s", "")
    736 BUILTIN(__builtin_ia32_vpshad, "V4iV4iV4i", "")
    737 BUILTIN(__builtin_ia32_vpshaq, "V2LLiV2LLiV2LLi", "")
    738 BUILTIN(__builtin_ia32_vpcomub, "V16cV16cV16cIc", "")
    739 BUILTIN(__builtin_ia32_vpcomuw, "V8sV8sV8sIc", "")
    740 BUILTIN(__builtin_ia32_vpcomud, "V4iV4iV4iIc", "")
    741 BUILTIN(__builtin_ia32_vpcomuq, "V2LLiV2LLiV2LLiIc", "")
    742 BUILTIN(__builtin_ia32_vpcomb, "V16cV16cV16cIc", "")
    743 BUILTIN(__builtin_ia32_vpcomw, "V8sV8sV8sIc", "")
    744 BUILTIN(__builtin_ia32_vpcomd, "V4iV4iV4iIc", "")
    745 BUILTIN(__builtin_ia32_vpcomq, "V2LLiV2LLiV2LLiIc", "")
    746 BUILTIN(__builtin_ia32_vpermil2pd, "V2dV2dV2dV2LLiIc", "")
    747 BUILTIN(__builtin_ia32_vpermil2pd256, "V4dV4dV4dV4LLiIc", "")
    748 BUILTIN(__builtin_ia32_vpermil2ps, "V4fV4fV4fV4iIc", "")
    749 BUILTIN(__builtin_ia32_vpermil2ps256, "V8fV8fV8fV8iIc", "")
    750 BUILTIN(__builtin_ia32_vfrczss, "V4fV4f", "")
    751 BUILTIN(__builtin_ia32_vfrczsd, "V2dV2d", "")
    752 BUILTIN(__builtin_ia32_vfrczps, "V4fV4f", "")
    753 BUILTIN(__builtin_ia32_vfrczpd, "V2dV2d", "")
    754 BUILTIN(__builtin_ia32_vfrczps256, "V8fV8f", "")
    755 BUILTIN(__builtin_ia32_vfrczpd256, "V4dV4d", "")
    756 BUILTIN(__builtin_ia32_xbegin, "i", "")
    757 BUILTIN(__builtin_ia32_xend, "v", "")
    758 BUILTIN(__builtin_ia32_xabort, "vIc", "")
    759 BUILTIN(__builtin_ia32_xtest, "i", "")
    760 BUILTIN(__builtin_ia32_rdpmc, "ULLii", "")
    761 BUILTIN(__builtin_ia32_rdtsc, "ULLi", "")
    762 BUILTIN(__builtin_ia32_rdtscp, "ULLiUi*", "")
    763 
    764 #undef BUILTIN
    765