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]
Other format: [Raw text]

Re: [REVISED][PATCH/RFT] Fix PR middle-end/PR28690, modify swap_commutative_operands_p


On Tue, Jun 12, 2007 at 10:46:48AM -0500, Peter Bergner wrote:

>   2) It seems like we could do better than the all or nothing alignment
>      .p2align gives us.  Obviously, we can't change the behavior of
>      .p2align, but it would have been nice (maybe a different/new
>      alignment macro?) if instead of giving up completely, it would have
>      increased the alignment as much as it could up to the requested 16
>      bytes within the 7 byte skip maximum.  So for example, if we 
>      currently have 2 byte alignment and we ask for 16 byte alignment,
>      wouldn't it be nice if it gave us 8 byte alignment (which is within
>      7 bytes) rather than giving up completely?

   That would be '.p2align 3', wouldn't it?

-- 
Rask Ingemann Lambertsen


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