From 527a08ec49ff28beef6afa44a694001d698731d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Denis-Courmont?= Date: Tue, 28 Feb 2023 21:10:58 +0200 Subject: [PATCH] meson: remove unused CAN_COMPILE_SSE check --- buildsystem/simd_checks/meson.build | 10 ---------- config.h.meson | 3 --- 2 files changed, 13 deletions(-) diff --git a/buildsystem/simd_checks/meson.build b/buildsystem/simd_checks/meson.build index 03a1bf055d..e55740d750 100644 --- a/buildsystem/simd_checks/meson.build +++ b/buildsystem/simd_checks/meson.build @@ -20,16 +20,6 @@ have_sse2_intrinsics = cc.compiles(''' ''', args: ['-msse2'], name: 'SSE2 intrinsics check') cdata.set('HAVE_SSE2_INTRINSICS', have_sse2_intrinsics) -# Check for SSE inline assembly support -can_compile_sse = cc.compiles(''' - void f() { - void *p; - asm volatile("xorps %%xmm1,%%xmm2"::"r"(p):"xmm1", "xmm2"); - } -''', args: ['-msse'], name: 'SSE inline asm check') -cdata.set('CAN_COMPILE_SSE', can_compile_sse) -have_sse = can_compile_sse - # Check for SSE2 inline assembly support can_compile_sse2 = cc.compiles(''' void f() { diff --git a/config.h.meson b/config.h.meson index 14dbf86254..0ce9ffcc24 100644 --- a/config.h.meson +++ b/config.h.meson @@ -100,9 +100,6 @@ /* Define to 1 if SSE2 intrinsics are available. */ #mesondefine HAVE_SSE2_INTRINSICS -/* Define to 1 if SSE inline assembly is available. */ -#mesondefine CAN_COMPILE_SSE - /* Define to 1 if SSE2 inline assembly is available. */ #mesondefine CAN_COMPILE_SSE2