Address modes

Anders Ådland adland@stud.ntnu.no
Wed May 14 17:24:00 GMT 2003


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



More information about the Gcc mailing list