File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -488,7 +488,7 @@ enum ShiftOp {
488
488
///
489
489
/// For logic shifts, when right is larger than BITS - 1, zero is produced.
490
490
/// 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.
492
492
fn shift_simd_by_scalar < ' tcx > (
493
493
this : & mut crate :: MiriInterpCx < ' _ , ' tcx > ,
494
494
left : & OpTy < ' tcx , Provenance > ,
@@ -544,7 +544,7 @@ fn shift_simd_by_scalar<'tcx>(
544
544
///
545
545
/// For logic shifts, when right is larger than BITS - 1, zero is produced.
546
546
/// 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.
548
548
fn shift_simd_by_simd < ' tcx > (
549
549
this : & mut crate :: MiriInterpCx < ' _ , ' tcx > ,
550
550
left : & OpTy < ' tcx , Provenance > ,
You can’t perform that action at this time.
0 commit comments