public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/15106] New: vector varargs failure passing from altivec to non-altivec code for -m32
@ 2004-04-23 20:09 janis187 at us dot ibm dot com
2004-04-23 20:15 ` [Bug target/15106] " janis187 at us dot ibm dot com
` (9 more replies)
0 siblings, 10 replies; 11+ messages in thread
From: janis187 at us dot ibm dot com @ 2004-04-23 20:09 UTC (permalink / raw)
To: gcc-bugs
It should be possible to write a library function that accepts vector
arguments in a variable-length argument list, with that function
compiled with -mno-altivec, the caller compiled with -maltivec, and
both using the same Altivec ABI. With mainline this works for -m64 but
not with -m32. The hammer-3.3 branch has the same problem; I haven't
tried it for other branches but assume that 3.4 has does the same thing.
The tarball includes two source files plus a Makefile that will build
them in different combinations. The specific problem described here
is demonstrated by the following, using a biarch powerpc64-linux
compiler from mainline sources. Results for this test are not affected
by patches from Alan Modra on April 23 or from Fariborz Jahanian on
April 21.
dufur% $GCC -m32 -maltivec -mabi=altivec -c -o bug_passer.o bug_passer.c
dufur% $GCC -m32 -mno-altivec -mabi=altivec -c -o bug_passee.o bug_passee.c
dufur% $GCC -m32 bug_passer.o bug_passee.o
dufur% a.out
Aborted
If other failing combinations generated by the Makefile are not supported
then they should be documented as not expected to work.
--
Summary: vector varargs failure passing from altivec to non-
altivec code for -m32
Product: gcc
Version: 3.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: target
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: janis187 at us dot ibm dot com
CC: gcc-bugs at gcc dot gnu dot org
GCC target triplet: powerpc64-linux powerpc-linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15106
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug target/15106] vector varargs failure passing from altivec to non-altivec code for -m32
2004-04-23 20:09 [Bug target/15106] New: vector varargs failure passing from altivec to non-altivec code for -m32 janis187 at us dot ibm dot com
@ 2004-04-23 20:15 ` janis187 at us dot ibm dot com
2004-04-23 20:29 ` pinskia at gcc dot gnu dot org
` (8 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: janis187 at us dot ibm dot com @ 2004-04-23 20:15 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From janis187 at us dot ibm dot com 2004-04-23 19:57 -------
Created an attachment (id=6154)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=6154&action=view)
test case: two source files plus Makefile
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15106
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug target/15106] vector varargs failure passing from altivec to non-altivec code for -m32
2004-04-23 20:09 [Bug target/15106] New: vector varargs failure passing from altivec to non-altivec code for -m32 janis187 at us dot ibm dot com
2004-04-23 20:15 ` [Bug target/15106] " janis187 at us dot ibm dot com
@ 2004-04-23 20:29 ` pinskia at gcc dot gnu dot org
2004-04-26 8:48 ` marcus at jet dot franken dot de
` (7 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-04-23 20:29 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |ABI, wrong-code
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15106
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug target/15106] vector varargs failure passing from altivec to non-altivec code for -m32
2004-04-23 20:09 [Bug target/15106] New: vector varargs failure passing from altivec to non-altivec code for -m32 janis187 at us dot ibm dot com
2004-04-23 20:15 ` [Bug target/15106] " janis187 at us dot ibm dot com
2004-04-23 20:29 ` pinskia at gcc dot gnu dot org
@ 2004-04-26 8:48 ` marcus at jet dot franken dot de
2004-04-27 9:48 ` amodra at bigpond dot net dot au
` (6 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: marcus at jet dot franken dot de @ 2004-04-26 8:48 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |marcus at jet dot franken
| |dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15106
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug target/15106] vector varargs failure passing from altivec to non-altivec code for -m32
2004-04-23 20:09 [Bug target/15106] New: vector varargs failure passing from altivec to non-altivec code for -m32 janis187 at us dot ibm dot com
` (2 preceding siblings ...)
2004-04-26 8:48 ` marcus at jet dot franken dot de
@ 2004-04-27 9:48 ` amodra at bigpond dot net dot au
2004-04-28 15:52 ` amodra at bigpond dot net dot au
` (5 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: amodra at bigpond dot net dot au @ 2004-04-27 9:48 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From amodra at bigpond dot net dot au 2004-04-27 09:18 -------
Confirmed. -m32 vector varargs looks badly broken.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2004-04-27 09:18:24
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15106
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug target/15106] vector varargs failure passing from altivec to non-altivec code for -m32
2004-04-23 20:09 [Bug target/15106] New: vector varargs failure passing from altivec to non-altivec code for -m32 janis187 at us dot ibm dot com
` (3 preceding siblings ...)
2004-04-27 9:48 ` amodra at bigpond dot net dot au
@ 2004-04-28 15:52 ` amodra at bigpond dot net dot au
2004-04-28 16:04 ` amodra at bigpond dot net dot au
` (4 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: amodra at bigpond dot net dot au @ 2004-04-28 15:52 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From amodra at bigpond dot net dot au 2004-04-28 14:47 -------
prototype patch at http://gcc.gnu.org/ml/gcc/2004-04/msg01316.html
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15106
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug target/15106] vector varargs failure passing from altivec to non-altivec code for -m32
2004-04-23 20:09 [Bug target/15106] New: vector varargs failure passing from altivec to non-altivec code for -m32 janis187 at us dot ibm dot com
` (4 preceding siblings ...)
2004-04-28 15:52 ` amodra at bigpond dot net dot au
@ 2004-04-28 16:04 ` amodra at bigpond dot net dot au
2004-05-12 12:49 ` amodra at bigpond dot net dot au
` (3 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: amodra at bigpond dot net dot au @ 2004-04-28 16:04 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |amodra at bigpond dot net
|dot org |dot au
Status|NEW |ASSIGNED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15106
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug target/15106] vector varargs failure passing from altivec to non-altivec code for -m32
2004-04-23 20:09 [Bug target/15106] New: vector varargs failure passing from altivec to non-altivec code for -m32 janis187 at us dot ibm dot com
` (5 preceding siblings ...)
2004-04-28 16:04 ` amodra at bigpond dot net dot au
@ 2004-05-12 12:49 ` amodra at bigpond dot net dot au
2004-05-12 13:10 ` [Bug target/15106] [3.4 only] " pinskia at gcc dot gnu dot org
` (2 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: amodra at bigpond dot net dot au @ 2004-05-12 12:49 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From amodra at bigpond dot net dot au 2004-05-11 16:35 -------
Fixed on mainline and hammer-3_3-branch. Patches listed in
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15191
--
What |Removed |Added
----------------------------------------------------------------------------
Known to work| |3.5.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15106
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug target/15106] [3.4 only] vector varargs failure passing from altivec to non-altivec code for -m32
2004-04-23 20:09 [Bug target/15106] New: vector varargs failure passing from altivec to non-altivec code for -m32 janis187 at us dot ibm dot com
` (6 preceding siblings ...)
2004-05-12 12:49 ` amodra at bigpond dot net dot au
@ 2004-05-12 13:10 ` pinskia at gcc dot gnu dot org
2004-06-10 6:45 ` amodra at bigpond dot net dot au
2004-06-10 6:46 ` amodra at bigpond dot net dot au
9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-05-12 13:10 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
BugsThisDependsOn| |15191
Summary|vector varargs failure |[3.4 only] vector varargs
|passing from altivec to non-|failure passing from altivec
|altivec code for -m32 |to non-altivec code for -m32
Target Milestone|--- |3.4.1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15106
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug target/15106] [3.4 only] vector varargs failure passing from altivec to non-altivec code for -m32
2004-04-23 20:09 [Bug target/15106] New: vector varargs failure passing from altivec to non-altivec code for -m32 janis187 at us dot ibm dot com
` (7 preceding siblings ...)
2004-05-12 13:10 ` [Bug target/15106] [3.4 only] " pinskia at gcc dot gnu dot org
@ 2004-06-10 6:45 ` amodra at bigpond dot net dot au
2004-06-10 6:46 ` amodra at bigpond dot net dot au
9 siblings, 0 replies; 11+ messages in thread
From: amodra at bigpond dot net dot au @ 2004-06-10 6:45 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From amodra at bigpond dot net dot au 2004-06-10 06:45 -------
Fixed
--
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15106
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug target/15106] [3.4 only] vector varargs failure passing from altivec to non-altivec code for -m32
2004-04-23 20:09 [Bug target/15106] New: vector varargs failure passing from altivec to non-altivec code for -m32 janis187 at us dot ibm dot com
` (8 preceding siblings ...)
2004-06-10 6:45 ` amodra at bigpond dot net dot au
@ 2004-06-10 6:46 ` amodra at bigpond dot net dot au
9 siblings, 0 replies; 11+ messages in thread
From: amodra at bigpond dot net dot au @ 2004-06-10 6:46 UTC (permalink / raw)
To: gcc-bugs
--
Bug 15106 depends on bug 15191, which changed state.
Bug 15191 Summary: [3.4 only] -maltivec -mabi=no-altivec results in mis-aligned lvx and stvx
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15191
What |Old Value |New Value
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15106
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2004-06-10 6:46 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-04-23 20:09 [Bug target/15106] New: vector varargs failure passing from altivec to non-altivec code for -m32 janis187 at us dot ibm dot com
2004-04-23 20:15 ` [Bug target/15106] " janis187 at us dot ibm dot com
2004-04-23 20:29 ` pinskia at gcc dot gnu dot org
2004-04-26 8:48 ` marcus at jet dot franken dot de
2004-04-27 9:48 ` amodra at bigpond dot net dot au
2004-04-28 15:52 ` amodra at bigpond dot net dot au
2004-04-28 16:04 ` amodra at bigpond dot net dot au
2004-05-12 12:49 ` amodra at bigpond dot net dot au
2004-05-12 13:10 ` [Bug target/15106] [3.4 only] " pinskia at gcc dot gnu dot org
2004-06-10 6:45 ` amodra at bigpond dot net dot au
2004-06-10 6:46 ` amodra at bigpond dot net dot au
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).