head	1.2;
access;
symbols
	pkgsrc-2013Q2:1.2.0.48
	pkgsrc-2013Q2-base:1.2
	pkgsrc-2012Q4:1.2.0.46
	pkgsrc-2012Q4-base:1.2
	pkgsrc-2011Q4:1.2.0.44
	pkgsrc-2011Q4-base:1.2
	pkgsrc-2011Q2:1.2.0.42
	pkgsrc-2011Q2-base:1.2
	pkgsrc-2009Q4:1.2.0.40
	pkgsrc-2009Q4-base:1.2
	pkgsrc-2008Q4:1.2.0.38
	pkgsrc-2008Q4-base:1.2
	pkgsrc-2008Q3:1.2.0.36
	pkgsrc-2008Q3-base:1.2
	cube-native-xorg:1.2.0.34
	cube-native-xorg-base:1.2
	pkgsrc-2008Q2:1.2.0.32
	pkgsrc-2008Q2-base:1.2
	pkgsrc-2008Q1:1.2.0.30
	pkgsrc-2008Q1-base:1.2
	pkgsrc-2007Q4:1.2.0.28
	pkgsrc-2007Q4-base:1.2
	pkgsrc-2007Q3:1.2.0.26
	pkgsrc-2007Q3-base:1.2
	pkgsrc-2007Q2:1.2.0.24
	pkgsrc-2007Q2-base:1.2
	pkgsrc-2007Q1:1.2.0.22
	pkgsrc-2007Q1-base:1.2
	pkgsrc-2006Q4:1.2.0.20
	pkgsrc-2006Q4-base:1.2
	pkgsrc-2006Q3:1.2.0.18
	pkgsrc-2006Q3-base:1.2
	pkgsrc-2006Q2:1.2.0.16
	pkgsrc-2006Q2-base:1.2
	pkgsrc-2006Q1:1.2.0.14
	pkgsrc-2006Q1-base:1.2
	pkgsrc-2005Q4:1.2.0.12
	pkgsrc-2005Q4-base:1.2
	pkgsrc-2005Q3:1.2.0.10
	pkgsrc-2005Q3-base:1.2
	pkgsrc-2005Q2:1.2.0.8
	pkgsrc-2005Q2-base:1.2
	pkgsrc-2005Q1:1.2.0.6
	pkgsrc-2005Q1-base:1.2
	pkgsrc-2004Q4:1.2.0.4
	pkgsrc-2004Q4-base:1.2
	pkgsrc-2004Q3:1.2.0.2
	pkgsrc-2004Q3-base:1.2
	pkgsrc-2004Q2:1.1.0.2
	pkgsrc-2004Q2-base:1.1;
locks; strict;
comment	@# @;


1.2
date	2004.07.02.15.41.26;	author drochner;	state dead;
branches;
next	1.1;

1.1
date	2004.04.10.16.37.22;	author seb;	state Exp;
branches;
next	;


desc
@@


1.2
log
@oops, these are obsolete now
@
text
@$NetBSD: patch-ao,v 1.1 2004/04/10 16:37:22 seb Exp $

--- gcc/config/sparc/sparc.h	23 Jul 2003 02:41:59 -0000	1.1
+++ gcc/config/sparc/sparc.h	22 Mar 2004 22:56:10 -0000	1.2
@@@@ -1233,6 +1233,20 @@@@
    {-1, -1, -1, 0x20},	/* GENERAL_OR_EXTRA_FP_REGS */	\
    {-1, -1, -1, 0x3f}}	/* ALL_REGS */
 
+/* Defines invalid mode changes.  Borrowed from pa64-regs.h.
+
+   SImode loads to floating-point registers are not zero-extended.
+   The definition for LOAD_EXTEND_OP specifies that integer loads
+   narrower than BITS_PER_WORD will be zero-extended.  As a result,
+   we inhibit changes from SImode unless they are to a mode that is
+   identical in size.  */
+
+#define CANNOT_CHANGE_MODE_CLASS(FROM, TO, CLASS)		\
+  (TARGET_ARCH64						\
+   && (FROM) == SImode						\
+   && GET_MODE_SIZE (FROM) != GET_MODE_SIZE (TO)		\
+   ? reg_classes_intersect_p (CLASS, FP_REGS) : 0)
+
 /* The same information, inverted:
    Return the class number of the smallest class containing
    reg number REGNO.  This could be a conditional expression
@


1.1
log
@Apply sparc64 fix from gcc cvs via
src/gnu/dist/gcc/gcc/config/sparc/sparc.h revision 1.2.

Bump PKGREVISION of gcc3-c package.
@
text
@d1 1
a1 1
$NetBSD$
@

