1
0
mirror of https://github.com/golang/go synced 2024-11-25 13:17:56 -07:00
go/src/cmd
Xiaolin Zhao 2b33434287 cmd/asm: use single-instruction forms for all loong64 sign and zero extensions
8-bit and 16-bit sign extensions and 32-bit zero extensions were realized
with left and right shifts before this change. We now support assembling
EXTWB, EXTWH and BSTRPICKV, so all three can be done with a single insn
respectively.

This patch is a copy of CL 479496.
Co-authored-by: WANG Xuerui <git@xen0n.name>

Change-Id: Iee5741dd9ebb25746f51008f3f6c86704339d615
Reviewed-on: https://go-review.googlesource.com/c/go/+/626195
Reviewed-by: Cherry Mui <cherryyz@google.com>
Reviewed-by: abner chenc <chenguoqi@loongson.cn>
Reviewed-by: David Chase <drchase@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
2024-11-08 01:06:04 +00:00
..
addr2line cmd/addr2line: use t.TempDir 2024-09-06 13:23:48 +00:00
api all: fix printf(var) mistakes detected by latest printf checker 2024-09-04 18:16:59 +00:00
asm cmd/asm: use single-instruction forms for all loong64 sign and zero extensions 2024-11-08 01:06:04 +00:00
buildid cmd/internal: separate counter package from telemetry package 2024-06-21 19:58:04 +00:00
cgo cmd/cgo/internal/testsanitizers: disable ASLR for TSAN tests 2024-11-01 15:35:54 +00:00
compile cmd/compile: implement FMA codegen for loong64 2024-11-08 01:05:48 +00:00
covdata internal/coverage: use 128-bit FNV-1a hash instead of MD5 2024-10-07 15:45:41 +00:00
cover cmd: replace many sort.Interface with slices.Sort and SortFunc 2024-09-03 20:55:18 +00:00
dist cmd/dist, internal/syslist: update UnixOS comments 2024-11-02 04:21:27 +00:00
distpack misc/wasm: move wasm runtime files to lib/wasm 2024-08-30 19:15:21 +00:00
doc all: use t.Chdir in tests 2024-09-04 00:52:28 +00:00
fix all: use slices.Delete 2024-10-01 14:55:00 +00:00
go cmd/go/internal/lockedfile: fix function name in error message for test 2024-11-07 19:57:37 +00:00
gofmt cmd/internal: separate counter package from telemetry package 2024-06-21 19:58:04 +00:00
internal cmd/asm: use single-instruction forms for all loong64 sign and zero extensions 2024-11-08 01:06:04 +00:00
link cmd/internal/objabi, cmd/link: introduce SymKind helper methods 2024-11-07 17:47:42 +00:00
nm cmd/nm: use t.TempDir 2024-09-06 13:25:54 +00:00
objdump cmd/internal/objfile,cmd/objdump: add disassembly support for riscv64 2024-10-29 08:17:00 +00:00
pack all: use t.Chdir in tests 2024-09-04 00:52:28 +00:00
pprof cmd: use testenv.Executable helper 2024-09-03 18:03:19 +00:00
preprofile cmd/preprofile, runtime/coverage: add package comment 2024-09-16 17:07:00 +00:00
relnote cmd/relnote: fix API relnote check 2024-02-05 16:31:53 +00:00
test2json cmd/internal: separate counter package from telemetry package 2024-06-21 19:58:04 +00:00
tools
trace cmd/trace,internal/trace,runtime: refactor to access frames via range over func 2024-09-23 15:02:42 +00:00
vendor cmd/objdump: add s390x plan9 disasm support 2024-11-06 21:43:43 +00:00
vet cmd: use testenv.Executable helper 2024-09-03 18:03:19 +00:00
go.mod cmd/objdump: add s390x plan9 disasm support 2024-11-06 21:43:43 +00:00
go.sum cmd/objdump: add s390x plan9 disasm support 2024-11-06 21:43:43 +00:00
README.vendor

See src/README.vendor for information on loading vendored packages
and updating the vendor directory.