emiting insn with changed value
Greg McGary
greg@mcgary.org
Mon Jan 8 23:58:00 GMT 2001
Johan Rydberg <johan.rydberg@netinsight.se> writes:
> Is is possible to change a value in a macro insn?
As currently implemented, no. The emit form does nothing with the
arguments other than check that they are consistent with the syntax
string. The order in which the args appear has no influence, nor does
any effort to set values. About the only mildly interesting thing you
can do with macro insns today is omit some of the operands, which
causes them to be implicitly zeroed, and/or to change the order of
operands in the syntax string.
Doug had much grander plans for macro insns, but didn't implement yet.
I have been working on the problem at a snail's pace. I had some time
today to think about it, and will have some time tomorrow, so I might
make some progress.
Greg
More information about the Cgen
mailing list