This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: help on adding new insns like min/max
- From: Jan Hubicka <jh at suse dot cz>
- To: Ming Ouyang <mouyang at yahoo dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Tue, 22 Oct 2002 00:11:19 +0200
- Subject: Re: help on adding new insns like min/max
- References: <20021021220703.15745.qmail@web13303.mail.yahoo.com>
> Hi everyone,
>
> I need to add new insns support to our gcc 3.0 to support min
> and max insns, but it seems that I can't describe such function-level
The min and max instructions can be discovered by GCC automatically from
"C" alternatives in if conversion pass. Alternatively you can add new
builtins for that, but that needs gcc 3.1 do be done cleanly I believe.
Honza
> insns on RTL level, probably I need to change something in c-common.c
> or something like it?
>
> Does anyone have any idea on that? Thanks a lot.
>
> Ming
>
>
> __________________________________________________
> Do you Yahoo!?
> Y! Web Hosting - Let the expert host your web site
> http://webhosting.yahoo.com/