In 64 bit land, RISC-V has consistently the smallest code size. RV64GC, not even using the new things in the B extension that will make code smaller again.
Some data from Ubuntu 21.10 for amd64, arm64, and riscv64:
https://www.reddit.com/r/RISCV/comments/tik718/addressing_cr...