From d16fe557cb90ffb81426f51ca40b7d9488bfdb25 Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Sun, 19 Jan 1997 13:17:28 -0500 Subject: [PATCH] (MINIMUM_ATOMIC_ALIGNMENT): New macro. From-SVN: r13510 --- gcc/config/alpha/alpha.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/config/alpha/alpha.h b/gcc/config/alpha/alpha.h index 532c40f981b..badbb990abc 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) -- 2.30.2