public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/63594] [5 Regression] ICE: in ix86_vector_duplicate_value, at config/i386/i386.c:39831 with -mavx512f
Date: Mon, 20 Oct 2014 17:05:00 -0000	[thread overview]
Message-ID: <bug-63594-4-Idr8hQNKh9@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-63594-4@http.gcc.gnu.org/bugzilla/>

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63594

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Better testcase that tests both broadcasts from GPRs and broadcasts from
memory:

#define C1 c
#define C2 C1, C1
#define C4 C2, C2
#define C8 C4, C4
#define C16 C8, C8
#define C32 C16, C16
#define C64 C32, C32
#define C_(n) n
#define C(n) C_(C##n)

#define T(t,s) \
typedef t v##t##s __attribute__ ((__vector_size__ (s * sizeof (t))));    \
v##t##s test##t##s (t c)                        \
{                                    \
  v##t##s v = { C(s) };                            \
  return v;                                \
}                                    \
v##t##s test2##t##s (t *p)                        \
{                                    \
  t c = *p;                                \
  v##t##s v = { C(s) };                            \
  return v;                                \
}

typedef long long llong;

T(char, 64)
T(char, 32)
T(char, 16)
T(char, 8)
T(short, 32)
T(short, 16)
T(short, 8)
T(short, 4)
T(int, 16)
T(int, 8)
T(int, 4)
T(int, 2)
T(float, 16)
T(float, 8)
T(float, 4)
T(float, 2)
T(llong, 8)
T(llong, 4)
T(llong, 2)
T(double, 8)
T(double, 4)
T(double, 2)


  parent reply	other threads:[~2014-10-20 16:57 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <bug-63594-4@http.gcc.gnu.org/bugzilla/>
2014-10-19 19:04 ` ubizjak at gmail dot com
2014-10-20  9:15 ` jakub at gcc dot gnu.org
2014-10-20 10:39 ` jakub at gcc dot gnu.org
2014-10-20 12:50 ` kyukhin at gcc dot gnu.org
2014-10-20 17:05 ` jakub at gcc dot gnu.org [this message]
2014-10-20 17:16 ` jakub at gcc dot gnu.org
2014-10-21  9:31 ` jakub at gcc dot gnu.org
2014-10-22  7:00 ` jakub at gcc dot gnu.org
2014-10-22  7:24 ` jakub at gcc dot gnu.org
2014-10-24  7:04 ` trippels at gcc dot gnu.org
2014-11-18 14:54 ` jakub at gcc dot gnu.org
2014-11-20 12:38 ` rguenth at gcc dot gnu.org
2014-12-10  9:01 ` jakub at gcc dot gnu.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=bug-63594-4-Idr8hQNKh9@http.gcc.gnu.org/bugzilla/ \
    --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).