I'm working on adding support for the ARM64 FEAT_RPRFM (Range Prefetch Memory) instruction to Go's assembler. Currently, it's not supported. Instruction documentation.
I have a question about the order of arguments in the Go assembler syntax.
According to the ARM specification, the instruction format is:
RPRFM (<rprfop>|#<imm6>), <Xm>, [<Xn|SP>]
Where:
I'm considering two possible orders for Go's assembler:
Option 1:
RPRFM Rm, Rn, <rprfop|imm6>
Question:
Which of these two options better fits the existing design patterns of Go's assembler for ARM64?
Or is there a more idiomatic way to support this instruction?
--
You received this message because you are subscribed to the Google Groups "golang-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-dev+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/golang-dev/2cdd93fc-d826-4a72-83a9-41bf6da08332n%40googlegroups.com.