This is kinda the opposite of what you’re asking for, but might address the reason that you’re asking the question?
CachyOS is an Arch based distro, but it precompiles many arch packages (and some AUR packages) in several versions, optimised for either x86_64-v3 or x86_64-v4.
So if your goal is “optimised” rather than “compile yourself” it might be worth looking at