1. An integrated circuit comprising: a search unit configured to access an input vector including a plurality of bits, and to find a first and a second instance of a predetermined bit value; wherein the search unit is further configured to: generate a first output vector that includes an indication of a bit position of the first instance of the predetermined bit value within the input vector; and generate a second output vector that includes an indication of a bit position of the second instance of the predetermined bit value within the input vector.