mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
[dev.simd] all: merge master (7a1679d) into dev.simd
Conflicts: - src/cmd/compile/internal/amd64/ssa.go - src/cmd/compile/internal/ssa/rewriteAMD64.go - src/internal/buildcfg/exp.go - src/internal/cpu/cpu.go - src/internal/cpu/cpu_x86.go - src/internal/goexperiment/flags.go Merge List: + 2025-08-047a1679d7aecmd/compile: move s390x over to new bounds check strategy + 2025-08-0495693816a5cmd/compile: move riscv64 over to new bounds check strategy + 2025-08-04d7bd7773ebgo/parser: remove safePos + 2025-08-044b6cbc377fcmd/cgo/internal/test: use (syntactic) constant for C array bound + 2025-08-03b2960e3580cmd/internal/obj/loong64: add {V,XV}{BITCLR/BITSET/BITREV}[I].{B/H/W/D} instructions support + 2025-08-03abeeef1c08cmd/compile/internal/test: fix typo in comments + 2025-08-03d44749b65bcmd/internal/obj/loong64: add [X]VLDREPL.{B/H/W/D} instructions support + 2025-08-03d6beda863eruntime: add reference to debugPinnerV1 + 2025-08-014ab1aec007cmd/go: modload should use a read-write lock to improve concurrency + 2025-08-01e666972a67runtime: deduplicate Windows stdcall + 2025-08-01ef40549786runtime,syscall: move loadlibrary and getprocaddress to syscall + 2025-08-01336931a4cacmd/go: use os.Rename to move files on Windows + 2025-08-01eef5f8d930cmd/compile: enforce that locals are always accessed with SP base register + 2025-08-01e071617222cmd/compile: optimize multiplication rules on loong64 + 2025-07-31eb7f515c4dcmd/compile: use generated loops instead of DUFFZERO on amd64 + 2025-07-31c0ee2fd4e3cmd/go: explicitly reject module paths "go" and "toolchain" + 2025-07-30a4d99770c0runtime/metrics: add cleanup and finalizer queue metrics + 2025-07-3070a2ff7648runtime: add cgo call benchmark + 2025-07-3069338a335acmd/go/internal/gover: fix ModIsPrerelease for toolchain versions + 2025-07-30cedf63616acmd/compile: add floating point min/max intrinsics on s390x + 2025-07-3082a1921c3ball: remove redundant Swiss prefixes + 2025-07-302ae059ccafall: remove GOEXPERIMENT=swissmap + 2025-07-30cc571dab91cmd/compile: deduplicate instructions when rewrite func results + 2025-07-302174a7936ccrypto/tls: use standard chacha20-poly1305 cipher suite names + 2025-07-308330fb48a6cmd/compile: move mips32 over to new bounds check strategy + 2025-07-309f9d7b50e8cmd/compile: move mips64 over to new bounds check strategy + 2025-07-305216fd570ecmd/compile: move loong64 over to new bounds check strategy + 2025-07-3089a0af86b8cmd/compile: allow ops to specify clobbering input registers + 2025-07-305e94d72158cmd/compile: simplify zerorange on arm64 + 2025-07-308cd85e602acmd/compile: check domination of loop return in both controls + 2025-07-30cefaed0de0reflect: fix noswiss builder + 2025-07-303aa1b00081regexp: fix compiling alternate patterns of different fold case literals + 2025-07-30b1e933d955cmd/compile: avoid extending when already sufficiently masked on loong64 + 2025-07-29880ca333d7cmd/compile: removing log2uint32 function + 2025-07-291513661dc3cmd/compile: simplify logX implementations + 2025-07-29bd94ae8903cmd/compile: use unsigned power-of-two detector for unsigned mod + 2025-07-29f3582fc80ecmd/compile: add unsigned power-of-two detector + 2025-07-29f7d167fe71internal/abi: move direct/indirect flag from Kind to TFlag + 2025-07-29e0b07dc22eos/exec: fix incorrect expansion of "", "." and ".." in LookPath + 2025-07-2925816d401cinternal/goexperiment: delete RangeFunc goexperiment + 2025-07-297961bf71f8internal/goexperiment: delete CacheProg goexperiment + 2025-07-29e15a14c4ddsync: remove synchashtriemap GOEXPERIMENT + 2025-07-297dccd6395ccmd/compile: move arm32 over to new bounds check strategy + 2025-07-29d79405a344runtime: only deduct assist credit for arenas during GC + 2025-07-2919a086f716cmd/go/internal/telemetrystats: count goexperiments + 2025-07-29aa95ab8215image: fix formatting of godoc link + 2025-07-294c854b7a3ecrypto/elliptic: change a variable name that have the same name as keywords + 2025-07-28b10eb1d042cmd/compile: simplify zerorange on amd64 + 2025-07-28f8eae7a3c3os/user: fix tests to pass on non-english Windows + 2025-07-280984264471internal/poll: remove msg field from Windows' poll.operation + 2025-07-28d7b4114346internal/poll: remove rsan field from Windows' poll.operation + 2025-07-28361b1ab41finternal/poll: remove sa field from Windows' poll.operation + 2025-07-289b6bd64e46internal/poll: remove qty and flags fields from Windows' poll.operation + 2025-07-28cd3655a824internal/runtime/maps: fix spelling errors in comments + 2025-07-28d5dc36af45runtime: remove openbsd/mips64 related code + 2025-07-2864ba72474derrors: omit redundant nil check in type assertion for Join + 2025-07-28e151db3e06all: omit unnecessary type conversions + 2025-07-284569255f8ccmd/compile: cleanup SelectN rules by indexing into args + 2025-07-2894645d2413cmd/compile: rewrite cmov(x, x, cond) into x + 2025-07-2810c5cf68d4net/http: add proper panic message + 2025-07-2846b5839231test/codegen: fix failing condmove wasm tests + 2025-07-2898f301cf68runtime,syscall: move SyscallX implementations from runtime to syscall + 2025-07-28c7ed3a1c5ainternal/runtime/syscall/windows: factor out code from runtime + 2025-07-28e81eac19d3hash/crc32: fix incorrect checksums with avx512+race + 2025-07-256fbad4be75cmd/compile: remove no-longer-necessary call to calculateDepths + 2025-07-255045fdd8ffcmd/compile: fix containsUnavoidableCall computation + 2025-07-25d28b27cd8ego/types, types2: use nil to represent incomplete explicit aliases + 2025-07-257b53d8d06ecmd/compile/internal/types2: add loaded state between loader calls and constraint expansion + 2025-07-25374e3be2ebos/user: user random name for the test user account + 2025-07-251aa154621druntime: rename scanobject to scanObject + 2025-07-2541b429881aruntime: duplicate scanobject in greentea and non-greentea files + 2025-07-25aeb256e98acmd/compile: remove unused arg from gorecover + 2025-07-2508376e1a9cruntime: iterate through inlinings when processing recover() + 2025-07-25c76c3abc54encoding/json: fix truncated Token error regression in goexperiment.jsonv2 + 2025-07-25ebdbfccd98encoding/json/jsontext: preserve buffer capacity in Encoder.Reset + 2025-07-2591c4f0ccd5reflect: avoid a bounds check in stack-constrained code + 2025-07-243636ced112encoding/json: fix extra data regression under goexperiment.jsonv2 + 2025-07-24a6eec8bdc7encoding/json: reduce error text regressions under goexperiment.jsonv2 + 2025-07-240fa88dec1etime: remove redundant uint32 conversion in split + 2025-07-24ada30b8248internal/buildcfg: add ability to get GORISCV64 variable in GOGOARCH + 2025-07-246f6c6c5782cmd/internal/obj: rip out argp adjustment for wrapper frames + 2025-07-247b50024330runtime: detect successful recovers differently + 2025-07-247b9de668bdunicode/utf8: skip ahead during ascii runs in Valid/ValidString + 2025-07-24076eae436ecmd/compile: move amd64 and 386 over to new bounds check strategy + 2025-07-24f703dc5befcmd/compile: add missing StringLen rule in prove + 2025-07-24394d0bee8dcmd/compile: move arm64 over to new bounds check strategy + 2025-07-243024785b92cmd/compile,runtime: remember idx+len for bounds check failure with less code + 2025-07-24741a19ab41runtime: move bounds check constants to internal/abi + 2025-07-24ce05ad448fcmd/compile: rewrite condselects into doublings and halvings + 2025-07-24fcd28070fecmd/compile: add opt branchelim to rewrite some CondSelect into math + 2025-07-24f32cf8e4b0cmd/compile: learn transitive proofs for safe unsigned subs + 2025-07-24d574856482cmd/compile: learn transitive proofs for safe negative signed adds + 2025-07-241a72920f09cmd/compile: learn transitive proofs for safe positive signed adds + 2025-07-24e5f202bb60cmd/compile: learn transitive proofs for safe unsigned adds + 2025-07-24bd80f74bc1cmd/compile: fold shift through AND for slice operations + 2025-07-245c45fe1385internal/runtime/syscall: rename to internal/runtime/syscall/linux + 2025-07-24592c2db868cmd/compile: improve loopRotate to handle nested loops + 2025-07-24dcb479c2f9cmd/compile: optimize slice bounds checking with SUB/SUBconst comparisons + 2025-07-24f11599b0b9internal/poll: remove handle field from Windows' poll.operation + 2025-07-24f7432e0230internal/poll: remove fd field from Windows' poll.operation + 2025-07-24e84ed38641runtime: add benchmark for small-size memmory operation + 2025-07-2418dbe5b941hash/crc32: add AVX512 IEEE CRC32 calculation + 2025-07-24c641900f72cmd/compile: prefer base.Fatalf to panic in dwarfgen + 2025-07-24d71d8aeafdcmd/internal/obj/s390x: add MVCLE instruction + 2025-07-24b6cf1d94dcruntime: optimize memclr on mips64x + 2025-07-24a8edd99479runtime: improvement in memclr for s390x + 2025-07-24bd04f65511internal/runtime/exithook: fix a typo + 2025-07-245c8624a396cmd/internal/goobj: make error output clear + 2025-07-2444d73dfb4ecmd/go/internal/doc: clean up after merge with cmd/internal/doc + 2025-07-24bd446662ddcmd/internal/doc: merge with cmd/go/internal/doc + 2025-07-24da8b50c830cmd/doc: delete + 2025-07-246669aa3b14runtime: randomize heap base address + 2025-07-2426338a7f69cmd/compile: use better fatal message for staticValue1 + 2025-07-248587ba272ecmd/cgo: compare malloc return value to NULL instead of literal 0 + 2025-07-24cae45167b7go/types, types2: better error messages for certain type mismatches + 2025-07-242ddf542e4ccmd/compile: use ,ok return idiom for sparsemap.get + 2025-07-246505fcbd0acmd/compile: use generics for sparse map + 2025-07-2414f5eb7812cmd/api: rerun updategolden + 2025-07-2452b6d7f67aruntime: drop NetBSD kernel bug sysmon workaround fixed in NetBSD 9.2 + 2025-07-241ebebf1cc1cmd/go: clean should respect workspaces + 2025-07-246536a93547encoding/json/jsontext: preserve buffer capacity in Decoder.Reset + 2025-07-24efc37e97c0cmd/go: always return the cached path from go tool -n + 2025-07-2398a031193bruntime: check TestUsingVDSO ExitError type assertion + 2025-07-236bb42997c8doc/next: initialize + 2025-07-232696a11a97internal/goversion: update Version to 1.26 + 2025-07-23489868f776cmd/link: scope test to linux & net.sendFile + 2025-07-2271c2bf5513cmd/compile: fix loclist for heap return vars without optimizations + 2025-07-22c74399e7f5net: correct comment for ListenConfig.ListenPacket + 2025-07-224ed9943b26all: go fmt + 2025-07-221aaf7422f1cmd/internal/objabi: remove redundant word in comment + 2025-07-21d5ec0815e6runtime: relax TestMemoryLimitNoGCPercent a bit + 2025-07-21f7cc61e7d7cmd/compile: for arm64 epilog, do SP increment with a single instruction + 2025-07-215dac42363bruntime: fix asan wrapper for riscv64 + 2025-07-21e5502e0959cmd/go: check subcommand properties + 2025-07-192363897932cmd/internal/obj: enable got pcrel itype in fips140 for riscv64 + 2025-07-19e32255fcc0cmd/compile/internal/ssa: restrict architectures for TestDebugLines_74576 + 2025-07-180451816430os: revert the use of AddCleanup to close files and roots + 2025-07-1834b70684bago/types: infer correct type for y in append(bytes, y...) + 2025-07-1766536242fccmd/compile/internal/escape: improve DWARF .debug_line numbering for literal rewriting optimizations + 2025-07-16385000b004runtime: fix idle time double-counting bug + 2025-07-16f506ad2644cmd/compile/internal/escape: speed up analyzing some functions with many closures + 2025-07-169c507e7942cmd/link, runtime: on Wasm, put only function index in method table and func table + 2025-07-169782dcfd16runtime: use 32-bit function index on Wasm + 2025-07-16c876bf9346cmd/internal/obj/wasm: use 64-bit instructions for indirect calls + 2025-07-15b4309ece66cmd/internal/doc: upgrade godoc pkgsite to 01b046e + 2025-07-1575a19dbcd7runtime: use memclrNoHeapPointers to clear inline mark bits + 2025-07-156d4a91c7a5runtime: only clear inline mark bits on span alloc if necessary + 2025-07-150c6296ab12runtime: have mergeInlineMarkBits also clear the inline mark bits + 2025-07-15397d2117ecruntime: merge inline mark bits with gcmarkBits 8 bytes at a time + 2025-07-157dceabd3beruntime/maps: fix typo in group.go comment (instrinsified -> intrinsified) + 2025-07-15d826bf4d74os: remove useless error check + 2025-07-14bb07e55affruntime: expand GOMAXPROCS documentation + 2025-07-149159cd4ec6encoding/json: decompose legacy options + 2025-07-14c6556b8eb3encoding/json/v2: add security section to doc + 2025-07-116ebb5f56d9runtime: gofmt after CL 643897 and CL 662455 + 2025-07-111e48ca7020encoding/json: remove legacy option to EscapeInvalidUTF8 + 2025-07-11a0a99cb22bencoding/json/v2: report wrapped io.ErrUnexpectedEOF + 2025-07-119d04122d24crypto/rsa: drop contradictory promise to keep PublicKey modulus secret + 2025-07-111ca23682ddcrypto/rsa: fix documentation formatting + 2025-07-114bc3373c8eruntime: turn off large memmove tests under asan/msan Change-Id: I1e32d964eba770b85421efb86b305a2242f24466
This commit is contained in:
commit
775fb52745
526 changed files with 12758 additions and 15109 deletions
|
|
@ -213,7 +213,7 @@ func (n *CallExpr) SetOp(op Op) {
|
|||
ODELETE,
|
||||
OGETG, OGETCALLERSP,
|
||||
OMAKE, OMAX, OMIN, OPRINT, OPRINTLN,
|
||||
ORECOVER, ORECOVERFP:
|
||||
ORECOVER:
|
||||
n.op = op
|
||||
}
|
||||
}
|
||||
|
|
@ -912,12 +912,12 @@ FindRHS:
|
|||
break FindRHS
|
||||
}
|
||||
}
|
||||
base.Fatalf("%v missing from LHS of %v", n, defn)
|
||||
base.FatalfAt(defn.Pos(), "%v missing from LHS of %v", n, defn)
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
if rhs == nil {
|
||||
base.Fatalf("RHS is nil: %v", defn)
|
||||
base.FatalfAt(defn.Pos(), "RHS is nil: %v", defn)
|
||||
}
|
||||
|
||||
if Reassigned(n) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue