public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Remaining generic bits from sparc64-linux merge
@ 1997-10-02 12:51 David S. Miller
  1997-10-18  0:28 ` Jeffrey A Law
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: David S. Miller @ 1997-10-02 12:51 UTC (permalink / raw)
  To: egcs

The following have still not been applied.  This is fine, but I would
like some feedback on whether the maintainers have some reservations
about applying these changes, and if so what the specific problems
are.

Thu Oct  2 15:28:24 1997  David S. Miller  <davem@tanya.rutgers.edu>

	* varasm.c (immed_double_const): Add casts to HOST_WIDE_INT where
	necessary.
	(const_hash): Hash val is unsigned long.
	(SYMHASH): Likewise.

	* tree.c (TYPE_HASH): Type of hash val is unsigned long.

	* rtl.c: Remove atol extern, include stdlib.h instead.
	(read_rtx): Use atol/atoq based upon disposition of
	HOST_WIDE_INT.

	* genattrtab.c (write_test_expr): Use proper format string based
	upon disposition of HOST_BITS_PER_WIDE_INT.
	* genemit.c (gen_exp): Likewise.
	* genpeep.c (match_rtx): Likewise.
	* genrecog.c (write_tree_1): Likewise.

	* print-tree.c (print_node_brief): HOST_PTR_PRINTF format wants a
	char pointer, not HOST_WIDE_INT.
	(print_node): Likewise.  Also hash is unsigned long not
	HOST_WIDE_INT.

	* gbl-ctors.h: Do not declare extern for atexit if both WINNT and
	NEED_ATEXIT are not defined.

	* cse.c (canon_hash): Hash is unsigned long not HOST_WIDE_INT.

	* c-lex.c (yyprint): Use proper format string based upon
	disposition of HOST_BITS_PER_WIDE_INT.
	(yylex): Put casts in right place for args to build_int_2.

--- ./c-lex.c.~1~	Fri Aug 15 01:32:53 1997
+++ ./c-lex.c	Thu Oct  2 15:29:07 1997
@@ -305,10 +305,14 @@ yyprint (file, yychar, yylval)
       if (TREE_CODE (t) == INTEGER_CST)
 	fprintf (file,
 #if HOST_BITS_PER_WIDE_INT == 64
-#if HOST_BITS_PER_WIDE_INT != HOST_BITS_PER_INT
+#if HOST_BITS_PER_WIDE_INT == HOST_BITS_PER_INT
+		 " 0x%x%016x",
+#else
+#if HOST_BITS_PER_WIDE_INT == HOST_BITS_PER_LONG
 		 " 0x%lx%016lx",
 #else
-		 " 0x%x%016x",
+		 " 0x%llx%016llx",
+#endif
 #endif
 #else
 #if HOST_BITS_PER_WIDE_INT != HOST_BITS_PER_INT
@@ -1892,12 +1896,12 @@ yylex ()
 	    else if (TREE_UNSIGNED (char_type_node)
 		     || ((result >> (num_bits - 1)) & 1) == 0)
 	      yylval.ttype
-		= build_int_2 (result & ((unsigned HOST_WIDE_INT) ~0
+		= build_int_2 (result & (~(unsigned HOST_WIDE_INT) 0
 					 >> (HOST_BITS_PER_WIDE_INT - num_bits)),
 			       0);
 	    else
 	      yylval.ttype
-		= build_int_2 (result | ~((unsigned HOST_WIDE_INT) ~0
+		= build_int_2 (result | ~(~(unsigned HOST_WIDE_INT) 0
 					  >> (HOST_BITS_PER_WIDE_INT - num_bits)),
 			       -1);
 	    TREE_TYPE (yylval.ttype) = integer_type_node;
--- ./cse.c.~1~	Mon Sep 22 13:41:19 1997
+++ ./cse.c	Thu Oct  2 15:34:25 1997
@@ -1913,12 +1913,12 @@ canon_hash (x, mode)
       /* Assume there is only one rtx object for any given label.  */
     case LABEL_REF:
       hash
-	+= ((unsigned) LABEL_REF << 7) + (unsigned HOST_WIDE_INT) XEXP (x, 0);
+	+= ((unsigned) LABEL_REF << 7) + (unsigned long) XEXP (x, 0);
       return hash;
 
     case SYMBOL_REF:
       hash
-	+= ((unsigned) SYMBOL_REF << 7) + (unsigned HOST_WIDE_INT) XSTR (x, 0);
+	+= ((unsigned) SYMBOL_REF << 7) + (unsigned long) XSTR (x, 0);
       return hash;
 
     case MEM:
--- ./gbl-ctors.h.~1~	Mon Aug 11 11:57:07 1997
+++ ./gbl-ctors.h	Thu Oct  2 15:35:20 1997
@@ -39,8 +39,6 @@ Boston, MA 02111-1307, USA.  */
 #ifdef HAVE_ATEXIT
 #if defined (WINNT) || defined (NEED_ATEXIT)
 extern int atexit (void (*) (void));
-#else
-extern void atexit (void (*) (void));
 #endif
 #define ON_EXIT(FUNC,ARG) atexit ((FUNC))
 #else
--- ./genattrtab.c.~1~	Sun Sep 21 20:49:30 1997
+++ ./genattrtab.c	Thu Oct  2 15:36:36 1997
@@ -4482,7 +4482,11 @@ write_test_expr (exp, in_comparison)
 #if HOST_BITS_PER_WIDE_INT == HOST_BITS_PER_INT
       printf ("%d", XWINT (exp, 0));
 #else
+#if HOST_BITS_PER_WIDE_INT == HOST_BITS_PER_LONG
       printf ("%ld", XWINT (exp, 0));
+#else
+      printf ("%lld", XWINT (exp, 0));
+#endif
 #endif
       break;
 
--- ./genemit.c.~1~	Mon Aug 11 11:57:09 1997
+++ ./genemit.c	Thu Oct  2 15:37:19 1997
@@ -216,7 +216,11 @@ gen_exp (x)
 #if HOST_BITS_PER_WIDE_INT == HOST_BITS_PER_INT	     
 		"GEN_INT (%d)",
 #else
+#if HOST_BITS_PER_WIDE_INT == HOST_BITS_PER_LONG
 		"GEN_INT (%ld)",
+#else
+		"GEN_INT (%lld)",
+#endif
 #endif
 		INTVAL (x));
       return;
--- ./genpeep.c.~1~	Mon Aug 11 11:57:10 1997
+++ ./genpeep.c	Thu Oct  2 15:37:55 1997
@@ -327,8 +327,13 @@ match_rtx (x, path, fail_label)
 	  printf ("  if (XWINT (x, %d) != %d) goto L%d;\n",
 		  i, XWINT (x, i), fail_label);
 #else
+#if HOST_BITS_PER_WIDE_INT == HOST_BITS_PER_LONG
 	  printf ("  if (XWINT (x, %d) != %ld) goto L%d;\n",
 		  i, XWINT (x, i), fail_label);
+#else
+	  printf ("  if (XWINT (x, %d) != %lld) goto L%d;\n",
+		  i, XWINT (x, i), fail_label);
+#endif
 #endif
 	}
       else if (fmt[i] == 's')
--- ./rtl.c.~1~	Tue Sep 23 03:14:06 1997
+++ ./rtl.c	Thu Oct  2 15:42:17 1997
@@ -22,6 +22,7 @@ Boston, MA 02111-1307, USA.  */
 #include "config.h"
 #include <ctype.h>
 #include <stdio.h>
+#include <stdlib.h>
 #include "rtl.h"
 #include "real.h"
 
@@ -37,9 +38,6 @@ Boston, MA 02111-1307, USA.  */
 
 extern struct obstack *rtl_obstack;
 
-#if HOST_BITS_PER_WIDE_INT != HOST_BITS_PER_INT
-extern long atol();
-#endif
 \f
 /* Indexed by rtx code, gives number of operands for an rtx with that code.
    Does NOT include rtx header data (code and links).
@@ -753,7 +751,11 @@ read_rtx (infile)
 #if HOST_BITS_PER_WIDE_INT == HOST_BITS_PER_INT
 	tmp_wide = atoi (tmp_char);
 #else
+#if HOST_BITS_PER_WIDE_INT == HOST_BITS_PER_LONG
 	tmp_wide = atol (tmp_char);
+#else
+	tmp_wide = atoq (tmp_char);
+#endif
 #endif
 	XWINT (return_rtx, i) = tmp_wide;
 	break;
--- ./genrecog.c.~1~	Mon Aug 11 11:57:10 1997
+++ ./genrecog.c	Thu Oct  2 15:38:23 1997
@@ -1355,7 +1355,11 @@ write_tree_1 (tree, prevpos, afterward, 
 #if HOST_BITS_PER_WIDE_INT == HOST_BITS_PER_INT
 		       "XWINT (x%d, 0) == %d%s && ",
 #else
+#if HOST_BITS_PER_WIDE_INT == HOST_BITS_PER_LONG
 		       "XWINT (x%d, 0) == %ld%s && ",
+#else
+		       "XWINT (x%d, 0) == %lld%s && ",
+#endif
 #endif
 		       depth, p->elt_zero_wide + offset, offset ? "-1" : "");
 	    }
--- ./print-tree.c.~1~	Mon Aug 11 11:57:12 1997
+++ ./print-tree.c	Thu Oct  2 15:40:35 1997
@@ -82,7 +82,7 @@ print_node_brief (file, prefix, node, in
   if (indent > 0)
     fprintf (file, " ");
   fprintf (file, "%s <%s ", prefix, tree_code_name[(int) TREE_CODE (node)]);
-  fprintf (file, HOST_PTR_PRINTF, (HOST_WIDE_INT) node);
+  fprintf (file, HOST_PTR_PRINTF, (char *) node);
 
   if (class == 'd')
     {
@@ -218,7 +218,7 @@ print_node (file, prefix, node, indent)
       return;
     }
 
-  hash = ((unsigned HOST_WIDE_INT) node) % HASH_SIZE;
+  hash = ((unsigned long) node) % HASH_SIZE;
 
   /* If node is in the table, just mention its address.  */
   for (b = table[hash]; b; b = b->next)
@@ -239,7 +239,7 @@ print_node (file, prefix, node, indent)
 
   /* Print the slot this node is in, and its code, and address.  */
   fprintf (file, "%s <%s ", prefix, tree_code_name[(int) TREE_CODE (node)]);
-  fprintf (file, HOST_PTR_PRINTF, (HOST_WIDE_INT) node);
+  fprintf (file, HOST_PTR_PRINTF, (char *) node);
 
   /* Print the name, if any.  */
   if (class == 'd')
@@ -435,7 +435,7 @@ print_node (file, prefix, node, indent)
 	    {
 	      fprintf (file, "saved-insns ");
 	      fprintf (file, HOST_PTR_PRINTF,
- 		       (HOST_WIDE_INT) DECL_SAVED_INSNS (node));
+ 		       (char *) DECL_SAVED_INSNS (node));
 	    }
 	}
 
--- ./tree.c.~1~	Thu Aug 28 09:08:52 1997
+++ ./tree.c	Thu Oct  2 15:42:48 1997
@@ -280,7 +280,7 @@ static int next_type_uid = 1;
 
 /* Here is how primitive or already-canonicalized types' hash
    codes are made.  */
-#define TYPE_HASH(TYPE) ((HOST_WIDE_INT) (TYPE) & 0777777)
+#define TYPE_HASH(TYPE) ((unsigned long) (TYPE) & 0777777)
 
 extern char *mode_name[];
 
--- ./varasm.c.~1~	Mon Sep 22 13:41:48 1997
+++ ./varasm.c	Thu Oct  2 15:44:55 1997
@@ -2163,7 +2163,7 @@ immed_double_const (i0, i1, mode)
 	 is being broken.  */
 
       if (width <= HOST_BITS_PER_WIDE_INT)
-	i1 = (i0 < 0) ? ~0 : 0;
+	i1 = (i0 < 0) ? ~(HOST_WIDE_INT) 0 : 0;
 
       /* If this integer fits in one word, return a CONST_INT.  */
       if ((i1 == 0 && i0 >= 0)
@@ -2476,7 +2476,7 @@ const_hash (exp)
 	     Instead, we include the array size because the constructor could
 	     be shorter.  */
 	  if (TREE_CODE (TREE_TYPE (exp)) == RECORD_TYPE)
-	    hi = ((HOST_WIDE_INT) TREE_TYPE (exp) & ((1 << HASHBITS) - 1))
+	    hi = ((unsigned long) TREE_TYPE (exp) & ((1 << HASHBITS) - 1))
 	      % MAX_HASH_TABLE;
 	  else
 	    hi = ((5 + int_size_in_bytes (TREE_TYPE (exp)))
@@ -3237,7 +3237,7 @@ static struct pool_sym **const_rtx_sym_h
    The argument is XSTR (... , 0)  */
 
 #define SYMHASH(LABEL)	\
-  ((((HOST_WIDE_INT) (LABEL)) & ((1 << HASHBITS) - 1))  % MAX_RTX_HASH_TABLE)
+  ((((unsigned long) (LABEL)) & ((1 << HASHBITS) - 1))  % MAX_RTX_HASH_TABLE)
 \f
 /* Initialize constant pool hashing for next function.  */
 

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Remaining generic bits from sparc64-linux merge
  1997-10-18  0:28 ` Jeffrey A Law
@ 1997-10-17 23:21   ` David S. Miller
  1997-10-18 11:32   ` Richard Henderson
  1 sibling, 0 replies; 9+ messages in thread
From: David S. Miller @ 1997-10-17 23:21 UTC (permalink / raw)
  To: law; +Cc: egcs

   Date: Sat, 18 Oct 1997 00:16:42 -0600
   From: Jeffrey A Law <law@hurl.cygnus.com>

   Why are you changing these variables from a HOST_WIDE_INT to
   unsigned longs?

I'll answer this and handle the rest later, I'm about to head off for
the night.

This change is there because in the case where you want to cross from
32-bit to 64-bit using "unsigned long long" as HOST_WIDE_INT, this
ends up defeating the purpose of hashing (to make things efficient,
using unsigned long long for the hash value slows things down).

Richard Henderson point most of these and related changes in the
direction they went, so he can comment more on this if he likes.

Later,
David "Sparc" Miller
davem@caip.rutgers.edu

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Remaining generic bits from sparc64-linux merge
  1997-10-02 12:51 Remaining generic bits from sparc64-linux merge David S. Miller
@ 1997-10-18  0:28 ` Jeffrey A Law
  1997-10-17 23:21   ` David S. Miller
  1997-10-18 11:32   ` Richard Henderson
  1998-01-17 23:02 ` Jeffrey A Law
                   ` (3 subsequent siblings)
  4 siblings, 2 replies; 9+ messages in thread
From: Jeffrey A Law @ 1997-10-18  0:28 UTC (permalink / raw)
  To: David S. Miller; +Cc: egcs

  In message < 199710021950.PAA04406@jenolan.rutgers.edu >you write:
  > Thu Oct  2 15:28:24 1997  David S. Miller  <davem@tanya.rutgers.edu>
  > 
  > 	* varasm.c (immed_double_const): Add casts to HOST_WIDE_INT where
  > 	necessary.
  > 	(const_hash): Hash val is unsigned long.
  > 	(SYMHASH): Likewise.
  > 
  > 	* tree.c (TYPE_HASH): Type of hash val is unsigned long.
Why are you changing these variables from a HOST_WIDE_INT to 
unsigned longs?

  > 	* rtl.c: Remove atol extern, include stdlib.h instead.
  >	(read_rtx): Use atol/atoq based upon disposition of
  >	HOST_WIDE_INT.
The inclusion of stdlib.h should be conditional on HAVE_STDLIB_H.

You also can't just delete the atol extern -- I would think you
would want to have autoconf determine if it's needed.

I would advise against using atoq since I doubt it's a function we
can really depend on.


  > 	* genattrtab.c (write_test_expr): Use proper format string based
  > 	upon disposition of HOST_BITS_PER_WIDE_INT.
  > 	* genemit.c (gen_exp): Likewise.
  > 	* genpeep.c (match_rtx): Likewise.
  > 	* genrecog.c (write_tree_1): Likewise.
Is %llx something you can really rely upon?  I don't think so.  Is there
some way to handle this using standard format strings?


  > 	* print-tree.c (print_node_brief): HOST_PTR_PRINTF format wants a
  > 	char pointer, not HOST_WIDE_INT.
Sounds right.

  > 	(print_node): Likewise.  Also hash is unsigned long not
  > 	HOST_WIDE_INT.
See above about unsigned long vs HOST_WIDE_INT.


  > 	* gbl-ctors.h: Do not declare extern for atexit if both WINNT and
  > 	NEED_ATEXIT are not defined.
I think this is OK.

  > 	(yylex): Put casts in right place for args to build_int_2.
I'll just assume this is right :-)


jeff

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Remaining generic bits from sparc64-linux merge
  1997-10-18  0:28 ` Jeffrey A Law
  1997-10-17 23:21   ` David S. Miller
@ 1997-10-18 11:32   ` Richard Henderson
  1 sibling, 0 replies; 9+ messages in thread
From: Richard Henderson @ 1997-10-18 11:32 UTC (permalink / raw)
  To: law; +Cc: David S. Miller, egcs

On Sat, Oct 18, 1997 at 12:16:42AM -0600, Jeffrey A Law wrote:
>   > 	* tree.c (TYPE_HASH): Type of hash val is unsigned long.
> Why are you changing these variables from a HOST_WIDE_INT to 
> unsigned longs?

To be more efficient when define HOST_WIDE_INT as long long for
crossing from a 32 to 64-bit platform.  We later and off all but
the low 31 bits anyway.

> The inclusion of stdlib.h should be conditional on HAVE_STDLIB_H.
> 
> You also can't just delete the atol extern -- I would think you
> would want to have autoconf determine if it's needed.

Reasonable points.

> I would advise against using atoq since I doubt it's a function we
> can really depend on.

It's been in the linux libcs for a while, but I now understand that
atoll is what made the ISO C 9x draft, so another autoconf test is
perhaps in order.

> Is %llx something you can really rely upon?  I don't think so.  Is there
> some way to handle this using standard format strings?

I suppose you could shift and mask, but there's no drop-in replacement
for the one argument other than %llx.  Again, it is something that has
been in the Linux libc for years; Ulrich would know if it's been
sanctioned by the ISO draft.

Whether we really want to limit ourselves to generic functions here is
going to depend on how supported we want to make setting HOST_WIDE_INT
to long long.  My reaction is you can only do it if your libc is
friendly enough.  It shouldn't really have been needed at all, but it
was an expedient way to get around some bugs in the sparc64 support 
at the time.


r~

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Remaining generic bits from sparc64-linux merge
  1997-10-02 12:51 Remaining generic bits from sparc64-linux merge David S. Miller
  1997-10-18  0:28 ` Jeffrey A Law
@ 1998-01-17 23:02 ` Jeffrey A Law
  1998-01-17 23:08 ` Jeffrey A Law
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 9+ messages in thread
From: Jeffrey A Law @ 1998-01-17 23:02 UTC (permalink / raw)
  To: David S. Miller; +Cc: egcs, Jakub Jelinek

  In message <199710021950.PAA04406@jenolan.rutgers.edu>you write:
  > Thu Oct  2 15:28:24 1997  David S. Miller  <davem@tanya.rutgers.edu>
  > 
  > 	* rtl.c: Remove atol extern, include stdlib.h instead.
  > 	(read_rtx): Use atol/atoq based upon disposition of
  > 	HOST_WIDE_INT.
I just hacked up our autoconf system to determine if a declaration for
atol is needed and changed rtl.c to provide the decl only if it's needed.
So at least the atol part of this patch is no longer needed.

jeff

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Remaining generic bits from sparc64-linux merge
  1997-10-02 12:51 Remaining generic bits from sparc64-linux merge David S. Miller
  1997-10-18  0:28 ` Jeffrey A Law
  1998-01-17 23:02 ` Jeffrey A Law
@ 1998-01-17 23:08 ` Jeffrey A Law
  1998-01-17 23:46 ` Jeffrey A Law
  1998-01-28 23:25 ` Jeffrey A Law
  4 siblings, 0 replies; 9+ messages in thread
From: Jeffrey A Law @ 1998-01-17 23:08 UTC (permalink / raw)
  To: David S. Miller; +Cc: egcs, jj

  In message <199710021950.PAA04406@jenolan.rutgers.edu>you write:
  > 
  > The following have still not been applied.  This is fine, but I would
  > like some feedback on whether the maintainers have some reservations
  > about applying these changes, and if so what the specific problems
  > are.
I'm making another pass over this stuff....


  > Thu Oct  2 15:28:24 1997  David S. Miller  <davem@tanya.rutgers.edu>
  > 
  > 	* varasm.c (immed_double_const): Add casts to HOST_WIDE_INT where
  > 	necessary.
  > 	(const_hash): Hash val is unsigned long.
  > 	(SYMHASH): Likewise.
I installed this.


  > 	* tree.c (TYPE_HASH): Type of hash val is unsigned long.
This one too.


  > 	* rtl.c: Remove atol extern, include stdlib.h instead.
  > 	(read_rtx): Use atol/atoq based upon disposition of
  > 	HOST_WIDE_INT.
Not yet, we need to take another look at this one.

  > 	* genattrtab.c (write_test_expr): Use proper format string based
  > 	upon disposition of HOST_BITS_PER_WIDE_INT.
  > 	* genemit.c (gen_exp): Likewise.
  > 	* genpeep.c (match_rtx): Likewise.
  > 	* genrecog.c (write_tree_1): Likewise.
Similarly.


  > 	* print-tree.c (print_node_brief): HOST_PTR_PRINTF format wants a
  > 	char pointer, not HOST_WIDE_INT.
  > 	(print_node): Likewise.  Also hash is unsigned long not
  > 	HOST_WIDE_INT.
I installed this.


  > 	* gbl-ctors.h: Do not declare extern for atexit if both WINNT and
  > 	NEED_ATEXIT are not defined.
Not yet.

  > 	* cse.c (canon_hash): Hash is unsigned long not HOST_WIDE_INT.
I installed this.

  > 	* c-lex.c (yyprint): Use proper format string based upon
  > 	disposition of HOST_BITS_PER_WIDE_INT.
  > 	(yylex): Put casts in right place for args to build_int_2.
Not yet.


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Remaining generic bits from sparc64-linux merge
  1997-10-02 12:51 Remaining generic bits from sparc64-linux merge David S. Miller
                   ` (2 preceding siblings ...)
  1998-01-17 23:08 ` Jeffrey A Law
@ 1998-01-17 23:46 ` Jeffrey A Law
  1998-01-23 16:56   ` David S. Miller
  1998-01-28 23:25 ` Jeffrey A Law
  4 siblings, 1 reply; 9+ messages in thread
From: Jeffrey A Law @ 1998-01-17 23:46 UTC (permalink / raw)
  To: David S. Miller; +Cc: egcs, jj

  In message <199710021950.PAA04406@jenolan.rutgers.edu>you write:
  > 
  > The following have still not been applied.  This is fine, but I would
  > like some feedback on whether the maintainers have some reservations
  > about applying these changes, and if so what the specific problems
  > are.
  > 
  > Thu Oct  2 15:28:24 1997  David S. Miller  <davem@tanya.rutgers.edu>
  > 
  > 	* rtl.c (read_rtx): Use atol/atoq based upon disposition of
  > 	HOST_WIDE_INT.
  > 
  > 	* genattrtab.c (write_test_expr): Use proper format string based
  > 	upon disposition of HOST_BITS_PER_WIDE_INT.
  > 	* genemit.c (gen_exp): Likewise.
  > 	* genpeep.c (match_rtx): Likewise.
  > 	* genrecog.c (write_tree_1): Likewise.
  > 
  > 	* c-lex.c (yyprint): Use proper format string based upon
  > 	disposition of HOST_BITS_PER_WIDE_INT.
  > 	(yylex): Put casts in right place for args to build_int_2.
I was looking at these some more, and as it turns out we already have some
code to handle printing 64bit values.  HOST_WIDE_INT_PRINT_{DEC,UNSIGNED,HEX}
are format strings defined in machmode.h.

Seems to me the right way is to use those format strings to deal with
this problem instead of checking for this case in each of those files.

Can either you or JJ take care of this so that we can get these patches
installed?

jeff

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Remaining generic bits from sparc64-linux merge
  1998-01-17 23:46 ` Jeffrey A Law
@ 1998-01-23 16:56   ` David S. Miller
  0 siblings, 0 replies; 9+ messages in thread
From: David S. Miller @ 1998-01-23 16:56 UTC (permalink / raw)
  To: law; +Cc: egcs, jj

   Date: Sun, 18 Jan 1998 00:23:10 -0700
   From: Jeffrey A Law <law@hurl.cygnus.com>

   Can either you or JJ take care of this so that we can get these
   patches installed?

Hi Jim, I'd like Jakub to take care of this.  I just got back from
another trip to Poland and I'm currently now up to my ears in things
to do here at Cobalt.

Later,
David S. Miller
davem@dm.cobaltmicro.com

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Remaining generic bits from sparc64-linux merge
  1997-10-02 12:51 Remaining generic bits from sparc64-linux merge David S. Miller
                   ` (3 preceding siblings ...)
  1998-01-17 23:46 ` Jeffrey A Law
@ 1998-01-28 23:25 ` Jeffrey A Law
  4 siblings, 0 replies; 9+ messages in thread
From: Jeffrey A Law @ 1998-01-28 23:25 UTC (permalink / raw)
  To: David S. Miller; +Cc: egcs

  In message <199710021950.PAA04406@jenolan.rutgers.edu>you write:
  > Thu Oct  2 15:28:24 1997  David S. Miller  <davem@tanya.rutgers.edu>
  > 
  > 	* rtl.c (read_rtx): Use atol/atoq based upon disposition of
  > 	HOST_WIDE_INT.
  > 
  > 	* genattrtab.c (write_test_expr): Use proper format string based
  > 	upon disposition of HOST_BITS_PER_WIDE_INT.
  > 	* genemit.c (gen_exp): Likewise.
  > 	* genpeep.c (match_rtx): Likewise.
  > 	* genrecog.c (write_tree_1): Likewise.
  > 
  > 	* c-lex.c (yyprint): Use proper format string based upon
  > 	disposition of HOST_BITS_PER_WIDE_INT.
  > 	(yylex): Put casts in right place for args to build_int_2.
I fixed up the gen* changes to use HOST_WIDE_INT_PRINT_DEC and
installed the remaining gen*, c-lex and rtl.c changes.

I believe that covers all of the original sparc64 changes.  Please
let me know if I've missed any.

jeff

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~1998-01-28 23:25 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-10-02 12:51 Remaining generic bits from sparc64-linux merge David S. Miller
1997-10-18  0:28 ` Jeffrey A Law
1997-10-17 23:21   ` David S. Miller
1997-10-18 11:32   ` Richard Henderson
1998-01-17 23:02 ` Jeffrey A Law
1998-01-17 23:08 ` Jeffrey A Law
1998-01-17 23:46 ` Jeffrey A Law
1998-01-23 16:56   ` David S. Miller
1998-01-28 23:25 ` Jeffrey A Law

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).