Branch compare check