public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Uros Bizjak <ubizjak@gmail.com>
To: Tejas Joshi <tejasjoshi9673@gmail.com>
Cc: "gcc-patches@gcc.gnu.org" <gcc-patches@gcc.gnu.org>,
	Martin Jambor <mjambor@suse.cz>, 	Jan Hubicka <hubicka@ucw.cz>
Subject: Re: [PATCH] i386: Roundeven expansion for SSE4.1+
Date: Wed, 31 Jul 2019 08:51:00 -0000	[thread overview]
Message-ID: <CAFULd4bbc1YTHOeebvzvOhccqMJO2ShnOk56FT9GT-w4cWS09w@mail.gmail.com> (raw)
In-Reply-To: <CACMrGjA+WTJ_sFVb4qkq9R71bWuP6xSw7xwe9Eg1EB87=QbbOg@mail.gmail.com>

On Wed, Jul 31, 2019 at 7:51 AM Tejas Joshi <tejasjoshi9673@gmail.com> wrote:
>
> Hi.
>
> > >     * gcc.target/i386/avx-vround-roundeven-1.c: New test.
> > >     * gcc.target/i386/avx-vround-roundeven-2.c: New test.
> >
> > roundss and roundsd are sse4_1 instructions, also please change tests
> > to use -O2:
>
> I have made the following changes you suggested and changed the file names to:
>
>     * gcc.target/i386/sse4_1-round-roundeven-1.c: New test.
>     * gcc.target/i386/sse4_1-round-roundeven-2.c: New test.

+++ b/gcc/testsuite/gcc.target/i386/sse4_1-round-roundeven-1.c
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-mavx" } */
+/* { dg-options "-msse4.1" } */

-O2 -msse4.1

OK with the above change.

Thanks,
Uros.

  reply	other threads:[~2019-07-31  8:50 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-24 10:45 Tejas Joshi
2019-07-27  9:22 ` Uros Bizjak
     [not found]   ` <CACMrGjATykFB-Noe+eTdunPUfEPFQk15uHc4gABdE7B+mGD5Og@mail.gmail.com>
     [not found]     ` <CACMrGjCwVOMf=pSjnHnusVyQ=dT73g-XYX3UH7iecBSCn8Pr0g@mail.gmail.com>
2019-07-31  7:10       ` Tejas Joshi
2019-07-31  8:51         ` Uros Bizjak [this message]
2019-08-22 14:43           ` Martin Jambor
2019-08-08 21:54   ` Jeff Law

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=CAFULd4bbc1YTHOeebvzvOhccqMJO2ShnOk56FT9GT-w4cWS09w@mail.gmail.com \
    --to=ubizjak@gmail.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=hubicka@ucw.cz \
    --cc=mjambor@suse.cz \
    --cc=tejasjoshi9673@gmail.com \
    /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).