Lines Matching refs:reg0
489 void MacroAssembler::GetNumberHash(Register reg0, Register scratch) {
495 xor_(reg0, reg0, scratch);
501 nor(scratch, reg0, zero_reg);
502 sll(at, reg0, 15);
503 addu(reg0, scratch, at);
506 srl(at, reg0, 12);
507 xor_(reg0, reg0, at);
510 sll(at, reg0, 2);
511 addu(reg0, reg0, at);
514 reg0, 4);
515 xor_(reg0, reg0, at);
518 sll(scratch, reg0, 11);
519 sll(at, reg0, 3);
520 addu(reg0, reg0, at);
521 addu(reg0, reg0, scratch);
524 srl(at, reg0, 16);
525 xor_(reg0, reg0, at);
526 And(reg0, reg0, Operand(0x3fffffff));
534 Register reg0,
553 // reg0 - holds the untagged key on entry and holds the hash once computed.
561 GetNumberHash(reg0, reg1);
570 // Use reg2 for index calculations and keep the hash intact in reg0.
571 mov(reg2, reg0);