20/3/2008, "Jan Hoogerbrugge" <[EMAIL PROTECTED]> napisaĆ/a:
>Hi,
>
>I am looking for a way to specify that data is not aligned and that therefore
>word accesses should be expanded into byte accesses. For example:
>
>void f(__unaligned int *a)
>{
> *a = 0;
>}
>
>Expands into 4 byte stores. Any su
On Thu, Mar 20, 2008 at 04:27:42PM +0100, Jan Hoogerbrugge wrote:
> Hi,
>
> I am looking for a way to specify that data is not aligned and that therefore
> word accesses should be expanded into byte accesses. For example:
>
> void f(__unaligned int *a)
> {
> *a = 0;
> }
>
> Expands into 4 byte
Hi,
I am looking for a way to specify that data is not aligned and that therefore
word accesses should be expanded into byte accesses. For example:
void f(__unaligned int *a)
{
*a = 0;
}
Expands into 4 byte stores. Any suggestions on how to implement this?
Regards,
Jan