Skip to content

Commit a394d50

Browse files
committed
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
1 parent e1489ca commit a394d50

File tree

1 file changed

+20
-0
lines changed
  • src/librustc_platform_intrinsics

1 file changed

+20
-0
lines changed

src/librustc_platform_intrinsics/x86.rs

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -498,6 +498,16 @@ pub fn find<'tcx>(_tcx: &TyCtxt<'tcx>, name: &str) -> Option<Intrinsic> {
498498
output: v(f(64), 4),
499499
definition: Named("llvm.x86.avx.addsub.pd.256")
500500
},
501+
"256_blendv_ps" => Intrinsic {
502+
inputs: vec![v(f(32), 8), v(f(32), 8), v(f(32), 8)],
503+
output: v(f(32), 8),
504+
definition: Named("llvm.x86.avx.blendv.ps.256")
505+
},
506+
"256_blendv_pd" => Intrinsic {
507+
inputs: vec![v(f(64), 4), v(f(64), 4), v(f(64), 4)],
508+
output: v(f(64), 4),
509+
definition: Named("llvm.x86.avx.blendv.pd.256")
510+
},
501511
"256_broadcast_ps" => Intrinsic {
502512
inputs: vec![p(true, i(8), None)],
503513
output: v(f(32), 8),
@@ -508,6 +518,16 @@ pub fn find<'tcx>(_tcx: &TyCtxt<'tcx>, name: &str) -> Option<Intrinsic> {
508518
output: v(f(64), 4),
509519
definition: Named("llvm.x86.avx.vbroadcastf128.pd.256")
510520
},
521+
"256_cmp_ps" => Intrinsic {
522+
inputs: vec![v(f(32), 8), v(f(32), 8), i(8)],
523+
output: v(f(32), 8),
524+
definition: Named("llvm.x86.avx.cmp.ps.256")
525+
},
526+
"256_cmp_pd" => Intrinsic {
527+
inputs: vec![v(f(64), 4), v(f(64), 4), i(8)],
528+
output: v(f(64), 4),
529+
definition: Named("llvm.x86.avx.cmp.pd.256")
530+
},
511531
"256_cvtepi32_pd" => Intrinsic {
512532
inputs: vec![v(i(32), 4)],
513533
output: v(f(64), 4),

0 commit comments

Comments
 (0)