In message <[EMAIL PROTECTED]>
        Leopold Toetsch <[EMAIL PROTECTED]> wrote:

> Tom Hughes wrote:
> 
> > You will still get horrible op explosion for a three argument op as
> > even if you assume that all PMCs are keyed, there are four key types
> > which, with three operands, gives you 64 ops in total.
> 
> No. We would have
> set_p_kc
> set_p_ki
> set_p_kic  ... special shortcut set/get, only one key per op allowed
> and
> op_p_k_p_k   ... unary keyed, all k are KEYs
> op_p_k_p_k_p_k  ... 3 keys bin op, all k are KEYs

So now the assembler has to know that set is special and can have all
four sorts of keys while the other ops only support dynamic keys?

> All 64 combinations would be a horror.

Indeed.

> But I really vote for a predereferencing like solution.

I didn't really understand that part of your previous message, but I
don't see what relevance that has to how the assembler decides on the
op name to use (and hence how to encode the arguments).

Tom

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

Reply via email to