]> Cypherpunks repositories - gostls13.git/commit
cmd/compile/internal/mips: use hardware NOP instruction as NOOP on mips platform
authorJunxian Zhu <zhujunxian@oss.cipunited.com>
Wed, 12 Jul 2023 11:07:55 +0000 (19:07 +0800)
committerJoel Sing <joel@sing.id.au>
Tue, 1 Aug 2023 14:53:45 +0000 (14:53 +0000)
commit68a32ced0f7b1b9abf9fd948db53c668ef6b1c66
tree45f6abc5f1a712a7e2f42e4040a36e572b8ee76f
parent64c2072a94281fe5b19f9349b522881751347726
cmd/compile/internal/mips: use hardware NOP instruction as NOOP on mips platform

This CL uses mips hardware NOP instruction as NOOP on mips platform, instead of pseudo NOP "nor $zero,$zero,$zero".

Change-Id: I336e1ba4228b71e6bfc6be66b367a4327fb3b36e
Reviewed-on: https://go-review.googlesource.com/c/go/+/509015
Reviewed-by: David Chase <drchase@google.com>
Reviewed-by: Joel Sing <joel@sing.id.au>
Run-TryBot: Joel Sing <joel@sing.id.au>
Reviewed-by: Keith Randall <khr@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Keith Randall <khr@google.com>
src/cmd/compile/internal/mips/ggen.go
src/cmd/compile/internal/mips64/ggen.go