linux-c-programming.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* uint8_t  mean8[8] __attribute__ ((aligned (32))), *mp;
@ 2004-11-26  6:18 Ankit Jain
  2004-11-27  3:01 ` Glynn Clements
  2004-11-27 10:08 ` Jan-Benedict Glaw
  0 siblings, 2 replies; 4+ messages in thread
From: Ankit Jain @ 2004-11-26  6:18 UTC (permalink / raw)
  To: linux prg

if somebody can tell me what attribute is aligned here

 uint8_t  mean8[8] __attribute__ ((aligned (32))),
*mp;

thanks

ankit jain

________________________________________________________________________
Yahoo! Messenger - Communicate instantly..."Ping" 
your friends today! Download Messenger Now 
http://uk.messenger.yahoo.com/download/index.html

^ permalink raw reply	[flat|nested] 4+ messages in thread

* uint8_t  mean8[8] __attribute__ ((aligned (32))), *mp;
@ 2004-11-26 18:40 Ankit Jain
  0 siblings, 0 replies; 4+ messages in thread
From: Ankit Jain @ 2004-11-26 18:40 UTC (permalink / raw)
  To: newbie

if somebody can tell me what this __attribute__ is
doing

what kind of alignement is this

 uint8_t  mean8[8] __attribute__ ((aligned (32))),
*mp;


thanks

ankit jain

________________________________________________________________________
Yahoo! Messenger - Communicate instantly..."Ping" 
your friends today! Download Messenger Now 
http://uk.messenger.yahoo.com/download/index.html

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: uint8_t  mean8[8] __attribute__ ((aligned (32))), *mp;
  2004-11-26  6:18 uint8_t mean8[8] __attribute__ ((aligned (32))), *mp; Ankit Jain
@ 2004-11-27  3:01 ` Glynn Clements
  2004-11-27 10:08 ` Jan-Benedict Glaw
  1 sibling, 0 replies; 4+ messages in thread
From: Glynn Clements @ 2004-11-27  3:01 UTC (permalink / raw)
  To: Ankit Jain; +Cc: linux prg


Ankit Jain wrote:

> if somebody can tell me what attribute is aligned here
> 
>  uint8_t  mean8[8] __attribute__ ((aligned (32))),
> *mp;

The start of the array mean8 will be aligned to a 32-byte boundary.

-- 
Glynn Clements <glynn@gclements.plus.com>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: uint8_t  mean8[8] __attribute__ ((aligned (32))), *mp;
  2004-11-26  6:18 uint8_t mean8[8] __attribute__ ((aligned (32))), *mp; Ankit Jain
  2004-11-27  3:01 ` Glynn Clements
@ 2004-11-27 10:08 ` Jan-Benedict Glaw
  1 sibling, 0 replies; 4+ messages in thread
From: Jan-Benedict Glaw @ 2004-11-27 10:08 UTC (permalink / raw)
  To: linux prg

[-- Attachment #1: Type: text/plain, Size: 707 bytes --]

On Fri, 2004-11-26 06:18:31 +0000, Ankit Jain <ankitjain1580@yahoo.com>
wrote in message <20041126061831.5905.qmail@web52903.mail.yahoo.com>:
> if somebody can tell me what attribute is aligned here
> 
>  uint8_t  mean8[8] __attribute__ ((aligned (32))),
> *mp;

gcc's info page tells that the mean8[] array will start at a byte that
can be devided by 32.

MfG, JBG

-- 
Jan-Benedict Glaw       jbglaw@lug-owl.de    . +49-172-7608481             _ O _
"Eine Freie Meinung in  einem Freien Kopf    | Gegen Zensur | Gegen Krieg  _ _ O
 fuer einen Freien Staat voll Freier Bürger" | im Internet! |   im Irak!   O O O
ret = do_actions((curr | FREE_SPEECH) & ~(NEW_COPYRIGHT_LAW | DRM | TCPA));

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-11-27 10:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-26  6:18 uint8_t mean8[8] __attribute__ ((aligned (32))), *mp; Ankit Jain
2004-11-27  3:01 ` Glynn Clements
2004-11-27 10:08 ` Jan-Benedict Glaw
  -- strict thread matches above, loose matches on Subject: below --
2004-11-26 18:40 Ankit Jain

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).