This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/14249] internal compiler error: in push_reload, at reload.c:1315


------- Additional Comments From falk at debian dot org  2004-02-23 00:08 -------
Confirmed. Here's a test case, can probably be further reduced:

typedef int __v2di __attribute__ ((mode (V2DI)));
typedef int __v8hi __attribute__ ((mode (V8HI)));
 
static __inline __v2di
_mm_sub_epi16 (__v2di __A, __v2di __B)
{            
  return (__v2di) __builtin_ia32_psubw128 ((__v8hi) __A, (__v8hi) __B);
} 
static __inline __v2di
_mm_srai_epi16 (__v2di __A, int __B)
{ 
  return (__v2di) __builtin_ia32_psrawi128 ((__v8hi) __A, __B);
} 
             
void f(__v2di);
void update_viterbi615_blk_sse2 (__v2di *v)
{       
  int i;     
  for (i = 0; i < 1024; i += 2)
    { 
      __v2di decision0, m0, m1;
      m0 = v[i];
      m1 = v[0];
      decision0 = _mm_srai_epi16 (_mm_sub_epi16(m1, m0), 7);
      f(decision0);
    }
}

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]