public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/66822] New: Turn off X86_TUNE_ZERO_EXTEND_WITH_AND for IAMCU
@ 2015-07-09 11:48 hjl.tools at gmail dot com
  2015-07-09 12:12 ` [Bug target/66822] Turn off X86_TUNE_ZERO_EXTEND_WITH_AND for -miamcu julia.koval at intel dot com
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: hjl.tools at gmail dot com @ 2015-07-09 11:48 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 66822
           Summary: Turn off X86_TUNE_ZERO_EXTEND_WITH_AND for IAMCU
           Product: gcc
           Version: 6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: hjl.tools at gmail dot com
                CC: julia.koval at intel dot com
  Target Milestone: ---

Since X86_TUNE_ZERO_EXTEND_WITH_AND generates bigger code, should
it be turned off for IAMCU?


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug target/66822] Turn off X86_TUNE_ZERO_EXTEND_WITH_AND for -miamcu
  2015-07-09 11:48 [Bug target/66822] New: Turn off X86_TUNE_ZERO_EXTEND_WITH_AND for IAMCU hjl.tools at gmail dot com
@ 2015-07-09 12:12 ` julia.koval at intel dot com
  2015-07-09 18:09 ` hjl.tools at gmail dot com
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: julia.koval at intel dot com @ 2015-07-09 12:12 UTC (permalink / raw)
  To: gcc-bugs

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

Yulia Koval <julia.koval at intel dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |izamyatin at gmail dot com

--- Comment #1 from Yulia Koval <julia.koval at intel dot com> ---
I think it's a good idea.


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug target/66822] Turn off X86_TUNE_ZERO_EXTEND_WITH_AND for -miamcu
  2015-07-09 11:48 [Bug target/66822] New: Turn off X86_TUNE_ZERO_EXTEND_WITH_AND for IAMCU hjl.tools at gmail dot com
  2015-07-09 12:12 ` [Bug target/66822] Turn off X86_TUNE_ZERO_EXTEND_WITH_AND for -miamcu julia.koval at intel dot com
@ 2015-07-09 18:09 ` hjl.tools at gmail dot com
  2015-07-09 20:32 ` ubizjak at gmail dot com
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: hjl.tools at gmail dot com @ 2015-07-09 18:09 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Yulia Koval from comment #1)
> I think it's a good idea.

If we do that, we may also adjust iamcu_cost:

  COSTS_N_INSNS (3),                    /* cost of movsx */
  COSTS_N_INSNS (2),                    /* cost of movzx */


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug target/66822] Turn off X86_TUNE_ZERO_EXTEND_WITH_AND for -miamcu
  2015-07-09 11:48 [Bug target/66822] New: Turn off X86_TUNE_ZERO_EXTEND_WITH_AND for IAMCU hjl.tools at gmail dot com
  2015-07-09 12:12 ` [Bug target/66822] Turn off X86_TUNE_ZERO_EXTEND_WITH_AND for -miamcu julia.koval at intel dot com
  2015-07-09 18:09 ` hjl.tools at gmail dot com
@ 2015-07-09 20:32 ` ubizjak at gmail dot com
  2015-07-10  1:42 ` [Bug target/66822] Turn -mtune=iamcu for size hjl.tools at gmail dot com
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: ubizjak at gmail dot com @ 2015-07-09 20:32 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Uroš Bizjak <ubizjak at gmail dot com> ---
Please hold a bit with this change, I have a patch that improves generation of
zero_extend substantially.
>From gcc-bugs-return-491913-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jul 09 20:36:33 2015
Return-Path: <gcc-bugs-return-491913-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 111682 invoked by alias); 9 Jul 2015 20:36:33 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 111172 invoked by uid 55); 9 Jul 2015 20:36:29 -0000
From: "hjl at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/66821] reassoc-37.c fails on -march=iamcu
Date: Thu, 09 Jul 2015 20:36:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: target
X-Bugzilla-Version: 6.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hjl at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-66821-4-fckBE6trS6@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-66821-4@http.gcc.gnu.org/bugzilla/>
References: <bug-66821-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-07/txt/msg00803.txt.bz2
Content-length: 539

https://gcc.gnu.org/bugzilla/show_bug.cgi?idf821

--- Comment #10 from hjl at gcc dot gnu.org <hjl at gcc dot gnu.org> ---
Author: hjl
Date: Thu Jul  9 20:35:56 2015
New Revision: 225635

URL: https://gcc.gnu.org/viewcvs?rev"5635&root=gcc&view=rev
Log:
Adjust variable shift costs for IA MCU

We reduce code size for IA MCU by adjusting variable shift costs for IA
MCU

        PR target/66821
        * config/i386/i386.c (iamcu_cost): Adjust variable shift costs.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/i386/i386.c


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug target/66822] Turn -mtune=iamcu for size
  2015-07-09 11:48 [Bug target/66822] New: Turn off X86_TUNE_ZERO_EXTEND_WITH_AND for IAMCU hjl.tools at gmail dot com
                   ` (2 preceding siblings ...)
  2015-07-09 20:32 ` ubizjak at gmail dot com
@ 2015-07-10  1:42 ` hjl.tools at gmail dot com
  2015-07-10  1:46 ` hjl.tools at gmail dot com
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: hjl.tools at gmail dot com @ 2015-07-10  1:42 UTC (permalink / raw)
  To: gcc-bugs

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

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Turn off                    |Turn -mtune=iamcu for size
                   |X86_TUNE_ZERO_EXTEND_WITH_A |
                   |ND for -miamcu              |

--- Comment #4 from H.J. Lu <hjl.tools at gmail dot com> ---
-mtune=iamcu should be tuned for size. X86_TUNE_ZERO_EXTEND_WITH_AND
lead to bigger size:

[hjl@gnu-tools-1 pr66822]$ cat x.i
unsigned int
foo (unsigned short x)
{
  return x;
}
[hjl@gnu-tools-1 pr66822]$ /export/build/gnu/gcc/build-x86_64-linux/gcc/xgcc
-B/export/build/gnu/gcc/build-x86_64-linux/gcc/ -O2 -m32 -miamcu -mtune=iamcu
-c -o x.o x.i -mtune-ctrl=^zero_extend_with_and
[hjl@gnu-tools-1 pr66822]$ objdump -dwr x.o

x.o:     file format elf32-i386


Disassembly of section .text:

00000000 <foo>:
   0:   0f b7 c0                movzwl %ax,%eax
   3:   c3                      ret    
[hjl@gnu-tools-1 pr66822]$ /export/build/gnu/gcc/build-x86_64-linux/gcc/xgcc
-B/export/build/gnu/gcc/build-x86_64-linux/gcc/ -O2 -m32 -miamcu -mtune=iamcu
-c -o x.o x.i -mtune-ctrl=zero_extend_with_and
[hjl@gnu-tools-1 pr66822]$ objdump -dwr x.o

x.o:     file format elf32-i386


Disassembly of section .text:

00000000 <foo>:
   0:   25 ff ff 00 00          and    $0xffff,%eax
   5:   c3                      ret    
[hjl@gnu-tools-1 pr66822]$


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug target/66822] Turn -mtune=iamcu for size
  2015-07-09 11:48 [Bug target/66822] New: Turn off X86_TUNE_ZERO_EXTEND_WITH_AND for IAMCU hjl.tools at gmail dot com
                   ` (3 preceding siblings ...)
  2015-07-10  1:42 ` [Bug target/66822] Turn -mtune=iamcu for size hjl.tools at gmail dot com
@ 2015-07-10  1:46 ` hjl.tools at gmail dot com
  2015-07-10  1:59 ` hjl.tools at gmail dot com
  2015-07-10  9:16 ` ubizjak at gmail dot com
  6 siblings, 0 replies; 8+ messages in thread
From: hjl.tools at gmail dot com @ 2015-07-10  1:46 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #5 from H.J. Lu <hjl.tools at gmail dot com> ---
X86_TUNE_USE_BT also reduces code size:

[hjl@gnu-tools-1 pr66822]$ cat y.i
void bar (void);

void
foo (int x)
{
  if (x != 2 && x != 3 && x != 10 && x != 11 && x != 17 && x != 18 && x != 23)
    bar ();
}
[hjl@gnu-tools-1 pr66822]$ make y.o
/export/build/gnu/gcc/build-x86_64-linux/gcc/xgcc
-B/export/build/gnu/gcc/build-x86_64-linux/gcc/ -O2 -m32 -miamcu -mtune=iamcu
-S -o y.s y.i
/export/build/gnu/gcc/build-x86_64-linux/gcc/xgcc
-B/export/build/gnu/gcc/build-x86_64-linux/gcc/ -O2 -m32 -miamcu -mtune=iamcu
-c -o y.o y.s
rm y.s
[hjl@gnu-tools-1 pr66822]$ objdump -dwr y.o

y.o:     file format elf32-i386


Disassembly of section .text:

00000000 <foo>:
   0:   83 f8 17                cmp    $0x17,%eax
   3:   76 0b                   jbe    10 <foo+0x10>
   5:   e9 fc ff ff ff          jmp    6 <foo+0x6>      6: R_386_PC32   bar
   a:   8d b6 00 00 00 00       lea    0x0(%esi),%esi
  10:   ba 0c 0c 86 00          mov    $0x860c0c,%edx
  15:   88 c1                   mov    %al,%cl
  17:   d3 ea                   shr    %cl,%edx
  19:   83 e2 01                and    $0x1,%edx
  1c:   74 e7                   je     5 <foo+0x5>
  1e:   c3                      ret    
[hjl@gnu-tools-1 pr66822]$ /export/build/gnu/gcc/build-x86_64-linux/gcc/xgcc
-B/export/build/gnu/gcc/build-x86_64-linux/gcc/ -O2 -m32 -miamcu -mtune=iamcu
-c y.i -mtune-ctrl=use_bt
[hjl@gnu-tools-1 pr66822]$ objdump -dwr y.o

y.o:     file format elf32-i386


Disassembly of section .text:

00000000 <foo>:
   0:   83 f8 17                cmp    $0x17,%eax
   3:   76 0b                   jbe    10 <foo+0x10>
   5:   e9 fc ff ff ff          jmp    6 <foo+0x6>      6: R_386_PC32   bar
   a:   8d b6 00 00 00 00       lea    0x0(%esi),%esi
  10:   ba 0c 0c 86 00          mov    $0x860c0c,%edx
  15:   0f a3 c2                bt     %eax,%edx
  18:   73 eb                   jae    5 <foo+0x5>
  1a:   c3                      ret    
[hjl@gnu-tools-1 pr66822]$


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug target/66822] Turn -mtune=iamcu for size
  2015-07-09 11:48 [Bug target/66822] New: Turn off X86_TUNE_ZERO_EXTEND_WITH_AND for IAMCU hjl.tools at gmail dot com
                   ` (4 preceding siblings ...)
  2015-07-10  1:46 ` hjl.tools at gmail dot com
@ 2015-07-10  1:59 ` hjl.tools at gmail dot com
  2015-07-10  9:16 ` ubizjak at gmail dot com
  6 siblings, 0 replies; 8+ messages in thread
From: hjl.tools at gmail dot com @ 2015-07-10  1:59 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #6 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to H.J. Lu from comment #5)
> X86_TUNE_USE_BT also reduces code size:
> 
> [hjl@gnu-tools-1 pr66822]$ cat y.i
> void bar (void);
> 
> void
> foo (int x)
> {
>   if (x != 2 && x != 3 && x != 10 && x != 11 && x != 17 && x != 18 && x !=
> 23)
>     bar ();
> }
> [hjl@gnu-tools-1 pr66822]$ make y.o
> /export/build/gnu/gcc/build-x86_64-linux/gcc/xgcc
> -B/export/build/gnu/gcc/build-x86_64-linux/gcc/ -O2 -m32 -miamcu
> -mtune=iamcu -S -o y.s y.i
> /export/build/gnu/gcc/build-x86_64-linux/gcc/xgcc
> -B/export/build/gnu/gcc/build-x86_64-linux/gcc/ -O2 -m32 -miamcu
> -mtune=iamcu -c -o y.o y.s
> rm y.s
> [hjl@gnu-tools-1 pr66822]$ objdump -dwr y.o
> 
> y.o:     file format elf32-i386
> 
> 
> Disassembly of section .text:
> 
> 00000000 <foo>:
>    0:	83 f8 17             	cmp    $0x17,%eax
>    3:	76 0b                	jbe    10 <foo+0x10>
>    5:	e9 fc ff ff ff       	jmp    6 <foo+0x6>	6: R_386_PC32	bar
>    a:	8d b6 00 00 00 00    	lea    0x0(%esi),%esi
>   10:	ba 0c 0c 86 00       	mov    $0x860c0c,%edx
>   15:	88 c1                	mov    %al,%cl
>   17:	d3 ea                	shr    %cl,%edx
>   19:	83 e2 01             	and    $0x1,%edx
>   1c:	74 e7                	je     5 <foo+0x5>
>   1e:	c3                   	ret    
> [hjl@gnu-tools-1 pr66822]$ /export/build/gnu/gcc/build-x86_64-linux/gcc/xgcc
> -B/export/build/gnu/gcc/build-x86_64-linux/gcc/ -O2 -m32 -miamcu
> -mtune=iamcu -c y.i -mtune-ctrl=use_bt
> [hjl@gnu-tools-1 pr66822]$ objdump -dwr y.o
> 
> y.o:     file format elf32-i386
> 
> 
> Disassembly of section .text:
> 
> 00000000 <foo>:
>    0:	83 f8 17             	cmp    $0x17,%eax
>    3:	76 0b                	jbe    10 <foo+0x10>
>    5:	e9 fc ff ff ff       	jmp    6 <foo+0x6>	6: R_386_PC32	bar
>    a:	8d b6 00 00 00 00    	lea    0x0(%esi),%esi
>   10:	ba 0c 0c 86 00       	mov    $0x860c0c,%edx
>   15:	0f a3 c2             	bt     %eax,%edx
>   18:	73 eb                	jae    5 <foo+0x5>
>   1a:	c3                   	ret    
> [hjl@gnu-tools-1 pr66822]$

We can reduce size further by

diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c
index bca1fee..4f08d0a 100644
--- a/gcc/config/i386/i386.c
+++ b/gcc/config/i386/i386.c
@@ -2556,7 +2556,7 @@ static const struct ptt
processor_target_table[PROCESSOR_max] =
   {"i386", &i386_cost, 4, 3, 4, 3, 4},
   {"i486", &i486_cost, 16, 15, 16, 15, 16},
   {"pentium", &pentium_cost, 16, 7, 16, 7, 16},
-  {"iamcu", &iamcu_cost, 16, 7, 16, 7, 16},
+  {"iamcu", &iamcu_cost, 0, 0, 0, 0, 0},
   {"pentiumpro", &pentiumpro_cost, 16, 15, 16, 10, 16},
   {"pentium4", &pentium4_cost, 0, 0, 0, 0, 0},
   {"nocona", &nocona_cost, 0, 0, 0, 0, 0},

and get

00000000 <foo>:
   0:   83 f8 17                cmp    $0x17,%eax
   3:   76 05                   jbe    a <foo+0xa>
   5:   e9 fc ff ff ff          jmp    6 <foo+0x6>      6: R_386_PC32   bar
   a:   ba 0c 0c 86 00          mov    $0x860c0c,%edx
   f:   0f a3 c2                bt     %eax,%edx
  12:   73 f1                   jae    5 <foo+0x5>
  14:   c3                      ret    
[hjl@gnu-tools-1 pr66822]$
>From gcc-bugs-return-491934-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jul 10 02:16:45 2015
Return-Path: <gcc-bugs-return-491934-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 10123 invoked by alias); 10 Jul 2015 02:16:45 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 10064 invoked by uid 48); 10 Jul 2015 02:16:40 -0000
From: "jason at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/66092] [c++-concepts] Concept can't check variadic template arguments
Date: Fri, 10 Jul 2015 02:16:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jason at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc everconfirmed
Message-ID: <bug-66092-4-ZSfIYDmzHl@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-66092-4@http.gcc.gnu.org/bugzilla/>
References: <bug-66092-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-07/txt/msg00824.txt.bz2
Content-length: 1592

https://gcc.gnu.org/bugzilla/show_bug.cgi?idf092

Jason Merrill <jason at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2015-07-10
                 CC|                            |jason at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> ---
(In reply to Andrew Sutton from comment #2)
> I think that this should be ill-formed.
>
> template <typename T, typename U, typename... Args>
>   concept bool Same()
>   {
>     return decltype(check<T, U, Args...>())::value;
>   }
>
> template <typename... Args>
> requires Same<Args...>()
>   void foo( Args... args ) {}
>
>
> Template constraint processing requires that flatten (inline) the check for
> Same<Args...>(), but I don't see how we can substitute a dependent argument
> pack into three distinct template parameters (T, U, and ...Args).
>
> The wording prohibiting this is missing in the TS.

Agreed, this is basically the same issue as core issue 1430 for alias
templates.  We can fix the crash on this testcase by adding concepts to the DR
1430 check in coerce_template_parms, but complain is tf_none at that point so
we don't get a helpful error message.  Any thoughts on that?  It seems to me
that we probably want to pass complain through the normalize/lift functions.

Is there something to address this in your latest draft?


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug target/66822] Turn -mtune=iamcu for size
  2015-07-09 11:48 [Bug target/66822] New: Turn off X86_TUNE_ZERO_EXTEND_WITH_AND for IAMCU hjl.tools at gmail dot com
                   ` (5 preceding siblings ...)
  2015-07-10  1:59 ` hjl.tools at gmail dot com
@ 2015-07-10  9:16 ` ubizjak at gmail dot com
  6 siblings, 0 replies; 8+ messages in thread
From: ubizjak at gmail dot com @ 2015-07-10  9:16 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #7 from Uroš Bizjak <ubizjak at gmail dot com> ---
(In reply to Uroš Bizjak from comment #3)
> Please hold a bit with this change, I have a patch that improves generation
> of zero_extend substantially.

Eh, it won't have such drastic effect on code size, so if size is priority,
X86_TUNE_ZERO_EXTEND_WITH_AND should be disabled.
>From gcc-bugs-return-491951-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jul 10 09:25:51 2015
Return-Path: <gcc-bugs-return-491951-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 20282 invoked by alias); 10 Jul 2015 09:25:50 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 20062 invoked by uid 48); 10 Jul 2015 09:25:47 -0000
From: "paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/65592] internal compiler error: Segmentation fault when using non-existent enum class enumerator
Date: Fri, 10 Jul 2015 09:25:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: 4.9.1
X-Bugzilla-Keywords: ice-on-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: paolo.carlini at oracle dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-65592-4-8IbvW4aggH@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-65592-4@http.gcc.gnu.org/bugzilla/>
References: <bug-65592-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-07/txt/msg00841.txt.bz2
Content-length: 204

https://gcc.gnu.org/bugzilla/show_bug.cgi?ide592

--- Comment #3 from Paolo Carlini <paolo.carlini at oracle dot com> ---
This issue is already fixed in mainline. I'm adding a testcase and closing it.


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2015-07-10  9:16 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-09 11:48 [Bug target/66822] New: Turn off X86_TUNE_ZERO_EXTEND_WITH_AND for IAMCU hjl.tools at gmail dot com
2015-07-09 12:12 ` [Bug target/66822] Turn off X86_TUNE_ZERO_EXTEND_WITH_AND for -miamcu julia.koval at intel dot com
2015-07-09 18:09 ` hjl.tools at gmail dot com
2015-07-09 20:32 ` ubizjak at gmail dot com
2015-07-10  1:42 ` [Bug target/66822] Turn -mtune=iamcu for size hjl.tools at gmail dot com
2015-07-10  1:46 ` hjl.tools at gmail dot com
2015-07-10  1:59 ` hjl.tools at gmail dot com
2015-07-10  9:16 ` ubizjak at gmail dot com

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).