Finding out what backend instruction pattern matches instruction

Ian Lance Taylor iant@google.com
Wed Jan 23 11:06:00 GMT 2008


Andrew Hutchinson <andrewhutchinson@cox.net> writes:

> As I say above, the logic already exists as c function. If we could
> call these directly to determine the attribute value, it would be much
> easier!

You can.  Use symbol_ref.  Again, examples in mips.md.  Note how the
default value for the "length" attribute can call
mips_load_store_insns.

Ian



More information about the Gcc mailing list