This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/43107] [4.5 Regression] ICE: SIGSEGV with -O3 -mavx
- From: "jakub at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Feb 2010 21:35:47 -0000
- Subject: [Bug tree-optimization/43107] [4.5 Regression] ICE: SIGSEGV with -O3 -mavx
- References: <bug-43107-14164@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from jakub at gcc dot gnu dot org 2010-02-17 21:35 -------
(insn 23 22 0 pr43107.c:13 (set (reg:V4SF 65 [ vect_perm_even.21 ])
(vec_select:V4SF (reg:V4SF 58 [ vect_perm_even.17 ])
(parallel [
(const_int 0 [0x0])
(const_int 2 [0x2])
(const_int 4 [0x4])
(const_int 6 [0x6])
]))) 2011 {*avx_vpermilpv4sf} (nil))
looks wrong, if vec_select's argument is V4SF, then none of the constants in
the parallel should be bigger than 3. So, either the parallel needs to be 0 2
0 2,
or avx_vpermilpv4sf needs to have (vec_concat:V8SF (reg:V4SF 58) (reg:V4SF 58))
as first vec_select arg.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43107