This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: I387 commutative fpop patterns
- To: Jan Hubicka <hubicka at atrey dot karlin dot mff dot cuni dot cz>
- Subject: Re: I387 commutative fpop patterns
- From: Richard Henderson <rth at cygnus dot com>
- Date: Fri, 19 Nov 1999 02:00:58 -0800
- Cc: egcs-patches at egcs dot cygnus dot com
- References: <19991119014317.19517@atrey.karlin.mff.cuni.cz>
On Fri, Nov 19, 1999 at 01:43:17AM +0100, Jan Hubicka wrote:
> There is some code to handle the "two address" instructions (ie those that
> contains "0" in constraint.
And regmove doesn't notice the existing "0,fm"/"fm,0" pairs?
Believable -- that's kinda ugly to check for.
> There is problem with reg-stack. It does substitue registers and prevents
> patterns from matching.
I'm very puzzled by this statement. The existing patterns _do_
use a matching constraint, the only thing they lack is the %.
So what changed that we couldn't match?
> + case PLUS:
> + case MULT:
> + return GET_MODE_CLASS (GET_MODE (op)) == MODE_FLOAT;
No need to check explicitly for PLUS/MULT; check GET_RTX_CLASS == 'c'.
r~