]>
Commit | Line | Data |
---|---|---|
1 | typedef short _raw16; | |
2 | typedef short __v2hi __attribute__ ((vector_size (4))); | |
3 | typedef __v2hi raw2x16; | |
4 | __inline__ __attribute__ ((always_inline)) static raw2x16 compose_2x16(_raw16 _x, _raw16 _y) { | |
5 | } | |
6 | int main (int argc, char *argv[]) { | |
7 | raw2x16 a = compose_2x16(2, 3); | |
8 | raw2x16 b = compose_2x16(4, 5); | |
9 | int z = __builtin_bfin_mulhisilh(a, b); | |
10 | } |