I thought it was true with 32-bit ARM, just not with thumb2, but it seems either way it's smaller than x86_64 in my limited test set. Should investigate more.
-
-
-
Yup, those REX prefixes really add up. The average instruction size for x86-64 is something like 3.8 bytes IIRC.
- 2 more replies
New conversation -
-
-
Hmm. You may be right. Checking my own code it's only a 10% benefit to x86 (summing the *.o files is 3.0megs for x64 and 3.3megs for ARM64).
-
e.g. a RISC-V 32-bit PC relative reference emits two to three relocs spread across 2 32-bit instructions. PCREL_HI20 (AUIPC r,imm20) and LO12 (ADDI r,r,imm12 or JALR r,r,imm12). The third reloc is RELAX reloc that allows for link time relaxation of small branch distances.
End of conversation
New conversation -
-
-
Lot easier to check than it was three years ago too.https://twitter.com/spelledright/status/581085792468099072 …
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.