@@ -23,7 +23,7 @@ pub mod arch {
23
23
///
24
24
/// See the [module documentation](../index.html) for more details.
25
25
#[ cfg( any( target_arch = "x86" , doc) ) ]
26
- #[ doc( cfg( target_arch = "x86" ) ) ]
26
+ #[ doc( cfg( any ( target_arch = "x86" , target_arch = "x86_64" ) ) ) ]
27
27
#[ stable( feature = "simd_x86" , since = "1.27.0" ) ]
28
28
pub mod x86 {
29
29
#[ stable( feature = "simd_x86" , since = "1.27.0" ) ]
@@ -32,12 +32,18 @@ pub mod arch {
32
32
33
33
/// Platform-specific intrinsics for the `x86_64` platform.
34
34
///
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.
36
37
#[ cfg( any( target_arch = "x86_64" , doc) ) ]
37
38
#[ doc( cfg( target_arch = "x86_64" ) ) ]
38
39
#[ stable( feature = "simd_x86" , since = "1.27.0" ) ]
39
40
pub mod x86_64 {
40
41
#[ 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) ) ]
41
47
pub use crate :: core_arch:: x86:: * ;
42
48
#[ stable( feature = "simd_x86" , since = "1.27.0" ) ]
43
49
pub use crate :: core_arch:: x86_64:: * ;
0 commit comments