Decades of demoscene productions beg to differ. That just means compilers are awful, as they usually are.[1] x86 has far more optimisation opportunities than any RISC.
[1] https://news.ycombinator.com/item?id=15720923
In absence of better data, we have to compare compiler output.
In absence of better data, we have to compare compiler output.