internal/opcodesextra: minor comment tweaks (#366)
This commit is contained in:
committed by
GitHub
parent
9e56971ed6
commit
b01bfffcdd
@@ -2,7 +2,7 @@ package opcodesextra
|
|||||||
|
|
||||||
import "github.com/mmcloughlin/avo/internal/inst"
|
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{
|
var bitalg = []*inst.Instruction{
|
||||||
// Reference: https://github.com/golang/go/blob/go1.19.3/src/cmd/internal/obj/x86/avx_optabs.go#L3904-L3908
|
// Reference: https://github.com/golang/go/blob/go1.19.3/src/cmd/internal/obj/x86/avx_optabs.go#L3904-L3908
|
||||||
//
|
//
|
||||||
|
|||||||
@@ -185,6 +185,8 @@ var vbmi2 = []*inst.Instruction{
|
|||||||
|
|
||||||
// VPCOMPRESSB and VPCOMPRESSW forms.
|
// 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
|
// Reference: https://github.com/golang/go/blob/go1.19.3/src/cmd/internal/obj/x86/avx_optabs.go#L240-L247
|
||||||
//
|
//
|
||||||
// var _yvcompresspd = []ytab{
|
// var _yvcompresspd = []ytab{
|
||||||
@@ -254,6 +256,8 @@ var vpcompressb = inst.Forms{
|
|||||||
|
|
||||||
// VPEXPANDB and VPEXPANDW 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
|
// Reference: https://github.com/golang/go/blob/go1.19.3/src/cmd/internal/obj/x86/avx_optabs.go#L376-L383
|
||||||
//
|
//
|
||||||
// var _yvexpandpd = []ytab{
|
// var _yvexpandpd = []ytab{
|
||||||
@@ -268,6 +272,8 @@ var vpexpandb = _yvexpandpd("AVX512VBMI2", "")
|
|||||||
|
|
||||||
// VPSH{L,R}D{W,D,Q} forms.
|
// 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
|
// Reference: https://github.com/golang/go/blob/go1.19.3/src/cmd/internal/obj/x86/avx_optabs.go#L128-L135
|
||||||
//
|
//
|
||||||
// var _yvalignd = []ytab{
|
// var _yvalignd = []ytab{
|
||||||
@@ -354,6 +360,8 @@ func vpshld(bcst string) inst.Forms {
|
|||||||
|
|
||||||
// VPSH{L,R}DV{W,D,Q} 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
|
// Reference: https://github.com/golang/go/blob/go1.19.3/src/cmd/internal/obj/x86/avx_optabs.go#L148-L155
|
||||||
//
|
//
|
||||||
// var _yvblendmpd = []ytab{
|
// var _yvblendmpd = []ytab{
|
||||||
|
|||||||
@@ -2,8 +2,7 @@ package opcodesextra
|
|||||||
|
|
||||||
import "github.com/mmcloughlin/avo/internal/inst"
|
import "github.com/mmcloughlin/avo/internal/inst"
|
||||||
|
|
||||||
// vpclmulqdq adds VEX and EVEX encoded versions of the PCLMULQDQ carry-less
|
// vpclmulqdq is the "Vector Carry-less Multiplication" instruction set.
|
||||||
// quadword multiplication instruction.
|
|
||||||
var vpclmulqdq = []*inst.Instruction{
|
var vpclmulqdq = []*inst.Instruction{
|
||||||
// Reference: https://github.com/golang/go/blob/go1.19.3/src/cmd/internal/obj/x86/avx_optabs.go#L2911-L2917
|
// Reference: https://github.com/golang/go/blob/go1.19.3/src/cmd/internal/obj/x86/avx_optabs.go#L2911-L2917
|
||||||
//
|
//
|
||||||
|
|||||||
@@ -2,8 +2,7 @@ package opcodesextra
|
|||||||
|
|
||||||
import "github.com/mmcloughlin/avo/internal/inst"
|
import "github.com/mmcloughlin/avo/internal/inst"
|
||||||
|
|
||||||
// vpopcntdq is the VPOPCNTDQ instruction set, providing packed population count
|
// vpopcntdq is the "Vector Population Count" instruction set.
|
||||||
// for double and quadword integers.
|
|
||||||
var vpopcntdq = []*inst.Instruction{
|
var vpopcntdq = []*inst.Instruction{
|
||||||
// Reference: https://github.com/golang/go/blob/go1.19.3/src/cmd/internal/obj/x86/avx_optabs.go#L3741-L3750
|
// Reference: https://github.com/golang/go/blob/go1.19.3/src/cmd/internal/obj/x86/avx_optabs.go#L3741-L3750
|
||||||
//
|
//
|
||||||
|
|||||||
Reference in New Issue
Block a user