diff options
author | J"orn Rennecke <amylaar@cygnus.co.uk> | 1999-03-05 11:28:33 +0000 |
---|---|---|
committer | Joern Rennecke <amylaar@gcc.gnu.org> | 1999-03-05 11:28:33 +0000 |
commit | 9a5bb31788c0612eaad6a4b8d65bbc76ea2f1ac1 (patch) | |
tree | d0305e7e986457550886652a431b6918601869a7 /gcc | |
parent | 5747af32ee2add9e03ce0ddb0b0db973cc033d3b (diff) | |
download | gcc-9a5bb31788c0612eaad6a4b8d65bbc76ea2f1ac1.zip gcc-9a5bb31788c0612eaad6a4b8d65bbc76ea2f1ac1.tar.gz gcc-9a5bb31788c0612eaad6a4b8d65bbc76ea2f1ac1.tar.bz2 |
sh.h (SLOW_BYTE_ACCESS): Define to 1.
* sh.h (SLOW_BYTE_ACCESS): Define to 1.
(BOOL_TYPE_SIZE): Define.
From-SVN: r25600
Diffstat (limited to 'gcc')
-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. */ |