diff options
| -rw-r--r-- | gcc/ChangeLog | 5 | ||||
| -rw-r--r-- | gcc/config/sh/sh.h | 9 |
2 files changed, 12 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3b00577..132267d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +Fri Mar 5 19:26:23 1999 J"orn Rennecke <amylaar@cygnus.co.uk> + + * sh.h (SLOW_BYTE_ACCESS): Define to 1. + (BOOL_TYPE_SIZE): Define. + Fri Mar 5 02:14:54 1999 John Wehle (john@feith.com) * function.c (assign_stack_temp_for_type): Abort diff --git a/gcc/config/sh/sh.h b/gcc/config/sh/sh.h index f8ae2c7..2f2a000 100644 --- a/gcc/config/sh/sh.h +++ b/gcc/config/sh/sh.h @@ -1548,8 +1548,13 @@ extern struct rtx_def *sh_builtin_saveregs (); On the SH, it's only one instruction. */ /* #define SLOW_ZERO_EXTEND */ -/* Nonzero if access to memory by bytes is slow and undesirable. */ -#define SLOW_BYTE_ACCESS 0 +/* Nonzero if access to memory by bytes is no faster than for words. */ +#define SLOW_BYTE_ACCESS 1 + +/* Force sizeof(bool) == 1 to maintain binary compatibility; otherwise, the + change in SLOW_BYTE_ACCESS would have changed it to 4. */ + +#define BOOL_TYPE_SIZE (flag_new_abi ? INT_TYPE_SIZE : CHAR_TYPE_SIZE) /* We assume that the store-condition-codes instructions store 0 for false and some other value for true. This is the value stored for true. */ |
