]> Cypherpunks repositories - gostls13.git/commit
[dev.cc] 9g: fill progtable for CC, V, and VCC instruction variants
authorAustin Clements <austin@google.com>
Mon, 24 Nov 2014 16:40:36 +0000 (11:40 -0500)
committerAustin Clements <austin@google.com>
Mon, 24 Nov 2014 16:40:36 +0000 (11:40 -0500)
commite78777ebfef59356c72a3788483a78610f9ad0a2
tree8c462e165197e30cbe38a0487dce86a76529ee7f
parent6ddc2cb80c45e21bb0dc4c5c9790cdb6c4164359
[dev.cc] 9g: fill progtable for CC, V, and VCC instruction variants

This adds some utilities for converting between the CC, V, and
VCC variants of operations and uses these to derive the
ProgInfo entries for these variants (which are identical to
the ProgInfo for the base operations).

The 9g peephole optimizer will also use these conversion
utilities.

LGTM=minux, rsc
R=rsc, dave, minux
CC=golang-codereviews
https://golang.org/cl/180110044
src/cmd/9g/opt.h
src/cmd/9g/prog.c