This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

SH: declare fpul_operands


I'm tempted to check this in under the obviously correct rule.  If
nobody objects in the next few hours, I'll do so.

Index: gcc/ChangeLog
from  Alexandre Oliva  <aoliva@redhat.com>

	* config/sh/sh-protos.h (fpul_operand): Declare.
	* config/sh/sh.c (fpul_operand): Declare MODE argument.

Index: gcc/config/sh/sh-protos.h
===================================================================
RCS file: /cvs/gcc/egcs/gcc/config/sh/sh-protos.h,v
retrieving revision 1.11
diff -u -p -r1.11 sh-protos.h
--- gcc/config/sh/sh-protos.h 2000/10/31 15:34:27 1.11
+++ gcc/config/sh/sh-protos.h 2000/11/22 21:05:38
@@ -87,6 +87,7 @@ extern int arith_reg_or_0_operand PARAMS
 extern int logical_operand PARAMS ((rtx, enum machine_mode));
 extern int tertiary_reload_operand PARAMS ((rtx, enum machine_mode));
 extern int fpscr_operand PARAMS ((rtx, enum machine_mode));
+extern int fpul_operand PARAMS ((rtx, enum machine_mode));
 extern int commutative_float_operator PARAMS ((rtx, enum machine_mode));
 extern int noncommutative_float_operator PARAMS ((rtx, enum machine_mode));
 extern int binary_float_operator PARAMS ((rtx, enum machine_mode));
Index: gcc/config/sh/sh.c
===================================================================
RCS file: /cvs/gcc/egcs/gcc/config/sh/sh.c,v
retrieving revision 1.71
diff -u -p -r1.71 sh.c
--- gcc/config/sh/sh.c 2000/11/20 14:17:59 1.71
+++ gcc/config/sh/sh.c 2000/11/22 21:05:41
@@ -4818,6 +4826,7 @@ fpscr_operand (op, mode)
 int
 fpul_operand (op, mode)
      rtx op;
+     enum machine_mode mode ATTRIBUTE_UNUSED;
 {
   return (GET_CODE (op) == REG
 	  && (REGNO (op) == FPUL_REG || REGNO (op) >= FIRST_PSEUDO_REGISTER)

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]