[libc-commits] [libc] [libc][NFC] Remove unused define (PR #73222)
Guillaume Chatelet via libc-commits
libc-commits at lists.llvm.org
Thu Nov 23 01:12:51 PST 2023
https://github.com/gchatelet created https://github.com/llvm/llvm-project/pull/73222
None
>From d8cfc113b050d8900c0fb6f152808ef40f62fe99 Mon Sep 17 00:00:00 2001
From: Guillaume Chatelet <gchatelet at google.com>
Date: Thu, 23 Nov 2023 09:11:49 +0000
Subject: [PATCH] [libc][NFC] Remove unused define
---
libc/src/__support/FPUtil/PlatformDefs.h | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/libc/src/__support/FPUtil/PlatformDefs.h b/libc/src/__support/FPUtil/PlatformDefs.h
index 7bf6db3a1ef29af..0195b909101db0f 100644
--- a/libc/src/__support/FPUtil/PlatformDefs.h
+++ b/libc/src/__support/FPUtil/PlatformDefs.h
@@ -11,10 +11,6 @@
#include "src/__support/macros/properties/architectures.h"
-#if defined(LIBC_TARGET_ARCH_IS_X86)
-#define X87_FPU
-#endif
-
// https://developer.arm.com/documentation/dui0491/i/C-and-C---Implementation-Details/Basic-data-types
// https://developer.apple.com/documentation/xcode/writing-arm64-code-for-apple-platforms
// https://docs.amd.com/bundle/HIP-Programming-Guide-v5.1/page/Programming_with_HIP.html
@@ -23,7 +19,7 @@
#define LONG_DOUBLE_IS_DOUBLE
#endif
-#if !defined(LONG_DOUBLE_IS_DOUBLE) && defined(X87_FPU)
+#if !defined(LONG_DOUBLE_IS_DOUBLE) && defined(LIBC_TARGET_ARCH_IS_X86)
#define SPECIAL_X86_LONG_DOUBLE
#endif
More information about the libc-commits
mailing list