gcc for C4x

j.j.f.van.eijck@philips.com j.j.f.van.eijck@philips.com
Fri Aug 20 08:26:00 GMT 1999


Hello,

A few question about gcc-2.95.1 for C4x:

1) I'm using binutils-2.7 with a patch from Michael Hayes, but I' m wondering
    have the c4x not been included in a later binutils.

2)
Michael Hayes wrote:
> However, the code produced by gcc-2.95 for the C30/C40 DSPs
> results in poor benchmark times for the following reasons.
> 1.  It does not emit the fast block repeat instructions.
> 2.  It does not software pipeline loops to utilise parallel instructions.
> 3.  Auto-increment addressing modes are not well utilised.
> 4.  Induction variable combination is poor.
> 5.  Delay slot filling is sub-optimal.
>
> To address the first two points, I submitted patches to egcs-patches
> many months ago that seem to have been piped to /dev/null :-)
> To address the third point I have written a pass that generates
> def-use chains that are then scanned for instructions to be combined
> t o utilise auto-increment (and auto-modify) addressing modes.  This
> seems to work well but I do not have the time at present to thoroughlytest it.
> 
> Hopefully Joern will sort out the fourth problem with his work on
> strength reduction :-) (I still get better strength reduction of
> induction variables on the C4x with gcc-2.7)
> 
> Improvements to delay slot filling require large hacks to reorg.  This
> has never worked well with multiple delay slots as the folks working
> on the SHARC port are also finding.

Is their be a patch for gcc-2.95.1 to solve a least the first two points.
I didn't find any changes in Changelog file for C4x between the releases of 2.95 and 2.95.1


- + - +  - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + 
   ing. Jurge J.F.J. van Eijck (ICT Automatisering)
   CFT Mechatronics - Semiconductor Equipment Research
    Location: NatLab, WY p 38, phone: 040 - 27 43976
    Location: CFT,       SFK 061, phone: 040 - 27 39229

    Reply to: J.J.F.van.Eijck@Philips.com

    Private Homepage : http://home.ict.nl/~jureijck
- + - +  - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + 


More information about the Gcc mailing list