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