[PATCH] PR 62173, re-shuffle insns for RTL loop invariant hoisting
Matthew Fortune
Matthew.Fortune@imgtec.com
Tue Apr 28 14:00: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.
I will certainly try and fit it in. It may take me a week to get back to
you though as I'm away on vacation for a few days.
Matthew
More information about the Gcc-patches
mailing list