On 11/27/2013 12:56 AM, Claudio Fontana wrote:
> On 09/27/2013 09:42 PM, Richard Henderson wrote:
>> On 09/26/2013 05:48 PM, Alexander Graf wrote:
>>> + if (setflags) {
>>> + tcg_dst = cpu_reg(dest);
>>> + } else {
>>> + tcg_dst = cpu_reg_sp(dest);
>>> + }
>>
>> Never sp for logicals.
>
> This should be ok in my view, the manual explicitly shows in the pseudocode:
>
> if d == 31 && !setflags then
> SP[] = result;
> else
> X[d] = result;
Sure enough. I mis-read that Logical (register) and Logical (immediate) are
different in their ability to use XSP as an output.
r~