On Thu, Nov 13, 2014 at 9:42 AM, Kyrill Tkachov <kyrylo.tkac...@arm.com> wrote: > Hi all, > > Following the trend in i386 and alpha, this patch uses std::swap to perform > swapping of values in the arm backend instead of declaring temporaries. > Tested and bootstrapped on arm-none-linux-gnueabihf. > > Ok for trunk?
OK - Thanks for the cleanup. Thanks, Ramana > > Thanks, > Kyrill > > 2014-11-13 Kyrylo Tkachov <kyrylo.tkac...@arm.com> > > * config/arm/arm.md (unaligned_loaddi): Use std::swap instead of > manual swapping implementation. > (movcond_addsi): Likewise. > * config/arm/arm.c (arm_canonicalize_comparison): Likewise. > (arm_select_dominance_cc_mode): Likewise. > (arm_reload_out_hi): Likewise. > (gen_operands_ldrd_strd): Likewise. > (output_move_double): Likewise. > (arm_print_operand_address): Likewise. > (thumb_output_move_mem_multiple): Likewise. > (SWAP_RTX): Delete.