Skip to content

Commit 6e4255a

Browse files
committed
Rename the i686 module to x86
This module is used for both i686 and x86-64.
1 parent f83962e commit 6e4255a

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

etc/function-definitions.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -932,8 +932,8 @@
932932
"sqrt": {
933933
"sources": [
934934
"libm/src/math/arch/aarch64.rs",
935-
"libm/src/math/arch/i686.rs",
936935
"libm/src/math/arch/wasm32.rs",
936+
"libm/src/math/arch/x86.rs",
937937
"libm/src/math/generic/sqrt.rs",
938938
"libm/src/math/sqrt.rs"
939939
],
@@ -942,8 +942,8 @@
942942
"sqrtf": {
943943
"sources": [
944944
"libm/src/math/arch/aarch64.rs",
945-
"libm/src/math/arch/i686.rs",
946945
"libm/src/math/arch/wasm32.rs",
946+
"libm/src/math/arch/x86.rs",
947947
"libm/src/math/generic/sqrt.rs",
948948
"libm/src/math/sqrt.rs"
949949
],

libm/src/math/arch/mod.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ cfg_if! {
1515
ceil, ceilf, fabs, fabsf, floor, floorf, rint, rintf, sqrt, sqrtf, trunc, truncf,
1616
};
1717
} else if #[cfg(target_feature = "sse2")] {
18-
mod i686;
19-
pub use i686::{sqrt, sqrtf};
18+
mod x86;
19+
pub use x86::{sqrt, sqrtf};
2020
} else if #[cfg(all(
2121
any(target_arch = "aarch64", target_arch = "arm64ec"),
2222
target_feature = "neon"
File renamed without changes.

0 commit comments

Comments
 (0)