Commit 259ed6e2 by Stephane Carrez Committed by Stephane Carrez

m68hc11.c (d_register_operand): Must accept register b (low part of d).

	* config/m68hc11/m68hc11.c (d_register_operand): Must accept
	register b (low part of d).

From-SVN: r47321
parent f4b00a9a
2001-11-25 Stephane Carrez <Stephane.Carrez@worldnet.fr> 2001-11-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
* config/m68hc11/m68hc11.c (d_register_operand): Must accept
register b (low part of d).
2001-11-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
* config/m68hc11/m68hc11.h (FUNCTION_PROFILER): Fix label name * config/m68hc11/m68hc11.h (FUNCTION_PROFILER): Fix label name
passed to mcount. passed to mcount.
......
...@@ -928,7 +928,8 @@ d_register_operand (operand, mode) ...@@ -928,7 +928,8 @@ d_register_operand (operand, mode)
return GET_CODE (operand) == REG return GET_CODE (operand) == REG
&& (REGNO (operand) >= FIRST_PSEUDO_REGISTER && (REGNO (operand) >= FIRST_PSEUDO_REGISTER
|| REGNO (operand) == HARD_D_REGNUM); || REGNO (operand) == HARD_D_REGNUM
|| (mode == QImode && REGNO (operand) == HARD_B_REGNUM));
} }
int int
......
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