@@ -572,7 +572,6 @@ extern "rust-intrinsic" {
572
572
///
573
573
/// The `locality` argument must be a constant integer and is a temporal locality specifier
574
574
/// ranging from (0) - no locality, to (3) - extremely local keep in cache
575
- #[ cfg( not( stage0) ) ]
576
575
pub fn prefetch_read_data < T > ( data : * const T , locality : i32 ) ;
577
576
/// The `prefetch` intrinsic is a hint to the code generator to insert a prefetch instruction
578
577
/// if supported; otherwise, it is a noop.
@@ -581,7 +580,6 @@ extern "rust-intrinsic" {
581
580
///
582
581
/// The `locality` argument must be a constant integer and is a temporal locality specifier
583
582
/// ranging from (0) - no locality, to (3) - extremely local keep in cache
584
- #[ cfg( not( stage0) ) ]
585
583
pub fn prefetch_write_data < T > ( data : * const T , locality : i32 ) ;
586
584
/// The `prefetch` intrinsic is a hint to the code generator to insert a prefetch instruction
587
585
/// if supported; otherwise, it is a noop.
@@ -590,7 +588,6 @@ extern "rust-intrinsic" {
590
588
///
591
589
/// The `locality` argument must be a constant integer and is a temporal locality specifier
592
590
/// ranging from (0) - no locality, to (3) - extremely local keep in cache
593
- #[ cfg( not( stage0) ) ]
594
591
pub fn prefetch_read_instruction < T > ( data : * const T , locality : i32 ) ;
595
592
/// The `prefetch` intrinsic is a hint to the code generator to insert a prefetch instruction
596
593
/// if supported; otherwise, it is a noop.
@@ -599,20 +596,9 @@ extern "rust-intrinsic" {
599
596
///
600
597
/// The `locality` argument must be a constant integer and is a temporal locality specifier
601
598
/// ranging from (0) - no locality, to (3) - extremely local keep in cache
602
- #[ cfg( not( stage0) ) ]
603
599
pub fn prefetch_write_instruction < T > ( data : * const T , locality : i32 ) ;
604
600
}
605
601
606
- // Empty bootstrap implementations for stage0 compilation
607
- #[ cfg( stage0) ]
608
- pub fn prefetch_read_data < T > ( _data : * const T , _locality : i32 ) { /* EMPTY */ }
609
- #[ cfg( stage0) ]
610
- pub fn prefetch_write_data < T > ( _data : * const T , _locality : i32 ) { /* EMPTY */ }
611
- #[ cfg( stage0) ]
612
- pub fn prefetch_read_instruction < T > ( _data : * const T , _locality : i32 ) { /* EMPTY */ }
613
- #[ cfg( stage0) ]
614
- pub fn prefetch_write_instruction < T > ( _data : * const T , _locality : i32 ) { /* EMPTY */ }
615
-
616
602
extern "rust-intrinsic" {
617
603
618
604
pub fn atomic_fence ( ) ;
0 commit comments