This is the mail archive of the gcc-patches@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]

Re: Darwin FP constant peephole


On Sun, 2001-12-16 at 16:36, David Edelsohn wrote:
> 	I also think this would be better with LEGITIMIZE_RELOAD_ADDRESS
> converted to a function in rs6000.c.

yes.  

dale, if you need machopic_function_base_name, then define a macro in
darwin.h, say __DARWIN_TARGET__, and do something like:

    #if __DARWIN_TARGET__
    /* Darwin load of floating point constant.  */   
    your code that calls machopic_function_base_name()
    #endif

it's not a good idea to have duplicate macros for something like this,
because then bug fixes into one macro do not go into the other.


-- 
Aldy Hernandez			E-mail: aldyh@redhat.com
Professional Gypsy
Red Hat, Inc.


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