PATCH: gen_call => GEN_CALL

Rodney Brown rdb@localhost
Mon Aug 7 08:07:00 GMT 2000


Change gen_call to GEN_CALL in untyped_call in some md files.
Built to stage2 on alpha-dec-osf4.0e and sparc-sun-solaris2.5.1.
All but pa/pa.md are already 4 argument gen_call varients.

This leaves arm/arm.md, i386/i386.md, mn10200/mn10200.md, mn10300/mn10300.md
and sh/sh.md for gen_call and arm/arm.md, i386/i386.md .

2000-08-08  Rodney Brown  <RodneyBrown@mynd.com>

	* gcc/config/alpha/alpha.c (alpha_emit_xfloating_libcall):
	Use GEN_CALL_VALUE define.
	* gcc/config/alpha/alpha.md (untyped_call): Use GEN_CALL define.
	* gcc/config/clipper/clipper.md (untyped_call): Likewise.
	* gcc/config/dsp16xx/dsp16xx.md (untyped_call): Likewise.
	* gcc/config/fx80/fx80.md (untyped_call): Likewise.
	* gcc/config/mips/mips.md (untyped_call): Likewise.
	* gcc/config/ns32k/ns32k.md (untyped_call): Likewise.
	* gcc/config/pa/pa.md (untyped_call): Likewise.
	* gcc/config/romp/romp.md (untyped_call): Likewise.
	* gcc/config/sparc/sparc.md (untyped_call): Likewise.

--- gcc/config/alpha/alpha.c.orig	Wed Aug  2 11:39:07 2000
+++ gcc/config/alpha/alpha.c	Mon Aug  7 13:33:32 2000
@@ -2132,7 +2132,7 @@ alpha_emit_xfloating_libcall (func, targ
     }
 
   tmp = gen_rtx_MEM (QImode, gen_rtx_SYMBOL_REF (Pmode, (char *) func));
-  tmp = emit_call_insn (gen_call_value (reg, tmp, const0_rtx,
+  tmp = emit_call_insn (GEN_CALL_VALUE (reg, tmp, const0_rtx,
 					const0_rtx, const0_rtx));
   CALL_INSN_FUNCTION_USAGE (tmp) = usage;
 
--- gcc/config/alpha/alpha.md.orig	Wed Aug  2 11:36:11 2000
+++ gcc/config/alpha/alpha.md	Mon Aug  7 13:34:37 2000
@@ -4324,7 +4324,7 @@
 {
   int i;
 
-  emit_call_insn (gen_call (operands[0], const0_rtx, NULL, const0_rtx));
+  emit_call_insn (GEN_CALL (operands[0], const0_rtx, NULL, const0_rtx));
 
   for (i = 0; i < XVECLEN (operands[2], 0); i++)
     {
--- gcc/config/clipper/clipper.md.orig	Tue Sep  7 15:48:24 1999
+++ gcc/config/clipper/clipper.md	Mon Aug  7 23:46:08 2000
@@ -1373,7 +1373,7 @@
 {
   int i;
 
-  emit_call_insn (gen_call (operands[0], const0_rtx, NULL, const0_rtx));
+  emit_call_insn (GEN_CALL (operands[0], const0_rtx, NULL, const0_rtx));
 
   for (i = 0; i < XVECLEN (operands[2], 0); i++)
     {
--- gcc/config/dsp16xx/dsp16xx.md.orig	Sat Jan 15 03:16:46 2000
+++ gcc/config/dsp16xx/dsp16xx.md	Mon Aug  7 23:46:32 2000
@@ -2108,7 +2108,7 @@
 {
   int i;
 
-  emit_call_insn (gen_call (operands[0], const0_rtx, NULL, const0_rtx));
+  emit_call_insn (GEN_CALL (operands[0], const0_rtx, NULL, const0_rtx));
 
   for (i = 0; i < XVECLEN (operands[2], 0); i++)
     {
--- gcc/config/fx80/fx80.md.orig	Tue Sep  7 15:48:29 1999
+++ gcc/config/fx80/fx80.md	Mon Aug  7 23:47:11 2000
@@ -2450,7 +2450,7 @@
 {
   int i;
 
-  emit_call_insn (gen_call (operands[0], const0_rtx, NULL, const0_rtx));
+  emit_call_insn (GEN_CALL (operands[0], const0_rtx, NULL, const0_rtx));
 
   for (i = 0; i < XVECLEN (operands[2], 0); i++)
     {
--- gcc/config/mips/mips.md.orig	Tue Jul 18 20:20:43 2000
+++ gcc/config/mips/mips.md	Mon Aug  7 23:55:51 2000
@@ -9914,7 +9914,7 @@ ld\\t%2,%1-%S1(%2)\;daddu\\t%2,%2,$31\;j
     {
       int i;
 
-      emit_call_insn (gen_call (operands[0], const0_rtx, NULL, const0_rtx));
+      emit_call_insn (GEN_CALL (operands[0], const0_rtx, NULL, const0_rtx));
 
       for (i = 0; i < XVECLEN (operands[2], 0); i++)
 	{
--- gcc/config/ns32k/ns32k.md.orig	Sun Feb 27 08:29:56 2000
+++ gcc/config/ns32k/ns32k.md	Mon Aug  7 23:57:18 2000
@@ -2599,7 +2599,7 @@
 {
   int i;
 
-  emit_call_insn (gen_call (operands[0], const0_rtx, NULL, const0_rtx));
+  emit_call_insn (GEN_CALL (operands[0], const0_rtx, NULL, const0_rtx));
 
   for (i = 0; i < XVECLEN (operands[2], 0); i++)
     {
--- gcc/config/pa/pa.md.orig	Tue Aug  1 23:23:21 2000
+++ gcc/config/pa/pa.md	Mon Aug  7 22:53:50 2000
@@ -6205,7 +6205,7 @@
 {
   int i;
 
-  emit_call_insn (gen_call (operands[0], const0_rtx));
+  emit_call_insn (GEN_CALL (operands[0], const0_rtx, NULL, const0_rtx));
 
   for (i = 0; i < XVECLEN (operands[2], 0); i++)
     {
--- gcc/config/romp/romp.md.orig	Sun Feb 27 08:26:46 2000
+++ gcc/config/romp/romp.md	Mon Aug  7 23:58:47 2000
@@ -1784,7 +1784,7 @@
 {
   int i;
 
-  emit_call_insn (gen_call (operands[0], const0_rtx, NULL, const0_rtx));
+  emit_call_insn (GEN_CALL (operands[0], const0_rtx, NULL, const0_rtx));
 
   for (i = 0; i < XVECLEN (operands[2], 0); i++)
     {
--- gcc/config/sparc/sparc.md.orig	Tue Aug  1 12:01:59 2000
+++ gcc/config/sparc/sparc.md	Mon Aug  7 15:17:03 2000
@@ -8731,7 +8731,7 @@
 
   /* Pass constm1 to indicate that it may expect a structure value, but
      we don't know what size it is.  */
-  emit_call_insn (gen_call (operands[0], const0_rtx, NULL, constm1_rtx));
+  emit_call_insn (GEN_CALL (operands[0], const0_rtx, NULL, constm1_rtx));
 
   for (i = 0; i < XVECLEN (operands[2], 0); i++)
     {


More information about the Gcc-patches mailing list