This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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?

-- 
Daniel Jacobowitz
CodeSourcery


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]