File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/tools/miri/src/shims/x86 Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -488,7 +488,7 @@ enum ShiftOp {
488488///
489489/// For logic shifts, when right is larger than BITS - 1, zero is produced.
490490/// For arithmetic right-shifts, when right is larger than BITS - 1, the sign
491- /// bit is copied to remaining bits.
491+ /// bit is copied to all bits.
492492fn shift_simd_by_scalar < ' tcx > (
493493 this : & mut crate :: MiriInterpCx < ' _ , ' tcx > ,
494494 left : & OpTy < ' tcx , Provenance > ,
@@ -544,7 +544,7 @@ fn shift_simd_by_scalar<'tcx>(
544544///
545545/// For logic shifts, when right is larger than BITS - 1, zero is produced.
546546/// For arithmetic right-shifts, when right is larger than BITS - 1, the sign
547- /// bit is copied to remaining bits.
547+ /// bit is copied to all bits.
548548fn shift_simd_by_simd < ' tcx > (
549549 this : & mut crate :: MiriInterpCx < ' _ , ' tcx > ,
550550 left : & OpTy < ' tcx , Provenance > ,
You can’t perform that action at this time.
0 commit comments