Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2539)

Unified Diff: gcc/gcc/config/i386/i386.h

Issue 2928008: [gcc] Revise definition for long double type. (Closed) Base URL: ssh://git@chromiumos-git/nacl-toolchain.git
Patch Set: ready for code review Created 10 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | gcc/gcc/config/i386/nacl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gcc/gcc/config/i386/i386.h
diff --git a/gcc/gcc/config/i386/i386.h b/gcc/gcc/config/i386/i386.h
index e6cdf1f69c123c80b0db4b8e9b4b9f556a8b27dd..23c0d183eef9a8b69a0b6df6ff70911c87d83334 100644
--- a/gcc/gcc/config/i386/i386.h
+++ b/gcc/gcc/config/i386/i386.h
@@ -621,22 +621,7 @@ enum target_cpu_default
#define LONG_TYPE_SIZE BITS_PER_WORD
#define DOUBLE_TYPE_SIZE 64
#define LONG_LONG_TYPE_SIZE 64
-#define LONG_DOUBLE_TYPE_SIZE (TARGET_80387 ? 80 : 64)
-
-/* With SSE2 but no 80387 we can not use 80bit long double but with 80387 we
- must use 80bit long double in registers - hardware limitation in both cases */
-
-#undef GET_MODE_WIDER_MODE
-#define GET_MODE_WIDER_MODE(MODE) \
- (TARGET_80387 ? mode_wider[MODE] : \
- ((MODE) != DFmode && (MODE) != XFmode && (MODE) != V4DFmode && \
- (MODE) != DCmode && (MODE) != XCmode) ? mode_wider[MODE] : \
- VOIDmode)
-#undef GET_MODE_2XWIDER_MODE
-#define GET_MODE_2XWIDER_MODE(MODE) \
- (TARGET_80387 ? mode_2xwider[MODE] : \
- ((MODE) != DFmode && (MODE) != XFmode) ? mode_2xwider[MODE] : \
- VOIDmode)
+#define LONG_DOUBLE_TYPE_SIZE 80
#define WIDEST_HARDWARE_FP_SIZE LONG_DOUBLE_TYPE_SIZE
« no previous file with comments | « no previous file | gcc/gcc/config/i386/nacl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698