This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: SLOW_UNALIGNED_ACCESS granularity
- To: dje at watson dot ibm dot com
- Subject: Re: SLOW_UNALIGNED_ACCESS granularity
- From: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- Date: Wed, 29 Dec 99 15:15:11 EST
- Cc: gcc-patches at gcc dot gnu dot org
I tried looking at adding an ALIGN parameter, but it is not always
clear what value to use and I did not have a good instinct about what
to use as a default.
I don't follow. The default would simply *ignore* the ALIGN parameter.
Or perhaps we mean different things: I mean to pass the macro two
parameters: one is the mode of the thing being accessed and the other
is the highest alignment it's known to have. If the caller knows
nothing about the alignment, it will call it with BITS_PER_UNIT, since
that's the highest alignment it's known to have.