diff options
| author | Wayne Zuo <wdvxdr@golangcn.org> | 2023-03-02 15:55:03 +0800 |
|---|---|---|
| committer | Wayne Zuo <wdvxdr@golangcn.org> | 2023-04-11 01:59:02 +0000 |
| commit | 96428e160de755d6b3b3b7dc1b9c81196957d679 (patch) | |
| tree | caa2516ba5a23723d1ab59d13bb97eb22df0bb9c /src/debug | |
| parent | df6d442c389097de00586f9d43fe9f594ff5f49a (diff) | |
| download | go-96428e160de755d6b3b3b7dc1b9c81196957d679.tar.xz | |
cmd/compile: split DIVV/DIVVU op on loong64
Previously, we need calculate both quotient and remainder together.
However, in most cases, only one result is needed. By separating these
instructions, we can save one instruction in most cases.
Change-Id: I0a2d4167cda68ab606783ba1aa2720ede19d6b53
Reviewed-on: https://go-review.googlesource.com/c/go/+/475315
Reviewed-by: Than McIntosh <thanm@google.com>
Run-TryBot: Wayne Zuo <wdvxdr@golangcn.org>
Reviewed-by: abner chenc <chenguoqi@loongson.cn>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: David Chase <drchase@google.com>
Diffstat (limited to 'src/debug')
0 files changed, 0 insertions, 0 deletions
