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