Hi, Please find attached the patch that moves the check for CC usage in any_condjump_p from sched-deps to target macros. Currently the check is used only by i386 and AArch64. The general condition checks for the fusion candidates to use/modify CC1 register. However, the fusion of ALU and Branch instruction in AArch64 looks for any register and hence does not satisfy the condition. Bootstrapped and Regression tested on AArch64 and X86_64. Please review the patch and let us know if its okay? Thanks, Naveen 2017-03-27 Naveen H.S * config/aarch64/aarch64.c (aarch_macro_fusion_pair_p): Push the check for CC usage into AARCH64_FUSE_CMP_BRANCH. * config/i386/i386.c (ix86_macro_fusion_pair_p): Push the check for CC usage from generic code. * sched-deps.c (sched_macro_fuse_insns): Move the condition for any_condjump_p into the target macros.