Skip to content

Commit c8729e9

Browse files
committed
Implement _mm256_zeroupper vendor intrinsic
1 parent 65da671 commit c8729e9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/intrinsics/llvm_x86.rs

+5
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,11 @@ pub(crate) fn codegen_x86_llvm_intrinsic_call<'tcx>(
2222
// Spin loop hint
2323
}
2424

25+
"llvm.x86.avx.vzeroupper" => {
26+
// https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm256_zeroupper&ig_expand=7218
27+
// Do nothing. It is a perf hint anyway.
28+
}
29+
2530
// Used by is_x86_feature_detected!();
2631
"llvm.x86.xgetbv" => {
2732
intrinsic_args!(fx, args => (xcr_no); intrinsic);

0 commit comments

Comments
 (0)