From: Richard Kenner Date: Sun, 19 Jan 1997 18:17:28 +0000 (-0500) Subject: (MINIMUM_ATOMIC_ALIGNMENT): New macro. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d16fe557cb90ffb81426f51ca40b7d9488bfdb25;p=gcc.git (MINIMUM_ATOMIC_ALIGNMENT): New macro. From-SVN: r13510 --- 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)