@@ -4000,6 +4000,7 @@ void MacroAssembler::I64x2Mul(Simd128Register dst, Simd128Register src1,
40004000 if (CpuFeatures::IsSupported (PPC_10_PLUS)) {
40014001 vmulld (dst, src1, src2);
40024002 } else {
4003+ DCHECK (scratch1 != r0);
40034004 Register scratch_1 = scratch1;
40044005 Register scratch_2 = scratch2;
40054006 for (int i = 0 ; i < 2 ; i++) {
@@ -4352,6 +4353,7 @@ void MacroAssembler::I8x16BitMask(Register dst, Simd128Register src,
43524353 if (CpuFeatures::IsSupported (PPC_10_PLUS)) {
43534354 vextractbm (dst, src);
43544355 } else {
4356+ DCHECK (scratch1 != r0);
43554357 mov (scratch1, Operand (0x8101820283038 ));
43564358 mov (scratch2, Operand (0x4048505860687078 ));
43574359 mtvsrdd (scratch3, scratch1, scratch2);
@@ -4404,6 +4406,7 @@ void MacroAssembler::I8x16Shuffle(Simd128Register dst, Simd128Register src1,
44044406 Simd128Register src2, uint64_t high,
44054407 uint64_t low, Register scratch1,
44064408 Register scratch2, Simd128Register scratch3) {
4409+ DCHECK (scratch2 != r0);
44074410 mov (scratch1, Operand (low));
44084411 mov (scratch2, Operand (high));
44094412 mtvsrdd (scratch3, scratch2, scratch1);
@@ -4692,6 +4695,7 @@ void MacroAssembler::S128Not(Simd128Register dst, Simd128Register src) {
46924695
46934696void MacroAssembler::S128Const (Simd128Register dst, uint64_t high, uint64_t low,
46944697 Register scratch1, Register scratch2) {
4698+ DCHECK (scratch2 != r0);
46954699 mov (scratch1, Operand (low));
46964700 mov (scratch2, Operand (high));
46974701 mtvsrdd (dst, scratch2, scratch1);
0 commit comments