* flow.c (attempt_auto_inc): Remove unused variable `bb'.
(attempt_auto_inc): Suppress parentheses warning.
* function.c (put_reg_into_stack): Remove unused variable `unsigned_p'.
* loop.c (load_mems): Remove `u' suffix in two places.
* config/rs6000/rs6000.c: Remove unnecessary `u' suffixes from
hex constants.
* config/rs6000/rs6000.h: Likewise.
* config/rs6000/sol-c0.c: Prototype some functions. Remove the
__eabi dummy routine.
* config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Remove unused
variable `buf_ptr'.
From-SVN: r35670
2000-08-13 Geoff Keating <geoffk@cygnus.com>
+ * flow.c (attempt_auto_inc): Remove unused variable `bb'.
+ (attempt_auto_inc): Suppress parentheses warning.
+ * function.c (put_reg_into_stack): Remove unused variable `unsigned_p'.
+ * loop.c (load_mems): Remove `u' suffix in two places.
+ * config/rs6000/rs6000.c: Remove unnecessary `u' suffixes from
+ hex constants.
+ * config/rs6000/rs6000.h: Likewise.
+ * config/rs6000/sol-c0.c: Prototype some functions. Remove the
+ __eabi dummy routine.
+ * config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Remove unused
+ variable `buf_ptr'.
+
* config/rs6000/rs6000.c (rs6000_select_section): Rewrite to
not put stuff in .sdata unnecessarily.
(rs6000_unique_section): New function.
}
return ((INTVAL (op) & GET_MODE_MASK (mode)
- & (~ (unsigned HOST_WIDE_INT) 0xffffffffu)) == 0);
+ & (~ (unsigned HOST_WIDE_INT) 0xffffffff)) == 0);
}
else if (GET_CODE (op) == CONST_DOUBLE)
{
#if HOST_BITS_PER_WIDE_INT == 64
else if (TARGET_POWERPC64)
{
- unsigned HOST_WIDE_INT low = value & 0xffffffffu;
+ unsigned HOST_WIDE_INT low = value & 0xffffffff;
HOST_WIDE_INT high = value >> 32;
- if (high == 0 && (low & 0x80000000u) == 0)
+ if (high == 0 && (low & 0x80000000) == 0)
return 2;
- else if (high == -1 && (low & 0x80000000u) != 0)
+ else if (high == -1 && (low & 0x80000000) != 0)
return 2;
else if (! low)
else
{
- if (high == 0 && (low & 0x80000000u) == 0)
+ if (high == 0 && (low & 0x80000000) == 0)
return num_insns_constant_wide (low);
- else if (high == -1 && (low & 0x80000000u) != 0)
+ else if (high == -1 && (low & 0x80000000) != 0)
return num_insns_constant_wide (low);
else if (mask64_operand (op, mode))
return (oph == 0
&& ((opl & ~ (unsigned HOST_WIDE_INT) 0xffff) == 0
- || (opl & ~ (unsigned HOST_WIDE_INT) 0xffff0000u) == 0));
+ || (opl & ~ (unsigned HOST_WIDE_INT) 0xffff0000) == 0));
}
/* Return 1 if C is a constant that is not a logical operand (as
/* If the high bit is set and the low bit is not, the value is zero.
If the high bit is zero, the value is the first 1 bit we find from
the left. */
- if ((val & 0x80000000u) && ((val & 1) == 0))
+ if ((val & 0x80000000) && ((val & 1) == 0))
{
putc ('0', file);
return;
}
- else if ((val & 0x80000000u) == 0)
+ else if ((val & 0x80000000) == 0)
{
for (i = 1; i < 32; i++)
- if ((val <<= 1) & 0x80000000u)
+ if ((val <<= 1) & 0x80000000)
break;
fprintf (file, "%d", i);
return;
/* If the low bit is set and the high bit is not, the value is 31.
If the low bit is zero, the value is the first 1 bit we find from
the right. */
- if ((val & 1) && ((val & 0x80000000u) == 0))
+ if ((val & 1) && ((val & 0x80000000) == 0))
{
fputs ("31", file);
return;
/* Otherwise, look for the first 0 bit from the left. The result is its
number minus 1. We know the high-order bit is one. */
for (i = 0; i < 32; i++)
- if (((val <<= 1) & 0x80000000u) == 0)
+ if (((val <<= 1) & 0x80000000) == 0)
break;
fprintf (file, "%d", i);
fprintf (file, "\t.llong 0x%lx%08lx\n", k[0], k[1]);
else
fprintf (file, "\t.tc FD_%lx_%lx[TC],0x%lx%08lx\n",
- k[0], k[1], k[0] & 0xffffffffu, k[1] & 0xffffffffu);
+ k[0], k[1], k[0] & 0xffffffff, k[1] & 0xffffffff);
return;
}
else
#if HOST_BITS_PER_WIDE_INT == 32
{
low = INTVAL (x);
- high = (low & 0x80000000u) ? ~0 : 0;
+ high = (low & 0x80000000) ? ~0 : 0;
}
#else
{
- low = INTVAL (x) & 0xffffffffu;
+ low = INTVAL (x) & 0xffffffff;
high = (HOST_WIDE_INT) INTVAL (x) >> 32;
}
#endif
#define CONST_OK_FOR_LETTER_P(VALUE, C) \
( (C) == 'I' ? (unsigned HOST_WIDE_INT) ((VALUE) + 0x8000) < 0x10000 \
- : (C) == 'J' ? ((VALUE) & (~ (unsigned HOST_WIDE_INT) 0xffff0000u)) == 0 \
+ : (C) == 'J' ? ((VALUE) & (~ (unsigned HOST_WIDE_INT) 0xffff0000)) == 0 \
: (C) == 'K' ? ((VALUE) & (~ (HOST_WIDE_INT) 0xffff)) == 0 \
: (C) == 'L' ? (((VALUE) & 0xffff) == 0 \
&& ((VALUE) >> 31 == -1 || (VALUE) >> 31 == 0)) \
HOST_WIDE_INT val = INTVAL (XEXP (X, 1)); \
HOST_WIDE_INT low = ((val & 0xffff) ^ 0x8000) - 0x8000; \
HOST_WIDE_INT high \
- = (((val - low) & 0xffffffffu) ^ 0x80000000u) - 0x80000000u; \
+ = (((val - low) & 0xffffffff) ^ 0x80000000) - 0x80000000; \
\
/* Check for 32-bit overflow. */ \
if (high + low != val) \
long t[2]; \
REAL_VALUE_TO_TARGET_DOUBLE ((VALUE), t); \
fprintf (FILE, "\t.long 0x%lx\n\t.long 0x%lx\n", \
- t[0] & 0xffffffffu, t[1] & 0xffffffffu); \
+ t[0] & 0xffffffff, t[1] & 0xffffffff); \
}
/* This is how to output an assembler line defining a `float' constant. */
{ \
long t; \
REAL_VALUE_TO_TARGET_SINGLE ((VALUE), t); \
- fprintf (FILE, "\t.long 0x%lx\n", t & 0xffffffffu); \
+ fprintf (FILE, "\t.long 0x%lx\n", t & 0xffffffff); \
}
/* This is how to output an assembler line defining an `int' constant. */
/* Solaris PowerPC startfile. */
-/* Copyright (C) 1996 Free Software Foundation, Inc.
+/* Copyright (C) 1996, 2000 Free Software Foundation, Inc.
This file is part of GNU CC.
extern int atexit (void (*__func) (void));
extern void __init (void) __attribute__ ((__longcall__));
extern void __fini (void) __attribute__ ((__longcall__));
+extern void _start(int argc, char *argv[], char *envp[], void *auxp,
+ void (*termfunc)());
+extern void exit(int);
+extern int main (int argc, char *argv[], char *envp[], void *auxp);
typedef void (*func_ptr) (void);
int (*__atexit)(func_ptr) = atexit;
/* Return to the os */
exit (ret);
}
-
-/* Provide a dummy __eabi in case main got compiled without -mcall-solaris. */
-void
-__eabi ()
-{
-}
&& uses_TOC()) \
{ \
char buf[256]; \
- const char *buf_ptr; \
\
ASM_OUTPUT_INTERNAL_LABEL (FILE, "LCL", rs6000_pic_labelno); \
\
Change it to q = p, ...*q..., q = q+size.
Then fall into the usual case. */
rtx insns, temp;
- basic_block bb;
start_sequence ();
emit_move_insn (q, incr_reg);
/* If the original source was dead, it's dead now. */
rtx note;
- while (note = find_reg_note (incr, REG_DEAD, NULL_RTX))
+ while ((note = find_reg_note (incr, REG_DEAD, NULL_RTX)) != NULL_RTX)
{
remove_note (incr, note);
if (XEXP (note, 0) != incr_reg)
struct function *func = function ? function : cfun;
rtx new = 0;
unsigned int regno = original_regno;
- int unsigned_p;
if (regno == 0)
regno = REGNO (reg);
&& GET_CODE (SET_DEST (set)) == REG
&& REGNO (SET_DEST (set)) >= FIRST_PSEUDO_REGISTER
&& REGNO (SET_DEST (set)) < last_max_reg
- && VARRAY_INT (n_times_set, REGNO (SET_DEST (set))) == 1U
+ && VARRAY_INT (n_times_set, REGNO (SET_DEST (set))) == 1
&& rtx_equal_p (SET_SRC (set), mem))
SET_REGNO_REG_SET (&load_copies, REGNO (SET_DEST (set)));
&& GET_CODE (SET_SRC (set)) == REG
&& REGNO (SET_SRC (set)) >= FIRST_PSEUDO_REGISTER
&& REGNO (SET_SRC (set)) < last_max_reg
- && VARRAY_INT (n_times_set, REGNO (SET_SRC (set))) == 1U
+ && VARRAY_INT (n_times_set, REGNO (SET_SRC (set))) == 1
&& rtx_equal_p (SET_DEST (set), mem))
SET_REGNO_REG_SET (&store_copies, REGNO (SET_SRC (set)));