File tree Expand file tree Collapse file tree 2 files changed +1
-13
lines changed Expand file tree Collapse file tree 2 files changed +1
-13
lines changed Original file line number Diff line number Diff line change @@ -804,13 +804,6 @@ pub use self::adx::*;
804
804
#[ cfg( test) ]
805
805
use stdarch_test:: assert_instr;
806
806
807
- /// Generates the trap instruction `UD2`
808
- #[ cfg_attr( test, assert_instr( ud2) ) ]
809
- #[ inline]
810
- pub unsafe fn ud2 ( ) -> ! {
811
- intrinsics:: abort ( )
812
- }
813
-
814
807
mod avx512f;
815
808
pub use self :: avx512f:: * ;
816
809
Original file line number Diff line number Diff line change @@ -261,7 +261,6 @@ fn verify_all_signatures() {
261
261
"_mm_setr_pi16" ,
262
262
"_mm_setr_pi32" ,
263
263
"_mm_setr_pi8" ,
264
- "ud2" ,
265
264
"_mm_min_epi8" ,
266
265
"_mm_min_epi32" ,
267
266
"_xbegin" ,
@@ -332,11 +331,7 @@ fn verify_all_signatures() {
332
331
"__cpuid" |
333
332
"__get_cpuid_max" |
334
333
// Not listed with intel, but manually verified
335
- "cmpxchg16b" |
336
- // The UD2 intrinsic is not defined by Intel, but it was agreed on
337
- // in the RFC Issue 2512:
338
- // https://github.com/rust-lang/rfcs/issues/2512
339
- "ud2"
334
+ "cmpxchg16b"
340
335
=> continue ,
341
336
// Intel requires the mask argument for _mm_shuffle_ps to be an
342
337
// unsigned integer, but all other _mm_shuffle_.. intrinsics
You can’t perform that action at this time.
0 commit comments