@@ -23,7 +23,7 @@ pub mod arch {
2323 ///
2424 /// See the [module documentation](../index.html) for more details.
2525 #[ cfg( any( target_arch = "x86" , doc) ) ]
26- #[ doc( cfg( target_arch = "x86" ) ) ]
26+ #[ doc( cfg( any ( target_arch = "x86" , target_arch = "x86_64" ) ) ) ]
2727 #[ stable( feature = "simd_x86" , since = "1.27.0" ) ]
2828 pub mod x86 {
2929 #[ stable( feature = "simd_x86" , since = "1.27.0" ) ]
@@ -32,12 +32,18 @@ pub mod arch {
3232
3333 /// Platform-specific intrinsics for the `x86_64` platform.
3434 ///
35- /// See the [module documentation](../index.html) for more details.
35+ /// See the [module documentation](../index.html) for more details
36+ /// and the [`x86`] module for common instrinsics.
3637 #[ cfg( any( target_arch = "x86_64" , doc) ) ]
3738 #[ doc( cfg( target_arch = "x86_64" ) ) ]
3839 #[ stable( feature = "simd_x86" , since = "1.27.0" ) ]
3940 pub mod x86_64 {
4041 #[ stable( feature = "simd_x86" , since = "1.27.0" ) ]
42+ #[ doc( no_inline) ]
43+ #[ cfg( doc) ]
44+ pub use super :: x86:: * ;
45+ #[ stable( feature = "simd_x86" , since = "1.27.0" ) ]
46+ #[ cfg( not( doc) ) ]
4147 pub use crate :: core_arch:: x86:: * ;
4248 #[ stable( feature = "simd_x86" , since = "1.27.0" ) ]
4349 pub use crate :: core_arch:: x86_64:: * ;
0 commit comments