This is the mail archive of the cgen@sources.redhat.com mailing list for the CGEN project.


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

Re: emiting insn with changed value


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

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