diff options
| author | Trevor Gross <tmgross@umich.edu> | 2025-05-01 17:49:56 +0000 |
|---|---|---|
| committer | Trevor Gross <t.gross35@gmail.com> | 2025-05-03 14:17:49 -0400 |
| commit | 4a1dc96652ea5cbd7e0273df19c828324699f4db (patch) | |
| tree | f425bdfbad42ebab70a1c04da48dec6c16b4c6c5 | |
| parent | 2705f686b556c179fd56f2f496ed69eb7b06c97d (diff) | |
| download | rust-4a1dc96652ea5cbd7e0273df19c828324699f4db.tar.gz rust-4a1dc96652ea5cbd7e0273df19c828324699f4db.zip | |
Rename the i686 module to x86
This module is used for both i686 and x86-64.
| -rw-r--r-- | library/compiler-builtins/etc/function-definitions.json | 4 | ||||
| -rw-r--r-- | library/compiler-builtins/libm/src/math/arch/mod.rs | 4 | ||||
| -rw-r--r-- | library/compiler-builtins/libm/src/math/arch/x86.rs (renamed from library/compiler-builtins/libm/src/math/arch/i686.rs) | 0 |
3 files changed, 4 insertions, 4 deletions
diff --git a/library/compiler-builtins/etc/function-definitions.json b/library/compiler-builtins/etc/function-definitions.json index 9e5774eaf0a..691205ddffe 100644 --- a/library/compiler-builtins/etc/function-definitions.json +++ b/library/compiler-builtins/etc/function-definitions.json @@ -932,8 +932,8 @@ "sqrt": { "sources": [ "libm/src/math/arch/aarch64.rs", - "libm/src/math/arch/i686.rs", "libm/src/math/arch/wasm32.rs", + "libm/src/math/arch/x86.rs", "libm/src/math/generic/sqrt.rs", "libm/src/math/sqrt.rs" ], @@ -942,8 +942,8 @@ "sqrtf": { "sources": [ "libm/src/math/arch/aarch64.rs", - "libm/src/math/arch/i686.rs", "libm/src/math/arch/wasm32.rs", + "libm/src/math/arch/x86.rs", "libm/src/math/generic/sqrt.rs", "libm/src/math/sqrt.rs" ], diff --git a/library/compiler-builtins/libm/src/math/arch/mod.rs b/library/compiler-builtins/libm/src/math/arch/mod.rs index d9f2aad66d4..67352f90cc2 100644 --- a/library/compiler-builtins/libm/src/math/arch/mod.rs +++ b/library/compiler-builtins/libm/src/math/arch/mod.rs @@ -15,8 +15,8 @@ cfg_if! { ceil, ceilf, fabs, fabsf, floor, floorf, rint, rintf, sqrt, sqrtf, trunc, truncf, }; } else if #[cfg(target_feature = "sse2")] { - mod i686; - pub use i686::{sqrt, sqrtf}; + mod x86; + pub use x86::{sqrt, sqrtf}; } else if #[cfg(all( any(target_arch = "aarch64", target_arch = "arm64ec"), target_feature = "neon" diff --git a/library/compiler-builtins/libm/src/math/arch/i686.rs b/library/compiler-builtins/libm/src/math/arch/x86.rs index 3e1d19bfab6..3e1d19bfab6 100644 --- a/library/compiler-builtins/libm/src/math/arch/i686.rs +++ b/library/compiler-builtins/libm/src/math/arch/x86.rs |
