Your message dated Mon, 21 Oct 2002 22:40:32 +0200 with message-id <[EMAIL PROTECTED]> and subject line Bug#164588: gcc-3.2: -march=athlon or -march=pentium2 with -O2 incorrectly mix MMX with FPU has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what I am talking about this indicates a serious mail system misconfiguration somewhere. Please contact me immediately.) Debian bug tracking system administrator (administrator, Debian Bugs database) -------------------------------------- Received: (at submit) by bugs.debian.org; 13 Oct 2002 17:22:56 +0000 >From [EMAIL PROTECTED] Sun Oct 13 12:22:56 2002 Return-path: <[EMAIL PROTECTED]> Received: from pop.gmx.net (mail.gmx.net) [213.165.64.20] by master.debian.org with smtp (Exim 3.12 1 (Debian)) id 180mS7-0004N4-00; Sun, 13 Oct 2002 12:22:55 -0500 Received: (qmail 16564 invoked by uid 0); 13 Oct 2002 17:22:22 -0000 Received: from viking.ostkupan.studenthem.gu.se (193.11.232.150) by mail.gmx.net (mp008-rz3) with SMTP; 13 Oct 2002 17:22:22 -0000 Received: from felix by viking.ostkupan.studenthem.gu.se with local (Exim 3.36 #1 (Debian)) id 180mRY-0006h9-00; Sun, 13 Oct 2002 19:22:20 +0200 From: "Felix Kühling" <[EMAIL PROTECTED]> To: Debian Bug Tracking System <[EMAIL PROTECTED]> Subject: gcc-3.2: -march=athlon or -march=pentium2 with -O2 incorrectly mix MMX with FPU X-Mailer: reportbug 1.50 Date: Sun, 13 Oct 2002 19:22:19 +0200 Message-Id: <[EMAIL PROTECTED]> Sender: =?iso-8859-1?Q?Felix_K=FChling?= <[EMAIL PROTECTED]> Delivered-To: [EMAIL PROTECTED] Package: gcc-3.2 Version: 1:3.2.1-0pre2 Severity: normal I tracked down this problem in the DRI CVS source tree. When compiling with -O2 -march=athlon or -O2 -march=pentium2 the generated code incorrectly mixes MMX and FPU instructions. I generated a stripped down preprocessed file and added a small main function and 2 printfs to demonstrate the problem. I will submit it as attachment with a follow-up mail. This is the exact compiler command line: gcc-3.2 -Wall -O2 -march=athlon -o radeon_state2 radeon_state2.i The programme is compiled correctly with: gcc-3.2 -Wall -O2 -mcpu=athlon -o radeon_state2 radeon_state2.i or gcc-3.2 -Wall -O2 -march=athlon -mno-mmx -mno-3dnow -o radeon_state2 radeon_state2.i The incorrect version produces this output Inside if: 133 != nan || 589 != nan and a sigsegv since I didn't fake things up enough in the main function ;-) The correct version produces this output: Outside if: 133 != 133.000000 || 589 != 589.000000 -- System Information Debian Release: testing/unstable Architecture: i386 Kernel: Linux viking 2.4.19 #6 Fre Sep 27 23:46:47 CEST 2002 i686 Locale: LANG=de_DE.ISO-8859-1, LC_CTYPE=de_DE.ISO-8859-1 Versions of packages gcc-3.2 depends on: ii binutils 2.13.90.0.4-1 The GNU assembler, linker and bina ii cpp-3.2 1:3.2.1-0pre2 The GNU C preprocessor. ii gcc-3.2-base 1:3.2.1-0pre2 The GNU Compiler Collection (base ii libc6 2.2.5-14.3 GNU C Library: Shared libraries an ii libgcc1 1:3.2.1-0pre2 GCC support library. --------------------------------------- Received: (at 164588-done) by bugs.debian.org; 21 Oct 2002 20:41:15 +0000 >From [EMAIL PROTECTED] Mon Oct 21 15:41:15 2002 Return-path: <[EMAIL PROTECTED]> Received: from mail.cs.tu-berlin.de [130.149.17.13] (root) by master.debian.org with esmtp (Exim 3.12 1 (Debian)) id 183jMQ-0001F8-00; Mon, 21 Oct 2002 15:41:15 -0500 Received: from bolero.cs.tu-berlin.de ([EMAIL PROTECTED] [130.149.19.1]) by mail.cs.tu-berlin.de (8.9.3/8.9.3) with ESMTP id WAA17017 for <[EMAIL PROTECTED]>; Mon, 21 Oct 2002 22:40:33 +0200 (MET DST) Received: (from [EMAIL PROTECTED]) by bolero.cs.tu-berlin.de (8.11.6+Sun/8.9.3) id g9LKeWO04181; Mon, 21 Oct 2002 22:40:32 +0200 (MEST) From: Matthias Klose <[EMAIL PROTECTED]> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Message-ID: <[EMAIL PROTECTED]> Date: Mon, 21 Oct 2002 22:40:32 +0200 To: [EMAIL PROTECTED] Subject: Re: Bug#164588: gcc-3.2: -march=athlon or -march=pentium2 with -O2 incorrectly mix MMX with FPU In-Reply-To: <[EMAIL PROTECTED]> References: <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> X-Mailer: VM 7.03 under 21.4 (patch 6) "Common Lisp" XEmacs Lucid Delivered-To: [EMAIL PROTECTED] X-Spam-Status: No, hits=-11.7 required=5.0 tests=IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES,SPAM_PHRASE_00_01, SUBJECT_MONTH_2 version=2.41 X-Spam-Level: Felix K=FChling writes: > On Mon, 21 Oct 2002 21:58:16 +0200 > Matthias Klose <[EMAIL PROTECTED]> wrote: >=20 > > tags 164588 + moreinfo > > thanks > >=20 > > - please recheck with gcc-3.2_3.2.1-0pre4 (from unstable) >=20 > Just checked it, both with -march=3Dathlon and -march=3Dpentium2. Thi= s one > solves the problem. Thanks! closing the report