Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gcc4.8.5 编译失败 error: ‘_mm_max_epi8’ was not declared in this scope #98

Open
363568233 opened this issue Oct 11, 2024 · 1 comment

Comments

@363568233
Copy link

sonic-cpp-1.0.1/include/sonic/internal/arch/sse/simd.h:159:37: error: ‘_mm_max_epi8’ was not declared in this scope
return _mm_max_epi8(*this, other);

#include <emmintrin.h>
加了编译选项 -msse2 也没用 是编译器版本低了吗? 最低要求是哪个版本?

@xiegx94
Copy link
Collaborator

xiegx94 commented Nov 8, 2024

gcc 版本最好升级下。我不确定 intrinsic 是 gcc 哪个版本开始支持的,我们项目测试一般是从 gcc8 开始

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants