Re: [PATCH] RISC-V: Use .p2align for code-alignment

2022-11-15 Thread Philipp Tomsich
On Tue, 15 Nov 2022 at 22:14, Philipp Tomsich wrote: > > Jeff, > > On Tue, 15 Nov 2022 at 17:37, Jeff Law wrote: > > > > > > On 11/13/22 13:41, Philipp Tomsich wrote: > > > > RISC-V's .p2align (currently) ignores the max-skip argument. As we > > have experimental patches underway to address this

Re: [PATCH] RISC-V: Use .p2align for code-alignment

2022-11-15 Thread Philipp Tomsich
Jeff, On Tue, 15 Nov 2022 at 17:37, Jeff Law wrote: > > > On 11/13/22 13:41, Philipp Tomsich wrote: > > RISC-V's .p2align (currently) ignores the max-skip argument. As we > have experimental patches underway to address this in a > backwards-compatible manner, let's prepare GCC for the day when >

Re: [PATCH] RISC-V: Use .p2align for code-alignment

2022-11-15 Thread Jeff Law via Gcc-patches
On 11/13/22 13:41, Philipp Tomsich wrote: RISC-V's .p2align (currently) ignores the max-skip argument. As we have experimental patches underway to address this in a backwards-compatible manner, let's prepare GCC for the day when binutils gets updated. gcc/ChangeLog: * config/riscv/ri

[PATCH] RISC-V: Use .p2align for code-alignment

2022-11-13 Thread Philipp Tomsich
RISC-V's .p2align (currently) ignores the max-skip argument. As we have experimental patches underway to address this in a backwards-compatible manner, let's prepare GCC for the day when binutils gets updated. gcc/ChangeLog: * config/riscv/riscv.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Implement.