Displaying 1 result from an estimated 1 matches for "isptrxreg".
2015 Jan 31
3
[LLVMdev] Encoding instructions with inconsistent formats
...is later lowered into one of the 9 variants, which each have the correct
encoding. This is a messy, hacky solution, which also bloats the code a
fair bit more.
One last solution is to 'make up a pattern' for the inconsistent bit that
fits.
It is:
Inconsistent bit = (postinc OR predec) OR IsPtrXReg
Where 'postinc' and 'predec' is 1 if the respective mode is used, and 0
otherwise, and IsPtrXReg is 1 if the pointer register is X.
I have tried to assign this bit using this expression with macros in
AVRInstrInfo.td, but I couldn't get it to compile (!or is not defined, and
I...