diff options
Diffstat (limited to 'gcc/config')
-rw-r--r-- | gcc/config/arc/arc.h | 3 | ||||
-rw-r--r-- | gcc/config/bfin/bfin.h | 3 | ||||
-rw-r--r-- | gcc/config/i386/i386-modes.def | 5 | ||||
-rw-r--r-- | gcc/config/lm32/lm32.h | 1 | ||||
-rw-r--r-- | gcc/config/m32c/m32c.h | 1 | ||||
-rw-r--r-- | gcc/config/microblaze/microblaze.h | 1 | ||||
-rw-r--r-- | gcc/config/picochip/picochip.h | 2 | ||||
-rw-r--r-- | gcc/config/spu/spu.h | 2 |
8 files changed, 5 insertions, 13 deletions
diff --git a/gcc/config/arc/arc.h b/gcc/config/arc/arc.h index cc49c553c55..88102f0a532 100644 --- a/gcc/config/arc/arc.h +++ b/gcc/config/arc/arc.h @@ -303,9 +303,6 @@ along with GCC; see the file COPYING3. If not see numbered. */ #define WORDS_BIG_ENDIAN (TARGET_BIG_ENDIAN) -/* Number of bits in an addressable storage unit. */ -#define BITS_PER_UNIT 8 - /* Width in bits of a "word", which is the contents of a machine register. Note that this is not necessarily the width of data type `int'; if using 16-bit ints on a 68000, this would still be 32. diff --git a/gcc/config/bfin/bfin.h b/gcc/config/bfin/bfin.h index cc175062ebc..85ab0b0f5b8 100644 --- a/gcc/config/bfin/bfin.h +++ b/gcc/config/bfin/bfin.h @@ -859,9 +859,6 @@ typedef struct { /* Define this if most significant word of a multiword number is numbered. */ #define WORDS_BIG_ENDIAN 0 -/* number of bits in an addressable storage unit */ -#define BITS_PER_UNIT 8 - /* Width in bits of a "word", which is the contents of a machine register. Note that this is not necessarily the width of data type `int'; if using 16-bit ints on a 68000, this would still be 32. diff --git a/gcc/config/i386/i386-modes.def b/gcc/config/i386/i386-modes.def index e0b8fc826ab..57d08fb1b68 100644 --- a/gcc/config/i386/i386-modes.def +++ b/gcc/config/i386/i386-modes.def @@ -90,5 +90,10 @@ VECTOR_MODE (INT, QI, 2); /* V2QI */ INT_MODE (OI, 32); INT_MODE (XI, 64); +/* Keep the OI and XI modes from confusing the compiler into thinking + that these modes could actually be used for computation. They are + only holders for vectors during data movement. */ +#define MAX_BITSIZE_MODE_ANY_INT (128) + /* The symbol Pmode stands for one of the above machine modes (usually SImode). The tm.h file specifies which one. It is not a distinct mode. */ diff --git a/gcc/config/lm32/lm32.h b/gcc/config/lm32/lm32.h index d19adea8822..edb96b7b0b2 100644 --- a/gcc/config/lm32/lm32.h +++ b/gcc/config/lm32/lm32.h @@ -73,7 +73,6 @@ #define BYTES_BIG_ENDIAN 1 #define WORDS_BIG_ENDIAN 1 -#define BITS_PER_UNIT 8 #define BITS_PER_WORD 32 #define UNITS_PER_WORD 4 diff --git a/gcc/config/m32c/m32c.h b/gcc/config/m32c/m32c.h index 3ceb093f7d9..b7b5aa46924 100644 --- a/gcc/config/m32c/m32c.h +++ b/gcc/config/m32c/m32c.h @@ -140,7 +140,6 @@ machine_function; matches "int". Pointers are 16 bits for R8C/M16C (when TARGET_A16 is true) and 24 bits for M32CM/M32C (when TARGET_A24 is true), but 24-bit pointers are stored in 32-bit words. */ -#define BITS_PER_UNIT 8 #define UNITS_PER_WORD 2 #define POINTER_SIZE (TARGET_A16 ? 16 : 32) #define POINTERS_EXTEND_UNSIGNED 1 diff --git a/gcc/config/microblaze/microblaze.h b/gcc/config/microblaze/microblaze.h index eb8e45ce17b..dcca4ac9f5f 100644 --- a/gcc/config/microblaze/microblaze.h +++ b/gcc/config/microblaze/microblaze.h @@ -193,7 +193,6 @@ extern enum pipeline_type microblaze_pipe; #define BITS_BIG_ENDIAN 0 #define BYTES_BIG_ENDIAN (TARGET_LITTLE_ENDIAN == 0) #define WORDS_BIG_ENDIAN (BYTES_BIG_ENDIAN) -#define BITS_PER_UNIT 8 #define BITS_PER_WORD 32 #define UNITS_PER_WORD 4 #define MIN_UNITS_PER_WORD 4 diff --git a/gcc/config/picochip/picochip.h b/gcc/config/picochip/picochip.h index 13414c6cc9c..3621f3d1b1c 100644 --- a/gcc/config/picochip/picochip.h +++ b/gcc/config/picochip/picochip.h @@ -92,8 +92,6 @@ extern enum picochip_dfa_type picochip_schedule_type; #define BYTES_BIG_ENDIAN 0 #define WORDS_BIG_ENDIAN 0 -#define BITS_PER_UNIT 8 - #define BITS_PER_WORD 16 #define UNITS_PER_WORD (BITS_PER_WORD / BITS_PER_UNIT) diff --git a/gcc/config/spu/spu.h b/gcc/config/spu/spu.h index 64a2ba06b22..ad4405ae3d9 100644 --- a/gcc/config/spu/spu.h +++ b/gcc/config/spu/spu.h @@ -54,8 +54,6 @@ extern GTY(()) int spu_tune; #define WORDS_BIG_ENDIAN 1 -#define BITS_PER_UNIT 8 - /* GCC uses word_mode in many places, assuming that it is the fastest integer mode. That is not the case for SPU though. We can't use 32 here because (of some reason I can't remember.) */ |