This is the mail archive of the gcc@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]
Other format: [Raw text]

Re: using recog_data.operand in ASM_OUTPUT_OPCODE


Tabony, Charles wrote:
How can I
distinguish recognized from unrecognized insns in ASM_OUTPUT_OPCODE?

Try using the variable this_is_asm_operands.


ASM_OUTPUT_OPCODE is an old macro that doesn't get used much anymore. FINAL_PRESCAN_INSN is better if you can use it. No recog_data.operand trickery is needed here, as this one has the operands passed into it as a macro argument. Or maybe you can use the two macros in combination to get the behaviour you need.
--
Jim Wilson, GNU Tools Support, http://www.specifix.com



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