From: Richard Biener <richard.guenther@gmail.com>
To: Ilya Verbin <iverbin@gmail.com>
Cc: Thomas Schwinge <thomas@codesourcery.com>,
Jakub Jelinek <jakub@redhat.com>,
GCC Patches <gcc-patches@gcc.gnu.org>,
Kirill Yukhin <kirill.yukhin@gmail.com>,
Nathan Sidwell <nathan@codesourcery.com>
Subject: Re: Regression in target MIC compiler
Date: Tue, 04 Aug 2015 14:07:00 -0000 [thread overview]
Message-ID: <CAFiYyc2iSDfisUHjXqoSSu9oQ9K7XFKTwGZBV7S5yhs2FmEybg@mail.gmail.com> (raw)
In-Reply-To: <20150804130623.GA31722@msticlxl57.ims.intel.com>
On Tue, Aug 4, 2015 at 3:06 PM, Ilya Verbin <iverbin@gmail.com> wrote:
> On Tue, Aug 04, 2015 at 14:35:11 +0200, Thomas Schwinge wrote:
>> On Fri, 31 Jul 2015 20:13:02 +0300, Ilya Verbin <iverbin@gmail.com> wrote:
>> > On Fri, Jul 31, 2015 at 18:59:59 +0200, Jakub Jelinek wrote:
>> > > > > On Wed, Feb 18, 2015 at 11:00:35 +0100, Jakub Jelinek wrote:
>> > > > > + /* First search just the GET_CLASS_NARROWEST_MODE to wider modes,
>> > > > > + if not found, fallback to all modes. */
>> > > > > + int pass;
>> > > > > + for (pass = 0; pass < 2; pass++)
>> > > > > + for (machine_mode mr = pass ? VOIDmode
>> > > > > + : GET_CLASS_NARROWEST_MODE (mclass);
>> > > > > + pass ? mr < MAX_MACHINE_MODE : mr != VOIDmode;
>> > > > > + pass ? mr = (machine_mode) (m + 1)
>> > > > > + : mr = GET_MODE_WIDER_MODE (mr))
>> > > > > + if (GET_MODE_CLASS (mr) != mclass
>> > > > > + || GET_MODE_SIZE (mr) != size
>> > > > > + || GET_MODE_PRECISION (mr) != prec
>> > > > > + || GET_MODE_INNER (mr) != inner
>> > > > > + || GET_MODE_IBIT (mr) != ibit
>> > > > > + || GET_MODE_FBIT (mr) != fbit
>> > > > > + || GET_MODE_NUNITS (mr) != nunits)
>> > > > > + continue;
>> > > > >
>> > > > > Given that gomp-4_1-branch works ok, the problem was introduced somewhere
>> > > > > between 9 and 31 Jul. I'll try to find the revision.
>> > > >
>> > > > Shouldn't 'mr' be here instead of 'm'?
>> > >
>> > > I think so. If it works, patch preapproved.
^^^
looks like an obvious error anyway.
Richard.
>> > It fixes the infinite loop, but causes an error:
>> > lto1: fatal error: unsupported mode QI
>>
>> Confirmed.
>>
>> > > But wonder what changed that we haven't been triggering it before.
>> > > What mode do you think it on (mclass/size/prec/inner/ibit/fbit/nunits)?
>> >
>> > When in hangs, mr is HImode.
>>
>> Do you already have any further analysis, a workaround, or even a fix?
>
> Not yet. I thought since Jakub is the author of this function, he could easily
> point what is wrong here :) Actually, intelmic doesn't require
> lto_input_mode_table, so temporary workaround is just to disable it.
>
> -- Ilya
next prev parent reply other threads:[~2015-08-04 14:07 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-31 16:44 Regression in target MIC compiler (was: nvptx offloading patches [3/n], RFD) Ilya Verbin
2015-07-31 17:05 ` Ilya Verbin
2015-07-31 17:13 ` Jakub Jelinek
2015-07-31 17:52 ` Ilya Verbin
2015-08-04 12:35 ` Regression in target MIC compiler Thomas Schwinge
2015-08-04 13:06 ` Ilya Verbin
2015-08-04 14:07 ` Richard Biener [this message]
2015-08-04 14:30 ` Ilya Verbin
2015-08-05 9:31 ` Thomas Schwinge
2015-08-05 10:18 ` David Sherwood
2015-08-05 10:46 ` Thomas Schwinge
2015-08-05 14:10 ` David Sherwood
2015-08-05 15:46 ` Thomas Schwinge
2015-08-06 13:48 ` Fix offloading machine mode stream reading (was: Regression in target MIC compiler) Thomas Schwinge
2015-08-08 5:25 ` Richard Biener
2015-08-10 15:28 ` Fix offloading machine mode stream reading Thomas Schwinge
-- strict thread matches above, loose matches on Subject: below --
2015-07-27 10:31 [PATCH][1/N] Change GET_MODE_INNER to always return a non-void mode David Sherwood
2015-07-27 19:00 ` Jeff Law
2015-07-28 9:38 ` David Sherwood
2015-07-31 16:48 ` Jeff Law
2015-07-28 11:23 ` David Sherwood
2015-07-28 20:36 ` Richard Sandiford
[not found] ` <1C23526A7C42DB45BBF55B662C7C530E4E63F85B70@BUNGLE.Emea.Arm.com>
2015-07-31 16:48 ` 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=CAFiYyc2iSDfisUHjXqoSSu9oQ9K7XFKTwGZBV7S5yhs2FmEybg@mail.gmail.com \
--to=richard.guenther@gmail.com \
--cc=gcc-patches@gcc.gnu.org \
--cc=iverbin@gmail.com \
--cc=jakub@redhat.com \
--cc=kirill.yukhin@gmail.com \
--cc=nathan@codesourcery.com \
--cc=thomas@codesourcery.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).