In message <[EMAIL PROTECTED]>
          Simon Cozens <[EMAIL PROTECTED]> wrote:

> Commit it for now, but I'd really, really love it if we could
> automate this sort of thing.

I have a plan to semi-automate it which I nearly implemted the other
day but didn't get around to. Basically the idea is to extend things
so an ops file can contain this:

AUTO_OP add(i, i, i|ic) {
  $1 = $2 + $3;
}

and the opcode reading module would expand the i|ic to create two
separate versions of the op. Obviously if two arguments had variants
you would get four versions and so on.

If people think that's a good solution to the problem then I'll have
a go at working up a patch.

Tom

-- 
Tom Hughes ([EMAIL PROTECTED])
http://www.compton.nu/

Reply via email to