This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[Xtensa] add default for new macro
- From: Bob Wilson <bwilson at tensilica dot com>
- To: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 27 Nov 2006 10:52:35 -0800
- Subject: [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