diff options
| author | bors <bors@rust-lang.org> | 2023-10-03 18:02:24 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-10-03 18:02:24 +0000 |
| commit | 4f73d3fc72abc570604a522c480d383aea766eee (patch) | |
| tree | 3629292edee0e18190f62b4ba7af419dcece82fd | |
| parent | 43d10428c8fc022cc3cdda6ba3272b53f78c8310 (diff) | |
| parent | 3e21c1fc5681b118fb27bf0c8131d73bcfa8185c (diff) | |
| download | rust-4f73d3fc72abc570604a522c480d383aea766eee.tar.gz rust-4f73d3fc72abc570604a522c480d383aea766eee.zip | |
Auto merge of #3102 - eduardosm:typos, r=RalfJung
Fix typos `*ucom` → `ucom*`
| -rw-r--r-- | src/tools/miri/src/shims/x86/sse.rs | 4 | ||||
| -rw-r--r-- | src/tools/miri/src/shims/x86/sse2.rs | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/tools/miri/src/shims/x86/sse.rs b/src/tools/miri/src/shims/x86/sse.rs index de1e695b6d1..fa722f4b75e 100644 --- a/src/tools/miri/src/shims/x86/sse.rs +++ b/src/tools/miri/src/shims/x86/sse.rs @@ -141,10 +141,10 @@ 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. + // for that matter), so we treat both variants equally. let res = match unprefixed_name { "comieq.ss" | "ucomieq.ss" => left == right, "comilt.ss" | "ucomilt.ss" => left < right, diff --git a/src/tools/miri/src/shims/x86/sse2.rs b/src/tools/miri/src/shims/x86/sse2.rs index 2ef6a9b59ed..261c947c8ef 100644 --- a/src/tools/miri/src/shims/x86/sse2.rs +++ b/src/tools/miri/src/shims/x86/sse2.rs @@ -637,10 +637,10 @@ 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. + // for that matter), so we treat both variants equally. let res = match unprefixed_name { "comieq.sd" | "ucomieq.sd" => left == right, "comilt.sd" | "ucomilt.sd" => left < right, |
