blob: 0e93eb8b2d9b07630810bd38ec5e8f9dcd6c460c [file] [log] [blame]
Eric Christopher3883e662011-07-26 22:17:02 +00001// RUN: %clang_cc1 -emit-llvm -march=armv7a %s
2
3// XFAIL: *
4// XTARGET: arm
5
6typedef struct __simd128_uint16_t
7{
8 __neon_uint16x8_t val;
9} uint16x8_t;
10
11void b(uint16x8_t sat, uint16x8_t luma)
12{
13 __asm__("vmov.16 %1, %0 \n\t"
14 "vtrn.16 %0, %1 \n\t"
15 :"=w"(luma), "=w"(sat)
16 :"0"(luma)
17 );
18
19}