Re: [PATCH, MIPS] Netlogic XLR tuning tweaks

2012-08-04 Thread Richard Sandiford
Sandra Loosemore writes: > 2012-08-03 Catherine Moore > Sandra Loosemore > > gcc/ > * config/mips/xlr.md (ir_xlr_alu_clz): New insn_reservation. > (ir_xlr_alu): Remove clz. > * config/mips/mips-cpus.def (xlr): Set PTF_AVOID_BRANCHLIKELY. OK, thanks. Richard

[PATCH, MIPS] Netlogic XLR tuning tweaks

2012-08-03 Thread Sandra Loosemore
We noticed that, per the XLR processor documentation, clz has a different latency than other alu instructions. Also, the branch-likely instructions are documented as obsolete on this target. This patch makes some fairly obvious tweaks to address both issues. This is another patch we've had