meson: remove unused CAN_COMPILE_SSE check

This commit is contained in:
Rémi Denis-Courmont 2023-02-28 21:10:58 +02:00 committed by Felix Paul Kühne
parent e076fbe743
commit 527a08ec49
2 changed files with 0 additions and 13 deletions

View File

@ -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() {

View File

@ -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