m68k.h (CONST_OK_FOR_LETTER_P): Fix logic in range check for 'M' constraint.

* config/m68k/m68k.h (CONST_OK_FOR_LETTER_P): Fix logic in range
	check for 'M' constraint.

From-SVN: r18523
This commit is contained in:
Andreas Schwab 1998-03-13 02:33:38 +00:00 committed by Andreas Schwab
parent 7a50f12649
commit 681373187f
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
Fri Mar 13 11:30:12 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* config/m68k/m68k.h (CONST_OK_FOR_LETTER_P): Fix logic in range
check for 'M' constraint.
Thu Mar 12 14:47:14 1998 Jim Wilson <wilson@cygnus.com>
* cccp.c (create_definition): If pedantic, call pedwarn for macro

View File

@ -722,7 +722,7 @@ extern enum reg_class regno_reg_class[];
(C) == 'J' ? (VALUE) >= -0x8000 && (VALUE) <= 0x7FFF : \
(C) == 'K' ? (VALUE) < -0x80 || (VALUE) >= 0x80 : \
(C) == 'L' ? (VALUE) < 0 && (VALUE) >= -8 : \
(C) == 'M' ? (VALUE) < -0x100 && (VALUE) >= 0x100 : \
(C) == 'M' ? (VALUE) < -0x100 || (VALUE) >= 0x100 : \
(C) == 'N' ? (VALUE) >= 24 && (VALUE) <= 31 : \
(C) == 'O' ? (VALUE) == 16 : \
(C) == 'P' ? (VALUE) >= 8 && (VALUE) <= 15 : 0)