s390.h (HARD_REGNO_NREGS): Fix computation for access registers.

* config/s390/s390.h (HARD_REGNO_NREGS): Fix computation for
	access registers.
	(CLASS_MAX_NREGS): Likewise.

From-SVN: r94077
This commit is contained in:
Ulrich Weigand 2005-01-22 21:48:01 +00:00 committed by Ulrich Weigand
parent d02b2c6474
commit 3776ada0a9
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2005-01-21 Ulrich Weigand <uweigand@de.ibm.com>
* config/s390/s390.h (HARD_REGNO_NREGS): Fix computation for
access registers.
(CLASS_MAX_NREGS): Likewise.
2005-01-21 Daniel Berlin <dberlin@dberlin.org>
* doc/tree-ssa.texi (Statement Operands): Add example for new

View File

@ -418,7 +418,7 @@ if (INTEGRAL_MODE_P (MODE) && \
GENERAL_REGNO_P(REGNO)? \
((GET_MODE_SIZE(MODE)+UNITS_PER_WORD-1) / UNITS_PER_WORD) : \
ACCESS_REGNO_P(REGNO)? \
((GET_MODE_SIZE(MODE)+32-1) / 32) : \
((GET_MODE_SIZE(MODE)+4-1) / 4) : \
1)
#define HARD_REGNO_MODE_OK(REGNO, MODE) \
@ -447,7 +447,7 @@ if (INTEGRAL_MODE_P (MODE) && \
((CLASS) == FP_REGS ? \
(GET_MODE_CLASS (MODE) == MODE_COMPLEX_FLOAT ? 2 : 1) : \
(CLASS) == ACCESS_REGS ? \
(GET_MODE_SIZE (MODE) + 32 - 1) / 32 : \
(GET_MODE_SIZE (MODE) + 4 - 1) / 4 : \
(GET_MODE_SIZE (MODE) + UNITS_PER_WORD - 1) / UNITS_PER_WORD)
/* If a 4-byte value is loaded into a FPR, it is placed into the