Energy-efficient single-clock-cycle binary comparator