Lines Matching refs:reg0
491 void MacroAssembler::GetNumberHash(Register reg0, Register scratch) {
497 xor_(reg0, reg0, scratch);
504 nor(scratch, reg0, zero_reg);
505 sll(at, reg0, 15);
506 addu(reg0, scratch, at);
509 srl(at, reg0, 12);
510 xor_(reg0, reg0, at);
513 sll(at, reg0, 2);
514 addu(reg0, reg0, at);
517 srl(at, reg0, 4);
518 xor_(reg0, reg0, at);
521 sll(scratch, reg0, 11);
522 sll(at, reg0, 3);
523 reg0, reg0, at);
524 addu(reg0, reg0, scratch);
527 srl(at, reg0, 16);
528 xor_(reg0, reg0, at);
536 Register reg0,
555 // reg0 - holds the untagged key on entry and holds the hash once computed.
563 GetNumberHash(reg0, reg1);
572 // Use reg2 for index calculations and keep the hash intact in reg0.
573 mov(reg2, reg0);