Signed-off-by: Wu Zhongmin <zhongmin.wzm@antgroup.com> Signed-off-by: Xiaokang Qin <xiaokang.qxk@antgroup.com> Co-authored-by: Wu Zhongmin <zhongmin.wzm@antgroup.com> Co-authored-by: Wu Zhongmin <zhongmin.wzm@antgroup.com>
This commit is contained in:
@ -1496,7 +1496,8 @@ aot_create_comp_context(AOTCompData *comp_data,
|
||||
}
|
||||
|
||||
if (option->enable_simd
|
||||
&& strcmp(comp_ctx->target_arch, "x86_64") != 0) {
|
||||
&& strcmp(comp_ctx->target_arch, "x86_64") != 0
|
||||
&& strncmp(comp_ctx->target_arch, "aarch64", 7) != 0) {
|
||||
/* Disable simd if it isn't supported by target arch */
|
||||
option->enable_simd = false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user