This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [patch] naming unnamed insns



> How about also looking at the RHS of a SET?  If it's an expression, put
> the RTL code for that in the name someplace as well.

Would you settle for a string of characters, one character per (),
encoding the rtl?  Like, "=O+OO" for (set (match) (plus (match match))) ?

But, I'd hate to get *too* complex in that code.  If the user needs
more help, they can put a mnemonic name in the md file themselves,
like i386.md, which I discovered when trying to test my patch names
all the instructions already.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]