|
|
|
|
|
by gingerBill
100 days ago
|
|
> the different operand sizes have a lot of side effects Which we have massive tables for each form which track those side effects and clobbering information too. > author/LLM I am the author, and not an LLM. > Tomorrow you need to pass a 128 bit int into two registers Okay? There are no 128-bit integer registers on AMD64, ARM64, nor RISCV-64. So I have no idea what you are on about. And note they are templates, so if you want 128-bit integer support, you can just wrap that template in a procedure and handle the behaviour yourself. |
|
On concern I have is how this maps to ARM64 syntax, because ARM64 is massively overloading all mnemonics.
For example:
Have extremely different performance characteristics, yet would map to the same code: Imo this makes reading the assembly quite bothersome. I'm already not a fan of ARM64 doing the mnemonic overloading, but at least you can figure out the operation by looking at the same line further to the right.Also, maybe I missed it, but how are you dealing with things like the /z modifier, pre/post-increment load/store and load pair? Or things like TBL/ST4/LD4?
Oh and how are the types going to work for RVV, where the type can't be determined at compile-time in all situations?