Skip to content

Commit

Permalink
Fixed package comment in doc.go
Browse files Browse the repository at this point in the history
  • Loading branch information
vsivsi committed Dec 15, 2022
1 parent 170fe8a commit 42874d6
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions tests/fixedbugs/issue193/doc.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
// Package issue193 tests for the ability to generate VPSCATTER{D,Q}{D,Q} and
// VPGATHER{D,Q}{D,Q} instructions *without* specifying a base register in
// the destination/source VSIB addressing (VM{64,32}{x,y,z}) memory operands.
//
package issue193

// From: https://www.felixcloutier.com/x86/vpscatterdd:vpscatterdq:vpscatterqd:vpscatterqq
//
// BASE_ADDR stands for the memory operand base address (a GPR); *may not exist*
Expand All @@ -10,9 +11,11 @@
// DISP is the optional 1 or 4 byte displacement
//
// For example, prior to this fix Avo requires:
// VPSCATTERQQ Z6, K1, 8(BX)(Z7*1)
//
// VPSCATTERQQ Z6, K1, 8(BX)(Z7*1)
//
// with BX = 0, when:
// VPSCATTERQQ Z6, K1, 8(Z7*1)
//
// VPSCATTERQQ Z6, K1, 8(Z7*1)
//
// is perfectly valid and will suffice.

package issue193

0 comments on commit 42874d6

Please sign in to comment.