public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/19518] New: [alpha] unrecognizable insn (set (reg:V4HI) (const_vector:V4HI)) with builtins
@ 2005-01-18 23:33 falk at debian dot org
2005-01-18 23:34 ` [Bug target/19518] " falk at debian dot org
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: falk at debian dot org @ 2005-01-18 23:33 UTC (permalink / raw)
To: gcc-bugs
gcc version 4.0.0 20050116 (experimental)
% gcc -O2 fbmmx.c -c -c
fbmmx.c: In function 'fbCompositeSolid_nx8888mmx':
fbmmx.c:56: error: unrecognizable insn:
(insn 332 125 128 3 (set (reg:V4HI 4 $4)
(const_vector:V4HI [
(const_int 255 [0xff])
(const_int 255 [0xff])
(const_int 255 [0xff])
(const_int 255 [0xff])
])) -1 (nil)
(nil))
fbmmx.c:56: internal compiler error: in extract_insn, at recog.c:2020
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
I'm not quite sure why this happens. Maybe the builtin folding from PR 18836
would help, but I'm too tired to try right now...
--
Summary: [alpha] unrecognizable insn (set (reg:V4HI)
(const_vector:V4HI)) with builtins
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code
Severity: normal
Priority: P2
Component: target
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: falk at debian dot org
CC: gcc-bugs at gcc dot gnu dot org,rth at gcc dot gnu dot
org
GCC build triplet: alphaev68-unknown-linux-gnu
GCC host triplet: alphaev68-unknown-linux-gnu
GCC target triplet: alphaev68-unknown-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19518
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug target/19518] [alpha] unrecognizable insn (set (reg:V4HI) (const_vector:V4HI)) with builtins
2005-01-18 23:33 [Bug target/19518] New: [alpha] unrecognizable insn (set (reg:V4HI) (const_vector:V4HI)) with builtins falk at debian dot org
@ 2005-01-18 23:34 ` falk at debian dot org
2005-01-19 0:01 ` rth at gcc dot gnu dot org
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: falk at debian dot org @ 2005-01-18 23:34 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From falk at debian dot org 2005-01-18 23:34 -------
Created an attachment (id=7984)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7984&action=view)
test case
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19518
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug target/19518] [alpha] unrecognizable insn (set (reg:V4HI) (const_vector:V4HI)) with builtins
2005-01-18 23:33 [Bug target/19518] New: [alpha] unrecognizable insn (set (reg:V4HI) (const_vector:V4HI)) with builtins falk at debian dot org
2005-01-18 23:34 ` [Bug target/19518] " falk at debian dot org
@ 2005-01-19 0:01 ` rth at gcc dot gnu dot org
2005-01-19 0:02 ` rth at gcc dot gnu dot org
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: rth at gcc dot gnu dot org @ 2005-01-19 0:01 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Attachment #7984|text/x-csrc |text/plain
mime type| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19518
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug target/19518] [alpha] unrecognizable insn (set (reg:V4HI) (const_vector:V4HI)) with builtins
2005-01-18 23:33 [Bug target/19518] New: [alpha] unrecognizable insn (set (reg:V4HI) (const_vector:V4HI)) with builtins falk at debian dot org
2005-01-18 23:34 ` [Bug target/19518] " falk at debian dot org
2005-01-19 0:01 ` rth at gcc dot gnu dot org
@ 2005-01-19 0:02 ` rth at gcc dot gnu dot org
2005-01-20 3:59 ` cvs-commit at gcc dot gnu dot org
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: rth at gcc dot gnu dot org @ 2005-01-19 0:02 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |rth at gcc dot gnu dot org
|dot org |
Status|UNCONFIRMED |ASSIGNED
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2005-01-19 00:02:08
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19518
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug target/19518] [alpha] unrecognizable insn (set (reg:V4HI) (const_vector:V4HI)) with builtins
2005-01-18 23:33 [Bug target/19518] New: [alpha] unrecognizable insn (set (reg:V4HI) (const_vector:V4HI)) with builtins falk at debian dot org
` (2 preceding siblings ...)
2005-01-19 0:02 ` rth at gcc dot gnu dot org
@ 2005-01-20 3:59 ` cvs-commit at gcc dot gnu dot org
2005-01-20 4:13 ` rth at gcc dot gnu dot org
2005-01-20 4:14 ` pinskia at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-01-20 3:59 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-01-20 03:59 -------
Subject: Bug 19518
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: rth@gcc.gnu.org 2005-01-20 03:59:01
Modified files:
gcc : ChangeLog
gcc/config/alpha: alpha-protos.h alpha.c alpha.h alpha.md
predicates.md
Added files:
gcc/testsuite/gcc.target/alpha: alpha.exp pr19518.c
Log message:
PR target/19518
* config/alpha/alpha.c (alpha_rtx_costs): Handle HIGH.
(alpha_preferred_reload_class): Handle CONST_VECTOR.
(alpha_emit_set_const_1): Add no_output parameter; don't emit
rtl if true.
(alpha_emit_set_const): Likewise. Make static.
(alpha_emit_set_long_const): Make static.
(alpha_extract_integer): Split out from alpha_expand_mov.
(alpha_split_const_mov): Likewise.
(alpha_expand_mov): Use them. Handle CONST_VECTOR.
(alpha_legitimate_constant_p): New.
* config/alpha/alpha-protos.h: Update.
* config/alpha/alpha.h (REGISTER_MOVE_COST): Correct fp<->gp cost.
(LEGITIMATE_CONSTANT_P): Re-implement with a function.
* config/alpha/alpha.md (movsi): Add n alternative.
(movsi_nt_vms, movdi_er_nofix, movdi_er_fix, movdi_fix): Likewise.
(mov<VEC>_fix, mov<VEC>_nofix): Add i alternative.
(splitters for all of the above): Use alpha_split_const_mov.
* config/alpha/predicates.md (non_add_const_operand): New.
(non_zero_const_operand): New.
(input_operand): Use alpha_legitimate_constant_p after reload.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.7192&r2=2.7193
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/alpha/alpha-protos.h.diff?cvsroot=gcc&r1=1.59&r2=1.60
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/alpha/alpha.c.diff?cvsroot=gcc&r1=1.407&r2=1.408
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/alpha/alpha.h.diff?cvsroot=gcc&r1=1.236&r2=1.237
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/alpha/alpha.md.diff?cvsroot=gcc&r1=1.231&r2=1.232
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/alpha/predicates.md.diff?cvsroot=gcc&r1=1.2&r2=1.3
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.target/alpha/alpha.exp.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.target/alpha/pr19518.c.diff?cvsroot=gcc&r1=NONE&r2=1.1
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19518
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug target/19518] [alpha] unrecognizable insn (set (reg:V4HI) (const_vector:V4HI)) with builtins
2005-01-18 23:33 [Bug target/19518] New: [alpha] unrecognizable insn (set (reg:V4HI) (const_vector:V4HI)) with builtins falk at debian dot org
` (3 preceding siblings ...)
2005-01-20 3:59 ` cvs-commit at gcc dot gnu dot org
@ 2005-01-20 4:13 ` rth at gcc dot gnu dot org
2005-01-20 4:14 ` pinskia at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: rth at gcc dot gnu dot org @ 2005-01-20 4:13 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From rth at gcc dot gnu dot org 2005-01-20 04:13 -------
Fixed.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19518
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug target/19518] [alpha] unrecognizable insn (set (reg:V4HI) (const_vector:V4HI)) with builtins
2005-01-18 23:33 [Bug target/19518] New: [alpha] unrecognizable insn (set (reg:V4HI) (const_vector:V4HI)) with builtins falk at debian dot org
` (4 preceding siblings ...)
2005-01-20 4:13 ` rth at gcc dot gnu dot org
@ 2005-01-20 4:14 ` pinskia at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-01-20 4:14 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |4.0.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19518
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2005-01-20 4:14 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-18 23:33 [Bug target/19518] New: [alpha] unrecognizable insn (set (reg:V4HI) (const_vector:V4HI)) with builtins falk at debian dot org
2005-01-18 23:34 ` [Bug target/19518] " falk at debian dot org
2005-01-19 0:01 ` rth at gcc dot gnu dot org
2005-01-19 0:02 ` rth at gcc dot gnu dot org
2005-01-20 3:59 ` cvs-commit at gcc dot gnu dot org
2005-01-20 4:13 ` rth at gcc dot gnu dot org
2005-01-20 4:14 ` 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).