RFC: DW_CFA_offset_range

Hans-Peter Nilsson hp@bitrange.com
Sat Jul 12 17:42:00 GMT 2003


On Fri, 11 Jul 2003, Jakub Jelinek wrote:
> What do you think about saving some .eh_frame bytes by introducing
> DW_CFA_offset_range (or DW_CFA_GNU_offset_range if not suitable
> for official range), which would take 3 args:

An excellent idea.  For special (usual) cases, you might be able
to save one of those three [us]lebs arguments too if you want,
by allocating e.g. DW_CFA_GNU_offset_range_0..15.

> I think even on non-s390* it is pretty common that 2 or more registers
> are saved in consecutive stack block.

And if they don't, they should reconsider their suboptimal ABI. :-)

brgds, H-P



More information about the Gcc mailing list