Hacker News new | ask | show | jobs
by Sirened 1269 days ago
For all those learning (or even those who've learned :P), my favorite cheatsheet that I always pull up while writing ARMv8-A assembly is this one [1] from the University of Washington. ARMv8-A has a lot of fairly complex instructions and sometimes it's hard to remember all the odds and ends.

[1] https://courses.cs.washington.edu/courses/cse469/19wi/arm64....

1 comments

Do you have one that can explain the operand syntax for the instructions that have operands starting with 'v' here:

https://gcc.godbolt.org/z/16a91n4zc

Those are NEON registers. v0.2d is the vector register v0, interpreted as two double words (i.e. two 64-bit elements).

ARM's documentation for this kind of thing is fairly good if you can find it: https://developer.arm.com/documentation/102474/0100/Fundamen...