]> Cypherpunks repositories - gostls13.git/commit
runtime: remove the meaningless offset of 8 for duffzero on loong64
authorGuoqi Chen <chenguoqi@loongson.cn>
Fri, 21 Apr 2023 03:08:09 +0000 (11:08 +0800)
committerGopher Robot <gobot@golang.org>
Fri, 1 Sep 2023 15:48:45 +0000 (15:48 +0000)
commit06f420fc19f8af6a1935e4edbfd1af361f663190
treeb59a733ac86bc28c3e9daac2893fb2611cfd7505
parente3ef8d18102d923a1dbd499ce5ae21ee70e13638
runtime: remove the meaningless offset of 8 for duffzero on loong64

Currently we subtract 8 from offset when calling duffzero because 8
is added to offset in the duffzero implementation. This operation is
meaningless, so remove it.

Change-Id: I7e451d04d7e98ccafe711645d81d3aadf376766f
Reviewed-on: https://go-review.googlesource.com/c/go/+/487295
Reviewed-by: Keith Randall <khr@google.com>
Reviewed-by: Meidan Li <limeidan@loongson.cn>
Reviewed-by: WANG Xuerui <git@xen0n.name>
Run-TryBot: WANG Xuerui <git@xen0n.name>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: xiaodong liu <teaofmoli@gmail.com>
Reviewed-by: Carlos Amedee <carlos@golang.org>
Reviewed-by: Keith Randall <khr@golang.org>
Auto-Submit: Ian Lance Taylor <iant@golang.org>
src/cmd/compile/internal/loong64/ggen.go
src/cmd/compile/internal/loong64/ssa.go
src/cmd/compile/internal/ssa/_gen/LOONG64Ops.go
src/cmd/compile/internal/ssa/opGen.go
src/runtime/duff_loong64.s
src/runtime/mkduff.go