Lines Matching defs:index
549 int index = ExtractUnsignedBitfield32(6, lane_size_in_byte_log_2 + 1, imm_7);
550 return std::make_pair(index, lane_size_in_byte_log_2);
553 // Get the register and index for SVE indexed multiplies encoded in the forms:
554 // .h : Zm = <18:16>, index = <22><20:19>
555 // .s : Zm = <18:16>, index = <20:19>
556 // .d : Zm = <19:16>, index = <20>
559 int index = ExtractBits(20, 19);
561 // For .h, index uses bit zero of the size field, so kFormatVnB below implies
562 // half-word lane, with most-significant bit of the index zero.
565 index >>= 1; // Only bit 20 in the index for D lanes.
568 index += 4; // Bit 22 is the top bit of index.
578 return std::make_pair(reg_code, index);
581 // Get the register and index for SVE indexed long multiplies encoded in the
583 // .h : Zm = <18:16>, index = <20:19><11>
584 // .s : Zm = <19:16>, index = <20><11>
587 int index = ExtractBit(11);
594 index |= ExtractBits(20, 19) << 1;
597 index |= ExtractBit(20) << 1;
603 return std::make_pair(reg_code, index);