merryhime / oaknut

Yet another AArch64 emitter
MIT License
59 stars 18 forks source link

Additional ISA versions/extensions #9

Open Wunkolo opened 1 year ago

Wunkolo commented 1 year ago

Just capturing interest here to have Oaknut support more ARMv_._ variations(maybe up to ARMv8.6) and detection of some more of these ARM extensions depending on the platform.

Possibly even non-standard instructions such as Apple AMX.

Wunkolo commented 8 months ago

Before I go makeing a PR, I'm curious to know if adding Apple's AMX instructions is worth adding to Oaknut and where it should land in the current project-structure since it's a very vendor-specific extension that is undocumented. Maybe turned off by default and opted-in with pre-processors(glm-style) to keep it out of the common-path?

I have a branch parked here with some unit tests.