www.delorie.com/archives/browse.cgi   search  
Mail Archives: pgcc/2000/12/05/16:21:56

Date: Tue, 5 Dec 2000 22:14:31 +0100
From: Marc Lehmann <pcg AT goof DOT com>
To: pgcc AT delorie DOT com
Subject: Re: Byte Alignment for P3 SIMD
Message-ID: <20001205221431.E8983@cerebro.laendle>
Mail-Followup-To: pgcc AT delorie DOT com
References: <4 DOT 3 DOT 2 DOT 7 DOT 2 DOT 20001203182013 DOT 00add1c0 AT cockrum DOT net>
Mime-Version: 1.0
In-Reply-To: <4.3.2.7.2.20001203182013.00add1c0@cockrum.net>; from chris@cockrum.net on Sun, Dec 03, 2000 at 06:24:06PM -0500
X-Operating-System: Linux version 2.2.17 (root AT cerebro) (gcc version pgcc-2.95.2 19991024 (release))
X-Copyright: copyright 2000 Marc Alexander Lehmann - all rights reserved
Reply-To: pgcc AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: pgcc AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Sun, Dec 03, 2000 at 06:24:06PM -0500, Chris K Cockrum <chris AT cockrum DOT net> wrote:
> Is it possible to declare an array that is 16 byte aligned using C

No, but you can do it using a gcc extension called __attribute__
((aligned)).  Just look it up in the gcc manual.

-- 
      -----==-                                             |
      ----==-- _                                           |
      ---==---(_)__  __ ____  __       Marc Lehmann      +--
      --==---/ / _ \/ // /\ \/ /       pcg AT opengroup DOT org |e|
      -=====/_/_//_/\_,_/ /_/\_\       XX11-RIPE         --+
    The choice of a GNU generation                       |
                                                         |

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019