[Mono-bugs] [Bug 43499][Nor] Changed - problem comparing 2.0 and NaN
bugzilla-daemon@rocky.ximian.com
bugzilla-daemon@rocky.ximian.com
Wed, 4 Jun 2003 11:03:28 -0400 (EDT)
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by dietmar@ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=43499
--- shadow/43499 Wed Jun 4 10:59:55 2003
+++ shadow/43499.tmp.758 Wed Jun 4 11:03:28 2003
@@ -1,14 +1,14 @@
Bug#: 43499
Product: Mono/Runtime
Version: unspecified
-OS:
+OS: unknown
OS Details:
Status: NEW
Resolution:
-Severity:
+Severity: Unknown
Priority: Normal
Component: misc
AssignedTo: mono-bugs@ximian.com
ReportedBy: vargaz@freemail.hu
QAContact: mono-bugs@ximian.com
TargetMilestone: ---
@@ -26,7 +26,22 @@
testcase
------- Additional Comments From dietmar@ximian.com 2003-06-04 10:59 -------
Created an attachment (id=4531)
a C# test case
+
+
+------- Additional Comments From dietmar@ximian.com 2003-06-04 11:03 -------
+The problem is in mini-x86.c:
+
+ case OP_FBEQ:
+ if (cfg->opt & MONO_OPT_FCMOV) {
+ EMIT_COND_BRANCH (ins, X86_CC_EQ, FALSE);
+ break;
+ }
+
+The cond. branch only checks for ZF=1 (X86_CC_EQ), but it should check
+for (ZF=1 && PF=0) or (ZF=1 && CF=0). But I found no way to do such check.
+
+