about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorEduardo Sánchez Muñoz <eduardosm-dev@e64.io>2023-10-03 18:14:01 +0200
committerEduardo Sánchez Muñoz <eduardosm-dev@e64.io>2023-10-03 18:14:01 +0200
commit91ef03bf2f545f10db008d0ad54c3d197f539895 (patch)
tree386bf39887227b6ecc765e698087435f9cc1e95c /src
parent43d10428c8fc022cc3cdda6ba3272b53f78c8310 (diff)
downloadrust-91ef03bf2f545f10db008d0ad54c3d197f539895.tar.gz
rust-91ef03bf2f545f10db008d0ad54c3d197f539895.zip
Fix typos `*ucom` → `ucom*`
Diffstat (limited to 'src')
-rw-r--r--src/tools/miri/src/shims/x86/sse.rs2
-rw-r--r--src/tools/miri/src/shims/x86/sse2.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/miri/src/shims/x86/sse.rs b/src/tools/miri/src/shims/x86/sse.rs
index de1e695b6d1..0e51a73d091 100644
--- a/src/tools/miri/src/shims/x86/sse.rs
+++ b/src/tools/miri/src/shims/x86/sse.rs
@@ -141,7 +141,7 @@ pub(super) trait EvalContextExt<'mir, 'tcx: 'mir>:
 
                 let left = this.read_scalar(&this.project_index(&left, 0)?)?.to_f32()?;
                 let right = this.read_scalar(&this.project_index(&right, 0)?)?.to_f32()?;
-                // The difference between the com* and *ucom variants is signaling
+                // The difference between the com* and ucom* variants is signaling
                 // of exceptions when either argument is a quiet NaN. We do not
                 // support accessing the SSE status register from miri (or from Rust,
                 // for that matter), so we treat equally both variants.
diff --git a/src/tools/miri/src/shims/x86/sse2.rs b/src/tools/miri/src/shims/x86/sse2.rs
index 2ef6a9b59ed..a27d37d0fff 100644
--- a/src/tools/miri/src/shims/x86/sse2.rs
+++ b/src/tools/miri/src/shims/x86/sse2.rs
@@ -637,7 +637,7 @@ pub(super) trait EvalContextExt<'mir, 'tcx: 'mir>:
 
                 let left = this.read_scalar(&this.project_index(&left, 0)?)?.to_f64()?;
                 let right = this.read_scalar(&this.project_index(&right, 0)?)?.to_f64()?;
-                // The difference between the com* and *ucom variants is signaling
+                // The difference between the com* and ucom* variants is signaling
                 // of exceptions when either argument is a quiet NaN. We do not
                 // support accessing the SSE status register from miri (or from Rust,
                 // for that matter), so we treat equally both variants.