prog.c: In function ‘azi_rgba_pr_fir3_line_sse2’:
prog.c:35:24: warning: implicit declaration of function ‘ceil’ [-Wimplicit-function-declaration]
int dst_left_int = ceil(dst_left);
^~~~
prog.c:35:24: warning: incompatible implicit declaration of built-in function ‘ceil’
prog.c:35:24: note: include ‘<math.h>’ or provide a declaration of ‘ceil’
prog.c:3:1:
+#include <math.h>
prog.c:35:24:
int dst_left_int = ceil(dst_left);
^~~~
prog.c:36:25: warning: implicit declaration of function ‘floor’ [-Wimplicit-function-declaration]
int dst_right_int = floor(dst_left + scale * (src_right - src_left) + 0.1);
^~~~~
prog.c:36:25: warning: incompatible implicit declaration of built-in function ‘floor’
prog.c:36:25: note: include ‘<math.h>’ or provide a declaration of ‘floor’
prog.c:52:36: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses]
int line_pitch = (image->width - 1 | 3) + 1;
~~~~~~~~~~~~~^~~
prog.c:84:31: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses]
for(int x = r; x < (r - 1 | 3) + 1; x++)
~~^~~
prog.c:104:13: note: use -flax-vector-conversions to permit conversions between vectors with differing element types or numbers of subparts
regLI = _mm_slli_si128(regLC, 8);
^~~~~
prog.c:104:36: error: incompatible type for argument 1 of ‘_mm_slli_si128’
regLI = _mm_slli_si128(regLC, 8);
^~~~~
In file included from prog.c:1:
/usr/lib/gcc/x86_64-linux-gnu/8/include/emmintrin.h:1191:25: note: expected ‘__m128i’ {aka ‘__vector(2) long long int’} but argument is of type ‘__v8hu’ {aka ‘__vector(8) short unsigned int’}
_mm_slli_si128 (__m128i __A, const int __N)
~~~~~~~~^~~
prog.c:105:36: error: incompatible type for argument 1 of ‘_mm_srli_si128’
regLI = _mm_srli_si128(regLI, 8);
^~~~~
In file included from prog.c:1:
/usr/lib/gcc/x86_64-linux-gnu/8/include/emmintrin.h:1185:25: note: expected ‘__m128i’ {aka ‘__vector(2) long long int’} but argument is of type ‘__v8hu’ {aka ‘__vector(8) short unsigned int’}
_mm_srli_si128 (__m128i __A, const int __N)
~~~~~~~~^~~
prog.c:106:36: error: incompatible type for argument 1 of ‘_mm_slli_epi16’
regLC = _mm_slli_epi16(regLC, 8);
^~~~~
In file included from prog.c:1:
/usr/lib/gcc/x86_64-linux-gnu/8/include/emmintrin.h:1142:25: note: expected ‘__m128i’ {aka ‘__vector(2) long long int’} but argument is of type ‘__v8hu’ {aka ‘__vector(8) short unsigned int’}
_mm_slli_epi16 (__m128i __A, int __B)
~~~~~~~~^~~
prog.c:149:39: error: incompatible type for argument 1 of ‘_mm_slli_si128’
reg2 = _mm_slli_si128(reg0, 8);
^~~~
In file included from prog.c:1:
/usr/lib/gcc/x86_64-linux-gnu/8/include/emmintrin.h:1191:25: note: expected ‘__m128i’ {aka ‘__vector(2) long long int’} but argument is of type ‘__v8hu’ {aka ‘__vector(8) short unsigned int’}
_mm_slli_si128 (__m128i __A, const int __N)
~~~~~~~~^~~
prog.c:150:39: error: incompatible type for argument 1 of ‘_mm_slli_si128’
reg3 = _mm_slli_si128(reg1, 8);
^~~~
In file included from prog.c:1:
/usr/lib/gcc/x86_64-linux-gnu/8/include/emmintrin.h:1191:25: note: expected ‘__m128i’ {aka ‘__vector(2) long long int’} but argument is of type ‘__v8hu’ {aka ‘__vector(8) short unsigned int’}
_mm_slli_si128 (__m128i __A, const int __N)
~~~~~~~~^~~
prog.c:151:39: error: incompatible type for argument 1 of ‘_mm_srli_si128’
regX = _mm_srli_si128(regX, 8);
^~~~
In file included from prog.c:1:
/usr/lib/gcc/x86_64-linux-gnu/8/include/emmintrin.h:1185:25: note: expected ‘__m128i’ {aka ‘__vector(2) long long int’} but argument is of type ‘__v8hu’ {aka ‘__vector(8) short unsigned int’}
_mm_srli_si128 (__m128i __A, const int __N)
~~~~~~~~^~~
prog.c:153:37: error: incompatible type for argument 1 of ‘_mm_or_si128’
reg3 = _mm_or_si128(reg3, regX);
^~~~
In file included from prog.c:1:
/usr/lib/gcc/x86_64-linux-gnu/8/include/emmintrin.h:1285:23: note: expected ‘__m128i’ {aka ‘__vector(2) long long int’} but argument is of type ‘__v8hu’ {aka ‘__vector(8) short unsigned int’}
_mm_or_si128 (__m128i __A, __m128i __B)
~~~~~~~~^~~
prog.c:153:43: error: incompatible type for argument 2 of ‘_mm_or_si128’
reg3 = _mm_or_si128(reg3, regX);
^~~~
In file included from prog.c:1:
/usr/lib/gcc/x86_64-linux-gnu/8/include/emmintrin.h:1285:36: note: expected ‘__m128i’ {aka ‘__vector(2) long long int’} but argument is of type ‘__v8hu’ {aka ‘__vector(8) short unsigned int’}
_mm_or_si128 (__m128i __A, __m128i __B)
~~~~~~~~^~~
prog.c:159:40: error: incompatible type for argument 1 of ‘_mm_srli_si128’
regLC = _mm_srli_si128(regLC, 8);
^~~~~
In file included from prog.c:1:
/usr/lib/gcc/x86_64-linux-gnu/8/include/emmintrin.h:1185:25: note: expected ‘__m128i’ {aka ‘__vector(2) long long int’} but argument is of type ‘__v8hu’ {aka ‘__vector(8) short unsigned int’}
_mm_srli_si128 (__m128i __A, const int __N)
~~~~~~~~^~~
prog.c:160:37: error: incompatible type for argument 1 of ‘_mm_or_si128’
reg2 = _mm_or_si128(reg2, regLC);
^~~~
In file included from prog.c:1:
/usr/lib/gcc/x86_64-linux-gnu/8/include/emmintrin.h:1285:23: note: expected ‘__m128i’ {aka ‘__vector(2) long long int’} but argument is of type ‘__v8hu’ {aka ‘__vector(8) short unsigned int’}
_mm_or_si128 (__m128i __A, __m128i __B)
~~~~~~~~^~~
prog.c:160:43: error: incompatible type for argument 2 of ‘_mm_or_si128’
reg2 = _mm_or_si128(reg2, regLC);
^~~~~
In file included from prog.c:1:
/usr/lib/gcc/x86_64-linux-gnu/8/include/emmintrin.h:1285:36: note: expected ‘__m128i’ {aka ‘__vector(2) long long int’} but argument is of type ‘__v8hu’ {aka ‘__vector(8) short unsigned int’}
_mm_or_si128 (__m128i __A, __m128i __B)
~~~~~~~~^~~
prog.c:169:39: error: incompatible type for argument 1 of ‘_mm_srli_epi16’
reg0 = _mm_srli_epi16(reg0, 8);
^~~~
In file included from prog.c:1:
/usr/lib/gcc/x86_64-linux-gnu/8/include/emmintrin.h:1207:25: note: expected ‘__m128i’ {aka ‘__vector(2) long long int’} but argument is of type ‘__v8hu’ {aka ‘__vector(8) short unsigned int’}
_mm_srli_epi16 (__m128i __A, int __B)
~~~~~~~~^~~
prog.c:170:39: error: incompatible type for argument 1 of ‘_mm_srli_epi16’
reg1 = _mm_srli_epi16(reg1, 8);
^~~~
In file included from prog.c:1:
/usr/lib/gcc/x86_64-linux-gnu/8/include/emmintrin.h:1207:25: note: expected ‘__m128i’ {aka ‘__vector(2) long long int’} but argument is of type ‘__v8hu’ {aka ‘__vector(8) short unsigned int’}
_mm_srli_epi16 (__m128i __A, int __B)
~~~~~~~~^~~
prog.c:171:39: error: incompatible type for argument 1 of ‘_mm_srli_epi16’
reg2 = _mm_srli_epi16(reg2, 8);
^~~~
In file included from prog.c:1:
/usr/lib/gcc/x86_64-linux-gnu/8/include/emmintrin.h:1207:25: note: expected ‘__m128i’ {aka ‘__vector(2) long long int’} but argument is of type ‘__v8hu’ {aka ‘__vector(8) short unsigned int’}
_mm_srli_epi16 (__m128i __A, int __B)
~~~~~~~~^~~
prog.c:172:39: error: incompatible type for argument 1 of ‘_mm_srli_epi16’
reg3 = _mm_srli_epi16(reg3, 8);
^~~~
In file included from prog.c:1:
/usr/lib/gcc/x86_64-linux-gnu/8/include/emmintrin.h:1207:25: note: expected ‘__m128i’ {aka ‘__vector(2) long long int’} but argument is of type ‘__v8hu’ {aka ‘__vector(8) short unsigned int’}
_mm_srli_epi16 (__m128i __A, int __B)
~~~~~~~~^~~
prog.c:173:39: error: incompatible type for argument 1 of ‘_mm_srli_epi16’
regX = _mm_srli_epi16(regX, 8);
^~~~
In file included from prog.c:1:
/usr/lib/gcc/x86_64-linux-gnu/8/include/emmintrin.h:1207:25: note: expected ‘__m128i’ {aka ‘__vector(2) long long int’} but argument is of type ‘__v8hu’ {aka ‘__vector(8) short unsigned int’}
_mm_srli_epi16 (__m128i __A, int __B)
~~~~~~~~^~~
prog.c:175:38: error: incompatible type for argument 1 of ‘_mm_add_epi16’
reg1 = _mm_add_epi16(reg1, reg0);
^~~~
In file included from prog.c:1:
/usr/lib/gcc/x86_64-linux-gnu/8/include/emmintrin.h:1022:24: note: expected ‘__m128i’ {aka ‘__vector(2) long long int’} but argument is of type ‘__v8hu’ {aka ‘__vector(8) short unsigned int’}
_mm_add_epi16 (__m128i __A, __m128i __B)
~~~~~~~~^~~
prog.c:175:44: error: incompatible type for argument 2 of ‘_mm_add_epi16’
reg1 = _mm_add_epi16(reg1, reg0);
^~~~
In file included from prog.c:1:
/usr/lib/gcc/x86_64-linux-gnu/8/include/emmintrin.h:1022:37: note: expected ‘__m128i’ {aka ‘__vector(2) long long int’} but argument is of type ‘__v8hu’ {aka ‘__vector(8) short unsigned int’}
_mm_add_epi16 (__m128i __A, __m128i __B)
~~~~~~~~^~~
prog.c:176:38: error: incompatible type for argument 1 of ‘_mm_add_epi16’
reg0 = _mm_add_epi16(reg0, regX);
^~~~
In file included from prog.c:1:
/usr/lib/gcc/x86_64-linux-gnu/8/include/emmintrin.h:1022:24: note: expected ‘__m128i’ {aka ‘__vector(2) long long int’} but argument is of type ‘__v8hu’ {aka ‘__vector(8) short unsigned int’}
_mm_add_epi16 (__m128i __A, __m128i __B)
~~~~~~~~^~~
prog.c:176:44: error: incompatible type for argument 2 of ‘_mm_add_epi16’
reg0 = _mm_add_epi16(reg0, regX);
^~~~
In file included from prog.c:1:
/usr/lib/gcc/x86_64-linux-gnu/8/include/emmintrin.h:1022:37: note: expected ‘__m128i’ {aka ‘__vector(2) long long int’} but argument is of type ‘__v8hu’ {aka ‘__vector(8) short unsigned int’}
_mm_add_epi16 (__m128i __A, __m128i __B)
~~~~~~~~^~~
prog.c:178:40: error: incompatible type for argument 1 of ‘_mm_mullo_epi16’
reg0 = _mm_mullo_epi16(reg0, regKP);
^~~~
In file included from prog.c:1:
/usr/lib/gcc/x86_64-linux-gnu/8/include/emmintrin.h:1124:26: note: expected ‘__m128i’ {aka ‘__vector(2) long long int’} but argument is of type ‘__v8hu’ {aka ‘__vector(8) short unsigned int’}
_mm_mullo_epi16 (__m128i __A, __m128i __B)
~~~~~~~~^~~
prog.c:178:46: error: incompatible type for argument 2 of ‘_mm_mullo_epi16’
reg0 = _mm_mullo_epi16(reg0, regKP);
^~~~~
In file included from prog.c:1:
/usr/lib/gcc/x86_64-linux-gnu/8/include/emmintrin.h:1124:39: note: expected ‘__m128i’ {aka ‘__vector(2) long long int’} but argument is of type ‘__v8hu’ {aka ‘__vector(8) short unsigned int’}
_mm_mullo_epi16 (__m128i __A, __m128i __B)
~~~~~~~~^~~
prog.c:179:40: error: incompatible type for argument 1 of ‘_mm_mullo_epi16’
reg1 = _mm_mullo_epi16(reg1, regKP);
^~~~
In file included from prog.c:1:
/usr/lib/gcc/x86_64-linux-gnu/8/include/emmintrin.h:1124:26: note: expected ‘__m128i’ {aka ‘__vector(2) long long int’} but argument is of type ‘__v8hu’ {aka ‘__vector(8) short unsigned int’}
_mm_mullo_epi16 (__m128i __A, __m128i __B)
~~~~~~~~^~~
prog.c:179:46: error: incompatible type for argument 2 of ‘_mm_mullo_epi16’
reg1 = _mm_mullo_epi16(reg1, regKP);
^~~~~
In file included from prog.c:1:
/usr/lib/gcc/x86_64-linux-gnu/8/include/emmintrin.h:1124:39: note: expected ‘__m128i’ {aka ‘__vector(2) long long int’} but argument is of type ‘__v8hu’ {aka ‘__vector(8) short unsigned int’}
_mm_mullo_epi16 (__m128i __A, __m128i __B)
~~~~~~~~^~~
prog.c:181:40: error: incompatible type for argument 1 of ‘_mm_mullo_epi16’
reg2 = _mm_mullo_epi16(reg2, regKC);
^~~~
In file included from prog.c:1:
/usr/lib/gcc/x86_64-linux-gnu/8/include/emmintrin.h:1124:26: note: expected ‘__m128i’ {aka ‘__vector(2) long long int’} but argument is of type ‘__v8hu’ {aka ‘__vector(8) short unsigned int’}
_mm_mullo_epi16 (__m128i __A, __m128i __B)
~~~~~~~~^~~
prog.c:181:46: error: incompatible type for argument 2 of ‘_mm_mullo_epi16’
reg2 = _mm_mullo_epi16(reg2, regKC);
^~~~~
In file included from prog.c:1:
/usr/lib/gcc/x86_64-linux-gnu/8/include/emmintrin.h:1124:39: note: expected ‘__m128i’ {aka ‘__vector(2) long long int’} but argument is of type ‘__v8hu’ {aka ‘__vector(8) short unsigned int’}
_mm_mullo_epi16 (__m128i __A, __m128i __B)
~~~~~~~~^~~
prog.c:182:40: error: incompatible type for argument 1 of ‘_mm_mullo_epi16’
reg3 = _mm_mullo_epi16(reg3, regKC);
^~~~
In file included from prog.c:1:
/usr/lib/gcc/x86_64-linux-gnu/8/include/emmintrin.h:1124:26: note: expected ‘__m128i’ {aka ‘__vector(2) long long int’} but argument is of type ‘__v8hu’ {aka ‘__vector(8) short unsigned int’}
_mm_mullo_epi16 (__m128i __A, __m128i __B)
~~~~~~~~^~~
prog.c:182:46: error: incompatible type for argument 2 of ‘_mm_mullo_epi16’
reg3 = _mm_mullo_epi16(reg3, regKC);
^~~~~
In file included from prog.c:1:
/usr/lib/gcc/x86_64-linux-gnu/8/include/emmintrin.h:1124:39: note: expected ‘__m128i’ {aka ‘__vector(2) long long int’} but argument is of type ‘__v8hu’ {aka ‘__vector(8) short unsigned int’}
_mm_mullo_epi16 (__m128i __A, __m128i __B)
~~~~~~~~^~~
prog.c:184:38: error: incompatible type for argument 1 of ‘_mm_add_epi16’
reg2 = _mm_add_epi16(reg0, reg2);
^~~~
In file included from prog.c:1:
/usr/lib/gcc/x86_64-linux-gnu/8/include/emmintrin.h:1022:24: note: expected ‘__m128i’ {aka ‘__vector(2) long long int’} but argument is of type ‘__v8hu’ {aka ‘__vector(8) short unsigned int’}
_mm_add_epi16 (__m128i __A, __m128i __B)
~~~~~~~~^~~
prog.c:184:44: error: incompatible type for argument 2 of ‘_mm_add_epi16’
reg2 = _mm_add_epi16(reg0, reg2);
^~~~
In file included from prog.c:1:
/usr/lib/gcc/x86_64-linux-gnu/8/include/emmintrin.h:1022:37: note: expected ‘__m128i’ {aka ‘__vector(2) long long int’} but argument is of type ‘__v8hu’ {aka ‘__vector(8) short unsigned int’}
_mm_add_epi16 (__m128i __A, __m128i __B)
~~~~~~~~^~~
prog.c:185:38: error: incompatible type for argument 1 of ‘_mm_add_epi16’
reg3 = _mm_add_epi16(reg1, reg3);
^~~~
In file included from prog.c:1:
/usr/lib/gcc/x86_64-linux-gnu/8/include/emmintrin.h:1022:24: note: expected ‘__m128i’ {aka ‘__vector(2) long long int’} but argument is of type ‘__v8hu’ {aka ‘__vector(8) short unsigned int’}
_mm_add_epi16 (__m128i __A, __m128i __B)
~~~~~~~~^~~
prog.c:185:44: error: incompatible type for argument 2 of ‘_mm_add_epi16’
reg3 = _mm_add_epi16(reg1, reg3);
^~~~
In file included from prog.c:1:
/usr/lib/gcc/x86_64-linux-gnu/8/include/emmintrin.h:1022:37: note: expected ‘__m128i’ {aka ‘__vector(2) long long int’} but argument is of type ‘__v8hu’ {aka ‘__vector(8) short unsigned int’}
_mm_add_epi16 (__m128i __A, __m128i __B)
~~~~~~~~^~~
prog.c:189:39: error: incompatible type for argument 1 of ‘_mm_srli_epi16’
reg2 = _mm_srli_epi16(reg2, 8);
^~~~
In file included from prog.c:1:
/usr/lib/gcc/x86_64-linux-gnu/8/include/emmintrin.h:1207:25: note: expected ‘__m128i’ {aka ‘__vector(2) long long int’} but argument is of type ‘__v8hu’ {aka ‘__vector(8) short unsigned int’}
_mm_srli_epi16 (__m128i __A, int __B)
~~~~~~~~^~~
prog.c:190:39: error: incompatible type for argument 1 of ‘_mm_srli_epi16’
reg3 = _mm_srli_epi16(reg3, 8);
^~~~
In file included from prog.c:1:
/usr/lib/gcc/x86_64-linux-gnu/8/include/emmintrin.h:1207:25: note: expected ‘__m128i’ {aka ‘__vector(2) long long int’} but argument is of type ‘__v8hu’ {aka ‘__vector(8) short unsigned int’}
_mm_srli_epi16 (__m128i __A, int __B)
~~~~~~~~^~~
prog.c:198:47: error: incompatible type for argument 1 of ‘_mm_slli_si128’
reg0 = _mm_slli_si128(reg2, 8);
^~~~
In file included from prog.c:1:
/usr/lib/gcc/x86_64-linux-gnu/8/include/emmintrin.h:1191:25: note: expected ‘__m128i’ {aka ‘__vector(2) long long int’} but argument is of type ‘__v8hu’ {aka ‘__vector(8) short unsigned int’}
_mm_slli_si128 (__m128i __A, const int __N)
~~~~~~~~^~~
prog.c:199:45: error: incompatible type for argument 1 of ‘_mm_or_si128’
reg0 = _mm_or_si128(reg0, regLI);
^~~~
In file included from prog.c:1:
/usr/lib/gcc/x86_64-linux-gnu/8/include/emmintrin.h:1285:23: note: expected ‘__m128i’ {aka ‘__vector(2) long long int’} but argument is of type ‘__v8hu’ {aka ‘__vector(8) short unsigned int’}
_mm_or_si128 (__m128i __A, __m128i __B)
~~~~~~~~^~~
prog.c:199:51: error: incompatible type for argument 2 of ‘_mm_or_si128’
reg0 = _mm_or_si128(reg0, regLI);
^~~~~
In file included from prog.c:1:
/usr/lib/gcc/x86_64-linux-gnu/8/include/emmintrin.h:1285:36: note: expected ‘__m128i’ {aka ‘__vector(2) long long int’} but argument is of type ‘__v8hu’ {aka ‘__vector(8) short unsigned int’}
_mm_or_si128 (__m128i __A, __m128i __B)
~~~~~~~~^~~
prog.c:205:47: error: incompatible type for argument 1 of ‘_mm_srli_si128’
reg0 = _mm_srli_si128(reg2, 8);
^~~~
In file included from prog.c:1:
/usr/lib/gcc/x86_64-linux-gnu/8/include/emmintrin.h:1185:25: note: expected ‘__m128i’ {aka ‘__vector(2) long long int’} but argument is of type ‘__v8hu’ {aka ‘__vector(8) short unsigned int’}
_mm_srli_si128 (__m128i __A, const int __N)
~~~~~~~~^~~
prog.c:206:47: error: incompatible type for argument 1 of ‘_mm_slli_si128’
reg1 = _mm_slli_si128(reg3, 8);
^~~~
In file included from prog.c:1:
/usr/lib/gcc/x86_64-linux-gnu/8/include/emmintrin.h:1191:25: note: expected ‘__m128i’ {aka ‘__vector(2) long long int’} but argument is of type ‘__v8hu’ {aka ‘__vector(8) short unsigned int’}
_mm_slli_si128 (__m128i __A, const int __N)
~~~~~~~~^~~
prog.c:207:45: error: incompatible type for argument 1 of ‘_mm_or_si128’
reg0 = _mm_or_si128(reg0, reg1);
^~~~
In file included from prog.c:1:
/usr/lib/gcc/x86_64-linux-gnu/8/include/emmintrin.h:1285:23: note: expected ‘__m128i’ {aka ‘__vector(2) long long int’} but argument is of type ‘__v8hu’ {aka ‘__vector(8) short unsigned int’}
_mm_or_si128 (__m128i __A, __m128i __B)
~~~~~~~~^~~
prog.c:207:51: error: incompatible type for argument 2 of ‘_mm_or_si128’
reg0 = _mm_or_si128(reg0, reg1);
^~~~
In file included from prog.c:1:
/usr/lib/gcc/x86_64-linux-gnu/8/include/emmintrin.h:1285:36: note: expected ‘__m128i’ {aka ‘__vector(2) long long int’} but argument is of type ‘__v8hu’ {aka ‘__vector(8) short unsigned int’}
_mm_or_si128 (__m128i __A, __m128i __B)
~~~~~~~~^~~
prog.c:221:26: error: incompatible types when assigning to type ‘__v8hu’ {aka ‘__vector(8) short unsigned int’} from type ‘__m128i’ {aka ‘__vector(2) long long int’}
regX = _mm_cvtsi64_si128(llKI);
^
prog.c:222:26: error: incompatible types when assigning to type ‘__v8hu’ {aka ‘__vector(8) short unsigned int’} from type ‘__m128i’ {aka ‘__vector(2) long long int’}
regY = _mm_cvtsi64_si128(llK1);
^
prog.c:223:43: error: incompatible type for argument 1 of ‘_mm_slli_si128’
regX = _mm_slli_si128(regX, 8);
^~~~
In file included from prog.c:1:
/usr/lib/gcc/x86_64-linux-gnu/8/include/emmintrin.h:1191:25: note: expected ‘__m128i’ {aka ‘__vector(2) long long int’} but argument is of type ‘__v8hu’ {aka ‘__vector(8) short unsigned int’}
_mm_slli_si128 (__m128i __A, const int __N)
~~~~~~~~^~~
prog.c:224:41: error: incompatible type for argument 1 of ‘_mm_or_si128’
reg1 = _mm_or_si128(regX, regY);
^~~~
In file included from prog.c:1:
/usr/lib/gcc/x86_64-linux-gnu/8/include/emmintrin.h:1285:23: note: expected ‘__m128i’ {aka ‘__vector(2) long long int’} but argument is of type ‘__v8hu’ {aka ‘__vector(8) short unsigned int’}
_mm_or_si128 (__m128i __A, __m128i __B)
~~~~~~~~^~~
prog.c:224:47: error: incompatible type for argument 2 of ‘_mm_or_si128’
reg1 = _mm_or_si128(regX, regY);
^~~~
In file included from prog.c:1:
/usr/lib/gcc/x86_64-linux-gnu/8/include/emmintrin.h:1285:36: note: expected ‘__m128i’ {aka ‘__vector(2) long long int’} but argument is of type ‘__v8hu’ {aka ‘__vector(8) short unsigned int’}
_mm_or_si128 (__m128i __A, __m128i __B)
~~~~~~~~^~~
prog.c:226:44: error: incompatible type for argument 1 of ‘_mm_mullo_epi16’
reg0 = _mm_mullo_epi16(reg0, reg1);
^~~~
In file included from prog.c:1:
/usr/lib/gcc/x86_64-linux-gnu/8/include/emmintrin.h:1124:26: note: expected ‘__m128i’ {aka ‘__vector(2) long long int’} but argument is of type ‘__v8hu’ {aka ‘__vector(8) short unsigned int’}
_mm_mullo_epi16 (__m128i __A, __m128i __B)
~~~~~~~~^~~
prog.c:226:50: error: incompatible type for argument 2 of ‘_mm_mullo_epi16’
reg0 = _mm_mullo_epi16(reg0, reg1);
^~~~
In file included from prog.c:1:
/usr/lib/gcc/x86_64-linux-gnu/8/include/emmintrin.h:1124:39: note: expected ‘__m128i’ {aka ‘__vector(2) long long int’} but argument is of type ‘__v8hu’ {aka ‘__vector(8) short unsigned int’}
_mm_mullo_epi16 (__m128i __A, __m128i __B)
~~~~~~~~^~~
prog.c:227:43: error: incompatible type for argument 1 of ‘_mm_srli_si128’
reg1 = _mm_srli_si128(reg0, 8);
^~~~
In file included from prog.c:1:
/usr/lib/gcc/x86_64-linux-gnu/8/include/emmintrin.h:1185:25: note: expected ‘__m128i’ {aka ‘__vector(2) long long int’} but argument is of type ‘__v8hu’ {aka ‘__vector(8) short unsigned int’}
_mm_srli_si128 (__m128i __A, const int __N)
~~~~~~~~^~~
prog.c:228:42: error: incompatible type for argument 1 of ‘_mm_add_epi16’
reg0 = _mm_add_epi16(reg0, reg1);
^~~~
In file included from prog.c:1:
/usr/lib/gcc/x86_64-linux-gnu/8/include/emmintrin.h:1022:24: note: expected ‘__m128i’ {aka ‘__vector(2) long long int’} but argument is of type ‘__v8hu’ {aka ‘__vector(8) short unsigned int’}
_mm_add_epi16 (__m128i __A, __m128i __B)
~~~~~~~~^~~
prog.c:228:48: error: incompatible type for argument 2 of ‘_mm_add_epi16’
reg0 = _mm_add_epi16(reg0, reg1);
^~~~
In file included from prog.c:1:
/usr/lib/gcc/x86_64-linux-gnu/8/include/emmintrin.h:1022:37: note: expected ‘__m128i’ {aka ‘__vector(2) long long int’} but argument is of type ‘__v8hu’ {aka ‘__vector(8) short unsigned int’}
_mm_add_epi16 (__m128i __A, __m128i __B)
~~~~~~~~^~~
prog.c:250:43: error: incompatible type for argument 1 of ‘_mm_srli_epi16’
reg0 = _mm_srli_epi16(reg0, 8);
^~~~
In file included from prog.c:1:
/usr/lib/gcc/x86_64-linux-gnu/8/include/emmintrin.h:1207:25: note: expected ‘__m128i’ {aka ‘__vector(2) long long int’} but argument is of type ‘__v8hu’ {aka ‘__vector(8) short unsigned int’}
_mm_srli_epi16 (__m128i __A, int __B)
~~~~~~~~^~~
prog.c:254:45: error: incompatible type for argument 1 of ‘_mm_packus_epi16’
reg0 = _mm_packus_epi16(reg0, reg0);
^~~~
In file included from prog.c:1:
/usr/lib/gcc/x86_64-linux-gnu/8/include/emmintrin.h:962:27: note: expected ‘__m128i’ {aka ‘__vector(2) long long int’} but argument is of type ‘__v8hu’ {aka ‘__vector(8) short unsigned int’}
_mm_packus_epi16 (__m128i __A, __m128i __B)
~~~~~~~~^~~
prog.c:254:51: error: incompatible type for argument 2 of ‘_mm_packus_epi16’
reg0 = _mm_packus_epi16(reg0, reg0);
^~~~
In file included from prog.c:1:
/usr/lib/gcc/x86_64-linux-gnu/8/include/emmintrin.h:962:40: note: expected ‘__m128i’ {aka ‘__vector(2) long long int’} but argument is of type ‘__v8hu’ {aka ‘__vector(8) short unsigned int’}
_mm_packus_epi16 (__m128i __A, __m128i __B)
~~~~~~~~^~~
prog.c:256:60: error: incompatible type for argument 1 of ‘_mm_cvtsi128_si32’
unsigned int color = _mm_cvtsi128_si32(reg0);
^~~~
In file included from prog.c:1:
/usr/lib/gcc/x86_64-linux-gnu/8/include/emmintrin.h:224:28: note: expected ‘__m128i’ {aka ‘__vector(2) long long int’} but argument is of type ‘__v8hu’ {aka ‘__vector(8) short unsigned int’}
_mm_cvtsi128_si32 (__m128i __A)
~~~~~~~~^~~
prog.c:268:40: error: incompatible type for argument 1 of ‘_mm_srli_si128’
regLI = _mm_srli_si128(reg3, 8);
^~~~
In file included from prog.c:1:
/usr/lib/gcc/x86_64-linux-gnu/8/include/emmintrin.h:1185:25: note: expected ‘__m128i’ {aka ‘__vector(2) long long int’} but argument is of type ‘__v8hu’ {aka ‘__vector(8) short unsigned int’}
_mm_srli_si128 (__m128i __A, const int __N)
~~~~~~~~^~~
prog.c:58:73: warning: unused variable ‘regS’ [-Wunused-variable]
__v8hu regX, regY, regZero, reg0, reg1, regK0, regK1, regK2, regK3, regS, regKC, regKP, reg2, reg3, regLC, regLI;
^~~~