]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: allow 128-bit values to be spilled
authorKeith Randall <khr@golang.org>
Tue, 21 Jun 2022 00:06:09 +0000 (17:06 -0700)
committerKeith Randall <khr@google.com>
Tue, 21 Jun 2022 17:23:40 +0000 (17:23 +0000)
commitc2d373d5d1802d7479f3c81dcf01d41bef3646dd
tree23f9b91925667bbb6b0452b3c8bc6a51d8fb0b25
parent19ed442807499080cf9c31ac883d4195db5415c9
cmd/compile: allow 128-bit values to be spilled

We sometimes use 16-byte load+store to move values around in memory.
In rare circumstances, the loaded value must be spilled because the
store can't happen yet.

In that case, we need to be able to spill the 16-byte value.

Fixes #53454

Change-Id: I09fd08e11a63c6ba3ef781d3f5ede237e9b0132e
Reviewed-on: https://go-review.googlesource.com/c/go/+/413294
Reviewed-by: Keith Randall <khr@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: David Chase <drchase@google.com>
Run-TryBot: Keith Randall <khr@golang.org>
Reviewed-by: Keith Randall <khr@google.com>
src/cmd/compile/internal/amd64/ssa.go
src/cmd/compile/internal/dwarfgen/dwarf.go
src/cmd/compile/internal/types/size.go
src/cmd/compile/internal/types/type.go
test/fixedbugs/issue53454.go [new file with mode: 0644]