Home GnuPG

tests/basic: perform x86 vector cluttering only when __SSE2__ is set

Description

tests/basic: perform x86 vector cluttering only when SSE2 is set

* tests/basic.c (CLUTTER_VECTOR_REGISTER_AMD64)
(CLUTTER_VECTOR_REGISTER_I386): Set only if __SSE2__ defined.
(clutter_vector_registers) [CLUTTER_VECTOR_REGISTER_AMD64]: Remove
__SSE2__ check for "xmm" clobbers.
(clutter_vector_registers) [CLUTTER_VECTOR_REGISTER_I386]: Likewise.

Force SSE2 check as buggy compiler might not define SSE2 but
still attempt to use XMM registers.

  • Signed-off-by: Jussi Kivilinna <jussi.kivilinna@iki.fi>

Details

Provenance
jukiviliAuthored on Jan 17 2023, 5:45 PM
Parents
rC1a758b08bba0: tests/basic: fix clutter vector register asm for amd64 and i386
Branches
Unknown
Tags
Unknown