aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/mips/mips.h5
2 files changed, 9 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 271be8d..0bf41ce 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2005-07-13 Ian Lance Taylor <ian@airs.com>
+
+ * config/mips/mips.h (CLZ_DEFINED_VALUE_AT_ZERO): Define.
+
2005-07-14 Jan Hubicka <jh@suse.cz>
* tree-dfa.c (dump_variable): Use default_def function.
diff --git a/gcc/config/mips/mips.h b/gcc/config/mips/mips.h
index 5e594c7..8bb3d50 100644
--- a/gcc/config/mips/mips.h
+++ b/gcc/config/mips/mips.h
@@ -1130,6 +1130,11 @@ extern const struct mips_rtx_cost_data *mips_cost;
/* Define if loading short immediate values into registers sign extends. */
#define SHORT_IMMEDIATES_SIGN_EXTEND
+
+/* The [d]clz instructions have the natural values at 0. */
+
+#define CLZ_DEFINED_VALUE_AT_ZERO(MODE, VALUE) \
+ ((VALUE) = GET_MODE_BITSIZE (MODE), true)
/* Standard register usage. */