From e622cd25a9d191e52eb77a01aa3187f7f153e2a2 Mon Sep 17 00:00:00 2001 From: Chris Smith Date: Wed, 12 Feb 1992 23:44:20 +0000 Subject: [PATCH] *** empty log message *** From-SVN: r314 --- gcc/config/convex/convex.h | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/gcc/config/convex/convex.h b/gcc/config/convex/convex.h index 9c93bfea4d2..cd1a02b7982 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) \ -- 2.30.2