News for hackers. Stuff that matters.
Re:ARM immediate value encoding (2014) by gcp on Tuesday January 30, 2018 @04:14PM (#16269097)
ARM, like other RISC architectures MIPS and PowerPC, has a fixed instruction size of 32 bits. This is a good design decision

So good that they got rid of it in their new chips.

Re:ARM immediate value encoding (2014) by pcwalton on Tuesday January 30, 2018 @10:44PM (#16271104)
AArch64's ISA has only 32-bit instructions.
Re:ARM immediate value encoding (2014) by simias on Wednesday January 31, 2018 @04:14AM (#16272575)
Can you explicit what you mean by that? Are you talking about Thumb? Although that's not exactly "new" I suppose.
Re:ARM immediate value encoding (2014) by renox on Tuesday January 30, 2018 @05:24PM (#16269649)
Yep all these ISA have a 16bit extension.
Re:ARM immediate value encoding (2014) by cesarb on Tuesday January 30, 2018 @06:05PM (#16269926)
Except, for some reason, ARM's new 64-bit ISA, which has 32-bit instructions only. I wonder how long before they release a "Thumb-64" extension...
Re:ARM immediate value encoding (2014) by pcwalton on Tuesday January 30, 2018 @10:47PM (#16271117)
I doubt it'll be as easy as it was for 32-bit ARM because AArch64 has no (well, only a few) predicated instructions. Instead, the 64-bit ISA effectively uses those bits to name additional registers.

AArch64 already has similar code density to x86-64 anyway.