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: [PATCH] Add integer and/or/xor/andn patterns for SSE


On 8/23/07, Paolo Bonzini <bonzini@gnu.org> wrote:

> 2007-08-22  Paolo Bonzini  <bonzini@gnu.org>
>
>         * config/i386/sse.md (*sse_and<mode>3, *sse_ior<mode>3,
>         *sse_nand<mode>3, *sse_xor<mode>3): New.
>
> 2007-08-22  Paolo Bonzini  <bonzini@gnu.org>
>
>         * gcc.target/i386/xorps-sse2.c: New.
>         * gcc.target/i386/xorps-sse.c: New.

OK with a small fix below:

> @@ -3867,10 +3900,21 @@
>    [(set (match_operand:SSEMODEI 0 "register_operand" "")
>         (xor:SSEMODEI (match_operand:SSEMODEI 1 "nonimmediate_operand" "")
>                       (match_operand:SSEMODEI 2 "nonimmediate_operand" "")))]
> -  "TARGET_SSE2"
> +  "TARGET_SSE || TARGET_SSE2"

TARGET_SSE is enough.

Thanks,
Uros.


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