[llvm-commits] [test-suite] r86296 - /test-suite/trunk/SingleSource/Regression/C/packssdw-1.c

Eric Christopher echristo at apple.com
Sun Nov 15 11:37:34 PST 2009


On Nov 15, 2009, at 9:09 AM, Nick Lewycky wrote:

> Eric Christopher wrote:
>> Author: echristo
>> Date: Fri Nov  6 16:55:01 2009
>> New Revision: 86296
>> 
>> URL: http://llvm.org/viewvc/llvm-project?rev=86296&view=rev
>> Log:
>> Add a very primitive test for packssdw builtins.
> 
> This breaks my nightly build:
> 
> $ gcc packssdw-1.c
> In file included from packssdw-1.c:1:
> /usr/lib/gcc/i486-linux-gnu/4.3.4/include/emmintrin.h:34:3: error: #error "SSE2 instruction set not enabled"
> packssdw-1.c:4: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘foo’
> packssdw-1.c: In function ‘main’:
> packssdw-1.c:11: error: ‘__v4si’ undeclared (first use in this function)
> packssdw-1.c:11: error: (Each undeclared identifier is reported only once
> packssdw-1.c:11: error: for each function it appears in.)
> packssdw-1.c:11: error: expected ‘;’ before ‘a’
> packssdw-1.c:12: error: expected ‘;’ before ‘b’
> packssdw-1.c:14: error: ‘__v16qi’ undeclared (first use in this function)
> packssdw-1.c:14: error: expected ‘;’ before ‘c’
> packssdw-1.c:16: error: expected ‘)’ before ‘c’
> $ gcc packssdw-1.c -msse2
> packssdw-1.c: In function ‘foo’:
> packssdw-1.c:6: note: use -flax-vector-conversions to permit conversions between vectors with differing element types or numbers of subparts
> packssdw-1.c:6: error: incompatible types in return
> $

Hunh. Neat.  I'll look into it. 

Thanks.

-eric



More information about the llvm-commits mailing list