]> Cypherpunks repositories - gostls13.git/commit
cmd/internal/obj/loong64: change the plan9 format of the prefetch instruction PRELDX
authorGuoqi Chen <chenguoqi@loongson.cn>
Thu, 15 May 2025 07:21:06 +0000 (15:21 +0800)
committerabner chenc <chenguoqi@loongson.cn>
Fri, 16 May 2025 05:00:16 +0000 (22:00 -0700)
commit045b5c1bfb4535dc8149d93efec1f6412f5ccdae
treea3e7d2144f01ba8cdf39a5e4a0e1e994bd154800
parent4b5a64f467f20b70373979d85c1358ac8af64411
cmd/internal/obj/loong64: change the plan9 format of the prefetch instruction PRELDX

before:
    MOVV    $n + $offset, Roff
    PRELDX  (Rbase)(Roff), $hint
after:
    PRELDX  offset(Rbase), $n, $hint

This instruction is supported in CL 671875, but is not actually used

Change-Id: I943d488ea6dc77781cd796ef480a89fede666bab
Reviewed-on: https://go-review.googlesource.com/c/go/+/673155
Reviewed-by: Meidan Li <limeidan@loongson.cn>
Reviewed-by: sophie zhao <zhaoxiaolin@loongson.cn>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
src/cmd/asm/internal/asm/asm.go
src/cmd/asm/internal/asm/testdata/loong64enc1.s
src/cmd/asm/internal/asm/testdata/loong64enc5.s
src/cmd/internal/obj/loong64/asm.go
src/cmd/internal/obj/loong64/doc.go