Richard Henderson <[email protected]> wrote:
> For proper binary compatibility, we should probably introduce that asap.
> You forgot two things in your patch, gen_int_mode and the fact that we
> still have to return a boolean (0/1) value.
>
> Also in order for the binary compatibility to work right, you'd want to
> have the SH test-and-set-trueval set appropriately asap. Kaz, I assume
> you'd agree that 0x80 is a good value for the "tas.b" insn? We don't
> necessarily need to support tas.b right away, but getting trueval set
> right is imperative.
Yes, 0x80 is an appropriate value as you and oleg have suggested.
Regards,
kaz