This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: RTL
Chuckdun <martinsfonseca.jose@yahoo.fr> writes:
> Ok what is the idea of this number ? A code for a type of instruction ?
Please do not top-post. Thanks.
It's the index into the operand array.
I strongly recommend reading the GCC internals manual, as it explains
all these details.
Ian
> Ian Lance Taylor-3 wrote:
>>
>> Chuckdun <martinsfonseca.jose@yahoo.fr> writes:
>>
>>> (define_insn "newsub"
>>> [(set (match_operand "register_operand" "r")
>>> (match_operand "register_operand" "r"))]
>>> ""
>>> "newsub %0,%1,%2"
>>> )
>>>
>>> Now the errors:
>>> I have troubles because it seems i have forget a comma or a braket ...
>>> But
>>> it seems ok for me ...
>>
>> There is no number after the match_operands.
>>
>> Ian
>>
>>