File tree 8 files changed +10
-15
lines changed 8 files changed +10
-15
lines changed Original file line number Diff line number Diff line change @@ -22,5 +22,5 @@ use stdsimd_test::assert_instr;
22
22
#[ cfg_attr( test, assert_instr( brk) ) ]
23
23
#[ inline]
24
24
pub unsafe fn brk ( ) -> ! {
25
- :: _core :: intrinsics:: abort ( )
25
+ :: intrinsics:: abort ( )
26
26
}
Original file line number Diff line number Diff line change @@ -55,5 +55,5 @@ use stdsimd_test::assert_instr;
55
55
#[ cfg_attr( test, assert_instr( udf) ) ]
56
56
#[ inline]
57
57
pub unsafe fn udf ( ) -> ! {
58
- :: _core :: intrinsics:: abort ( )
58
+ :: intrinsics:: abort ( )
59
59
}
Original file line number Diff line number Diff line change @@ -10,5 +10,5 @@ use stdsimd_test::assert_instr;
10
10
#[ cfg_attr( test, assert_instr( break ) ) ]
11
11
#[ inline]
12
12
pub unsafe fn break_ ( ) -> ! {
13
- :: _core :: intrinsics:: abort ( )
13
+ :: intrinsics:: abort ( )
14
14
}
Original file line number Diff line number Diff line change @@ -122,5 +122,5 @@ pub unsafe fn _thread_idx_z() -> i32 {
122
122
/// Generates the trap instruction `TRAP`
123
123
#[ inline]
124
124
pub unsafe fn trap ( ) -> ! {
125
- :: _core :: intrinsics:: abort ( )
125
+ :: intrinsics:: abort ( )
126
126
}
Original file line number Diff line number Diff line change @@ -15,5 +15,5 @@ use stdsimd_test::assert_instr;
15
15
#[ cfg_attr( test, assert_instr( trap) ) ]
16
16
#[ inline]
17
17
pub unsafe fn trap ( ) -> ! {
18
- :: _core :: intrinsics:: abort ( )
18
+ :: intrinsics:: abort ( )
19
19
}
Original file line number Diff line number Diff line change @@ -43,5 +43,5 @@ pub mod memory;
43
43
#[ cfg_attr( test, assert_instr( unreachable) ) ]
44
44
#[ inline]
45
45
pub unsafe fn unreachable ( ) -> ! {
46
- :: _core :: intrinsics:: abort ( )
46
+ :: intrinsics:: abort ( )
47
47
}
Original file line number Diff line number Diff line change @@ -632,12 +632,7 @@ impl v128 {
632
632
c : [ ImmByte ; 16 ] ,
633
633
}
634
634
// FIXME: https://github.com/rust-lang/rust/issues/53193
635
- const C : [ ImmByte ; 16 ] = unsafe {
636
- U {
637
- v : :: _core:: u128:: MAX ,
638
- }
639
- . c
640
- } ;
635
+ const C : [ ImmByte ; 16 ] = unsafe { U { v : :: u128:: MAX } . c } ;
641
636
Self :: xor ( v128:: const_ ( C ) , a)
642
637
}
643
638
@@ -664,15 +659,15 @@ impl v128 {
664
659
// #[target_feature(enable = "simd128")]
665
660
// FIXME: #[cfg_attr(test, assert_instr($id.load))]
666
661
pub unsafe fn load ( m : * const v128 ) -> v128 {
667
- :: _core :: ptr:: read ( m)
662
+ :: ptr:: read ( m)
668
663
}
669
664
670
665
/// Store a `v128` vector to the given heap address.
671
666
#[ inline]
672
667
// #[target_feature(enable = "simd128")]
673
668
// FIXME: #[cfg_attr(test, assert_instr($id.store))]
674
669
pub unsafe fn store ( m : * mut v128 , a : v128 ) {
675
- :: _core :: ptr:: write ( m, a)
670
+ :: ptr:: write ( m, a)
676
671
}
677
672
}
678
673
Original file line number Diff line number Diff line change @@ -520,5 +520,5 @@ use stdsimd_test::assert_instr;
520
520
#[ cfg_attr( test, assert_instr( ud2) ) ]
521
521
#[ inline]
522
522
pub unsafe fn ud2 ( ) -> ! {
523
- :: _core :: intrinsics:: abort ( )
523
+ :: intrinsics:: abort ( )
524
524
}
You can’t perform that action at this time.
0 commit comments