Fixes for sunos4 cc:

* sparc.c (TMASK, UMASK): Use `(unsigned)1' not `1U'.
        (ultrasparc_sched_init): Remove unneeded &.

From-SVN: r22124
This commit is contained in:
Kaveh R. Ghazi 1998-08-31 07:21:05 +00:00 committed by Kaveh Ghazi
parent ef869e71ae
commit b96a5ea56c
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
Mon Aug 31 10:18:52 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* sparc.c (TMASK, UMASK): Use `(unsigned)1' not `1U'.
(ultrasparc_sched_init): Remove unneeded &.
Mon Aug 31 10:47:16 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* config/m68k/m68k.h (TARGET_SWITCHES): Don't remove MASK_68040

View File

@ -6222,8 +6222,8 @@ supersparc_adjust_cost (insn, link, dep_insn, cost)
/* This describes the state of the UltraSPARC pipeline during
instruction scheduling. */
#define TMASK(__x) (1U << ((int)(__x)))
#define UMASK(__x) (1U << ((int)(__x)))
#define TMASK(__x) ((unsigned)1 << ((int)(__x)))
#define UMASK(__x) ((unsigned)1 << ((int)(__x)))
enum ultra_code { NONE=0, /* no insn at all */
IEU0, /* shifts and conditional moves */
@ -6575,7 +6575,7 @@ ultrasparc_sched_init (dump, sched_verbose)
FILE *dump ATTRIBUTE_UNUSED;
int sched_verbose ATTRIBUTE_UNUSED;
{
bzero ((char *) &ultra_pipe_hist, sizeof ultra_pipe_hist);
bzero ((char *) ultra_pipe_hist, sizeof ultra_pipe_hist);
ultra_cur_hist = 0;
ultra_cycles_elapsed = 0;
ultra_reorder_called_this_block = 0;