Re: [PATCH][MIPS] NetLogic XLP scheduling

2012-07-20 Thread Chung-Lin Tang
On 2012/7/20 12:27 PM, Maxim Kuvyrkov wrote: Attached is a stand-alone patch that adds handling of syncloop and atomic type attributes. Tested by building cross-toolchain mips64-linux-gnu including GLIBC. OK to apply? -- Maxim Kuvyrkov CodeSourcery / Mentor Graphics And here's the

Re: [PATCH][MIPS] NetLogic XLP scheduling

2012-07-20 Thread Richard Sandiford
Maxim Kuvyrkov ma...@codesourcery.com writes: 2012-07-13 Maxim Kuvyrkov ma...@codesourcery.com * config/mips/mips.md (define_attr sync_*): Move before type. (define_attr type): New values atomic and syncloop. * config/mips/sync.md (atomic_exchangemode,

Re: [PATCH][MIPS] NetLogic XLP scheduling

2012-07-20 Thread Richard Sandiford
Chung-Lin Tang clt...@codesourcery.com writes: 2012-07-20 Chung-Lin Tang clt...@codesourcery.com Maxim Kuvyrkov ma...@codesourcery.com NetLogic Microsystems Inc. * config/mips/mips.c (mips_issue_rate): Handle XLP. * config/mips/xlp.md: New file. OK,

Re: [PATCH][MIPS] NetLogic XLP scheduling

2012-07-19 Thread Maxim Kuvyrkov
On 16/07/2012, at 6:56 PM, Maxim Kuvyrkov wrote: On 16/07/2012, at 6:37 PM, Chung-Lin Tang wrote: On 2012/7/16 12:28 AM, Richard Sandiford wrote: Chung-Lin Tang clt...@codesourcery.com writes: This patch adds scheduling support for the NetLogic XLP, including a new pipeline description,

Re: [PATCH][MIPS] NetLogic XLP scheduling

2012-07-16 Thread Chung-Lin Tang
On 2012/7/16 12:28 AM, Richard Sandiford wrote: Chung-Lin Tang clt...@codesourcery.com writes: This patch adds scheduling support for the NetLogic XLP, including a new pipeline description, and associated changes. Asides from the new xlp.md description file, there are also some sync

Re: [PATCH][MIPS] NetLogic XLP scheduling

2012-07-16 Thread Maxim Kuvyrkov
On 16/07/2012, at 6:37 PM, Chung-Lin Tang wrote: On 2012/7/16 12:28 AM, Richard Sandiford wrote: Chung-Lin Tang clt...@codesourcery.com writes: This patch adds scheduling support for the NetLogic XLP, including a new pipeline description, and associated changes. Asides from the new xlp.md

Re: [PATCH][MIPS] NetLogic XLP scheduling

2012-07-16 Thread Richard Sandiford
Chung-Lin Tang clt...@codesourcery.com writes: Other generic changes include a new hilo insn attribute, to mark which of HI/LO does a m[ft]hilo insn access. The way other schedulers handle this is with things like: (define_insn_reservation ir_sb1_mfhi 1 (and (eq_attr cpu sb1,sb1a)

Re: [PATCH][MIPS] NetLogic XLP scheduling

2012-07-16 Thread Richard Sandiford
Maxim Kuvyrkov ma...@codesourcery.com writes: On 16/07/2012, at 6:37 PM, Chung-Lin Tang wrote: On 2012/7/16 12:28 AM, Richard Sandiford wrote: Chung-Lin Tang clt...@codesourcery.com writes: Tested on mips64-elf, and by making sure that there were no changes in -O2 output for a recent set of

[PATCH][MIPS] NetLogic XLP scheduling

2012-07-13 Thread Chung-Lin Tang
Hi Richard, This patch adds scheduling support for the NetLogic XLP, including a new pipeline description, and associated changes. Asides from the new xlp.md description file, there are also some sync primitive attribute modifications, for better scheduling of sync loops (Maxim should be able to