Commit a48acecb by Uros Bizjak Committed by Uros Bizjak

980217-1.c (main): Fix implicit int.

	* gcc.target/alpha/980217-1.c (main): Fix implicit int.
	* gcc.target/alpha/pr19518.c (_mm_setzero_si64): New function.

From-SVN: r216627
parent c7a6a617
2014-10-24 Uros Bizjak <ubizjak@gmail.com>
* gcc.target/alpha/980217-1.c (main): Fix implicit int.
* gcc.target/alpha/pr19518.c (_mm_setzero_si64): New function.
2014-10-24 Markus Trippelsdorf <markus@trippelsdorf.de>
PR bootstrap/63632
......
......@@ -26,7 +26,7 @@ int isinff(float x)
return ~(t >> 31) & (1 - ((ix & 0x80000000) >> 30));
}
main ()
int main ()
{
float x = 1.0 / 0.0;
int i = isinff (x);
......
......@@ -9,6 +9,10 @@ typedef struct _Picture *PicturePtr;
typedef int FbStride;
typedef unsigned long __m64;
extern __m64 load8888 (__m64);
static __inline __m64 _mm_setzero_si64(void)
{
return (__m64)0L;
}
static __inline __m64 _mm_adds_pu8(__m64 __m1, __m64 __m2)
{
return __m1 + __builtin_alpha_minsb8(__m2, ~__m1);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment