logoalt Hacker News

snvzztoday at 7:38 AM1 replyview on HN

This is in no small part why x86 code density is awful despite variable size encoding.


Replies

themafiatoday at 8:30 AM

Awful compared to what?

I've seen benchmarks that go both ways in terms of a "winner" but in terms of overall variance there seems to be very little. There are some cases where ARM64 or RISCV do better and there are some cases where x86_64 does better. I can't see code density being a relevant factor when picking one ISA over another.

We've got good compilers now anyways.. outside of power consumption.. the ISA wars are dead.

show 2 replies