🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.bug
Article #6290

Bug in m68k-linux target description

#6290
From: Andreas Schwab
Date: Mon, 11 Dec 1995 00:00
25 lines
1409 bytes
The macro LIBCALL_VALUE in config/m68k/linux.h is broken, it looks for XFmode 
values in the wrong register.


Sun Dec 10 21:10:49 1995  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

	* config/m68k/linux.h (LIBCALL_VALUE): Values in XFmode are
	returned in fp0 as well.


--- gcc-2.7.2/config/m68k/linux.h.~1~	Sat Sep 16 14:44:29 1995
+++ gcc-2.7.2/config/m68k/linux.h	Fri Dec  1 19:25:09 1995
@@ -259,7 +259,8 @@
 
 #undef LIBCALL_VALUE
 #define LIBCALL_VALUE(MODE)						\
-  (((MODE) == SFmode || (MODE) == DFmode) && TARGET_68881		\
+  ((((MODE) == SFmode || (MODE) == DFmode || (MODE) == XFmode)		\
+    && TARGET_68881)							\
    ? gen_rtx (REG, (MODE), 16)						\
    : gen_rtx (REG, (MODE), 0))

-- 
Andreas Schwab                                      "And now for something
schwab@issan.informatik.uni-dortmund.de              completely different"
Technical Details
Message-ID: <9512110942.AA10147@lamothe.informatik.uni-dortmund.de>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 113d02,113699b082fc41b8,start
X-Google-Attributes: gid113d02,public
From: schwab@lamothe.informatik.uni-dortmund.de (Andreas Schwab)
Subject: Bug in m68k-linux target description
Date: 1995/12/11
Message-ID: <9512110942.AA10147@lamothe.informatik.uni-dortmund.de>
X-Deja-AN: 121609970
distribution: gnu
sender: daemon@cis.ohio-state.edu
organization: GNUs Not Usenet
reply-to: schwab@issan.informatik.uni-dortmund.de
newsgroups: gnu.gcc.bug