Lines Matching refs:reg0
492 void MacroAssembler::GetNumberHash(Register reg0, Register scratch) {
498 xor_(reg0, reg0, scratch);
505 nor(scratch, reg0, zero_reg);
506 sll(at, reg0, 15);
507 addu(reg0, scratch, at);
510 reg0, 12);
511 xor_(reg0, reg0, at);
514 sll(at, reg0, 2);
515 addu(reg0, reg0, at);
518 srl(at, reg0, 4);
519 xor_(reg0, reg0, at);
522 sll(scratch, reg0, 11);
523 sll(at, reg0, 3);
524 addu(reg0, reg0, at);
525 addu(reg0, reg0, scratch);
528 srl(at, reg0, 16);
529 xor_(reg0, reg0, at);
530 And(reg0, reg0, Operand(0x3fffffff));
538 Register reg0,
557 // reg0 - holds the untagged key on entry and holds the hash once computed.
565 GetNumberHash(reg0, reg1);
574 // Use reg2 for index calculations and keep the hash intact in reg0.
575 mov(reg2, reg0);