go/src/cmd/compile/internal
Cherry Mui 1651426f77 [release-branch.go1.17] cmd/compile: don't elide extension for LoadReg to FP register on MIPS64
For an extension operation like MOVWreg, if the operand is already
extended, we optimize the second extension out. Usually a LoadReg
of a proper type would come already extended, as a MOVW/MOVWU etc.
instruction does. But for a LoadReg to a floating point register,
the instruction does not do the extension. So we cannot elide the
extension.

Updates #50671.
Fixes #50683.

Change-Id: Id8991df78d5acdecd3fd6138c558428cbd5f6ba3
Reviewed-on: https://go-review.googlesource.com/c/go/+/379236
Trust: Cherry Mui <cherryyz@google.com>
Run-TryBot: Cherry Mui <cherryyz@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: David Chase <drchase@google.com>
(cherry picked from commit d93ff73ae2)
Reviewed-on: https://go-review.googlesource.com/c/go/+/379514
2022-02-07 17:28:28 +00:00
..
abi cmd/compile: do not change field offset in ABI analysis 2021-07-22 20:47:59 +00:00
amd64 cmd/compile: remove bit operations that modify memory directly 2021-05-08 03:27:59 +00:00
arm internal/buildcfg: move build configuration out of cmd/internal/objabi 2021-04-16 19:20:53 +00:00
arm64 internal/buildcfg: move build configuration out of cmd/internal/objabi 2021-04-16 19:20:53 +00:00
base internal/buildcfg: move build configuration out of cmd/internal/objabi 2021-04-16 19:20:53 +00:00
bitvec [dev.regabi] cmd/compile, runtime: fix up comments/error messages from recent renames 2021-01-16 02:31:08 +00:00
deadcode [dev.regabi] cmd/compile: add ir.TailCallStmt 2021-01-17 11:14:51 +00:00
devirtualize [dev.regabi] cmd/compile: cleanup devirtualization docs 2020-12-25 00:39:43 +00:00
dwarfgen cmd/compile: record regabi status in DW_AT_producer 2021-05-24 18:10:39 +00:00
escape cmd/compile: make stack value size threshold comparisons consistent 2021-07-01 17:07:36 +00:00
gc cmd/{compile,link}: fix bug in map.zero handling 2021-07-19 13:27:46 +00:00
importer cmd/compile: update a few stale comments 2021-03-29 18:46:25 +00:00
inline cmd/compile: don't emit inltree for closure within body of inlined func 2021-05-18 20:04:57 +00:00
ir cmd/compile: improving the documentation of various fields and functions 2021-05-07 21:35:41 +00:00
liveness cmd/compile, runtime: emit only GC data for stack objects 2021-04-30 00:08:50 +00:00
logopt internal/buildcfg: move build configuration out of cmd/internal/objabi 2021-04-16 19:20:53 +00:00
mips internal/buildcfg: move build configuration out of cmd/internal/objabi 2021-04-16 19:20:53 +00:00
mips64 [release-branch.go1.17] cmd/compile: don't elide extension for LoadReg to FP register on MIPS64 2022-02-07 17:28:28 +00:00
noder [release-branch.go1.17] cmd/compile: fix case where init info of OAS node is dropped 2021-11-24 19:38:31 +00:00
objw cmd/compile, cmd/link: use weak reference in itab 2021-03-24 14:38:53 +00:00
pkginit [dev.regabi] all: merge master (dab3e5a) into dev.regabi 2021-01-22 12:01:13 -08:00
ppc64 internal/buildcfg: move build configuration out of cmd/internal/objabi 2021-04-16 19:20:53 +00:00
reflectdata Update oudated comment 2021-07-08 16:59:21 +00:00
riscv64 cmd/compile: add clobberdeadreg mode 2021-03-19 23:21:21 +00:00
s390x cmd/compile: add clobberdeadreg mode 2021-03-19 23:21:21 +00:00
ssa [release-branch.go1.17] cmd/compile: only update source type when processing struct/array 2021-12-02 17:52:07 +00:00
ssagen [release-branch.go1.17] cmd/compile: avoid adding LECall to the entry block when has opendefers 2021-12-21 23:28:20 +00:00
staticdata [release-branch.go1.17] cmd/compile: allow embed into any byte slice type 2021-09-01 16:49:05 +00:00
staticinit cmd/compile, cmd/link: dynamically export writable static tmps 2021-03-16 23:14:54 +00:00
syntax cmd/compile/internal/types2: catch unexpected expression lists 2021-04-28 18:50:41 +00:00
test cmd/compile: ensure equal functions don't do unaligned loads 2021-05-24 19:06:05 +00:00
typebits [dev.regabi] cmd/compile, runtime: fix up comments/error messages from recent renames 2021-01-16 02:31:08 +00:00
typecheck [release-branch.go1.17] cmd/compile: fix case where init info of OAS node is dropped 2021-11-24 19:38:31 +00:00
types cmd/compile: remove special-casing of blank in types.sconv{,2} 2021-07-07 22:29:01 +00:00
types2 cmd/compile,go/types: restrict use of unsafe.{Add,Slice} to go1.17 or newer 2021-06-04 01:31:23 +00:00
walk cmd/compile: make stack value size threshold comparisons consistent 2021-07-01 17:07:36 +00:00
wasm internal/buildcfg: move build configuration out of cmd/internal/objabi 2021-04-16 19:20:53 +00:00
x86 internal/buildcfg: move build configuration out of cmd/internal/objabi 2021-04-16 19:20:53 +00:00