Commit 89b17498 by Uros Bizjak Committed by Uros Bizjak

i386.c (output_387_binary_op, [...]): Fix is_sse condition.

	* config/i386/i386.c (output_387_binary_op,
	ix86_prepare_fp_compare_args): Fix is_sse condition.

From-SVN: r91862
parent 371f495a
2004-12-08 Uros Bizjak <uros@kss-loka.si>
* config/i386/i386.c (output_387_binary_op,
ix86_prepare_fp_compare_args): Fix is_sse condition.
2004-12-07 Uros Bizjak <uros@kss-loka.si> 2004-12-07 Uros Bizjak <uros@kss-loka.si>
* config/i386/i386-protos.h (ix86_split_fp_branch): New rtx * config/i386/i386-protos.h (ix86_split_fp_branch): New rtx
......
...@@ -6901,7 +6901,7 @@ output_387_binary_op (rtx insn, rtx *operands) ...@@ -6901,7 +6901,7 @@ output_387_binary_op (rtx insn, rtx *operands)
static char buf[30]; static char buf[30];
const char *p; const char *p;
const char *ssep; const char *ssep;
int is_sse = SSE_REG_P (operands[0]) | SSE_REG_P (operands[1]) | SSE_REG_P (operands[2]); int is_sse = SSE_REG_P (operands[0]) || SSE_REG_P (operands[1]) || SSE_REG_P (operands[2]);
#ifdef ENABLE_CHECKING #ifdef ENABLE_CHECKING
/* Even if we do not want to check the inputs, this documents input /* Even if we do not want to check the inputs, this documents input
...@@ -7925,7 +7925,7 @@ ix86_prepare_fp_compare_args (enum rtx_code code, rtx *pop0, rtx *pop1) ...@@ -7925,7 +7925,7 @@ ix86_prepare_fp_compare_args (enum rtx_code code, rtx *pop0, rtx *pop1)
enum machine_mode fpcmp_mode = ix86_fp_compare_mode (code); enum machine_mode fpcmp_mode = ix86_fp_compare_mode (code);
rtx op0 = *pop0, op1 = *pop1; rtx op0 = *pop0, op1 = *pop1;
enum machine_mode op_mode = GET_MODE (op0); enum machine_mode op_mode = GET_MODE (op0);
int is_sse = SSE_REG_P (op0) | SSE_REG_P (op1); int is_sse = SSE_REG_P (op0) || SSE_REG_P (op1);
/* All of the unordered compare instructions only work on registers. /* All of the unordered compare instructions only work on registers.
The same is true of the fcomi compare instructions. The same is The same is true of the fcomi compare instructions. The same is
......
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