2003-05-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+ * stormy16-protos.h (xs_hi_general_operand,
+ xs_hi_nonmemory_operand): Prototype.
+ * stormy16.c (xstormy16_output_shift): Fix format specifier
+ warnings.
+
* cris.c: Fix format specifier warnings.
2003-05-16 Nick Clifton <nickc@redhat.com>
extern enum reg_class xstormy16_secondary_reload_class
PARAMS ((enum reg_class, enum machine_mode, rtx));
extern int xstormy16_carry_plus_operand PARAMS ((rtx, enum machine_mode));
+extern int xs_hi_general_operand PARAMS ((rtx, enum machine_mode));
+extern int xs_hi_nonmemory_operand PARAMS ((rtx, enum machine_mode));
extern enum reg_class xstormy16_preferred_reload_class
PARAMS ((rtx, enum reg_class));
extern int xstormy16_legitimate_address_p
case ASHIFT:
sprintf (r,
"mov %s,%s | shl %s,#%d | shl %s,#%d | shr %s,#%d | or %s,%s",
- rt, r0, r0, (int) size, r1, (int) size, rt, (int) 16-size,
+ rt, r0, r0, (int) size, r1, (int) size, rt, (int) (16-size),
r1, rt);
break;
case ASHIFTRT:
sprintf (r,
"mov %s,%s | asr %s,#%d | shr %s,#%d | shl %s,#%d | or %s,%s",
- rt, r1, r1, (int) size, r0, (int) size, rt, (int) 16-size,
+ rt, r1, r1, (int) size, r0, (int) size, rt, (int) (16-size),
r0, rt);
break;
case LSHIFTRT:
sprintf (r,
"mov %s,%s | shr %s,#%d | shr %s,#%d | shl %s,#%d | or %s,%s",
- rt, r1, r1, (int) size, r0, (int) size, rt, (int) 16-size,
+ rt, r1, r1, (int) size, r0, (int) size, rt, (int) (16-size),
r0, rt);
break;
default: