@@ -78,7 +78,7 @@ pub trait EvalContextExt<'mir, 'tcx: 'mir>: crate::MiriInterpCxExt<'mir, 'tcx> {
78
78
79
79
unary_op_ss ( this, which, op, dest) ?;
80
80
}
81
- // Used to implement _mm_{sqrt,rcp,rsqrt}_ss functions.
81
+ // Used to implement _mm_{sqrt,rcp,rsqrt}_ps functions.
82
82
// Performs the operations on all components of `op`.
83
83
"sqrt.ps" | "rcp.ps" | "rsqrt.ps" => {
84
84
let [ op] = this. check_shim ( abi, Abi :: C { unwind : false } , link_name, args) ?;
@@ -146,7 +146,7 @@ pub trait EvalContextExt<'mir, 'tcx: 'mir>: crate::MiriInterpCxExt<'mir, 'tcx> {
146
146
147
147
bin_op_ps ( this, which, left, right, dest) ?;
148
148
}
149
- // Used to implement _mm_{,u}comi{eq,lt,le,gt,ge,neq}_ps functions.
149
+ // Used to implement _mm_{,u}comi{eq,lt,le,gt,ge,neq}_ss functions.
150
150
// Compares the first component of `left` and `right` and returns
151
151
// a scalar value (0 or 1).
152
152
"comieq.ss" | "comilt.ss" | "comile.ss" | "comigt.ss" | "comige.ss" | "comineq.ss"
@@ -436,8 +436,8 @@ fn bin_op_ss<'tcx>(
436
436
Ok ( ( ) )
437
437
}
438
438
439
- /// Performs `which` operation on each component of `left`, and
440
- /// `right` storing the result is stored in `dest`.
439
+ /// Performs `which` operation on each component of `left` and
440
+ /// `right`, storing the result is stored in `dest`.
441
441
fn bin_op_ps < ' tcx > (
442
442
this : & mut crate :: MiriInterpCx < ' _ , ' tcx > ,
443
443
which : FloatBinOp ,
0 commit comments