Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
stride == r.stride);
}
-fs_reg &
-fs_reg::apply_stride(unsigned stride)
-{
- assert((this->stride * stride) <= 4 &&
- (is_power_of_two(stride) || stride == 0) &&
- file != HW_REG && file != IMM);
- this->stride *= stride;
- return *this;
-}
-
fs_reg &
fs_reg::set_smear(unsigned subreg)
{
bool is_valid_3src() const;
bool is_contiguous() const;
- fs_reg &apply_stride(unsigned stride);
/** Smear a channel of the reg to all channels. */
fs_reg &set_smear(unsigned subreg);