Commit a36b8cb8 by Jason Eckhardt Committed by Jason Eckhardt

i860.c (output_move_double): Don't set latehalf to zero for CONST_INT (since it…

i860.c (output_move_double): Don't set latehalf to zero for CONST_INT (since it could be, e.g., -1).

2003-08-22  Jason Eckhardt  <jle@rice.edu>

	* config/i860/i860.c (output_move_double): Don't set latehalf
	to zero for CONST_INT (since it could be, e.g., -1).

	* config/i860/i860.h (REMSI3_LIBCALL): Replace this macro...
	(MODSI3_LIBCALL): ...with this one.
	(UREMSI3_LIBCALL): Replace this macro...
	(UMODSI3_LIBCALL): ...with this one.

From-SVN: r70725
parent 89520fd7
2003-08-22 Jason Eckhardt <jle@rice.edu> 2003-08-22 Jason Eckhardt <jle@rice.edu>
* config/i860/i860.c (output_move_double): Don't set latehalf
to zero for CONST_INT (since it could be, e.g., -1).
* config/i860/i860.h (REMSI3_LIBCALL): Replace this macro...
(MODSI3_LIBCALL): ...with this one.
(UREMSI3_LIBCALL): Replace this macro...
(UMODSI3_LIBCALL): ...with this one.
2003-08-22 Jason Eckhardt <jle@rice.edu>
* config/i860/i860-protos.h (output_delay_insn): Remove prototype. * config/i860/i860-protos.h (output_delay_insn): Remove prototype.
(output_delayed_branch): Remove prototype. (output_delayed_branch): Remove prototype.
(single_insn_src_p): Remove prototype. (single_insn_src_p): Remove prototype.
...@@ -71,7 +81,7 @@ ...@@ -71,7 +81,7 @@
2003-08-22 Jason Eckhardt <jle@rice.edu> 2003-08-22 Jason Eckhardt <jle@rice.edu>
* config.gcc (i860-*-sysv4*): Add target. * gcc/config.gcc (i860-*-sysv4*): Add target.
* config/i860/i860-protos.h: New. * config/i860/i860-protos.h: New.
* config/i860/i860.c: New. * config/i860/i860.c: New.
* config/i860/i860.h: New. * config/i860/i860.h: New.
......
...@@ -521,8 +521,13 @@ output_move_double (rtx *operands) ...@@ -521,8 +521,13 @@ output_move_double (rtx *operands)
{ {
if (GET_CODE (operands[1]) == CONST_DOUBLE) if (GET_CODE (operands[1]) == CONST_DOUBLE)
split_double (operands[1], &operands[1], &latehalf[1]); split_double (operands[1], &operands[1], &latehalf[1]);
#if 0
else if (CONSTANT_P (operands[1])) else if (CONSTANT_P (operands[1]))
latehalf[1] = const0_rtx; latehalf[1] = const0_rtx;
#else
else if (CONSTANT_P (operands[1]))
split_double (operands[1], &operands[1], &latehalf[1]);
#endif
} }
else else
latehalf[1] = operands[1]; latehalf[1] = operands[1];
......
...@@ -840,8 +840,8 @@ struct cumulative_args { int ints, floats; }; ...@@ -840,8 +840,8 @@ struct cumulative_args { int ints, floats; };
#define DIVSI3_LIBCALL "*.div" #define DIVSI3_LIBCALL "*.div"
#define UDIVSI3_LIBCALL "*.udiv" #define UDIVSI3_LIBCALL "*.udiv"
#define REMSI3_LIBCALL "*.rem" #define MODSI3_LIBCALL "*.rem"
#define UREMSI3_LIBCALL "*.urem" #define UMODSI3_LIBCALL "*.urem"
/* Define this as 1 if `char' should by default be signed; else as 0. */ /* Define this as 1 if `char' should by default be signed; else as 0. */
#define DEFAULT_SIGNED_CHAR 1 #define DEFAULT_SIGNED_CHAR 1
......
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