x86 is space efficient, you say? AArch64: sub x9,x10,x11: 4 bytes. x86-64: mov r9,r10; sub r9,r11: 6 bytes. (Can’t use LEA here.) AArch64: sub x9,x10,#1234: 4 bytes. x86-64: lea r9,[r10-1234]: 7 bytes.
-
-
I used to compare musl http://libc.so sizes on all supported archs. sh4 and thumb2 were by far the smallest. I think i386 was next but having 387 math asm was probably cheating. Should look again.
-
Interesting! It’d be interesting to see the compressed RISC-V variant too
- 1 more reply
New conversation -
-
-
On a sample of numerical libraries I have handy, I see outliers of ±30%, but mostly fairly similar built with clang -Os.
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.
