2
0
mirror of git://gcc.gnu.org/git/gcc.git synced 2025-02-24 21:56:21 +08:00

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
This commit is contained in:
Uros Bizjak 2004-12-08 08:54:43 +01:00 committed by Uros Bizjak
parent 371f495ae6
commit 89b1749804
2 changed files with 7 additions and 2 deletions
gcc
ChangeLog
config/i386

View File

@ -1,3 +1,8 @@
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>
* config/i386/i386-protos.h (ix86_split_fp_branch): New rtx

View File

@ -6901,7 +6901,7 @@ output_387_binary_op (rtx insn, rtx *operands)
static char buf[30];
const char *p;
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
/* 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)
enum machine_mode fpcmp_mode = ix86_fp_compare_mode (code);
rtx op0 = *pop0, op1 = *pop1;
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.
The same is true of the fcomi compare instructions. The same is