|
From: Florian K. <br...@ac...> - 2012-10-12 13:11:29
|
On 10/12/2012 04:36 AM, Julian Seward wrote: > On Friday, October 12, 2012, Florian Krohm wrote: > >> While we're at it... Can I have a Ist_PutC -- a conditional Put ? >> >> PutC ( guard_expr, offset, data_temp) >> >> If guard_expr is true, then data_temp will be stored at offset in guest >> state. That would help s390. > > Hmm, I'd prefer not, unless you absolutely need it. What do you need > it for? I should have been more clear.. I could need it to implement a conditional assignment to a register with these semantics: r4 = guard_expr ? new_value : r4; Sure, I can (and do) implement that with today's machinery but with a PutC I can have a more efficient implementation. Florian |