Commit 11ea364a by Jim Wilson Committed by Jim Wilson

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
parent a851212a
Mon Jan 19 11:15:38 1998 Jim Wilson <wilson@cygnus.com> Mon Jan 19 11:15:38 1998 Jim Wilson <wilson@cygnus.com>
* 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 * configure.in (thread_file): Rename uses before main loop to
target_thread_file. Initialize to empty in main loop. Set thread_file target_thread_file. Initialize to empty in main loop. Set thread_file
to target_thread_file after main loop if not set. to target_thread_file after main loop if not set.
......
...@@ -475,8 +475,8 @@ mode_mask_operand (op, mode) ...@@ -475,8 +475,8 @@ mode_mask_operand (op, mode)
return (GET_CODE (op) == CONST_INT return (GET_CODE (op) == CONST_INT
&& (INTVAL (op) == 0xff && (INTVAL (op) == 0xff
|| INTVAL (op) == 0xffff || INTVAL (op) == 0xffff
#if HOST_BITS_PER_WIDE_INT == 64
|| INTVAL (op) == 0xffffffff || INTVAL (op) == 0xffffffff
#if HOST_BITS_PER_WIDE_INT == 64
|| INTVAL (op) == 0xffffffffffffffff || INTVAL (op) == 0xffffffffffffffff
#endif #endif
)); ));
...@@ -2278,6 +2278,8 @@ print_operand (file, x, code) ...@@ -2278,6 +2278,8 @@ print_operand (file, x, code)
fprintf (file, "b"); fprintf (file, "b");
else if (GET_CODE (x) == CONST_INT && INTVAL (x) == 0xffff) else if (GET_CODE (x) == CONST_INT && INTVAL (x) == 0xffff)
fprintf (file, "w"); fprintf (file, "w");
else if (GET_CODE (x) == CONST_INT && INTVAL (x) == 0xffffffff)
fprintf (file, "l");
#if HOST_BITS_PER_WIDE_INT == 32 #if HOST_BITS_PER_WIDE_INT == 32
else if (GET_CODE (x) == CONST_DOUBLE else if (GET_CODE (x) == CONST_DOUBLE
&& CONST_DOUBLE_HIGH (x) == 0 && CONST_DOUBLE_HIGH (x) == 0
...@@ -2288,8 +2290,6 @@ print_operand (file, x, code) ...@@ -2288,8 +2290,6 @@ print_operand (file, x, code)
&& CONST_DOUBLE_LOW (x) == -1) && CONST_DOUBLE_LOW (x) == -1)
fprintf (file, "q"); fprintf (file, "q");
#else #else
else if (GET_CODE (x) == CONST_INT && INTVAL (x) == 0xffffffff)
fprintf (file, "l");
else if (GET_CODE (x) == CONST_INT && INTVAL (x) == 0xffffffffffffffff) else if (GET_CODE (x) == CONST_INT && INTVAL (x) == 0xffffffffffffffff)
fprintf (file, "q"); fprintf (file, "q");
else if (GET_CODE (x) == CONST_DOUBLE else if (GET_CODE (x) == CONST_DOUBLE
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment