Re: [PATCH] libgcc: Move cfa_how into potential padding in struct frame_state_reg_info

2022-10-14 Thread Richard Sandiford via Gcc-patches
Florian Weimer via Gcc-patches writes: > On many architectures, there is a padding gap after the how array > member, and cfa_how can be moved there. This reduces the size of the > struct and the amount of memory that uw_frame_state_for has to clear. > > There is no measurable performance benefit

[PATCH] libgcc: Move cfa_how into potential padding in struct frame_state_reg_info

2022-10-14 Thread Florian Weimer via Gcc-patches
On many architectures, there is a padding gap after the how array member, and cfa_how can be moved there. This reduces the size of the struct and the amount of memory that uw_frame_state_for has to clear. There is no measurable performance benefit from this on x86-64 (even though the memset goes