This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Address modes
- From: Anders Ådland <adland at stud dot ntnu dot no>
- To: gcc at gcc dot gnu dot org
- Date: 14 May 2003 19:24:25 +0200
- Subject: Address modes
I am using GO_IF_LEGITIMATE_ADDRESS on my port to tell GCC which
addresses that are legitime. How can I tell GCC which combinations of
addressing modes that are legitime? The expression
(set (mem:SI (plus:SI (reg:SI ...)
(const_int ...)
(mem:SI (reg:SI ...))
is not legitime but
(set (mem:SI (plus:SI (reg:SI ...)
(const_int ...)
(reg:SI ...))
is.
Anders