Skip to content

Commit

Permalink
all: VBMI2 instructions (#363)
Browse files Browse the repository at this point in the history
Adds the "Vector Bit Manipulation Instructions 2" instruction set.

These new instructions are added via the `opcodesextra` mechanism #345, since
they're missing from the opcodes database.

Contributed by @vsivsi. Extracted from #349 with simplifications.
Specifically, as prompted by the `dupl` linter we extract some common forms
lists into a helper `forms.go` file.

Co-authored-by: Vaughn Iverson <vsivsi@yahoo.com>
  • Loading branch information
mmcloughlin and vsivsi authored Jan 14, 2023
1 parent 05ed388 commit e2c0a40
Show file tree
Hide file tree
Showing 11 changed files with 12,989 additions and 4,780 deletions.
1,620 changes: 1,620 additions & 0 deletions build/zinstructions.go

Large diffs are not rendered by default.

48 changes: 48 additions & 0 deletions build/zinstructions_test.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit e2c0a40

Please sign in to comment.