go/src
Xiaolin Zhao f41fdd962d cmd/internal/obj/loong64: add {V,XV}NEG{B/H/W/V} instructions support
Go asm syntax:
	 VNEG{B/H/W/V}		VJ, VD
	XVNEG{B/H/W/V}		XJ, XD

Equivalent platform assembler syntax:
	 vneg.{b/h/w/d}		vd, vj
	xvneg.{b/h/w/d}		xd, xj

Change-Id: Ie0a82a434b0ffbcb77425a65b96eff56e030028c
Reviewed-on: https://go-review.googlesource.com/c/go/+/635935
Reviewed-by: abner chenc <chenguoqi@loongson.cn>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Reviewed-by: David Chase <drchase@google.com>
2025-03-16 20:39:28 -07:00
..
archive archive/zip: error on ReadDir if there are invalid file names 2025-03-11 15:19:38 -07:00
arena
bufio
builtin
bytes
cmd cmd/internal/obj/loong64: add {V,XV}NEG{B/H/W/V} instructions support 2025-03-16 20:39:28 -07:00
cmp cmp: add examples for Compare and Less 2025-03-11 15:22:39 -07:00
compress compress/flate,compress/lzw: fix incorrect godoc links 2025-03-07 11:33:01 -08:00
container
context
crypto crypto/x509: change how we retrieve chains on darwin 2025-03-13 16:44:25 -07:00
database/sql
debug debug/elf: add riscv attributes definitions 2025-03-14 15:08:23 -07:00
embed
encoding encoding/asn1: make sure implicit fields roundtrip 2025-03-14 11:40:43 -07:00
errors
expvar
flag
fmt
go crypto/tls/internal/fips140tls: use crypto/fips140 2025-03-13 14:01:46 -07:00
hash
html html/template: replace end-of-life link 2025-03-15 13:12:47 -07:00
image
index/suffixarray
internal internal/runtime/atomic: add Xchg8 for s390x and wasm 2025-03-14 15:42:34 -07:00
io
iter
log log/slog: optimize appendKey to reduce allocations 2025-03-12 09:53:59 -07:00
maps
math math/big: update calibration tests and recalibrate 2025-03-12 05:41:50 -07:00
mime mime/multipart: add helper to build content-disposition header contents 2025-03-12 16:20:01 -07:00
net net: deflake recently added TestCloseUnblocksReadUDP 2025-03-12 11:02:25 -07:00
os os: use slices.Clone 2025-03-15 13:07:33 -07:00
path
plugin
reflect
regexp
runtime runtime: log profile when mutex profile test fails 2025-03-15 13:07:01 -07:00
slices
sort
strconv
strings strings: add FuzzReplace test 2025-03-15 13:13:56 -07:00
structs
sync sync: document behavior of Map.Delete when key is not present 2025-03-05 03:28:07 -08:00
syscall syscall: use testing.T.Context 2025-03-13 05:24:54 -07:00
testdata
testing testing: warn against calling Log after a test completes 2025-03-10 15:02:26 -07:00
text text/template: add an if func example 2025-03-07 11:32:13 -08:00
time time: optimize quote using byte(c) for ASCII 2025-03-14 15:08:20 -07:00
unicode
unique
unsafe
vendor
weak
Make.dist
README.vendor
all.bash
all.bat
all.rc
bootstrap.bash
buildall.bash
clean.bash
clean.bat
clean.rc
cmp.bash
go.mod
go.sum
make.bash
make.bat
make.rc
race.bash
race.bat
run.bash
run.bat
run.rc

README.vendor

Vendoring in std and cmd
========================

The Go command maintains copies of external packages needed by the
standard library in the src/vendor and src/cmd/vendor directories.

There are two modules, std and cmd, defined in src/go.mod and
src/cmd/go.mod. When a package outside std or cmd is imported
by a package inside std or cmd, the import path is interpreted
as if it had a "vendor/" prefix. For example, within "crypto/tls",
an import of "golang.org/x/crypto/cryptobyte" resolves to
"vendor/golang.org/x/crypto/cryptobyte". When a package with the
same path is imported from a package outside std or cmd, it will
be resolved normally. Consequently, a binary may be built with two
copies of a package at different versions if the package is
imported normally and vendored by the standard library.

Vendored packages are internally renamed with a "vendor/" prefix
to preserve the invariant that all packages have distinct paths.
This is necessary to avoid compiler and linker conflicts. Adding
a "vendor/" prefix also maintains the invariant that standard
library packages begin with a dotless path element.

The module requirements of std and cmd do not influence version
selection in other modules. They are only considered when running
module commands like 'go get' and 'go mod vendor' from a directory
in GOROOT/src.

Maintaining vendor directories
==============================

Before updating vendor directories, ensure that module mode is enabled.
Make sure that GO111MODULE is not set in the environment, or that it is
set to 'on' or 'auto', and if you use a go.work file, set GOWORK=off.

Also, ensure that 'go env GOROOT' shows the root of this Go source
tree. Otherwise, the results are undefined. It's recommended to build
Go from source and use that 'go' binary to update its source tree.

Requirements may be added, updated, and removed with 'go get'.
The vendor directory may be updated with 'go mod vendor'.
A typical sequence might be:

    cd src  # or src/cmd
    go get golang.org/x/net@master
    go mod tidy
    go mod vendor

Use caution when passing '-u' to 'go get'. The '-u' flag updates
modules providing all transitively imported packages, not only
the module providing the target package.

Note that 'go mod vendor' only copies packages that are transitively
imported by packages in the current module. If a new package is needed,
it should be imported before running 'go mod vendor'.