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

编译出现错误:lane index must be a constant immediate #11

Open
counry opened this issue Oct 28, 2020 · 2 comments
Open

编译出现错误:lane index must be a constant immediate #11

counry opened this issue Oct 28, 2020 · 2 comments

Comments

@counry
Copy link

counry commented Oct 28, 2020

In file included from /data1/home/nhzhou/build_third_lib/hyperscan-5.2.1.aarch64/src/util/intrinsics.h:73:0,
from /data1/home/nhzhou/build_third_lib/hyperscan-5.2.1.aarch64/src/util/simd_types.h:35,
from /data1/home/nhzhou/build_third_lib/hyperscan-5.2.1.aarch64/src/ue2common.h:78,
from /data1/home/nhzhou/build_third_lib/hyperscan-5.2.1.aarch64/src/allocator.h:33,
from /data1/home/nhzhou/build_third_lib/hyperscan-5.2.1.aarch64/src/runtime.c:36:
In function 'vgetq_lane_s32',
inlined from 'extract32from128' at /data1/home/nhzhou/build_third_lib/hyperscan-5.2.1.aarch64/src/util/simd_arm.h:222:12:
/usr/lib/gcc/aarch64-redhat-linux/7/include/arm_neon.h:3287:10: error: lane index must be a constant immediate
return __aarch64_vget_lane_any (__a, __b);
^
In function 'vgetq_lane_s64',
inlined from 'extract64from128' at /data1/home/nhzhou/build_third_lib/hyperscan-5.2.1.aarch64/src/util/simd_arm.h:228:12:
/usr/lib/gcc/aarch64-redhat-linux/7/include/arm_neon.h:3294:10: error: lane index must be a constant immediate
return __aarch64_vget_lane_any (__a, __b);
^
In function 'vgetq_lane_s32',
inlined from 'extract32from256' at /data1/home/nhzhou/build_third_lib/hyperscan-5.2.1.aarch64/src/util/simd_arm.h:237:12:
/usr/lib/gcc/aarch64-redhat-linux/7/include/arm_neon.h:3287:10: error: lane index must be a constant immediate
return __aarch64_vget_lane_any (__a, __b);
^
In function 'vgetq_lane_s64',
inlined from 'extract64from256' at /data1/home/nhzhou/build_third_lib/hyperscan-5.2.1.aarch64/src/util/simd_arm.h:244:12:
/usr/lib/gcc/aarch64-redhat-linux/7/include/arm_neon.h:3294:10: error: lane index must be a constant immediate
return __aarch64_vget_lane_any (__a, __b);
^
In function 'vextq_s8',
inlined from 'palignr' at /data1/home/nhzhou/build_third_lib/hyperscan-5.2.1.aarch64/src/util/simd_arm.h:358:26:
/usr/lib/gcc/aarch64-redhat-linux/7/include/arm_neon.h:16591:3: error: lane index must be a constant immediate
__AARCH64_LANE_CHECK (__a, __c);
^
In function 'vextq_s8',
inlined from 'palignr' at /data1/home/nhzhou/build_third_lib/hyperscan-5.2.1.aarch64/src/util/simd_arm.h:360:26:
/usr/lib/gcc/aarch64-redhat-linux/7/include/arm_neon.h:16591:3: error: lane index must be a constant immediate
__AARCH64_LANE_CHECK (__a, __c);
^
In function 'vextq_s8',
inlined from 'rshiftbyte_m128' at /data1/home/nhzhou/build_third_lib/hyperscan-5.2.1.aarch64/src/util/simd_arm.h:166:22,
inlined from 'dvermSearchAligned' at /data1/home/nhzhou/build_third_lib/hyperscan-5.2.1.aarch64/src/nfa/vermicelli_sse.h:140:17:
/usr/lib/gcc/aarch64-redhat-linux/7/include/arm_neon.h:16591:3: error: lane index must be a constant immediate
__AARCH64_LANE_CHECK (__a, __c);
^
In function 'vextq_s8',
inlined from 'rshiftbyte_m128' at /data1/home/nhzhou/build_third_lib/hyperscan-5.2.1.aarch64/src/util/simd_arm.h:166:22,
inlined from 'dvermSearchAlignedNocase' at /data1/home/nhzhou/build_third_lib/hyperscan-5.2.1.aarch64/src/nfa/vermicelli_sse.h:163:17:
/usr/lib/gcc/aarch64-redhat-linux/7/include/arm_neon.h:16591:3: error: lane index must be a constant immediate
__AARCH64_LANE_CHECK (__a, __c);
^
In function 'vextq_s8',
inlined from 'rshiftbyte_m128' at /data1/home/nhzhou/build_third_lib/hyperscan-5.2.1.aarch64/src/util/simd_arm.h:166:22,
inlined from 'dvermSearchAlignedMasked' at /data1/home/nhzhou/build_third_lib/hyperscan-5.2.1.aarch64/src/nfa/vermicelli_sse.h:187:17:
/usr/lib/gcc/aarch64-redhat-linux/7/include/arm_neon.h:16591:3: error: lane index must be a constant immediate
__AARCH64_LANE_CHECK (__a, __c);
^

@counry
Copy link
Author

counry commented Oct 28, 2020

这个怎么处理

@minqian
Copy link
Collaborator

minqian commented Oct 31, 2020

您好,新合入的代码已经解决了这个问题

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