From 11ea364a691943c03275f081d97c75f75777d83c Mon Sep 17 00:00:00 2001 From: Jim Wilson Date: Mon, 19 Jan 1998 18:32:48 +0000 Subject: Fix 32 bit host alpha ev6 target failure. * alpha.c (mode_mask_operand): Accept 0xffffffff on 32 bit host. (print_operand): Handle 0xffffffff on 32 bit host. From-SVN: r17424 --- gcc/ChangeLog | 3 +++ gcc/config/alpha/alpha.c | 6 +++--- 2 files changed, 6 insertions(+), 3 deletions(-) (limited to 'gcc') diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5313c3a..4613ac2 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,8 @@ Mon Jan 19 11:15:38 1998 Jim Wilson + * alpha.c (mode_mask_operand): Accept 0xffffffff on 32 bit host. + (print_operand): Handle 0xffffffff on 32 bit host. + * configure.in (thread_file): Rename uses before main loop to target_thread_file. Initialize to empty in main loop. Set thread_file to target_thread_file after main loop if not set. diff --git a/gcc/config/alpha/alpha.c b/gcc/config/alpha/alpha.c index d429b99..859683a 100644 --- a/gcc/config/alpha/alpha.c +++ b/gcc/config/alpha/alpha.c @@ -475,8 +475,8 @@ mode_mask_operand (op, mode) return (GET_CODE (op) == CONST_INT && (INTVAL (op) == 0xff || INTVAL (op) == 0xffff -#if HOST_BITS_PER_WIDE_INT == 64 || INTVAL (op) == 0xffffffff +#if HOST_BITS_PER_WIDE_INT == 64 || INTVAL (op) == 0xffffffffffffffff #endif )); @@ -2278,6 +2278,8 @@ print_operand (file, x, code) fprintf (file, "b"); else if (GET_CODE (x) == CONST_INT && INTVAL (x) == 0xffff) fprintf (file, "w"); + else if (GET_CODE (x) == CONST_INT && INTVAL (x) == 0xffffffff) + fprintf (file, "l"); #if HOST_BITS_PER_WIDE_INT == 32 else if (GET_CODE (x) == CONST_DOUBLE && CONST_DOUBLE_HIGH (x) == 0 @@ -2288,8 +2290,6 @@ print_operand (file, x, code) && CONST_DOUBLE_LOW (x) == -1) fprintf (file, "q"); #else - else if (GET_CODE (x) == CONST_INT && INTVAL (x) == 0xffffffff) - fprintf (file, "l"); else if (GET_CODE (x) == CONST_INT && INTVAL (x) == 0xffffffffffffffff) fprintf (file, "q"); else if (GET_CODE (x) == CONST_DOUBLE -- cgit v1.1