This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]