1. A method of operating a processor comprising: in response to a single instruction executable by the processor, counting consecutive same-value encoding positions in a set of one or more source registers, wherein a start position for the counting is identifiable using an operand of the instruction.