From c306853edafb8b740c3e224ce4fa1842a6924dc5 Mon Sep 17 00:00:00 2001 From: Ruud van Asseldonk Date: Wed, 9 Mar 2016 01:16:31 +0100 Subject: [PATCH] Regenerate x86 platform intrinsics The exact command used was: $ cd src/etc/platform-intrinsics/x86 $ python2 ../generator.py --format compiler-defs -i info.json \ sse.json sse2.json sse3.json ssse3.json sse41.json sse42.json \ avx.json avx2.json fma.json \ > ../../../librustc_platform_intrinsics/x86.rs --- src/librustc_platform_intrinsics/x86.rs | 50 +++++++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/src/librustc_platform_intrinsics/x86.rs b/src/librustc_platform_intrinsics/x86.rs index 168ae79ab74..d8aaf151267 100644 --- a/src/librustc_platform_intrinsics/x86.rs +++ b/src/librustc_platform_intrinsics/x86.rs @@ -498,6 +498,56 @@ pub fn find<'tcx>(_tcx: &TyCtxt<'tcx>, name: &str) -> Option { output: v(f(64), 4), definition: Named("llvm.x86.avx.addsub.pd.256") }, + "256_broadcast_ps" => Intrinsic { + inputs: vec![p(true, i(8), None)], + output: v(f(32), 8), + definition: Named("llvm.x86.avx.vbroadcastf128.ps.256") + }, + "256_broadcast_pd" => Intrinsic { + inputs: vec![p(true, i(8), None)], + output: v(f(64), 4), + definition: Named("llvm.x86.avx.vbroadcastf128.pd.256") + }, + "256_cvtepi32_pd" => Intrinsic { + inputs: vec![v(i(32), 4)], + output: v(f(64), 4), + definition: Named("llvm.x86.avx.cvtdq2.pd.256") + }, + "256_cvtepi32_ps" => Intrinsic { + inputs: vec![v(i(32), 8)], + output: v(f(32), 8), + definition: Named("llvm.x86.avx.cvtdq2.ps.256") + }, + "256_cvtpd_epi32" => Intrinsic { + inputs: vec![v(f(64), 4)], + output: v(i(32), 4), + definition: Named("llvm.x86.avx.cvt.pd2dq.256") + }, + "256_cvtpd_ps" => Intrinsic { + inputs: vec![v(f(64), 4)], + output: v(f(32), 4), + definition: Named("llvm.x86.avx.cvt.pd2.ps.256") + }, + "256_cvtps_epi32" => Intrinsic { + inputs: vec![v(f(32), 8)], + output: v(i(32), 8), + definition: Named("llvm.x86.avx.cvt.ps2dq.256") + }, + "256_cvtps_pd" => Intrinsic { + inputs: vec![v(f(32), 4)], + output: v(f(64), 4), + definition: Named("llvm.x86.avx.cvt.ps2.pd.256") + }, + "256_cvttpd_epi32" => Intrinsic { + inputs: vec![v(f(64), 4)], + output: v(i(32), 4), + definition: Named("llvm.x86.avx.cvtt.pd2dq.256") + }, + "256_cvttps_epi32" => Intrinsic { + inputs: vec![v(f(32), 8)], + output: v(i(32), 8), + definition: Named("llvm.x86.avx.cvtt.ps2dq.256") + }, "256_dp_ps" => Intrinsic { inputs: vec![v(f(32), 8), v(f(32), 8), i_(32, 8)], output: v(f(32), 8),