internal/opcodesextra: minor comment tweaks (#366)

This commit is contained in:
Michael McLoughlin
2023-01-14 16:12:42 -08:00
committed by GitHub
parent 9e56971ed6
commit b01bfffcdd
4 changed files with 11 additions and 5 deletions

View File

@@ -2,7 +2,7 @@ package opcodesextra
import "github.com/mmcloughlin/avo/internal/inst"
// bitalg is the AVX-512 Bit Algorithms instruction set.
// bitalg is the "Bit Algorithms" instruction set.
var bitalg = []*inst.Instruction{
// Reference: https://github.com/golang/go/blob/go1.19.3/src/cmd/internal/obj/x86/avx_optabs.go#L3904-L3908
//

View File

@@ -185,6 +185,8 @@ var vbmi2 = []*inst.Instruction{
// VPCOMPRESSB and VPCOMPRESSW forms.
//
// See: https://www.felixcloutier.com/x86/vpcompressb:vcompressw
//
// Reference: https://github.com/golang/go/blob/go1.19.3/src/cmd/internal/obj/x86/avx_optabs.go#L240-L247
//
// var _yvcompresspd = []ytab{
@@ -254,6 +256,8 @@ var vpcompressb = inst.Forms{
// VPEXPANDB and VPEXPANDW forms.
//
// See: https://www.felixcloutier.com/x86/vpexpandb:vpexpandw
//
// Reference: https://github.com/golang/go/blob/go1.19.3/src/cmd/internal/obj/x86/avx_optabs.go#L376-L383
//
// var _yvexpandpd = []ytab{
@@ -268,6 +272,8 @@ var vpexpandb = _yvexpandpd("AVX512VBMI2", "")
// VPSH{L,R}D{W,D,Q} forms.
//
// See: https://www.felixcloutier.com/x86/vpshld https://www.felixcloutier.com/x86/vpshrd
//
// Reference: https://github.com/golang/go/blob/go1.19.3/src/cmd/internal/obj/x86/avx_optabs.go#L128-L135
//
// var _yvalignd = []ytab{
@@ -354,6 +360,8 @@ func vpshld(bcst string) inst.Forms {
// VPSH{L,R}DV{W,D,Q} forms.
//
// See: https://www.felixcloutier.com/x86/vpshldv https://www.felixcloutier.com/x86/vpshrdv
//
// Reference: https://github.com/golang/go/blob/go1.19.3/src/cmd/internal/obj/x86/avx_optabs.go#L148-L155
//
// var _yvblendmpd = []ytab{

View File

@@ -2,8 +2,7 @@ package opcodesextra
import "github.com/mmcloughlin/avo/internal/inst"
// vpclmulqdq adds VEX and EVEX encoded versions of the PCLMULQDQ carry-less
// quadword multiplication instruction.
// vpclmulqdq is the "Vector Carry-less Multiplication" instruction set.
var vpclmulqdq = []*inst.Instruction{
// Reference: https://github.com/golang/go/blob/go1.19.3/src/cmd/internal/obj/x86/avx_optabs.go#L2911-L2917
//

View File

@@ -2,8 +2,7 @@ package opcodesextra
import "github.com/mmcloughlin/avo/internal/inst"
// vpopcntdq is the VPOPCNTDQ instruction set, providing packed population count
// for double and quadword integers.
// vpopcntdq is the "Vector Population Count" instruction set.
var vpopcntdq = []*inst.Instruction{
// Reference: https://github.com/golang/go/blob/go1.19.3/src/cmd/internal/obj/x86/avx_optabs.go#L3741-L3750
//