Re: [PATCH][MIPS] NetLogic XLP scheduling

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

Re: [PATCH][MIPS] NetLogic XLP scheduling

2012-07-20 Thread Richard Sandiford
Maxim Kuvyrkov writes: > 2012-07-13 Maxim Kuvyrkov > > * config/mips/mips.md (define_attr sync_*): Move before "type". > (define_attr "type"): New values "atomic" and "syncloop". > * config/mips/sync.md (atomic_exchange, atomic_fetch_add): > Set "type" attribute. >

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

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 writes: This patch adds scheduling support for the NetLogic XLP, including a new pipeline description, and associa

Re: [PATCH][MIPS] NetLogic XLP scheduling

2012-07-16 Thread Richard Sandiford
Maxim Kuvyrkov 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 writes: >>> Tested on mips64-elf, and by making sure that there were no changes in >>> -O2 output for a recent set of cc1 .ii files. Applied. >>> >>> I

Re: [PATCH][MIPS] NetLogic XLP scheduling

2012-07-16 Thread Richard Sandiford
Chung-Lin Tang 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-15 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 writes: >>> This patch adds scheduling support for the NetLogic XLP, including a new >>> pipeline description, and associated changes. >>> >>> Asides from the new xlp.md descripti

Re: [PATCH][MIPS] NetLogic XLP scheduling

2012-07-15 Thread Chung-Lin Tang
On 2012/7/16 12:28 AM, Richard Sandiford wrote: > Chung-Lin Tang 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 >> primitive attribute m

Re: [PATCH][MIPS] NetLogic XLP scheduling

2012-07-15 Thread Richard Sandiford
Chung-Lin Tang 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 > primitive attribute modifications, for better scheduling of sync loops > (Ma

[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 b