public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "hjl at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/44180] [vect256] Wrong vec_extract_evenv8sf and vec_extract_oddv8sf
Date: Wed, 13 Oct 2010 21:20:00 -0000	[thread overview]
Message-ID: <20101013212000.xIPStNFYFJvF8sLK8ADv1HO-y2RdKUsIA9nBy_F3SLc@z> (raw)
In-Reply-To: <bug-44180-4@http.gcc.gnu.org/bugzilla/>

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44180

--- Comment #2 from hjl at gcc dot gnu.org <hjl at gcc dot gnu.org> 2010-10-13 21:20:12 UTC ---
Author: hjl
Date: Wed Oct 13 21:20:07 2010
New Revision: 165436

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=165436
Log:
Addd 256bit AVX vectorizer patterns.

2010-10-13  H.J. Lu  <hongjiu.lu@intel.com>

    * config/i386/i386.c (ix86_build_const_vector): Check vector
    mode instead of scalar mode.
    (ix86_build_signbit_mask): Likewise.
    (ix86_expand_fp_absneg_operator): Updated.
    (ix86_expand_copysign): Likewise.
    (ix86_expand_int_vcond): Likewise.
    (ix86_emit_swdivsf): Likewise.
    (ix86_sse_copysign_to_positive): Likewise.
    (ix86_expand_sse_fabs): Likewise.
    * config/i386/i386.md (fixuns_trunc<mode>si2): Likewise.
    * config/i386/sse.md (copysign<mode>3): Likewise.
    (sse2_cvtudq2ps): Likewise.
    (vec_unpacku_float_hi_v4si): Likewise.
    (vec_unpacku_float_lo_v4si): Likewise.

    * config/i386/i386.c (ix86_builtins): Add
    IX86_BUILTIN_CPYSGNPS256 and IX86_BUILTIN_CPYSGNPD256.
    (bdesc_args): Likewise.
    (ix86_builtin_vectorized_function): Support 
    IX86_BUILTIN_CPYSGNPS256, IX86_BUILTIN_CPYSGNPD256,
    IX86_BUILTIN_SQRTPD256, IX86_BUILTIN_SQRTPS_NR256,
    and IX86_BUILTIN_CVTPS2DQ256.
    (ix86_builtin_reciprocal): Support IX86_BUILTIN_SQRTPS_NR256.

    * config/i386/sse.md (STORENT_MODE): New.
    (VEC_FLOAT_MODE): Likewise.
    (VEC_EXTRACT_MODE): Likewise.
    (*avx_cvtdq2pd256_2): Likewise.
    (vec_pack_trunc_v4df): Likewise.
    (vec_interleave_highv8sf): Likewise.
    (vec_interleave_lowv8sf): Likewise.
    (storent<mode>): Macroized.
    (<code><mode>2: absneg): Likewise.
    (copysign<mode>3): Likewise.
    (vec_extract<mode>): Likewise.

    PR target/44180
    * config/i386/i386.c (expand_vec_perm_even_odd_1): Rewritten
    for V8SFmode.

2010-10-13  Richard Guenther  <rguenther@suse.de>
        H.J. Lu  <hongjiu.lu@intel.com>

    * config/i386/sse.md (reduc_splus_v8sf): Add.
    (reduc_splus_v4df): Likewise.
    (vec_unpacks_hi_v8sf): Likewise.
    (vec_unpacks_lo_v8sf): Likewise.
    (*avx_cvtps2pd256_2): Likewise.
    (vec_unpacks_float_hi_v8si): Likewise.
    (vec_unpacks_float_lo_v8si): Likewise.
    (vec_interleave_highv4df): Likewise.
    (vec_interleave_lowv4df): Likewise.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/i386/i386.c
    trunk/gcc/config/i386/i386.md
    trunk/gcc/config/i386/sse.md


       reply	other threads:[~2010-10-13 21:20 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <bug-44180-4@http.gcc.gnu.org/bugzilla/>
2010-10-13 21:20 ` hjl at gcc dot gnu.org [this message]
2010-10-14  2:12 ` hjl at gcc dot gnu.org
2010-10-14  2:13 ` hjl.tools at gmail dot com
2010-05-17 23:13 [Bug target/44180] New: [vect256] Wrong hjl dot tools at gmail dot com
2010-05-17 23:48 ` [Bug target/44180] [vect256] Wrong vec_extract_evenv8sf and vec_extract_oddv8sf hjl at gcc dot gnu dot org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20101013212000.xIPStNFYFJvF8sLK8ADv1HO-y2RdKUsIA9nBy_F3SLc@z \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).