public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/39261]  New: _mm256_set_epi64x failed on 32bit
@ 2009-02-21 18:57 hjl dot tools at gmail dot com
  2009-02-21 19:29 ` [Bug target/39261] " hjl dot tools at gmail dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: hjl dot tools at gmail dot com @ 2009-02-21 18:57 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1442 bytes --]

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug target/39261] _mm256_set_epi64x failed on 32bit
  2009-02-21 18:57 [Bug target/39261] New: _mm256_set_epi64x failed on 32bit hjl dot tools at gmail dot com
  2009-02-21 19:29 ` [Bug target/39261] " hjl dot tools at gmail dot com
@ 2009-02-21 19:29 ` hjl dot tools at gmail dot com
  2009-02-22  0:44 ` hjl at gcc dot gnu dot org
  2009-02-22 15:29 ` hjl dot tools at gmail dot com
  3 siblings, 0 replies; 5+ messages in thread
From: hjl dot tools at gmail dot com @ 2009-02-21 19:29 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from hjl dot tools at gmail dot com  2009-02-21 19:29 -------
A patch is posted at

http://gcc.gnu.org/ml/gcc-patches/2009-02/msg01004.html


-- 

hjl dot tools at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ubizjak at gmail dot com
                URL|                            |http://gcc.gnu.org/ml/gcc-
                   |                            |patches/2009-
                   |                            |02/msg01004.html


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39261


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug target/39261] _mm256_set_epi64x failed on 32bit
  2009-02-21 18:57 [Bug target/39261] New: _mm256_set_epi64x failed on 32bit hjl dot tools at gmail dot com
@ 2009-02-21 19:29 ` hjl dot tools at gmail dot com
  2009-02-21 19:29 ` hjl dot tools at gmail dot com
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: hjl dot tools at gmail dot com @ 2009-02-21 19:29 UTC (permalink / raw)
  To: gcc-bugs



-- 

hjl dot tools at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.4.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39261


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug target/39261] _mm256_set_epi64x failed on 32bit
  2009-02-21 18:57 [Bug target/39261] New: _mm256_set_epi64x failed on 32bit hjl dot tools at gmail dot com
  2009-02-21 19:29 ` [Bug target/39261] " hjl dot tools at gmail dot com
  2009-02-21 19:29 ` hjl dot tools at gmail dot com
@ 2009-02-22  0:44 ` hjl at gcc dot gnu dot org
  2009-02-22 15:29 ` hjl dot tools at gmail dot com
  3 siblings, 0 replies; 5+ messages in thread
From: hjl at gcc dot gnu dot org @ 2009-02-22  0:44 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from hjl at gcc dot gnu dot org  2009-02-22 00:44 -------
Subject: Bug 39261

Author: hjl
Date: Sun Feb 22 00:44:23 2009
New Revision: 144366

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=144366
Log:
2008-02-21  H.J. Lu  <hongjiu.lu@intel.com>

        PR target/39261
        * config/i386/i386.c (ix86_expand_vector_init_one_nonzero): Use
        ix86_expand_vector_set for V4DImode in 64bit mode only.
        (ix86_expand_vector_init_one_var): Likewise.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/i386/i386.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39261


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug target/39261] _mm256_set_epi64x failed on 32bit
  2009-02-21 18:57 [Bug target/39261] New: _mm256_set_epi64x failed on 32bit hjl dot tools at gmail dot com
                   ` (2 preceding siblings ...)
  2009-02-22  0:44 ` hjl at gcc dot gnu dot org
@ 2009-02-22 15:29 ` hjl dot tools at gmail dot com
  3 siblings, 0 replies; 5+ messages in thread
From: hjl dot tools at gmail dot com @ 2009-02-22 15:29 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from hjl dot tools at gmail dot com  2009-02-22 15:28 -------
Fixed.


-- 

hjl dot tools at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39261


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-02-22 15:29 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-02-21 18:57 [Bug target/39261] New: _mm256_set_epi64x failed on 32bit hjl dot tools at gmail dot com
2009-02-21 19:29 ` [Bug target/39261] " hjl dot tools at gmail dot com
2009-02-21 19:29 ` hjl dot tools at gmail dot com
2009-02-22  0:44 ` hjl at gcc dot gnu dot org
2009-02-22 15:29 ` hjl dot tools at gmail dot com

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).