Skip to content

The presence of "emmintrin.h" shouldn't be used for x86 detection. #980

@ilyakurdyukov

Description

@ilyakurdyukov

testcases/cve/meltdown.c:

#ifdef HAVE_EMMINTRIN_H
#include <emmintrin.h>

And below this ifdef is the assembly code for x86/x86_64.

But emmintrin.h may exist for some non-x86 platforms (such as e2k) as an emulation of Intel SIMD intrinsics. So there's a compilation error here.

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