There are times when you want to determine the relationship between two numbers (A=B, A>B, A<B) and this can be accomplished with some simple logic. An XNOR gate determines if A=B and an IMPLIES gate determines if A<B. These two outputs can be NORed to determine if A>B.

This particular model is two wide stackable and the slowest operation takes 5 ticks for 8 bits (with an additional 1 tick for every 8 bits following the first due to a repeater extending signals). I've included a schematic for a two-wide version and it's important to remember that if you're going to expand this you need to stack it in pairs because the gates are staggered.