Re: qhasm-regs prototype now available
Matthew R. Dempsky <mrd <at> alkemio.org>
2006-11-27 20:10:29 GMT
On Mon, Nov 27, 2006 at 03:59:11PM -0000, D. J. Bernstein wrote:
> High on my priority list.
Great! I look forward to seeing them.
> If you contribute an ARM description, wonderful;
Any thoughts on keeping such a description manageable?
I'm not sure how familiar you are with ARM, but their instructions are
incredibly flexible. E.g., addition can be conditionalized on 15
different flag combinations, have 11 different argument forms, include
a carry or not, and update condition flags or not.
The first idea that comes to mind is to (mechanically) generate a
description file with 660 lines for the various addition instructions
(and maybe another 660 for short-hand ``r += s'' forms) and so on. I
don't think the resulting file sizes would be prohibitively large, but
it would certainly be an order of magnitude or two larger than any of
the existing machine descriptions.
Is this a reasonable approach, or do you advise an alternative
implementation?
Thanks.