mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-24 06:38:52 +08:00
* sh.h (CONST_OK_FOR_I, CONST_OK_FOR_L): Cast VALUE to HOST_WIDE_INT.
From-SVN: r27317
This commit is contained in:
parent
c04635cceb
commit
679dcddbfc
@ -1,3 +1,7 @@
|
||||
Wed Jun 2 21:53:05 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
|
||||
|
||||
* sh.h (CONST_OK_FOR_I, CONST_OK_FOR_L): Cast VALUE to HOST_WIDE_INT.
|
||||
|
||||
Wed Jun 2 12:25:55 1999 Richard Henderson <rth@cygnus.com>
|
||||
|
||||
* alpha.c (override_options): Thinko in last patch.
|
||||
|
@ -738,9 +738,11 @@ extern enum reg_class reg_class_from_letter[];
|
||||
M: constant 1
|
||||
N: constant 0 */
|
||||
|
||||
#define CONST_OK_FOR_I(VALUE) (((int)(VALUE))>= -128 && ((int)(VALUE)) <= 127)
|
||||
#define CONST_OK_FOR_I(VALUE) (((HOST_WIDE_INT)(VALUE))>= -128 \
|
||||
&& ((HOST_WIDE_INT)(VALUE)) <= 127)
|
||||
#define CONST_OK_FOR_K(VALUE) ((VALUE)==1||(VALUE)==2||(VALUE)==8||(VALUE)==16)
|
||||
#define CONST_OK_FOR_L(VALUE) (((int)(VALUE))>= 0 && ((int)(VALUE)) <= 255)
|
||||
#define CONST_OK_FOR_L(VALUE) (((HOST_WIDE_INT)(VALUE))>= 0 \
|
||||
&& ((HOST_WIDE_INT)(VALUE)) <= 255)
|
||||
#define CONST_OK_FOR_M(VALUE) ((VALUE)==1)
|
||||
#define CONST_OK_FOR_N(VALUE) ((VALUE)==0)
|
||||
#define CONST_OK_FOR_LETTER_P(VALUE, C) \
|
||||
|
Loading…
Reference in New Issue
Block a user