This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: SSE sqrt patterns
- To: Jan Hubicka <jh at suse dot cz>
- Subject: Re: SSE sqrt patterns
- From: Richard Henderson <rth at redhat dot com>
- Date: Tue, 13 Feb 2001 10:12:38 -0800
- Cc: gcc-patches at gcc dot gnu dot org, patches at x86-64 dot org
- References: <20010213185316.J20038@atrey.karlin.mff.cuni.cz>
On Tue, Feb 13, 2001 at 06:53:16PM +0100, Jan Hubicka wrote:
> * i386.c (sqrt?f2): Change to expander.
> (sqrt?f2_1, sqrt?f2_sse_only, sqrt?f2_i387): New.
Ok.
> ! (define_expand "sqrtdf2"
> ! [(set (match_operand:DF 0 "register_operand" "")
> ! (sqrt:DF (match_operand:DF 1 "nonimmediate_operand" "")))]
> ! "(! TARGET_NO_FANCY_MATH_387 && TARGET_80387) || TARGET_SSE"
SSE1 has sqrtsd?
r~