This is the mail archive of the
mailing list for the GCC project.
Re: MIPS RDHWR instruction reordering
On Fri, Jun 16, 2006 at 02:12:29PM -0700, Ian Lance Taylor wrote:
> The computation of the address of x was moved outside the
> conditional--that is, both the rdhwr and the addu moved. You'll have
> to figure out why. gcc shouldn't move instructions outside of a
> conditional unless they are cheap and don't trap. This instruction
> doesn't trap, but it's not cheap.
What metric gets used for this - rtx_cost?