I come with 2 questions:
- I’ve seen in multiple places the use of “def : some class<>” and can’t find any information about that anywhere,
Why would I declare a nameless def?
- I’d like to create 2 patterns to be replaces with the same def, for example:
def ADD : MyInstClass<0x10, “add”, add>;
def ADD : MyInstClass<0x10, “add”, adde>;
(I’m trying to add support to add with carry)
Thank you very much!