This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Xtensa] add default for new macro


I recently added the XCHAL_HAVE_MUL32_HIGH macro to include/xtensa-config.h. In case someone has an older copy of that file (changed to match a particular Xtensa configuration), this patch adds a default value for the new macro. Commited on the mainline.

2006-11-27 Bob Wilson <bob.wilson@acm.org>

* config/xtensa/xtensa.h (XCHAL_HAVE_MUL32_HIGH): Provide default.

Index: config/xtensa/xtensa.h
===================================================================
--- config/xtensa/xtensa.h	(revision 119257)
+++ config/xtensa/xtensa.h	(working copy)
@@ -43,6 +43,9 @@
 
 /* Macros used in the machine description to select various Xtensa
    configuration options.  */
+#ifndef XCHAL_HAVE_MUL32_HIGH
+#define XCHAL_HAVE_MUL32_HIGH 0
+#endif
 #define TARGET_BIG_ENDIAN	XCHAL_HAVE_BE
 #define TARGET_DENSITY		XCHAL_HAVE_DENSITY
 #define TARGET_MAC16		XCHAL_HAVE_MAC16

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]