https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71815
--- Comment #8 from Bill Schmidt <wschmidt at gcc dot gnu.org> --- Created attachment 39085 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=39085&action=edit Patch under test Attaching a patch that passes regstrap. I want to do a little benchmarking before submitting it upstream, and invite other targets to try it out also. I expect overall mildly positive to neutral results, but since it will cause us to optimize more cases that are right on the cost bubble, it's worth checking out first.