Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5808

Bare metal, Assembly language • Re: What assembly language should i learn first: arm32 or arm64?

$
0
0
The biggest takeaway is 32-bit will spoil you with condition codes, which are not present in every instruction in 64-bit arm.
They were deliberately removed for obvious performance reasons (the extra dependency, half the number of registers, difficult with out-of-order, and speculative execution).

The A64 condition instructions cover a lot of common cases.
Importantly, the instructions always execute, so there is not the extra dependency on prior register contents.

Doubling the number of registers in A64 is very good for performance and actually provides more than double the usable registers in practice.

Statistics: Posted by jahboater — Wed May 08, 2024 1:24 pm



Viewing all articles
Browse latest Browse all 5808

Trending Articles