Skip to content

Commit

Permalink
Add FP instruction filter to single generator
Browse files Browse the repository at this point in the history
Signed-off-by: Avimitin <[email protected]>
  • Loading branch information
Avimitin committed Dec 21, 2024
1 parent 3586c55 commit 68c61d1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions single/single.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,10 @@ func main() {

if (!strings.HasPrefix(filepath.Base(fp), "vf") && !strings.HasPrefix(filepath.Base(fp), "vmf")) || strings.HasPrefix(filepath.Base(fp), "vfirst") {
option.Repeat = 1
} else {
option.Fp = 1
}

insn, err := generator.ReadInsnFromToml(contents, option)
fatalIf(err)

Expand Down

0 comments on commit 68c61d1

Please sign in to comment.