runtime: use stp/ldp to save and restore all registers on arm64
Async preemption needs to save and restore almost all of the registers, currently this is done by ldr and str on arm64. We can do it with ldp and stp as they are more efficient. Change-Id: Ida5a6f0a8d825a56af607ba2c2cd91fdc2e8f67f Reviewed-on: https://go-review.googlesource.com/c/go/+/379715 Reviewed-by:Cherry Mui <cherryyz@google.com> Trust: Eric Fang <eric.fang@arm.com> Run-TryBot: Eric Fang <eric.fang@arm.com> TryBot-Result: Gopher Robot <gobot@golang.org>
Loading
Please sign in to comment