Компиляция устаревшего кода GCC с векторными предупреждениями AVXC++

Программы на C++. Форум разработчиков
Anonymous
Компиляция устаревшего кода GCC с векторными предупреждениями AVX

Сообщение Anonymous »

Я пытался выполнить поиск в Google, но не нашел ничего полезного.

typedef int64_t v4si __attribute__ ((vector_size(32)));

//warning: AVX vector return without AVX enabled changes the ABI [-Wpsabi]
// so isn't AVX already automatically enabled?
// What does it mean "without AVX enabled"?
// What does it mean "changes the ABI"?
inline v4si v4si_gt0(v4si x_);

//warning: The ABI for passing parameters with 32-byte alignment has changed in GCC 4.6
//So why there's warning and what does it mean?
// Why only this parameter got warning?
// And all other v4si parameter/arguments got no warning?
void set_quota(v4si quota);


Подробнее здесь: https://stackoverflow.com/questions/393 ... r-warnings

Вернуться в «C++»