This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: SLOW_UNALIGNED_ACCESS granularity


    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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]