segments.cpp: In function 'int kek(int, int, int)':
segments.cpp:49:11: warning: unused variable 'vzero' [-Wunused-variable]
49 | __m256i vzero = _mm256_setzero_si256();
| ^~~~~
segments.cpp: In function 'void ioi(std::string)':
segments.cpp:29:10: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
29 | freopen((name + ".in").c_str(), "r", stdin);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
segments.cpp:30:10: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
30 | freopen((name + ".out").c_str(), "w", stdout);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
segments.cpp: In function 'int kek(int, int, int)':
segments.cpp:47:35: warning: AVX vector return without AVX enabled changes the ABI [-Wpsabi]
47 | __m256i vl = _mm256_set1_epi32(l);
| ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/10/include/immintrin.h:51,
from /usr/lib/gcc/x86_64-linux-gnu/10/include/x86intrin.h:32,
from segments.cpp:8:
/usr/lib/gcc/x86_64-linux-gnu/10/include/avxintrin.h:1235:1: error: inlining failed in call to 'always_inline' '__m256i _mm256_setzero_si256()': target specific option mismatch
1235 | _mm256_setzero_si256 (void)
| ^~~~~~~~~~~~~~~~~~~~
segments.cpp:50:38: note: called from here
50 | __m256i vacc = _mm256_setzero_si256();
| ~~~~~~~~~~~~~~~~~~~~^~
In file included from /usr/lib/gcc/x86_64-linux-gnu/10/include/immintrin.h:51,
from /usr/lib/gcc/x86_64-linux-gnu/10/include/x86intrin.h:32,
from segments.cpp:8:
/usr/lib/gcc/x86_64-linux-gnu/10/include/avxintrin.h:1235:1: error: inlining failed in call to 'always_inline' '__m256i _mm256_setzero_si256()': target specific option mismatch
1235 | _mm256_setzero_si256 (void)
| ^~~~~~~~~~~~~~~~~~~~
segments.cpp:49:39: note: called from here
49 | __m256i vzero = _mm256_setzero_si256();
| ~~~~~~~~~~~~~~~~~~~~^~
In file included from /usr/lib/gcc/x86_64-linux-gnu/10/include/immintrin.h:51,
from /usr/lib/gcc/x86_64-linux-gnu/10/include/x86intrin.h:32,
from segments.cpp:8:
/usr/lib/gcc/x86_64-linux-gnu/10/include/avxintrin.h:1319:1: error: inlining failed in call to 'always_inline' '__m256i _mm256_set1_epi32(int)': target specific option mismatch
1319 | _mm256_set1_epi32 (int __A)
| ^~~~~~~~~~~~~~~~~
segments.cpp:48:33: note: called from here
48 | __m256i vr = _mm256_set1_epi32(r);
| ~~~~~~~~~~~~~~~~~^~~
In file included from /usr/lib/gcc/x86_64-linux-gnu/10/include/immintrin.h:51,
from /usr/lib/gcc/x86_64-linux-gnu/10/include/x86intrin.h:32,
from segments.cpp:8:
/usr/lib/gcc/x86_64-linux-gnu/10/include/avxintrin.h:1319:1: error: inlining failed in call to 'always_inline' '__m256i _mm256_set1_epi32(int)': target specific option mismatch
1319 | _mm256_set1_epi32 (int __A)
| ^~~~~~~~~~~~~~~~~
segments.cpp:47:33: note: called from here
47 | __m256i vl = _mm256_set1_epi32(l);
| ~~~~~~~~~~~~~~~~~^~~
In file included from /usr/lib/gcc/x86_64-linux-gnu/10/include/immintrin.h:53,
from /usr/lib/gcc/x86_64-linux-gnu/10/include/x86intrin.h:32,
from segments.cpp:8:
/usr/lib/gcc/x86_64-linux-gnu/10/include/avx2intrin.h:119:1: error: inlining failed in call to 'always_inline' '__m256i _mm256_add_epi32(__m256i, __m256i)': target specific option mismatch
119 | _mm256_add_epi32 (__m256i __A, __m256i __B)
| ^~~~~~~~~~~~~~~~
segments.cpp:58:28: note: called from here
58 | vacc = _mm256_add_epi32(vacc, vand);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~
In file included from /usr/lib/gcc/x86_64-linux-gnu/10/include/immintrin.h:53,
from /usr/lib/gcc/x86_64-linux-gnu/10/include/x86intrin.h:32,
from segments.cpp:8:
/usr/lib/gcc/x86_64-linux-gnu/10/include/avx2intrin.h:179:1: error: inlining failed in call to 'always_inline' '__m256i _mm256_and_si256(__m256i, __m256i)': target specific option mismatch
179 | _mm256_and_si256 (__m256i __A, __m256i __B)
| ^~~~~~~~~~~~~~~~
segments.cpp:57:36: note: called from here
57 | __m256i vand = _mm256_and_si256(vcmp0, vcmp1);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
In file included from /usr/lib/gcc/x86_64-linux-gnu/10/include/immintrin.h:53,
from /usr/lib/gcc/x86_64-linux-gnu/10/include/x86intrin.h:32,
from segments.cpp:8:
/usr/lib/gcc/x86_64-linux-gnu/10/include/avx2intrin.h:273:1: error: inlining failed in call to 'always_inline' '__m256i _mm256_cmpgt_epi32(__m256i, __m256i)': target specific option mismatch
273 | _mm256_cmpgt_epi32 (__m256i __A, __m256i __B)
| ^~~~~~~~~~~~~~~~~~
segments.cpp:56:39: note: called from here
56 | __m256i vcmp1 = _mm256_cmpgt_epi32(vb1, vr);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~
In file included from /usr/lib/gcc/x86_64-linux-gnu/10/include/immintrin.h:53,
from /usr/lib/gcc/x86_64-linux-gnu/10/include/x86intrin.h:32,
from segments.cpp:8:
/usr/lib/gcc/x86_64-linux-gnu/10/include/avx2intrin.h:273:1: error: inlining failed in call to 'always_inline' '__m256i _mm256_cmpgt_epi32(__m256i, __m256i)': target specific option mismatch
273 | _mm256_cmpgt_epi32 (__m256i __A, __m256i __B)
| ^~~~~~~~~~~~~~~~~~
segments.cpp:55:39: note: called from here
55 | __m256i vcmp0 = _mm256_cmpgt_epi32(vl, vb0);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~
In file included from /usr/lib/gcc/x86_64-linux-gnu/10/include/immintrin.h:51,
from /usr/lib/gcc/x86_64-linux-gnu/10/include/x86intrin.h:32,
from segments.cpp:8:
/usr/lib/gcc/x86_64-linux-gnu/10/include/avxintrin.h:920:1: error: inlining failed in call to 'always_inline' '__m256i _mm256_loadu_si256(const __m256i_u*)': target specific option mismatch
920 | _mm256_loadu_si256 (__m256i_u const *__P)
| ^~~~~~~~~~~~~~~~~~
segments.cpp:54:37: note: called from here
54 | __m256i vb1 = _mm256_loadu_si256((__m256i*)&b[1][i]);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
In file included from /usr/lib/gcc/x86_64-linux-gnu/10/include/immintrin.h:51,
from /usr/lib/gcc/x86_64-linux-gnu/10/include/x86intrin.h:32,
from segments.cpp:8:
/usr/lib/gcc/x86_64-linux-gnu/10/include/avxintrin.h:920:1: error: inlining failed in call to 'always_inline' '__m256i _mm256_loadu_si256(const __m256i_u*)': target specific option mismatch
920 | _mm256_loadu_si256 (__m256i_u const *__P)
| ^~~~~~~~~~~~~~~~~~
segments.cpp:53:37: note: called from here
53 | __m256i vb0 = _mm256_loadu_si256((__m256i*)&b[0][i]);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
In file included from /usr/lib/gcc/x86_64-linux-gnu/10/include/immintrin.h:51,
from /usr/lib/gcc/x86_64-linux-gnu/10/include/x86intrin.h:32,
from segments.cpp:8:
/usr/lib/gcc/x86_64-linux-gnu/10/include/avxintrin.h:926:1: error: inlining failed in call to 'always_inline' 'void _mm256_storeu_si256(__m256i_u*, __m256i)': target specific option mismatch
926 | _mm256_storeu_si256 (__m256i_u *__P, __m256i __A)
| ^~~~~~~~~~~~~~~~~~~
segments.cpp:62:22: note: called from here
62 | _mm256_storeu_si256((__m256i*)accumulator, vacc);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/lib/gcc/x86_64-linux-gnu/10/include/immintrin.h:51,
from /usr/lib/gcc/x86_64-linux-gnu/10/include/x86intrin.h:32,
from segments.cpp:8:
/usr/lib/gcc/x86_64-linux-gnu/10/include/avxintrin.h:1235:1: error: inlining failed in call to 'always_inline' '__m256i _mm256_setzero_si256()': target specific option mismatch
1235 | _mm256_setzero_si256 (void)
| ^~~~~~~~~~~~~~~~~~~~
segments.cpp:50:38: note: called from here
50 | __m256i vacc = _mm256_setzero_si256();
| ~~~~~~~~~~~~~~~~~~~~^~
In file included from /usr/lib/gcc/x86_64-linux-gnu/10/include/immintrin.h:51,
from /usr/lib/gcc/x86_64-linux-gnu/10/include/x86intrin.h:32,
from segments.cpp:8:
/usr/lib/gcc/x86_64-linux-gnu/10/include/avxintrin.h:1235:1: error: inlining failed in call to 'always_inline' '__m256i _mm256_setzero_si256()': target specific option mismatch
1235 | _mm256_setzero_si256 (void)
| ^~~~~~~~~~~~~~~~~~~~
segments.cpp:49:39: note: called from here
49 | __m256i vzero = _mm256_setzero_si256();
| ~~~~~~~~~~~~~~~~~~~~^~
In file included from /usr/lib/gcc/x86_64-linux-gnu/10/include/immintrin.h:51,
from /usr/lib/gcc/x86_64-linux-gnu/10/include/x86intrin.h:32,
from segments.cpp:8:
/usr/lib/gcc/x86_64-linux-gnu/10/include/avxintrin.h:1319:1: error: inlining failed in call to 'always_inline' '__m256i _mm256_set1_epi32(int)': target specific option mismatch
1319 | _mm256_set1_epi32 (int __A)
| ^~~~~~~~~~~~~~~~~
segments.cpp:48:33: note: called from here
48 | __m256i vr = _mm256_set1_epi32(r);
| ~~~~~~~~~~~~~~~~~^~~
In file included from /usr/lib/gcc/x86_64-linux-gnu/10/include/immintrin.h:51,
from /usr/lib/gcc/x86_64-linux-gnu/10/include/x86intrin.h:32,
from segments.cpp:8:
/usr/lib/gcc/x86_64-linux-gnu/10/include/avxintrin.h:1319:1: error: inlining failed in call to 'always_inline' '__m256i _mm256_set1_epi32(int)': target specific option mismatch
1319 | _mm256_set1_epi32 (int __A)
| ^~~~~~~~~~~~~~~~~
segments.cpp:47:33: note: called from here
47 | __m256i vl = _mm256_set1_epi32(l);
| ~~~~~~~~~~~~~~~~~^~~
In file included from /usr/lib/gcc/x86_64-linux-gnu/10/include/immintrin.h:51,
from /usr/lib/gcc/x86_64-linux-gnu/10/include/x86intrin.h:32,
from segments.cpp:8:
/usr/lib/gcc/x86_64-linux-gnu/10/include/avxintrin.h:1235:1: error: inlining failed in call to 'always_inline' '__m256i _mm256_setzero_si256()': target specific option mismatch
1235 | _mm256_setzero_si256 (void)
| ^~~~~~~~~~~~~~~~~~~~
segments.cpp:50:38: note: called from here
50 | __m256i vacc = _mm256_setzero_si256();
| ~~~~~~~~~~~~~~~~~~~~^~
In file included from /usr/lib/gcc/x86_64-linux-gnu/10/include/immintrin.h:51,
from /usr/lib/gcc/x86_64-linux-gnu/10/include/x86intrin.h:32,
from segments.cpp:8:
/usr/lib/gcc/x86_64-linux-gnu/10/include/avxintrin.h:1235:1: error: inlining failed in call to 'always_inline' '__m256i _mm256_setzero_si256()': target specific option mismatch
1235 | _mm256_setzero_si256 (void)
| ^~~~~~~~~~~~~~~~~~~~
segments.cpp:49:39: note: called from here
49 | __m256i vzero = _mm256_setzero_si256();
| ~~~~~~~~~~~~~~~~~~~~^~
In file included from /usr/lib/gcc/x86_64-linux-gnu/10/include/immintrin.h:51,
from /usr/lib/gcc/x86_64-linux-gnu/10/include/x86intrin.h:32,
from segments.cpp:8:
/usr/lib/gcc/x86_64-linux-gnu/10/include/avxintrin.h:1319:1: error: inlining failed in call to 'always_inline' '__m256i _mm256_set1_epi32(int)': target specific option mismatch
1319 | _mm256_set1_epi32 (int __A)
| ^~~~~~~~~~~~~~~~~
segments.cpp:48:33: note: called from here
48 | __m256i vr = _mm256_set1_epi32(r);
| ~~~~~~~~~~~~~~~~~^~~
In file included from /usr/lib/gcc/x86_64-linux-gnu/10/include/immintrin.h:51,
from /usr/lib/gcc/x86_64-linux-gnu/10/include/x86intrin.h:32,
from segments.cpp:8:
/usr/lib/gcc/x86_64-linux-gnu/10/include/avxintrin.h:1319:1: error: inlining failed in call to 'always_inline' '__m256i _mm256_set1_epi32(int)': target specific option mismatch
1319 | _mm256_set1_epi32 (int __A)
| ^~~~~~~~~~~~~~~~~
segments.cpp:47:33: note: called from here
47 | __m256i vl = _mm256_set1_epi32(l);
| ~~~~~~~~~~~~~~~~~^~~
In file included from /usr/lib/gcc/x86_64-linux-gnu/10/include/immintrin.h:53,
from /usr/lib/gcc/x86_64-linux-gnu/10/include/x86intrin.h:32,
from segments.cpp:8:
/usr/lib/gcc/x86_64-linux-gnu/10/include/avx2intrin.h:119:1: error: inlining failed in call to 'always_inline' '__m256i _mm256_add_epi32(__m256i, __m256i)': target specific option mismatch
119 | _mm256_add_epi32 (__m256i __A, __m256i __B)
| ^~~~~~~~~~~~~~~~
segments.cpp:58:28: note: called from here
58 | vacc = _mm256_add_epi32(vacc, vand);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~
In file included from /usr/lib/gcc/x86_64-linux-gnu/10/include/immintrin.h:53,
from /usr/lib/gcc/x86_64-linux-gnu/10/include/x86intrin.h:32,
from segments.cpp:8:
/usr/lib/gcc/x86_64-linux-gnu/10/include/avx2intrin.h:179:1: error: inlining failed in call to 'always_inline' '__m256i _mm256_and_si256(__m256i, __m256i)': target specific option mismatch
179 | _mm256_and_si256 (__m256i __A, __m256i __B)
| ^~~~~~~~~~~~~~~~
segments.cpp:57:36: note: called from here
57 | __m256i vand = _mm256_and_si256(vcmp0, vcmp1);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
In file included from /usr/lib/gcc/x86_64-linux-gnu/10/include/immintrin.h:53,
from /usr/lib/gcc/x86_64-linux-gnu/10/include/x86intrin.h:32,
from segments.cpp:8:
/usr/lib/gcc/x86_64-linux-gnu/10/include/avx2intrin.h:273:1: error: inlining failed in call to 'always_inline' '__m256i _mm256_cmpgt_epi32(__m256i, __m256i)': target specific option mismatch
273 | _mm256_cmpgt_epi32 (__m256i __A, __m256i __B)
| ^~~~~~~~~~~~~~~~~~
segments.cpp:56:39: note: called from here
56 | __m256i vcmp1 = _mm256_cmpgt_epi32(vb1, vr);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~
In file included from /usr/lib/gcc/x86_64-linux-gnu/10/include/immintrin.h:53,
from /usr/lib/gcc/x86_64-linux-gnu/10/include/x86intrin.h:32,
from segments.cpp:8:
/usr/lib/gcc/x86_64-linux-gnu/10/include/avx2intrin.h:273:1: error: inlining failed in call to 'always_inline' '__m256i _mm256_cmpgt_epi32(__m256i, __m256i)': target specific option mismatch
273 | _mm256_cmpgt_epi32 (__m256i __A, __m256i __B)
| ^~~~~~~~~~~~~~~~~~
segments.cpp:55:39: note: called from here
55 | __m256i vcmp0 = _mm256_cmpgt_epi32(vl, vb0);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~
In file included from /usr/lib/gcc/x86_64-linux-gnu/10/include/immintrin.h:51,
from /usr/lib/gcc/x86_64-linux-gnu/10/include/x86intrin.h:32,
from segments.cpp:8:
/usr/lib/gcc/x86_64-linux-gnu/10/include/avxintrin.h:920:1: error: inlining failed in call to 'always_inline' '__m256i _mm256_loadu_si256(const __m256i_u*)': target specific option mismatch
920 | _mm256_loadu_si256 (__m256i_u const *__P)
| ^~~~~~~~~~~~~~~~~~
segments.cpp:54:37: note: called from here
54 | __m256i vb1 = _mm256_loadu_si256((__m256i*)&b[1][i]);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
In file included from /usr/lib/gcc/x86_64-linux-gnu/10/include/immintrin.h:51,
from /usr/lib/gcc/x86_64-linux-gnu/10/include/x86intrin.h:32,
from segments.cpp:8:
/usr/lib/gcc/x86_64-linux-gnu/10/include/avxintrin.h:920:1: error: inlining failed in call to 'always_inline' '__m256i _mm256_loadu_si256(const __m256i_u*)': target specific option mismatch
920 | _mm256_loadu_si256 (__m256i_u const *__P)
| ^~~~~~~~~~~~~~~~~~
segments.cpp:53:37: note: called from here
53 | __m256i vb0 = _mm256_loadu_si256((__m256i*)&b[0][i]);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
In file included from /usr/lib/gcc/x86_64-linux-gnu/10/include/immintrin.h:51,
from /usr/lib/gcc/x86_64-linux-gnu/10/include/x86intrin.h:32,
from segments.cpp:8:
/usr/lib/gcc/x86_64-linux-gnu/10/include/avxintrin.h:926:1: error: inlining failed in call to 'always_inline' 'void _mm256_storeu_si256(__m256i_u*, __m256i)': target specific option mismatch
926 | _mm256_storeu_si256 (__m256i_u *__P, __m256i __A)
| ^~~~~~~~~~~~~~~~~~~
segments.cpp:62:22: note: called from here
62 | _mm256_storeu_si256((__m256i*)accumulator, vacc);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~