Skip to content

Commit dd1d597

Browse files
abner-chencgopherbot
authored andcommitted
Revert "cmd/internal/obj/loong64: use the MOVVP instruction to optimize prologue"
This reverts commit eb7c67f. Reason for revert: Causes x/tools/gopls/internal/filecache/TestConcurrency failures, See issue 75571. Fixes golang#75571 Fixes golang#75572 Change-Id: Ife328dce917c63c872da35f4a9e9f7ef8f88c712 Reviewed-on: https://go-review.googlesource.com/c/go/+/706035 Reviewed-by: Michael Pratt <[email protected]> Auto-Submit: Michael Pratt <[email protected]> Reviewed-by: Junyang Shao <[email protected]> Reviewed-by: sophie zhao <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]> Reviewed-by: Meidan Li <[email protected]>
1 parent 45d6bc7 commit dd1d597

File tree

1 file changed

+1
-1
lines changed
  • src/cmd/internal/obj/loong64

1 file changed

+1
-1
lines changed

src/cmd/internal/obj/loong64/obj.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ func preprocess(ctxt *obj.Link, cursym *obj.LSym, newprog obj.ProgAlloc) {
324324
q = c.ctxt.StartUnsafePoint(q, c.newprog)
325325

326326
q = obj.Appendp(q, newprog)
327-
q.As = AMOVVP
327+
q.As = mov
328328
q.Pos = p.Pos
329329
q.From.Type = obj.TYPE_REG
330330
q.From.Reg = REGLINK

0 commit comments

Comments
 (0)