How to represent conditional compare in RTL?