public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/31535] New: ICE on attempt to put SPE vector variables in SDA
@ 2007-04-11 9:46 m dot reszat at kostal dot com
2007-04-12 9:34 ` [Bug target/31535] " m dot reszat at kostal dot com
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: m dot reszat at kostal dot com @ 2007-04-11 9:46 UTC (permalink / raw)
To: gcc-bugs
I ran the test case on 3.4.1 through 4.1.2, all with the same error message.
This bug may be related to #25160.
Test Case:
#include <spe.h>
__ev64_fs__ x;
int main(void)
{
x = __ev_fsabs(x);
return(0);
}
O.K., x put in .bss:
C:\Controller>powerpc-elf-eabispe-gcc -c -Wa,-alhs=test.lst -fverbose-asm
-msdata=eabi -G 7 test.c
ERR, x put in .sbss (GCC4.1.2):
C:\Controller>powerpc-elf-eabispe-gcc -c -Wa,-alhs=test.lst -fverbose-asm
-msdata=eabi -G 8 test.c
test.c: In function 'main':
test.c:10: internal compiler error: in print_operand, at
config/rs6000/rs6000.c:
10785
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
--
Summary: ICE on attempt to put SPE vector variables in SDA
Product: gcc
Version: 4.1.2
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: m dot reszat at kostal dot com
GCC host triplet: i686-pc-cygwin
GCC target triplet: powerpc-elf-eabispe
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31535
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug target/31535] ICE on attempt to put SPE vector variables in SDA
2007-04-11 9:46 [Bug target/31535] New: ICE on attempt to put SPE vector variables in SDA m dot reszat at kostal dot com
@ 2007-04-12 9:34 ` m dot reszat at kostal dot com
2008-01-28 19:08 ` froydnj at gcc dot gnu dot org
2008-11-12 14:35 ` froydnj at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: m dot reszat at kostal dot com @ 2007-04-12 9:34 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from m dot reszat at kostal dot com 2007-04-12 10:34 -------
SDA relative access renders useless for the vector load/store opcodes, as the
displacement is limited to +0..+248. Hence, the compiler should not try anyway.
With this bug persisting, one has to limit SDA access to variables smaller than
8 bytes (-G 7), which makes the rest of the code less efficient.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31535
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug target/31535] ICE on attempt to put SPE vector variables in SDA
2007-04-11 9:46 [Bug target/31535] New: ICE on attempt to put SPE vector variables in SDA m dot reszat at kostal dot com
2007-04-12 9:34 ` [Bug target/31535] " m dot reszat at kostal dot com
@ 2008-01-28 19:08 ` froydnj at gcc dot gnu dot org
2008-11-12 14:35 ` froydnj at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: froydnj at gcc dot gnu dot org @ 2008-01-28 19:08 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from froydnj at gcc dot gnu dot org 2008-01-28 18:32 -------
Subject: Bug 31535
Author: froydnj
Date: Mon Jan 28 18:31:19 2008
New Revision: 131914
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=131914
Log:
gcc/
PR 31535
* config/rs6000/rs6000.c (small_data_operand): Vectors and floats
are not legitimate small data references on SPE targets.
gcc/testsuite/
PR 31535
* gcc.target/powerpc/spe-small-data-1.c: New test.
* gcc.target/powerpc/spe-small-data-2.c: New test.
Added:
trunk/gcc/testsuite/gcc.target/powerpc/spe-small-data-1.c
trunk/gcc/testsuite/gcc.target/powerpc/spe-small-data-2.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/rs6000/rs6000.c
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31535
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug target/31535] ICE on attempt to put SPE vector variables in SDA
2007-04-11 9:46 [Bug target/31535] New: ICE on attempt to put SPE vector variables in SDA m dot reszat at kostal dot com
2007-04-12 9:34 ` [Bug target/31535] " m dot reszat at kostal dot com
2008-01-28 19:08 ` froydnj at gcc dot gnu dot org
@ 2008-11-12 14:35 ` froydnj at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: froydnj at gcc dot gnu dot org @ 2008-11-12 14:35 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from froydnj at gcc dot gnu dot org 2008-11-12 14:32 -------
Fixed in 4.3.
--
froydnj at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31535
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2008-11-12 14:35 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-04-11 9:46 [Bug target/31535] New: ICE on attempt to put SPE vector variables in SDA m dot reszat at kostal dot com
2007-04-12 9:34 ` [Bug target/31535] " m dot reszat at kostal dot com
2008-01-28 19:08 ` froydnj at gcc dot gnu dot org
2008-11-12 14:35 ` froydnj 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).