It's not obvious to me that this is worth much over
(x > 9) + (x > 99) + (x > 999) + (x > 9999)
(x > CONST) does tend to need a pair of instructions to get the status flag into a register, but those can also fuse with the adds. Critical path latency is cmp-setae-sbb-add, or also four cycles.