using recog_data.operand in ASM_OUTPUT_OPCODE

James E Wilson wilson@specifix.com
Fri Aug 5 02:53:00 GMT 2005


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



More information about the Gcc mailing list