1 // RUN: %llvmgcc -mssse3 -S -o - %s | llc -mtriple=x86_64-apple-darwin | FileCheck %s
2 // XTARGET: x86,i386,i686
8 #if defined( __SSSE3__ )
10 #define vec_rld_epi16( _a, _i ) ({ vSInt16 _t = _a; _t = _mm_alignr_epi8( _t, _t, _i ); /*return*/ _t; })
11 typedef int16_t vSInt16 __attribute__ ((__vector_size__ (16)));
13 short dtbl[] = {1,2,3,4,5,6,7,8};
14 vSInt16 *vdtbl = (vSInt16*) dtbl;
19 v0 = vec_rld_epi16( v0, 4 );