aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJohn Wehle <john@feith.com>1998-06-10 00:39:23 +0000
committerJeff Law <law@gcc.gnu.org>1998-06-09 18:39:23 -0600
commit9d932d439ee9935219a879d1ff7d08a35f05c3b9 (patch)
tree48c9bf7f30e09f965ed3688a6097fb84bd3d3d3b /gcc
parentfa31b1a55d74214a793e34a972200e20dc275fb7 (diff)
downloadgcc-9d932d439ee9935219a879d1ff7d08a35f05c3b9.zip
gcc-9d932d439ee9935219a879d1ff7d08a35f05c3b9.tar.gz
gcc-9d932d439ee9935219a879d1ff7d08a35f05c3b9.tar.bz2
i386.c (notice_update_cc): Clear cc_status.value2 in the case of UNSPEC 5 (bsf).
* i386.c (notice_update_cc): Clear cc_status.value2 in the case of UNSPEC 5 (bsf). From-SVN: r20395
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog3
-rw-r--r--gcc/config/i386/i386.c1
2 files changed, 4 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 072b82a..db2fa7d 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -5,6 +5,9 @@ Tue Jun 9 22:05:34 1998 Richard Henderson <rth@cygnus.com>
Wed Jun 3 23:41:24 EDT 1998 John Wehle (john@feith.com)
+ * i386.c (notice_update_cc): Clear cc_status.value2 in the
+ case of UNSPEC 5 (bsf).
+
* i386.md (movsfcc, movdfcc, movxfcc): The floating point
conditional move instructions don't support signed integer
comparisons.
diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c
index e10787e..3e1338d 100644
--- a/gcc/config/i386/i386.c
+++ b/gcc/config/i386/i386.c
@@ -3673,6 +3673,7 @@ notice_update_cc (exp)
cc_status.flags
= CC_NOT_POSITIVE | CC_NOT_NEGATIVE | CC_NO_OVERFLOW;
cc_status.value1 = XVECEXP (SET_SRC (exp), 0, 0);
+ cc_status.value2 = 0;
break;
}
/* FALLTHRU */