From: Richard Henderson <richard.henderson@linaro.org> To: Paolo Bonzini <pbonzini@redhat.com>, qemu-devel@nongnu.org Cc: qemu-block@nongnu.org, peter.maydell@linaro.org, cohuck@redhat.com Subject: Re: [Qemu-devel] [PATCH 4/9] coroutine: add host specific coroutine backend for 64-bit ARM Date: Sun, 5 May 2019 10:00:50 -0700 [thread overview] Message-ID: <c5f2f531-34ce-d7b2-a6d7-1a2399466cf5@linaro.org> (raw) In-Reply-To: <20190504120528.6389-5-pbonzini@redhat.com> On 5/4/19 5:05 AM, Paolo Bonzini wrote: > The speedup is similar to x86, 120 ns vs 180 ns on an APM Mustang. > > Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> > --- > configure | 2 +- > scripts/qemugdb/coroutine_asm.py | 6 ++++- > util/Makefile.objs | 2 ++ > util/coroutine-asm.c | 45 ++++++++++++++++++++++++++++++++ > 4 files changed, 53 insertions(+), 2 deletions(-) Reviewed-by: Richard Henderson <richard.henderson@linaro.org> > + "ldr x30, [x1, %[SCRATCH]]\n" /* load destination PC */ \ > + "ldr x1, [x1, %[SP]]\n" /* load destination SP */ \ > + "mov sp, x1\n" \ > + "br x30\n" \ > + "2: \n" \ For future reference, "bti j" (aka hint #36) goes here, for the aarch64 branch target identification extension. r~
WARNING: multiple messages have this Message-ID (diff)
From: Richard Henderson <richard.henderson@linaro.org> To: Paolo Bonzini <pbonzini@redhat.com>, qemu-devel@nongnu.org Cc: peter.maydell@linaro.org, cohuck@redhat.com, qemu-block@nongnu.org Subject: Re: [Qemu-devel] [PATCH 4/9] coroutine: add host specific coroutine backend for 64-bit ARM Date: Sun, 5 May 2019 10:00:50 -0700 [thread overview] Message-ID: <c5f2f531-34ce-d7b2-a6d7-1a2399466cf5@linaro.org> (raw) Message-ID: <20190505170050.XKdSEwiWWMs9ZuZ5shgYSVQXwv64FNMme3wqrP4jmt4@z> (raw) In-Reply-To: <20190504120528.6389-5-pbonzini@redhat.com> On 5/4/19 5:05 AM, Paolo Bonzini wrote: > The speedup is similar to x86, 120 ns vs 180 ns on an APM Mustang. > > Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> > --- > configure | 2 +- > scripts/qemugdb/coroutine_asm.py | 6 ++++- > util/Makefile.objs | 2 ++ > util/coroutine-asm.c | 45 ++++++++++++++++++++++++++++++++ > 4 files changed, 53 insertions(+), 2 deletions(-) Reviewed-by: Richard Henderson <richard.henderson@linaro.org> > + "ldr x30, [x1, %[SCRATCH]]\n" /* load destination PC */ \ > + "ldr x1, [x1, %[SP]]\n" /* load destination SP */ \ > + "mov sp, x1\n" \ > + "br x30\n" \ > + "2: \n" \ For future reference, "bti j" (aka hint #36) goes here, for the aarch64 branch target identification extension. r~
next prev parent reply other threads:[~2019-05-05 17:01 UTC|newest] Thread overview: 38+ messages / expand[flat|nested] mbox.gz Atom feed top 2019-05-04 12:05 [Qemu-devel] [PATCH 0/9] Assembly coroutine backend and x86 CET support Paolo Bonzini 2019-05-04 12:05 ` Paolo Bonzini 2019-05-04 12:05 ` [Qemu-devel] [PATCH 1/9] qemugdb: allow adding support for other coroutine backends Paolo Bonzini 2019-05-04 12:05 ` Paolo Bonzini 2019-05-04 12:05 ` [Qemu-devel] [PATCH 2/9] qemugdb: allow adding support for other architectures Paolo Bonzini 2019-05-04 12:05 ` Paolo Bonzini 2019-05-04 12:05 ` [Qemu-devel] [PATCH 3/9] coroutine: add host specific coroutine backend for 64-bit x86 Paolo Bonzini 2019-05-04 12:05 ` Paolo Bonzini 2019-05-05 16:52 ` Richard Henderson 2019-05-05 16:52 ` Richard Henderson 2019-05-04 12:05 ` [Qemu-devel] [PATCH 4/9] coroutine: add host specific coroutine backend for 64-bit ARM Paolo Bonzini 2019-05-04 12:05 ` Paolo Bonzini 2019-05-05 17:00 ` Richard Henderson [this message] 2019-05-05 17:00 ` Richard Henderson 2019-05-09 13:15 ` Stefan Hajnoczi 2019-05-04 12:05 ` [Qemu-devel] [PATCH 5/9] coroutine: add host specific coroutine backend for 64-bit s390 Paolo Bonzini 2019-05-04 12:05 ` Paolo Bonzini 2019-05-05 17:10 ` Richard Henderson 2019-05-05 17:10 ` Richard Henderson 2019-05-04 12:05 ` [Qemu-devel] [PATCH 6/9] configure: add control-flow protection support Paolo Bonzini 2019-05-04 12:05 ` Paolo Bonzini 2019-05-04 12:05 ` [Qemu-devel] [PATCH 7/9] tcg: add tcg_out_start Paolo Bonzini 2019-05-04 12:05 ` Paolo Bonzini 2019-05-04 12:05 ` [Qemu-devel] [PATCH 8/9] tcg/i386: add support for IBT Paolo Bonzini 2019-05-04 12:05 ` Paolo Bonzini 2019-05-05 17:14 ` Richard Henderson 2019-05-05 17:14 ` Richard Henderson 2019-05-04 12:05 ` [Qemu-devel] [PATCH 9/9] linux-user: add IBT support to x86 safe-syscall.S Paolo Bonzini 2019-05-04 12:05 ` Paolo Bonzini 2019-05-04 12:05 ` [Qemu-devel] [PATCH 10/9] coroutine-asm: add x86 CET shadow stack support Paolo Bonzini 2019-05-04 12:05 ` Paolo Bonzini 2019-05-05 15:41 ` [Qemu-devel] [PATCH 0/9] Assembly coroutine backend and x86 CET support Alex Bennée 2019-05-05 15:41 ` Alex Bennée 2019-05-09 13:44 ` Peter Maydell 2019-05-15 9:48 ` [Qemu-devel] [Qemu-block] " Stefan Hajnoczi 2019-05-16 12:50 ` Peter Maydell 2019-05-22 10:02 ` Paolo Bonzini 2019-05-09 13:29 ` [Qemu-devel] " Stefan Hajnoczi
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=c5f2f531-34ce-d7b2-a6d7-1a2399466cf5@linaro.org \ --to=richard.henderson@linaro.org \ --cc=cohuck@redhat.com \ --cc=pbonzini@redhat.com \ --cc=peter.maydell@linaro.org \ --cc=qemu-block@nongnu.org \ --cc=qemu-devel@nongnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).