CPC G06F 9/30036 (2013.01) [G06F 9/3001 (2013.01); G06F 9/30018 (2013.01); G06F 9/30021 (2013.01); G06F 9/30112 (2013.01); G06F 9/3893 (2013.01)] | 20 Claims |
1. A processor device comprising:
a first register configured to store a first vector that includes a first set of elements;
a second register configured to store a second vector that includes a second set of elements;
a third register configured to store a third vector that includes a third set of elements;
a first arithmetic unit configured to compare each element of the first set of elements to a respective element of the second set of elements to produce a first set of comparison bits;
a second arithmetic unit configured to compare each element of the first set of elements to a respective element of the third set of elements to produce a second set of comparison bits; and
a predicate unit configured to determine whether each element of the first set of elements is within a range defined by the second vector and the third vector based on the first set of comparison bits and the second set of comparison bits.
|