I'm currently building a virtual machine, and I want to essentially perform conditional compilation to improve performance on certain architectures.
Is there a way to mix variable declaration and inline asm syntax to declare a variable that aliases a specific register? This way I can reuse code that reads from the variables, and would only incur the cost of writing per-target code when I declare the variables.