]> Cypherpunks repositories - gostls13.git/commit
[dev.ssa] cmd/compile/internal/ssa: implement lots of small (<8byte) ops.
authorKeith Randall <khr@golang.org>
Tue, 28 Jul 2015 23:04:50 +0000 (16:04 -0700)
committerKeith Randall <khr@golang.org>
Wed, 29 Jul 2015 21:48:04 +0000 (21:48 +0000)
commit20550cbaf1ebbb51227cb09b6890edd864026f06
treee1f5a3ba8e1261134d8be75b679e42785c859178
parent7402416a8b0dd30c7a245ca053561a87d4021be6
[dev.ssa] cmd/compile/internal/ssa: implement lots of small (<8byte) ops.

Lots and lots of ops!
Also XOR for good measure.

Add a pass to the compiler generator to check that all of the
architecture-specific opcodes are handled by genValue.  We will
catch any missing ones if we come across them during compilation,
but probably better to catch them statically.

Change-Id: Ic4adfbec55c8257f88117bc732fa664486262868
Reviewed-on: https://go-review.googlesource.com/12813
Reviewed-by: Josh Bleecher Snyder <josharian@gmail.com>
src/cmd/compile/internal/gc/ssa.go
src/cmd/compile/internal/ssa/gen/AMD64.rules
src/cmd/compile/internal/ssa/gen/AMD64Ops.go
src/cmd/compile/internal/ssa/gen/genericOps.go
src/cmd/compile/internal/ssa/gen/main.go
src/cmd/compile/internal/ssa/opGen.go
src/cmd/compile/internal/ssa/rewriteAMD64.go