We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
have_type
1 parent fdbb606 commit b08e1caCopy full SHA for b08e1ca
ext/json/ext/simd/conf.rb
@@ -2,7 +2,7 @@
2
when /^(arm|aarch64)/
3
# Try to compile a small program using NEON instructions
4
if have_header('arm_neon.h') &&
5
- have_type('uint8x16_t', headers=['arm_neon.h']) && try_compile(<<~'SRC')
+ try_compile(<<~'SRC')
6
#include <arm_neon.h>
7
int main(int argc, char **argv) {
8
uint8x16_t test = vdupq_n_u8(32);
@@ -14,7 +14,7 @@
14
end
15
when /^(x86_64|x64)/
16
if have_header('x86intrin.h') &&
17
- have_type('__m128i', headers=['x86intrin.h']) && try_compile(<<~'SRC')
18
#include <x86intrin.h>
19
20
__m128i test = _mm_set1_epi8(32);
0 commit comments