www.delorie.com/archives/browse.cgi   search  
Mail Archives: pgcc/2000/05/14/13:41:30

Sender: yur AT asplinux DOT ru
Message-ID: <391EE35C.500CD590@asplinux.ru>
Date: Sun, 14 May 2000 21:33:16 +0400
From: Yuri Pudgorodsky <yur AT asplinux DOT ru>
Organization: SW
X-Mailer: Mozilla 4.72 [en] (X11; I; Linux 2.3.99-pre9-1 i686)
X-Accept-Language: ru, en
MIME-Version: 1.0
To: pgcc AT delorie DOT com
Subject: Little MMX codegen typo in 2.95.3-pgcc
Reply-To: pgcc AT delorie DOT com

This is a multi-part message in MIME format.
--------------1A0271B9E12F94CC2FB88D7A
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi!

I'm going to do a little test of mmx capabilities of current pgcc.
Almost immediatly I discovered a little typo in i386.c, resulted
in garbage assebler output.

Here is the patch.


Best regards,
Yuri Pudgorodsky <yur AT asplinux DOT ru>


--------------1A0271B9E12F94CC2FB88D7A
Content-Type: text/plain; charset=us-ascii;
 name="pgcc-mmx-bug.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="pgcc-mmx-bug.diff"

--- gcc-2.95.2/gcc/config/i386/i386.c~	Sun May 14 21:23:21 2000
+++ gcc-2.95.2/gcc/config/i386/i386.c	Sun May 14 21:23:58 2000
@@ -5648,7 +5648,7 @@
   if (MMX_REG_P (operands [0]))
     {
       output_asm_insn (AS2 (pslld,%2,%0), operands);
-      return;
+      return "";
     }
 
   /* Handle case where srcreg != dstreg.  */

--------------1A0271B9E12F94CC2FB88D7A--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019