This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
register indirect addressing in GCC
- To: gcc at gcc dot gnu dot org
- Subject: register indirect addressing in GCC
- From: brahmaiah vallabhaneni <vbrahmaiah at yahoo dot com>
- Date: Mon, 6 Aug 2001 06:09:51 -0700 (PDT)
Hi All
I am working for a new gcc port. I have a small
question about registerindirect addressing in GCC.
On my machine I have two index registers, whom I can
use in the indexed addressing (reg+disp).
A register class containing these two regs is
defined as BASE_REGISTER_CLASS.
and on my machine I can use accumulator in register
indirect addressing i.e (reg) with out
displacement.But not in indexed addressing
(reg+disp).
I am not able to use this register in the register
indirect addressing, because my BASE_REGISTER_CLASS
does not include this register.
Even though I am allowing this kind of addressing in
my GO_IF_LEGITIMIZE_ADDRESS macro.
This is my observation. Is there a way in which I can
use my accumulator in register indirect addressing.
Currently few tests give spill problems during
reload. I think if I can take the advantage of this
option I will be able to pass through those tests.
Any suggestions would be of great help.
thanks and regards,
V.Brahmaiah
__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/