Hi Mike,
And why is that a problem? You get to write arbitrarily complex C code that can depend upon insn and operands.
Ah - I did not know this. I thought that you had to stick to RTL expressions in the definition of attributes. Thanks for letting me know otherwise.
Cheers Nick