Skip to content

[aarch64] incorrect intrinsics used #499

@jwinarske

Description

@jwinarske

Incorrect embree intrinsics used with RaspberryPi 5 on Yocto build system

-mcpu=cortex-a76+crypto
Compiling modules/navigation/2d/nav_mesh_generator_2d.cpp ...
In file included from thirdparty/embree/common/sys/../simd/arm/emulation.h:12,
                 from thirdparty/embree/common/sys/intrinsics.h:13,
                 from thirdparty/embree/common/sys/alloc.cpp:5:
thirdparty/embree/common/sys/../simd/arm/sse2neon.h: In function '__m128i _mm_aesdeclast_si128(__m128i, __m128i)':
thirdparty/embree/common/sys/../simd/arm/sse2neon.h:9918:69: error: invalid operands to binary ^ (have '__Int64x2_t' and '__Uint8x16_t')
 9918 |                vaesdq_u8(vreinterpretq_u8_m128i(a), vdupq_n_u8(0))) ^
      |                                                                     ^
Compiling modules/navigation/editor/navigation_mesh_editor_plugin.cpp ...
In file included from thirdparty/embree/common/sys/../math/../sys/../simd/arm/emulation.h:12,
                 from thirdparty/embree/common/sys/../math/../sys/intrinsics.h:13,
                 from thirdparty/embree/common/sys/../math/emath.h:7,
                 from thirdparty/embree/common/sys/../math/vec2.h:6,
                 from thirdparty/embree/common/sys/estring.h:7,
                 from thirdparty/embree/common/sys/estring.cpp:4:
thirdparty/embree/common/sys/../math/../sys/../simd/arm/sse2neon.h: In function '__m128i _mm_aesdeclast_si128(__m128i, __m128i)':
thirdparty/embree/common/sys/../math/../sys/../simd/arm/sse2neon.h:9918:69: error: invalid operands to binary ^ (have '__Int64x2_t' and '__Uint8x16_t')
 9918 |                vaesdq_u8(vreinterpretq_u8_m128i(a), vdupq_n_u8(0))) ^
      |                                                                     ^
Compiling modules/navigation/nav_map.cpp ...
In file included from thirdparty/embree/common/sys/../simd/arm/emulation.h:12,
                 from thirdparty/embree/common/sys/intrinsics.h:13,
                 from thirdparty/embree/common/sys/sysinfo.cpp:11:
thirdparty/embree/common/sys/../simd/arm/sse2neon.h: In function '__m128i _mm_aesdeclast_si128(__m128i, __m128i)':
thirdparty/embree/common/sys/../simd/arm/sse2neon.h:9918:69: error: invalid operands to binary ^ (have '__Int64x2_t' and '__Uint8x16_t')
 9918 |                vaesdq_u8(vreinterpretq_u8_m128i(a), vdupq_n_u8(0))) ^
      |                                                                     ^

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions