aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1997-01-19 13:17:28 -0500
committerRichard Kenner <kenner@gcc.gnu.org>1997-01-19 13:17:28 -0500
commitd16fe557cb90ffb81426f51ca40b7d9488bfdb25 (patch)
tree5309803df1a741b44371f53529f31b7849d7bcc1 /gcc
parent4fd796bbb5401199cc91a3818e45be93fc75c340 (diff)
downloadgcc-d16fe557cb90ffb81426f51ca40b7d9488bfdb25.zip
gcc-d16fe557cb90ffb81426f51ca40b7d9488bfdb25.tar.gz
gcc-d16fe557cb90ffb81426f51ca40b7d9488bfdb25.tar.bz2
(MINIMUM_ATOMIC_ALIGNMENT): New macro.
From-SVN: r13510
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/alpha/alpha.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/gcc/config/alpha/alpha.h b/gcc/config/alpha/alpha.h
index 532c40f..badbb99 100644
--- a/gcc/config/alpha/alpha.h
+++ b/gcc/config/alpha/alpha.h
@@ -1,5 +1,5 @@
/* Definitions of target machine for GNU compiler, for DEC Alpha.
- Copyright (C) 1992, 1993, 1994, 1995, 1996 Free Software Foundation, Inc.
+ Copyright (C) 1992, 93, 94, 95, 96, 1997 Free Software Foundation, Inc.
Contributed by Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
This file is part of GNU CC.
@@ -379,6 +379,10 @@ extern void override_options ();
/* No data type wants to be aligned rounder than this. */
#define BIGGEST_ALIGNMENT 64
+/* For atomic access to objects, must have at least 32-bit alignment
+ unless the machine has byte operations. */
+#define MINIMUM_ATOMIC_ALIGNMENT (TARGET_BYTE_OPS ? 8 : 32)
+
/* Align all constants and variables to at least a word boundary so
we can pick up pieces of them faster. */
#define CONSTANT_ALIGNMENT(EXP, ALIGN) MAX ((ALIGN), BITS_PER_WORD)