On 2024-07-09 01:49 Jeff Law <jeffreya...@gmail.com> wrote: >Has the ESWIN team ever considered doing a bootstrap test of the zcmp* >extensions? ie, turn them all on by default, then build GCC natively on >an rv32 system (or qemu emulated rv32 system)? > >I've found that kind of test amazingly helpful through the years to >thoroughly exercise certain changes. In fact, Raphael and I just did >that kind of test on rv32 for stack-clash protection to verify some >degree of correctness on rv32 (the vast majority of our efforts are >focused on rv64). THe only issue we ran into was the linker running out >of address space on the stage3 link, but if you turn off debug symbols >it should bootstrap in rv32.
It's really a good idea to test the new feature. We haven't done that but will try it. What I'm doing is to add newlib board with zcmp enabled and watch if there's compile or run failures in regression test. Oberviously, bootstrap is more thorough and greater coverage in test. Thanks for your advice. BR, Fei > >Jeff