aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Smith <cks@gnu.org>1992-02-12 23:44:20 +0000
committerChris Smith <cks@gnu.org>1992-02-12 23:44:20 +0000
commite622cd25a9d191e52eb77a01aa3187f7f153e2a2 (patch)
treeab6ff6c962ab0001d0611257f6d813df2f2176ef
parentdf4f282db4dc3ae9c0b57ffb7a94a6889f6f2c3b (diff)
downloadgcc-e622cd25a9d191e52eb77a01aa3187f7f153e2a2.zip
gcc-e622cd25a9d191e52eb77a01aa3187f7f153e2a2.tar.gz
gcc-e622cd25a9d191e52eb77a01aa3187f7f153e2a2.tar.bz2
*** empty log message ***
From-SVN: r314
-rw-r--r--gcc/config/convex/convex.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/gcc/config/convex/convex.h b/gcc/config/convex/convex.h
index 9c93bfe..cd1a02b 100644
--- a/gcc/config/convex/convex.h
+++ b/gcc/config/convex/convex.h
@@ -165,10 +165,6 @@ extern char *output_call ();
#define DOUBLE_TYPE_SIZE 64
#define LONG_DOUBLE_TYPE_SIZE 64
-/* The real.h version of this macro inexplicably checks BITS_PER_WORD */
-
-#define REAL_VALUE_TRUNCATE(mode, x) ((mode) == SFmode ? (float) (x) : (x))
-
/* Declare the standard types used by builtins to match convex stddef.h --
with int rather than long. */
@@ -200,9 +196,9 @@ extern char *output_call ();
/* Return number of consecutive hard regs needed starting at reg REGNO
to hold something of mode MODE.
This is ordinarily the length in words of a value of mode MODE
- but can be less for certain modes in special long registers.
- On Convex, all values fit in one register. */
-#define HARD_REGNO_NREGS(REGNO, MODE) 1
+ but can be less for certain modes in special long registers. */
+#define HARD_REGNO_NREGS(REGNO, MODE) \
+ ((GET_MODE_SIZE (MODE) + UNITS_PER_WORD - 1) / UNITS_PER_WORD)
/* Value is 1 if hard register REGNO can hold a value of machine-mode MODE.
On Convex, S registers can hold any type, A registers any nonfloat. */
@@ -789,6 +785,11 @@ enum reg_class {
#define ADDRESS_COST(RTX) (GET_CODE (RTX) == MEM ? 3 : 1)
+/* Specify the cost of a branch insn; roughly the number of extra insns that
+ should be added to avoid a branch. */
+
+#define BRANCH_COST 0
+
/* Check a `double' value for validity for a particular machine mode. */
#define CHECK_FLOAT_VALUE(mode, d) \