public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "thopre01 at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/65369] [5 Regression] nettle test failure on powerpc64le-linux-gnu when built with -O3
Date: Fri, 13 Mar 2015 04:42:00 -0000	[thread overview]
Message-ID: <bug-65369-4-VbqdLGdppF@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-65369-4@http.gcc.gnu.org/bugzilla/>

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

Thomas Preud'homme <thopre01 at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |NEW
   Last reconfirmed|2015-03-10 00:00:00         |2015-03-12 0:00
           Assignee|thopre01 at gcc dot gnu.org        |unassigned at gcc dot gnu.org

--- Comment #27 from Thomas Preud'homme <thopre01 at gcc dot gnu.org> ---
(In reply to Jakub Jelinek from comment #26)
> So, on my version of the testcase with r210843 -O3 -mcpu=power8 there are
> like 49
> 32 bit load in host endianness found at: _105 = MEM[(const unsigned char
> *)load_src_25];
> occurrences, so I've added a quick hack (should have used dbg counters
> parhaps), and
> with BSWAPCNT=16 it works fine, with BSWAPCNT=17 it fails.
> In the *.optimized dump, I've noticed that this single load matters for
> vectorization in md4_update function, with BSWAPCNT=16 a chunk of code isn't
> vectorized, with BSWAPCNT=17 it is.

> 
> So very well this might just trigger a latent bug in the vectorizer or
> powerpc backend.


Using trunk I get the following difference for bswap

@@ -1110,10 +1111,10 @@ nettle_md4_update (struct md4_ctx * ctx,
   _100 = MEM[(const uint8_t *)data_149 + 1B];
   _101 = (unsigned int) _100;
   _102 = _101 << 8;
+  _106 = MEM[(const uint8_t *)data_149];
   _104 = *data_149;
   _105 = (unsigned int) _104;
   _123 = _99 | _105;
-  _106 = _102 | _123;

Which looks perfectly fine. So yeah, I guess the problem is at a different
level.


  parent reply	other threads:[~2015-03-13  4:42 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-09 23:14 [Bug target/65369] New: " doko at gcc dot gnu.org
2015-03-09 23:24 ` [Bug target/65369] " pinskia at gcc dot gnu.org
2015-03-10  9:00 ` rguenth at gcc dot gnu.org
2015-03-10 15:01 ` law at redhat dot com
2015-03-10 21:56 ` msebor at gcc dot gnu.org
2015-03-11  4:04 ` msebor at gcc dot gnu.org
2015-03-11  4:10 ` doko at gcc dot gnu.org
2015-03-11 21:36 ` msebor at gcc dot gnu.org
2015-03-12  2:50 ` msebor at gcc dot gnu.org
2015-03-12 11:11 ` thopre01 at gcc dot gnu.org
2015-03-12 11:11 ` trippels at gcc dot gnu.org
2015-03-12 11:11 ` thopre01 at gcc dot gnu.org
2015-03-12 11:11 ` thopre01 at gcc dot gnu.org
2015-03-12 11:11 ` trippels at gcc dot gnu.org
2015-03-12 13:54 ` amodra at gmail dot com
2015-03-12 14:01 ` amodra at gmail dot com
2015-03-12 14:04 ` trippels at gcc dot gnu.org
2015-03-12 15:10 ` jakub at gcc dot gnu.org
2015-03-12 15:22 ` jakub at gcc dot gnu.org
2015-03-12 15:34 ` trippels at gcc dot gnu.org
2015-03-12 15:38 ` jakub at gcc dot gnu.org
2015-03-12 15:40 ` msebor at gcc dot gnu.org
2015-03-12 15:42 ` jakub at gcc dot gnu.org
2015-03-12 15:44 ` trippels at gcc dot gnu.org
2015-03-12 15:48 ` jakub at gcc dot gnu.org
2015-03-12 15:54 ` msebor at gcc dot gnu.org
2015-03-12 16:32 ` trippels at gcc dot gnu.org
2015-03-13  4:42 ` thopre01 at gcc dot gnu.org [this message]
2015-03-13  6:38 ` amodra at gmail dot com
2015-03-13  6:46 ` trippels at gcc dot gnu.org
2015-03-13  9:46 ` rguenth at gcc dot gnu.org
2015-03-13 14:01 ` amodra at gmail dot com
2015-03-13 14:22 ` amodra at gmail dot com
2015-03-13 14:51 ` trippels at gcc dot gnu.org
2015-03-13 15:25 ` wschmidt at gcc dot gnu.org
2015-03-13 16:25 ` jakub at gcc dot gnu.org
2015-03-13 16:45 ` jakub at gcc dot gnu.org
2015-03-13 16:46 ` jakub at gcc dot gnu.org
2015-03-14  9:57 ` jakub at gcc dot gnu.org
2015-03-14  9:57 ` 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-65369-4-VbqdLGdppF@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).