[x86] Put 'C' after 'i' on all the AVX-512 intrisics that take const ints. 'C' is a suffix modifier not a prefix modififier. Also put 'C' on the pointers in all of the gather instrinsics. I think they previously had one due to the misordering. I'm still thinking the 'iC' actually need to be a 'Ii' since they really require an ICE.

llvm-svn: 224913
This commit is contained in:
Craig Topper 2014-12-29 06:41:12 +00:00
parent be4c437f8a
commit 6c0d9edbc7
1 changed files with 55 additions and 55 deletions

View File

@ -820,29 +820,29 @@ BUILTIN(__builtin_ia32_rdtsc, "ULLi", "")
BUILTIN(__builtin_ia32_rdtscp, "ULLiUi*", "") BUILTIN(__builtin_ia32_rdtscp, "ULLiUi*", "")
// AVX-512 // AVX-512
BUILTIN(__builtin_ia32_sqrtpd512_mask, "V8dV8dV8dUcCi", "") BUILTIN(__builtin_ia32_sqrtpd512_mask, "V8dV8dV8dUciC", "")
BUILTIN(__builtin_ia32_sqrtps512_mask, "V16fV16fV16fUsCi", "") BUILTIN(__builtin_ia32_sqrtps512_mask, "V16fV16fV16fUsiC", "")
BUILTIN(__builtin_ia32_rsqrt14sd_mask, "V2dV2dV2dV2dUc", "") BUILTIN(__builtin_ia32_rsqrt14sd_mask, "V2dV2dV2dV2dUc", "")
BUILTIN(__builtin_ia32_rsqrt14ss_mask, "V4fV4fV4fV4fUc", "") BUILTIN(__builtin_ia32_rsqrt14ss_mask, "V4fV4fV4fV4fUc", "")
BUILTIN(__builtin_ia32_rsqrt14pd512_mask, "V8dV8dV8dUc", "") BUILTIN(__builtin_ia32_rsqrt14pd512_mask, "V8dV8dV8dUc", "")
BUILTIN(__builtin_ia32_rsqrt14ps512_mask, "V16fV16fV16fUs", "") BUILTIN(__builtin_ia32_rsqrt14ps512_mask, "V16fV16fV16fUs", "")
BUILTIN(__builtin_ia32_rsqrt28sd_mask, "V2dV2dV2dV2dUcCi", "") BUILTIN(__builtin_ia32_rsqrt28sd_mask, "V2dV2dV2dV2dUciC", "")
BUILTIN(__builtin_ia32_rsqrt28ss_mask, "V4fV4fV4fV4fUcCi", "") BUILTIN(__builtin_ia32_rsqrt28ss_mask, "V4fV4fV4fV4fUciC", "")
BUILTIN(__builtin_ia32_rsqrt28pd_mask, "V8dV8dV8dUcCi", "") BUILTIN(__builtin_ia32_rsqrt28pd_mask, "V8dV8dV8dUciC", "")
BUILTIN(__builtin_ia32_rsqrt28ps_mask, "V16fV16fV16fUsCi", "") BUILTIN(__builtin_ia32_rsqrt28ps_mask, "V16fV16fV16fUsiC", "")
BUILTIN(__builtin_ia32_rcp14sd_mask, "V2dV2dV2dV2dUc", "") BUILTIN(__builtin_ia32_rcp14sd_mask, "V2dV2dV2dV2dUc", "")
BUILTIN(__builtin_ia32_rcp14ss_mask, "V4fV4fV4fV4fUc", "") BUILTIN(__builtin_ia32_rcp14ss_mask, "V4fV4fV4fV4fUc", "")
BUILTIN(__builtin_ia32_rcp14pd512_mask, "V8dV8dV8dUc", "") BUILTIN(__builtin_ia32_rcp14pd512_mask, "V8dV8dV8dUc", "")
BUILTIN(__builtin_ia32_rcp14ps512_mask, "V16fV16fV16fUs", "") BUILTIN(__builtin_ia32_rcp14ps512_mask, "V16fV16fV16fUs", "")
BUILTIN(__builtin_ia32_rcp28sd_mask, "V2dV2dV2dV2dUcCi", "") BUILTIN(__builtin_ia32_rcp28sd_mask, "V2dV2dV2dV2dUciC", "")
BUILTIN(__builtin_ia32_rcp28ss_mask, "V4fV4fV4fV4fUcCi", "") BUILTIN(__builtin_ia32_rcp28ss_mask, "V4fV4fV4fV4fUciC", "")
BUILTIN(__builtin_ia32_rcp28pd_mask, "V8dV8dV8dUcCi", "") BUILTIN(__builtin_ia32_rcp28pd_mask, "V8dV8dV8dUciC", "")
BUILTIN(__builtin_ia32_rcp28ps_mask, "V16fV16fV16fUsCi", "") BUILTIN(__builtin_ia32_rcp28ps_mask, "V16fV16fV16fUsiC", "")
BUILTIN(__builtin_ia32_cvttps2dq512_mask, "V16iV16fV16iUsCi", "") BUILTIN(__builtin_ia32_cvttps2dq512_mask, "V16iV16fV16iUsiC", "")
BUILTIN(__builtin_ia32_cvttps2udq512_mask, "V16iV16fV16iUsCi", "") BUILTIN(__builtin_ia32_cvttps2udq512_mask, "V16iV16fV16iUsiC", "")
BUILTIN(__builtin_ia32_cvttpd2dq512_mask, "V8iV8dV8iUcCi", "") BUILTIN(__builtin_ia32_cvttpd2dq512_mask, "V8iV8dV8iUciC", "")
BUILTIN(__builtin_ia32_cvttpd2udq512_mask, "V8iV8dV8iUcCi", "") BUILTIN(__builtin_ia32_cvttpd2udq512_mask, "V8iV8dV8iUciC", "")
BUILTIN(__builtin_ia32_cmpps512_mask, "UsV16fV16fCiUsi", "") BUILTIN(__builtin_ia32_cmpps512_mask, "UsV16fV16fIiUsi", "")
BUILTIN(__builtin_ia32_pcmpeqb512_mask, "LLiV64cV64cLLi", "") BUILTIN(__builtin_ia32_pcmpeqb512_mask, "LLiV64cV64cLLi", "")
BUILTIN(__builtin_ia32_pcmpeqd512_mask, "sV16iV16is", "") BUILTIN(__builtin_ia32_pcmpeqd512_mask, "sV16iV16is", "")
BUILTIN(__builtin_ia32_pcmpeqq512_mask, "cV8LLiV8LLic", "") BUILTIN(__builtin_ia32_pcmpeqq512_mask, "cV8LLiV8LLic", "")
@ -855,24 +855,24 @@ BUILTIN(__builtin_ia32_pcmpeqb128_mask, "sV16cV16cs", "")
BUILTIN(__builtin_ia32_pcmpeqd128_mask, "cV4iV4ic", "") BUILTIN(__builtin_ia32_pcmpeqd128_mask, "cV4iV4ic", "")
BUILTIN(__builtin_ia32_pcmpeqq128_mask, "cV2LLiV2LLic", "") BUILTIN(__builtin_ia32_pcmpeqq128_mask, "cV2LLiV2LLic", "")
BUILTIN(__builtin_ia32_pcmpeqw128_mask, "cV8sV8sc", "") BUILTIN(__builtin_ia32_pcmpeqw128_mask, "cV8sV8sc", "")
BUILTIN(__builtin_ia32_cmppd512_mask, "UcV8dV8dCiUci", "") BUILTIN(__builtin_ia32_cmppd512_mask, "UcV8dV8diCUci", "")
BUILTIN(__builtin_ia32_rndscaleps_mask, "V16fV16fCiV16fUsCi", "") BUILTIN(__builtin_ia32_rndscaleps_mask, "V16fV16fiCV16fUsiC", "")
BUILTIN(__builtin_ia32_rndscalepd_mask, "V8dV8dCiV8dUcCi", "") BUILTIN(__builtin_ia32_rndscalepd_mask, "V8dV8diCV8dUciC", "")
BUILTIN(__builtin_ia32_cvtps2dq512_mask, "V16iV16fV16iUsCi", "") BUILTIN(__builtin_ia32_cvtps2dq512_mask, "V16iV16fV16iUsiC", "")
BUILTIN(__builtin_ia32_cvtpd2dq512_mask, "V8iV8dV8iUcCi", "") BUILTIN(__builtin_ia32_cvtpd2dq512_mask, "V8iV8dV8iUciC", "")
BUILTIN(__builtin_ia32_cvtps2udq512_mask, "V16iV16fV16iUsCi", "") BUILTIN(__builtin_ia32_cvtps2udq512_mask, "V16iV16fV16iUsiC", "")
BUILTIN(__builtin_ia32_cvtpd2udq512_mask, "V8iV8dV8iUcCi", "") BUILTIN(__builtin_ia32_cvtpd2udq512_mask, "V8iV8dV8iUciC", "")
BUILTIN(__builtin_ia32_minps512_mask, "V16fV16fV16fV16fUsCi", "") BUILTIN(__builtin_ia32_minps512_mask, "V16fV16fV16fV16fUsiC", "")
BUILTIN(__builtin_ia32_minpd512_mask, "V8dV8dV8dV8dUcCi", "") BUILTIN(__builtin_ia32_minpd512_mask, "V8dV8dV8dV8dUciC", "")
BUILTIN(__builtin_ia32_maxps512_mask, "V16fV16fV16fV16fUsCi", "") BUILTIN(__builtin_ia32_maxps512_mask, "V16fV16fV16fV16fUsiC", "")
BUILTIN(__builtin_ia32_maxpd512_mask, "V8dV8dV8dV8dUcCi", "") BUILTIN(__builtin_ia32_maxpd512_mask, "V8dV8dV8dV8dUciC", "")
BUILTIN(__builtin_ia32_cvtdq2ps512_mask, "V16fV16iV16fUsCi", "") BUILTIN(__builtin_ia32_cvtdq2ps512_mask, "V16fV16iV16fUsiC", "")
BUILTIN(__builtin_ia32_cvtudq2ps512_mask, "V16fV16iV16fUsCi", "") BUILTIN(__builtin_ia32_cvtudq2ps512_mask, "V16fV16iV16fUsiC", "")
BUILTIN(__builtin_ia32_cvtdq2pd512_mask, "V8dV8iV8dUc", "") BUILTIN(__builtin_ia32_cvtdq2pd512_mask, "V8dV8iV8dUc", "")
BUILTIN(__builtin_ia32_cvtudq2pd512_mask, "V8dV8iV8dUc", "") BUILTIN(__builtin_ia32_cvtudq2pd512_mask, "V8dV8iV8dUc", "")
BUILTIN(__builtin_ia32_cvtpd2ps512_mask, "V8fV8dV8fUcCi", "") BUILTIN(__builtin_ia32_cvtpd2ps512_mask, "V8fV8dV8fUciC", "")
BUILTIN(__builtin_ia32_vcvtps2ph512_mask, "V16sV16fCiV16sUs", "") BUILTIN(__builtin_ia32_vcvtps2ph512_mask, "V16sV16fiCV16sUs", "")
BUILTIN(__builtin_ia32_vcvtph2ps512_mask, "V16fV16sV16fUsCi", "") BUILTIN(__builtin_ia32_vcvtph2ps512_mask, "V16fV16sV16fUsiC", "")
BUILTIN(__builtin_ia32_pabsd512_mask, "V16iV16iV16iUs", "") BUILTIN(__builtin_ia32_pabsd512_mask, "V16iV16iV16iUs", "")
BUILTIN(__builtin_ia32_pabsq512_mask, "V8LLiV8LLiV8LLiUc", "") BUILTIN(__builtin_ia32_pabsq512_mask, "V8LLiV8LLiV8LLiUc", "")
BUILTIN(__builtin_ia32_pmaxsd512_mask, "V16iV16iV16iV16iUs", "") BUILTIN(__builtin_ia32_pmaxsd512_mask, "V16iV16iV16iV16iUs", "")
@ -908,30 +908,30 @@ BUILTIN(__builtin_ia32_vpermt2varps512_mask, "V16fV16iV16fV16fUs", "")
BUILTIN(__builtin_ia32_vpermt2varpd512_mask, "V8dV8LLiV8dV8dUc", "") BUILTIN(__builtin_ia32_vpermt2varpd512_mask, "V8dV8LLiV8dV8dUc", "")
BUILTIN(__builtin_ia32_alignq512_mask, "V8LLiV8LLiV8LLiUcV8LLiUc", "") BUILTIN(__builtin_ia32_alignq512_mask, "V8LLiV8LLiV8LLiUcV8LLiUc", "")
BUILTIN(__builtin_ia32_alignd512_mask, "V16iV16iV16iUcV16iUc", "") BUILTIN(__builtin_ia32_alignd512_mask, "V16iV16iV16iUcV16iUc", "")
BUILTIN(__builtin_ia32_gathersiv8df, "V8dV8dv*V8iUcCi", "") BUILTIN(__builtin_ia32_gathersiv8df, "V8dV8dvC*V8iUciC", "")
BUILTIN(__builtin_ia32_gathersiv16sf, "V16fV16fv*UsCi", "") BUILTIN(__builtin_ia32_gathersiv16sf, "V16fV16fvC*UsiC", "")
BUILTIN(__builtin_ia32_gatherdiv8df, "V8dV8dv*V8LLiUcCi", "") BUILTIN(__builtin_ia32_gatherdiv8df, "V8dV8dvC*V8LLiUciC", "")
BUILTIN(__builtin_ia32_gatherdiv16sf, "V8fV8fv*V8LLiUcCi", "") BUILTIN(__builtin_ia32_gatherdiv16sf, "V8fV8fvC*V8LLiUciC", "")
BUILTIN(__builtin_ia32_gathersiv8di, "V8LLiV8LLiv*V8iUcCi", "") BUILTIN(__builtin_ia32_gathersiv8di, "V8LLiV8LLivC*V8iUciC", "")
BUILTIN(__builtin_ia32_gathersiv16si, "V16iV16iv*UsCi", "") BUILTIN(__builtin_ia32_gathersiv16si, "V16iV16ivC*UsiC", "")
BUILTIN(__builtin_ia32_gatherdiv8di, "V8LLiV8LLiv*V8LLiUcCi", "") BUILTIN(__builtin_ia32_gatherdiv8di, "V8LLiV8LLivC*V8LLiUciC", "")
BUILTIN(__builtin_ia32_gatherdiv16si, "V8iV8iv*V8LLiUcCi", "") BUILTIN(__builtin_ia32_gatherdiv16si, "V8iV8ivC*V8LLiUciC", "")
BUILTIN(__builtin_ia32_scattersiv8df, "vv*UcV8iV8dCi", "") BUILTIN(__builtin_ia32_scattersiv8df, "vv*UcV8iV8diC", "")
BUILTIN(__builtin_ia32_scattersiv16sf, "vv*UsV16iV16fCi", "") BUILTIN(__builtin_ia32_scattersiv16sf, "vv*UsV16iV16fiC", "")
BUILTIN(__builtin_ia32_scatterdiv8df, "vv*UcV8LLiV8dCi", "") BUILTIN(__builtin_ia32_scatterdiv8df, "vv*UcV8LLiV8diC", "")
BUILTIN(__builtin_ia32_scatterdiv16sf, "vv*UcV8LLiV8fCi", "") BUILTIN(__builtin_ia32_scatterdiv16sf, "vv*UcV8LLiV8fiC", "")
BUILTIN(__builtin_ia32_scattersiv8di, "vv*UcV8iV8LLiCi", "") BUILTIN(__builtin_ia32_scattersiv8di, "vv*UcV8iV8LLiiC", "")
BUILTIN(__builtin_ia32_scattersiv16si, "vv*UsV16iV16iCi", "") BUILTIN(__builtin_ia32_scattersiv16si, "vv*UsV16iV16iiC", "")
BUILTIN(__builtin_ia32_scatterdiv8di, "vv*UcV8LLiV8LLiCi", "") BUILTIN(__builtin_ia32_scatterdiv8di, "vv*UcV8LLiV8LLiiC", "")
BUILTIN(__builtin_ia32_scatterdiv16si, "vv*UcV8LLiV8iCi", "") BUILTIN(__builtin_ia32_scatterdiv16si, "vv*UcV8LLiV8iiC", "")
BUILTIN(__builtin_ia32_gatherpfdpd, "vUcV8iv*CiCi", "") BUILTIN(__builtin_ia32_gatherpfdpd, "vUcV8ivC*iCiC", "")
BUILTIN(__builtin_ia32_gatherpfdps, "vUsV16iv*CiCi", "") BUILTIN(__builtin_ia32_gatherpfdps, "vUsV16ivC*iCiC", "")
BUILTIN(__builtin_ia32_gatherpfqpd, "vUcV8LLiv*CiCi", "") BUILTIN(__builtin_ia32_gatherpfqpd, "vUcV8LLivC*iCiC", "")
BUILTIN(__builtin_ia32_gatherpfqps, "vUcV8LLiv*CiCi", "") BUILTIN(__builtin_ia32_gatherpfqps, "vUcV8LLivC*iCiC", "")
BUILTIN(__builtin_ia32_scatterpfdpd, "vUcV8iv*CiCi", "") BUILTIN(__builtin_ia32_scatterpfdpd, "vUcV8iv*iCiC", "")
BUILTIN(__builtin_ia32_scatterpfdps, "vUsV16iv*CiCi", "") BUILTIN(__builtin_ia32_scatterpfdps, "vUsV16iv*iCiC", "")
BUILTIN(__builtin_ia32_scatterpfqpd, "vUcV8LLiv*CiCi", "") BUILTIN(__builtin_ia32_scatterpfqpd, "vUcV8LLiv*iCiC", "")
BUILTIN(__builtin_ia32_scatterpfqps, "vUcV8LLiv*CiCi", "") BUILTIN(__builtin_ia32_scatterpfqps, "vUcV8LLiv*iCiC", "")
BUILTIN(__builtin_ia32_knothi, "UsUs", "") BUILTIN(__builtin_ia32_knothi, "UsUs", "")
#undef BUILTIN #undef BUILTIN