[PATCH] PR 62173, re-shuffle insns for RTL loop invariant hoisting
Jiong Wang
wong.kwongyuan.tools@gmail.com
Tue Apr 28 12:16:00 GMT 2015
Hi Matthew,
2015-04-21 15:24 GMT+01:00 Jiong Wang <jiong.wang@arm.com>:
>
> 2015-04-21 Jiong Wang <jiong.wang@arm.com>
>
> gcc/
> * loop-invariant.c (find_defs): Enable DF_DU_CHAIN build.
> (vfp_const_iv): New hash table.
> (expensive_addr_check_p): New boolean.
> (init_inv_motion_data): Initialize new variables.>
> (free_inv_motion_data): Release hash table.
> (create_new_invariant): Set cheap_address to false for iv in
> vfp_const_iv table.
> (find_invariant_insn): Skip dependencies check for iv in vfp_const_iv
> table.
> (use_for_single_du): New function.
> (reshuffle_insn_with_vfp): Likewise.
> (find_invariants_bb): Call reshuffle_insn_with_vfp.
Is it possible for you to test this patch on spec2k6 on MIPS?
especially 436.cactusADM.
I am interested in the performance impact on other load/store machines.
Thanks.
Regards,
Jiong
More information about the Gcc-patches
mailing list