[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] register allocation - something not right
From: |
HutchinsonAndy |
Subject: |
Re: [avr-gcc-list] register allocation - something not right |
Date: |
Tue, 28 Dec 2004 14:00:14 -0500 |
I'll create a patch when I've added some more meat to the improvements.
Those that cant wait can try replacing "order_2" definition about line 4766 in
avr.c with
static const int order_2[] = {
22,23,
24,25,
18,19,
20,21,
26,27,
30,31,
16,17,
2,3,4,5,6,7,8,9,10,11,12,13,14,15,
28,29,
1,0,
32,33,34,35
};
and rebuilding (make install).
This is the register allocation order for the compile option -morder2. So
nothing will or should happen unless you add that as a compile option in your
make file. Makes it easy to compare results.
Note library routines wont be affected unless you re-create libgcc etc.
Please post improvements (or otherwise!). The change will favor large operands
such as longs and floats so pls indicate what flavor of code you are using.
__________________________________________________________________
Switch to Netscape Internet Service.
As low as $9.95 a month -- Sign up today at http://isp.netscape.com/register
Netscape. Just the Net You Need.
New! Netscape Toolbar for Internet Explorer
Search from anywhere on the Web and block those annoying pop-ups.
Download now at http://channels.netscape.com/ns/search/install.jsp