This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/39261] New: _mm256_set_epi64x failed on 32bit
- From: "hjl dot tools at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Feb 2009 18:57:32 -0000
- Subject: [Bug target/39261] New: _mm256_set_epi64x failed on 32bit
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
With revision 144357, I got
FAIL: gcc.target/i386/avx-set-v4di-4.c (internal compiler error)
FAIL: gcc.target/i386/avx-set-v4di-4.c (test for excess errors)
FAIL: gcc.target/i386/avx-set-v4di-5.c (internal compiler error)
FAIL: gcc.target/i386/avx-set-v4di-5.c (test for excess errors)
bash-3.2$ cat /tmp/x.c
typedef long long __m256i __attribute__ ((__vector_size__ (32),
__may_alias__));
__m256i
foo (long long x)
{
return (__m256i) {0, x, 0, 0};
}
__m256i
bar (long long x)
{
return (__m256i) {1, x, 1, 1};
}
bash-3.2$ ./xgcc -B./ -S -O2 -mavx /tmp/x.c -m32
/tmp/x.c: In function ?foo?:
/tmp/x.c:7: error: unrecognizable insn:
(insn 8 7 9 3 /tmp/x.c:5 (set (reg:V2DI 61)
(vec_merge:V2DI (vec_duplicate:V2DI (reg/v:DI 59 [ x ]))
(reg:V2DI 61)
(const_int 2 [0x2]))) -1 (nil))
/tmp/x.c:7: internal compiler error: in extract_insn, at recog.c:2038
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
bash-3.2$
--
Summary: _mm256_set_epi64x failed on 32bit
Product: gcc
Version: 4.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: hjl dot tools at gmail dot com
GCC target triplet: i686-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39261