public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug rtl-optimization/26098] New: ICE in multiplication of 16-byte longlong vector on x86_64
@ 2006-02-04 20:00 bisqwit at iki dot fi
2006-02-04 20:11 ` [Bug target/26098] [4.0 Regression] " pinskia at gcc dot gnu dot org
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: bisqwit at iki dot fi @ 2006-02-04 20:00 UTC (permalink / raw)
To: gcc-bugs
This code causes ICE on gcc 4.0.3 on x86_64.
typedef long long vec __attribute__ ((vector_size(16)));
vec vecsqr(vec a) { return a*a; }
Commandline:
gcc -O1 -S -o - tmp.c
Resulting output:
.file "tmp.c"
tmp.c: In function 'vecsqr':
tmp.c:2: error: unrecognizable insn:
(insn 13 12 15 0 (set (reg:DI 58 [ D.1470 ])
(vec_select:DI (reg/v:V2DI 61 [ a ])
(parallel [
(const_int 1 [0x1])
]))) -1 (nil)
(expr_list:REG_DEAD (reg/v:V2DI 61 [ a ])
(nil)))
tmp.c:2: internal compiler error: in extract_insn, at recog.c:2020
It goes ICE on when -O option >= 1. -O0 does not trigger it.
Option -mno-sse also disables the ICE, but then it gives "error: SSE register
return with SSE disabled". -mno-sse2 doesn't disable it.
Unsigned/signed type has no effect to result. Without
__attribute__((vector_size)), it does not ICE.
GCC version (gcc -v):
Using built-in specs.
Target: x86_64-linux-gnu
Configured with: ../src/configure -v
--enable-languages=c,c++,java,f95,objc,ada,treelang --prefix=/usr
--enable-shared --with-system-zlib --libexecdir=/usr/lib
--without-included-gettext --enable-threads=posix --enable-nls
--program-suffix=-4.0 --enable-__cxa_atexit --enable-clocale=gnu
--enable-libstdcxx-debug --enable-java-awt=gtk --enable-gtk-cairo
--with-java-home=/usr/lib/jvm/java-1.4.2-gcj-4.0-1.4.2.0/jre --enable-mpfr
--disable-werror --enable-checking=release x86_64-linux-gnu
Thread model: posix
gcc version 4.0.3 20051201 (prerelease) (Debian 4.0.2-5)
--
Summary: ICE in multiplication of 16-byte longlong vector on
x86_64
Product: gcc
Version: 4.0.3
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: rtl-optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: bisqwit at iki dot fi
GCC build triplet: x86_64-linux-gnu
GCC host triplet: x86_64-linux-gnu
GCC target triplet: x86_64-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26098
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/26098] [4.0 Regression] ICE in multiplication of 16-byte longlong vector on x86_64
2006-02-04 20:00 [Bug rtl-optimization/26098] New: ICE in multiplication of 16-byte longlong vector on x86_64 bisqwit at iki dot fi
@ 2006-02-04 20:11 ` pinskia at gcc dot gnu dot org
2006-02-27 20:32 ` mmitchel at gcc dot gnu dot org
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-02-04 20:11 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from pinskia at gcc dot gnu dot org 2006-02-04 20:11 -------
Confirmed, just a 4.0 regression.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Known to fail| |4.0.3 4.0.2
Known to work| |3.4.6 4.1.0 4.2.0
Last reconfirmed|0000-00-00 00:00:00 |2006-02-04 20:11:01
date| |
Summary|ICE in multiplication of 16-|[4.0 Regression] ICE in
|byte longlong vector on |multiplication of 16-byte
|x86_64 |longlong vector on x86_64
Target Milestone|--- |4.0.3
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26098
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/26098] [4.0 Regression] ICE in multiplication of 16-byte longlong vector on x86_64
2006-02-04 20:00 [Bug rtl-optimization/26098] New: ICE in multiplication of 16-byte longlong vector on x86_64 bisqwit at iki dot fi
2006-02-04 20:11 ` [Bug target/26098] [4.0 Regression] " pinskia at gcc dot gnu dot org
@ 2006-02-27 20:32 ` mmitchel at gcc dot gnu dot org
2006-03-10 19:09 ` dtemirbulatov at gmail dot com
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2006-02-27 20:32 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from mmitchel at gcc dot gnu dot org 2006-02-27 20:29 -------
Set to P2. This bug is somewhat exotic, and not a regression from previous
4.0.x releases.
--
mmitchel at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26098
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/26098] [4.0 Regression] ICE in multiplication of 16-byte longlong vector on x86_64
2006-02-04 20:00 [Bug rtl-optimization/26098] New: ICE in multiplication of 16-byte longlong vector on x86_64 bisqwit at iki dot fi
2006-02-04 20:11 ` [Bug target/26098] [4.0 Regression] " pinskia at gcc dot gnu dot org
2006-02-27 20:32 ` mmitchel at gcc dot gnu dot org
@ 2006-03-10 19:09 ` dtemirbulatov at gmail dot com
2006-03-11 3:19 ` mmitchel at gcc dot gnu dot org
2007-02-03 16:16 ` gdr at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: dtemirbulatov at gmail dot com @ 2006-03-10 19:09 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from dtemirbulatov at gmail dot com 2006-03-10 19:09 -------
Created an attachment (id=11018)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11018&action=view)
bug fix
this a backport form the mainline
2005-05-17 Richard Henderson <rth@redhat.com>
* config/i386/sse.md (mulv16qi3, mulv2di3): New
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26098
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/26098] [4.0 Regression] ICE in multiplication of 16-byte longlong vector on x86_64
2006-02-04 20:00 [Bug rtl-optimization/26098] New: ICE in multiplication of 16-byte longlong vector on x86_64 bisqwit at iki dot fi
` (2 preceding siblings ...)
2006-03-10 19:09 ` dtemirbulatov at gmail dot com
@ 2006-03-11 3:19 ` mmitchel at gcc dot gnu dot org
2007-02-03 16:16 ` gdr at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2006-03-11 3:19 UTC (permalink / raw)
To: gcc-bugs
--
mmitchel at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.0.3 |4.0.4
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26098
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/26098] [4.0 Regression] ICE in multiplication of 16-byte longlong vector on x86_64
2006-02-04 20:00 [Bug rtl-optimization/26098] New: ICE in multiplication of 16-byte longlong vector on x86_64 bisqwit at iki dot fi
` (3 preceding siblings ...)
2006-03-11 3:19 ` mmitchel at gcc dot gnu dot org
@ 2007-02-03 16:16 ` gdr at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: gdr at gcc dot gnu dot org @ 2007-02-03 16:16 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from gdr at gcc dot gnu dot org 2007-02-03 16:15 -------
Fixed in GCC-4.1.0.
--
gdr at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
Target Milestone|4.0.4 |4.1.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26098
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2007-02-03 16:16 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-02-04 20:00 [Bug rtl-optimization/26098] New: ICE in multiplication of 16-byte longlong vector on x86_64 bisqwit at iki dot fi
2006-02-04 20:11 ` [Bug target/26098] [4.0 Regression] " pinskia at gcc dot gnu dot org
2006-02-27 20:32 ` mmitchel at gcc dot gnu dot org
2006-03-10 19:09 ` dtemirbulatov at gmail dot com
2006-03-11 3:19 ` mmitchel at gcc dot gnu dot org
2007-02-03 16:16 ` gdr 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).