From 9a5bb31788c0612eaad6a4b8d65bbc76ea2f1ac1 Mon Sep 17 00:00:00 2001 From: "J\"orn Rennecke" Date: Fri, 5 Mar 1999 11:28:33 +0000 Subject: [PATCH] sh.h (SLOW_BYTE_ACCESS): Define to 1. * sh.h (SLOW_BYTE_ACCESS): Define to 1. (BOOL_TYPE_SIZE): Define. From-SVN: r25600 --- gcc/ChangeLog | 5 +++++ gcc/config/sh/sh.h | 9 +++++++-- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3b0057797be..132267dfb0b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +Fri Mar 5 19:26:23 1999 J"orn Rennecke + + * 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 f8ae2c71183..2f2a000b89d 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. */ -- 2.30.2