https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103510
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- The only registers which are saved are the callee saved register IIRC. So you need to know the ABI.
pinskia at gcc dot gnu.org via Gcc-bugs Wed, 01 Dec 2021 20:03:38 -0800
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103510
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- The only registers which are saved are the callee saved register IIRC. So you need to know the ABI.