mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
Revert "cmd/internal/obj/loong64: use the MOVVP instruction to optimize prologue"
This reverts commit eb7c67fdc9.
Reason for revert: Causes x/tools/gopls/internal/filecache/TestConcurrency failures, See issue 75571.
Fixes #75571
Fixes #75572
Change-Id: Ife328dce917c63c872da35f4a9e9f7ef8f88c712
Reviewed-on: https://go-review.googlesource.com/c/go/+/706035
Reviewed-by: Michael Pratt <mpratt@google.com>
Auto-Submit: Michael Pratt <mpratt@google.com>
Reviewed-by: Junyang Shao <shaojunyang@google.com>
Reviewed-by: sophie zhao <zhaoxiaolin@loongson.cn>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Meidan Li <limeidan@loongson.cn>
This commit is contained in:
parent
45d6bc76af
commit
dd1d597c3a
1 changed files with 1 additions and 1 deletions
|
|
@ -324,7 +324,7 @@ func preprocess(ctxt *obj.Link, cursym *obj.LSym, newprog obj.ProgAlloc) {
|
||||||
q = c.ctxt.StartUnsafePoint(q, c.newprog)
|
q = c.ctxt.StartUnsafePoint(q, c.newprog)
|
||||||
|
|
||||||
q = obj.Appendp(q, newprog)
|
q = obj.Appendp(q, newprog)
|
||||||
q.As = AMOVVP
|
q.As = mov
|
||||||
q.Pos = p.Pos
|
q.Pos = p.Pos
|
||||||
q.From.Type = obj.TYPE_REG
|
q.From.Type = obj.TYPE_REG
|
||||||
q.From.Reg = REGLINK
|
q.From.Reg = REGLINK
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue