Lines Matching defs:Saturation
522 // Saturation state for each lane of a vector.
523 enum Saturation {
535 // Getters for saturation state.
536 Saturation GetSignedSaturation(int index) {
537 return static_cast<Saturation>(saturated_[index] & kSignedSatMask);
540 Saturation GetUnsignedSaturation(int index) {
541 return static_cast<Saturation>(saturated_[index] & kUnsignedSatMask);
544 // Setters for saturation state.
555 void SetSatFlag(int index, Saturation sat) {
556 saturated_[index] = static_cast<Saturation>(saturated_[index] | sat);
561 // Saturate lanes of a vector based on saturation state.
564 Saturation sat = GetSignedSaturation(i);
576 Saturation sat = GetUnsignedSaturation(i);
600 // Unsigned halve lanes of a vector, and use the saturation state to set the
608 // If the operation causes unsigned saturation, the bit shifted into the
624 // If the operation causes signed saturation, the sign bit must be
636 // Allocate one saturation state entry per lane; largest register is type Q,
638 Saturation saturated_[kQRegSize];