On 6/25/23 20:29, Fei Gao wrote:
hi Jeff
Please see my earlier reply here.
https://www.mail-archive.com/gcc-patches@gcc.gnu.org/msg310656.html
Maybe you scrolled past it in so many emails:)
Oh, so the issue isn't really the set of components being wrapped, but
the way in which we save them. Yea, that's going to need some tinkering.
It does make me wonder if we can handle this in riscv_override_options.
That's a pretty standard place to deal with option conflicts. We ought
to be able to check if both options are enabled, then disable zcmp
push/pop at that poing without introducing any new hooks.
jeff