Commit 804a0655 by Kaveh R. Ghazi Committed by Kaveh Ghazi

stormy16-protos.h (xs_hi_general_operand, [...]): Prototype.

	* stormy16-protos.h (xs_hi_general_operand,
	xs_hi_nonmemory_operand): Prototype.
	* stormy16.c (xstormy16_output_shift): Fix format specifier
	warnings.

From-SVN: r66872
parent fdb882bc
2003-05-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 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. * cris.c: Fix format specifier warnings.
2003-05-16 Nick Clifton <nickc@redhat.com> 2003-05-16 Nick Clifton <nickc@redhat.com>
......
...@@ -78,6 +78,8 @@ extern int nonimmediate_nonstack_operand PARAMS ((rtx, enum machine_mode)); ...@@ -78,6 +78,8 @@ extern int nonimmediate_nonstack_operand PARAMS ((rtx, enum machine_mode));
extern enum reg_class xstormy16_secondary_reload_class extern enum reg_class xstormy16_secondary_reload_class
PARAMS ((enum reg_class, enum machine_mode, rtx)); PARAMS ((enum reg_class, enum machine_mode, rtx));
extern int xstormy16_carry_plus_operand PARAMS ((rtx, enum machine_mode)); 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 extern enum reg_class xstormy16_preferred_reload_class
PARAMS ((rtx, enum reg_class)); PARAMS ((rtx, enum reg_class));
extern int xstormy16_legitimate_address_p extern int xstormy16_legitimate_address_p
......
...@@ -2098,19 +2098,19 @@ xstormy16_output_shift (mode, code, x, size_r, temp) ...@@ -2098,19 +2098,19 @@ xstormy16_output_shift (mode, code, x, size_r, temp)
case ASHIFT: case ASHIFT:
sprintf (r, sprintf (r,
"mov %s,%s | shl %s,#%d | shl %s,#%d | shr %s,#%d | or %s,%s", "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); r1, rt);
break; break;
case ASHIFTRT: case ASHIFTRT:
sprintf (r, sprintf (r,
"mov %s,%s | asr %s,#%d | shr %s,#%d | shl %s,#%d | or %s,%s", "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); r0, rt);
break; break;
case LSHIFTRT: case LSHIFTRT:
sprintf (r, sprintf (r,
"mov %s,%s | shr %s,#%d | shr %s,#%d | shl %s,#%d | or %s,%s", "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); r0, rt);
break; break;
default: default:
......
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