qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 5/9] coroutine: add host specific coroutine back


From: Richard Henderson
Subject: Re: [Qemu-devel] [PATCH 5/9] coroutine: add host specific coroutine backend for 64-bit s390
Date: Sun, 5 May 2019 10:10:02 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1

On 5/4/19 5:05 AM, Paolo Bonzini wrote:
> +  "bras %%r3, 1f\n"                /* source PC will be after the BR */ \
> +  "1: aghi %%r3, 12\n"             /* 4 */                              \
> +  "stg %%r3, %[SCRATCH](%%r1)\n"   /* 6 save switch-back PC */          \
> +  "br %%r4\n"                      /* 2 jump to destination PC */       \

Better as

        larl    %r3, 2f
        stg     %r3, SCRATCH(%r1)
        br      %r4
2:


r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]