Commit b96a5ea5 by Kaveh R. Ghazi Committed by Kaveh Ghazi

Fixes for sunos4 cc:

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

From-SVN: r22124
parent ef869e71
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
......
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment