Commit 3776ada0 by Ulrich Weigand Committed by Ulrich Weigand

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
parent d02b2c64
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
......
......@@ -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
......
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