public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug inline-asm/10153] [3.3/3.4 regression] selection of %dil or %sil on ia32 by valid C source
       [not found] <bug-10153-4@http.gcc.gnu.org/bugzilla/>
@ 2011-03-30 19:51 ` pinskia at gcc dot gnu.org
  2021-07-22 16:15 ` cvs-commit at gcc dot gnu.org
  2024-03-23  6:51 ` aoliva at gcc dot gnu.org
  2 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu.org @ 2011-03-30 19:51 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10153

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |normvcr at telus dot net

--- Comment #11 from Andrew Pinski <pinskia at gcc dot gnu.org> 2011-03-30 19:41:02 UTC ---
*** Bug 48347 has been marked as a duplicate of this bug. ***


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

* [Bug inline-asm/10153] [3.3/3.4 regression] selection of %dil or %sil on ia32 by valid C source
       [not found] <bug-10153-4@http.gcc.gnu.org/bugzilla/>
  2011-03-30 19:51 ` [Bug inline-asm/10153] [3.3/3.4 regression] selection of %dil or %sil on ia32 by valid C source pinskia at gcc dot gnu.org
@ 2021-07-22 16:15 ` cvs-commit at gcc dot gnu.org
  2024-03-23  6:51 ` aoliva at gcc dot gnu.org
  2 siblings, 0 replies; 10+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2021-07-22 16:15 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #12 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Andrew Pinski <pinskia@gcc.gnu.org>:

https://gcc.gnu.org/g:8819419ba1d397c0444d89079ec16657a09914fb

commit r12-2473-g8819419ba1d397c0444d89079ec16657a09914fb
Author: Andrew Pinski <apinski@marvell.com>
Date:   Tue Jul 20 11:25:43 2021 -0700

    Fix PR 10153: tail recusion for vector types.

    The problem here is we try to an initialized value
    from a scalar constant. For vectors we need to do
    a vect_dup instead.  This fixes that issue by using
    build_{one,zero}_cst instead of integer_{one,zero}_node
    when calling create_tailcall_accumulator.

    Changes from v1:
    * v2: Use build_{one,zero}_cst and get the correct type before.

    OK? Bootstrapped and tested on aarch64-linux-gnu with no regressions.

    gcc/ChangeLog:

            PR tree-optimization/10153
            * tree-tailcall.c (create_tailcall_accumulator):
            Don't call fold_convert as the type should be correct already.
            (tree_optimize_tail_calls_1): Use build_{one,zero}_cst instead
            of integer_{one,zero}_node for the call of
create_tailcall_accumulator.

    gcc/testsuite/ChangeLog:

            PR tree-optimization/10153
            * gcc.c-torture/compile/pr10153-1.c: New test.
            * gcc.c-torture/compile/pr10153-2.c: New test.

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

* [Bug inline-asm/10153] [3.3/3.4 regression] selection of %dil or %sil on ia32 by valid C source
       [not found] <bug-10153-4@http.gcc.gnu.org/bugzilla/>
  2011-03-30 19:51 ` [Bug inline-asm/10153] [3.3/3.4 regression] selection of %dil or %sil on ia32 by valid C source pinskia at gcc dot gnu.org
  2021-07-22 16:15 ` cvs-commit at gcc dot gnu.org
@ 2024-03-23  6:51 ` aoliva at gcc dot gnu.org
  2 siblings, 0 replies; 10+ messages in thread
From: aoliva at gcc dot gnu.org @ 2024-03-23  6:51 UTC (permalink / raw)
  To: gcc-bugs

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

Alexandre Oliva <aoliva at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |aoliva at gcc dot gnu.org

--- Comment #13 from Alexandre Oliva <aoliva at gcc dot gnu.org> ---
FTR, the fix and the testcases were for bug 101534.

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

* [Bug inline-asm/10153] [3.3/3.4 regression] selection of %dil or %sil on ia32 by valid C source
       [not found] <bug-10153-873@http.gcc.gnu.org/bugzilla/>
  2006-10-24 16:14 ` pinskia at gcc dot gnu dot org
@ 2007-10-06  7:50 ` schwab at suse dot de
  1 sibling, 0 replies; 10+ messages in thread
From: schwab at suse dot de @ 2007-10-06  7:50 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #10 from schwab at suse dot de  2007-10-06 07:50 -------
*** Bug 33674 has been marked as a duplicate of this bug. ***


-- 

schwab at suse dot de changed:

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


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10153


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

* [Bug inline-asm/10153] [3.3/3.4 regression] selection of %dil or %sil on ia32 by valid C source
       [not found] <bug-10153-873@http.gcc.gnu.org/bugzilla/>
@ 2006-10-24 16:14 ` pinskia at gcc dot gnu dot org
  2007-10-06  7:50 ` schwab at suse dot de
  1 sibling, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-10-24 16:14 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from pinskia at gcc dot gnu dot org  2006-10-24 16:14 -------
*** Bug 29579 has been marked as a duplicate of this bug. ***


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |adam at os dot inf dot tu-
                   |                            |dresden dot de


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10153


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

* [Bug inline-asm/10153] [3.3/3.4 regression] selection of %dil or %sil on ia32 by valid C source
       [not found] <20030319173600.10153.etienne.lorrain@masroudeau.com>
                   ` (3 preceding siblings ...)
  2004-02-14  4:22 ` dacut at neolinear dot com
@ 2005-02-15 23:15 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-02-15 23:15 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-02-15 19:10 -------
*** Bug 19979 has been marked as a duplicate of this bug. ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |xnavara at volny dot cz


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10153


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

* [Bug inline-asm/10153] [3.3/3.4 regression] selection of %dil or %sil on ia32 by valid C source
       [not found] <20030319173600.10153.etienne.lorrain@masroudeau.com>
                   ` (2 preceding siblings ...)
  2004-02-13 15:13 ` dacut at neolinear dot com
@ 2004-02-14  4:22 ` dacut at neolinear dot com
  2005-02-15 23:15 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 10+ messages in thread
From: dacut at neolinear dot com @ 2004-02-14  4:22 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From dacut at neolinear dot com  2004-02-14 04:22 -------
After some further discussion on the DragonFly lists and further reading on my
part, I found out that %sil and %dil are the 8-bit equivalents of %al, %bl, etc.
 (Watch the light bulb undim in my head here :-)

It would be better if gcc were able to diagnose the problem code better (ensure
that the architecture is valid before emitting a %sil/%dil/%bpl/%spl register)
-- I'll see if I can't ponder on this and propose a small patch.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10153


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

* [Bug inline-asm/10153] [3.3/3.4 regression] selection of %dil or %sil on ia32 by valid C source
       [not found] <20030319173600.10153.etienne.lorrain@masroudeau.com>
  2003-06-12 18:18 ` rth@gcc.gnu.org
  2003-10-31 22:11 ` pinskia at gcc dot gnu dot org
@ 2004-02-13 15:13 ` dacut at neolinear dot com
  2004-02-14  4:22 ` dacut at neolinear dot com
  2005-02-15 23:15 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 10+ messages in thread
From: dacut at neolinear dot com @ 2004-02-13 15:13 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From dacut at neolinear dot com  2004-02-13 15:13 -------
Richard -- agreed with your comment, but I think the larger issue is that GCC is
choosing phantom registers (%sil/%dil).  Yonetani Tomokazu on the DragonFly BSD
lists has seen this issue compiling straight C code with "-march=pentium4 -O".

Any ideas where to look?  I'll try to get a sample of failing source (along with
GCC versions and the other goodies) and see where it's dying.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dacut at neolinear dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10153


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

* [Bug inline-asm/10153] [3.3/3.4 regression] selection of %dil or %sil on ia32 by valid C source
       [not found] <20030319173600.10153.etienne.lorrain@masroudeau.com>
  2003-06-12 18:18 ` rth@gcc.gnu.org
@ 2003-10-31 22:11 ` pinskia at gcc dot gnu dot org
  2004-02-13 15:13 ` dacut at neolinear dot com
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-10-31 22:11 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10153


pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nkoch at demig dot de


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-10-31 22:06 -------
*** Bug 12856 has been marked as a duplicate of this bug. ***


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

* [Bug inline-asm/10153] [3.3/3.4 regression] selection of %dil or %sil on ia32 by valid C source
       [not found] <20030319173600.10153.etienne.lorrain@masroudeau.com>
@ 2003-06-12 18:18 ` rth@gcc.gnu.org
  2003-10-31 22:11 ` pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 10+ messages in thread
From: rth@gcc.gnu.org @ 2003-06-12 18:18 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10153


rth@gcc.gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID


------- Additional Comments From rth@gcc.gnu.org  2003-06-12 18:18 -------
I'm of the opinion that the source is invalid.  Using a "=q" constraint
instead of an "=r" constraint properly shows that the compiler must choose
one of the four "low byte" registers.

You might object that the compiler should "know" that it cannot place a
character object into %esi/%edi/%ebp, but that's not true at all -- we 
cannot store a character to memory from those registers, but we can hold
a character value in those registers.


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

end of thread, other threads:[~2024-03-23  6:51 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-10153-4@http.gcc.gnu.org/bugzilla/>
2011-03-30 19:51 ` [Bug inline-asm/10153] [3.3/3.4 regression] selection of %dil or %sil on ia32 by valid C source pinskia at gcc dot gnu.org
2021-07-22 16:15 ` cvs-commit at gcc dot gnu.org
2024-03-23  6:51 ` aoliva at gcc dot gnu.org
     [not found] <bug-10153-873@http.gcc.gnu.org/bugzilla/>
2006-10-24 16:14 ` pinskia at gcc dot gnu dot org
2007-10-06  7:50 ` schwab at suse dot de
     [not found] <20030319173600.10153.etienne.lorrain@masroudeau.com>
2003-06-12 18:18 ` rth@gcc.gnu.org
2003-10-31 22:11 ` pinskia at gcc dot gnu dot org
2004-02-13 15:13 ` dacut at neolinear dot com
2004-02-14  4:22 ` dacut at neolinear dot com
2005-02-15 23:15 ` pinskia at gcc dot gnu dot org

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