public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Jeff Law <law@redhat.com>
To: "H.J. Lu" <hjl.tools@gmail.com>, gcc-patches@gcc.gnu.org
Subject: Re: [PATCH] Compile gcc.target/i386/pr78904-4a.c with -mtune=generic
Date: Wed, 16 Sep 2020 22:12:04 -0600	[thread overview]
Message-ID: <635108c5-16c0-8f58-725b-a7de3c1ea9b2@redhat.com> (raw)
In-Reply-To: <20200915143246.102392-1-hjl.tools@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 807 bytes --]


On 9/15/20 8:32 AM, H.J. Lu via Gcc-patches wrote:
> commit e95395926a84a2406faefe0995295d199d595440
> Author: Uros Bizjak <ubizjak@gmail.com>
> Date:   Thu Jun 18 20:12:48 2020 +0200
>
>     i386: Fix mode of ZERO_EXTRACT RTXes, remove ext_register_operand predicate.
>
> caused
>
> FAIL: gcc.target/i386/pr78904-4a.c scan-assembler [ \t]movb[\t ]+%.h, t
>
> when compiled with --target_board='unix{-m32\ -march=cascadelake}'.  With
> -mtune=generic:
>
> 	movzwl	4(%esp), %edx
> 	movl	8(%esp), %eax
> 	movb	%dh, t(%eax)
> 	ret
>
> With -mtune=cascadelake:
>
> 	movzbl	5(%esp), %edx
> 	movl	8(%esp), %eax
> 	movb	%dl, t(%eax)
> 	ret
>
> Add -mtune=generic for --target_board='unix{-m32\ -march=cascadelake}'.

OK with an appropriate ChangeLog entry on the commit.

jeff



[-- Attachment #2: pEpkey.asc --]
[-- Type: application/pgp-keys, Size: 1763 bytes --]

      reply	other threads:[~2020-09-17  4:12 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-15 14:32 H.J. Lu
2020-09-17  4:12 ` Jeff Law [this message]

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=635108c5-16c0-8f58-725b-a7de3c1ea9b2@redhat.com \
    --to=law@redhat.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=hjl.tools@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).