forked from avanhatt/wasmtime
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Generate the `VecRRR` `Addp` spec case. Updates avanhatt#34 avanhatt#35
- Loading branch information
1 parent
7b2b067
commit 57fdabb
Showing
2 changed files
with
148 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
;; GENERATED BY `isaspec`. DO NOT EDIT!!! | ||
|
||
(spec | ||
(MInst.VecRRR op rd rn rm size) | ||
(provide | ||
(match | ||
size | ||
((Size8x16) | ||
(match | ||
op | ||
((Addp) | ||
(= | ||
rd | ||
(concat | ||
(bvadd (extract 119 112 rm) (extract 127 120 rm)) | ||
(concat | ||
(bvadd (extract 103 96 rm) (extract 111 104 rm)) | ||
(concat | ||
(bvadd (extract 87 80 rm) (extract 95 88 rm)) | ||
(concat | ||
(bvadd (extract 71 64 rm) (extract 79 72 rm)) | ||
(concat | ||
(bvadd (extract 55 48 rm) (extract 63 56 rm)) | ||
(concat | ||
(bvadd (extract 39 32 rm) (extract 47 40 rm)) | ||
(concat | ||
(bvadd (extract 23 16 rm) (extract 31 24 rm)) | ||
(concat | ||
(bvadd (extract 7 0 rm) (extract 15 8 rm)) | ||
(concat | ||
(bvadd (extract 119 112 rn) (extract 127 120 rn)) | ||
(concat | ||
(bvadd (extract 103 96 rn) (extract 111 104 rn)) | ||
(concat | ||
(bvadd (extract 87 80 rn) (extract 95 88 rn)) | ||
(concat | ||
(bvadd | ||
(extract 71 64 rn) | ||
(extract 79 72 rn)) | ||
(concat | ||
(bvadd | ||
(extract 55 48 rn) | ||
(extract 63 56 rn)) | ||
(concat | ||
(bvadd | ||
(extract 39 32 rn) | ||
(extract 47 40 rn)) | ||
(concat | ||
(bvadd | ||
(extract 23 16 rn) | ||
(extract 31 24 rn)) | ||
(bvadd | ||
(extract 7 0 rn) | ||
(extract | ||
15 | ||
8 | ||
rn))))))))))))))))))))) | ||
((Size8x8) | ||
(match | ||
op | ||
((Addp) | ||
(= | ||
rd | ||
(zero_ext | ||
128 | ||
(concat | ||
(bvadd (extract 55 48 rm) (extract 63 56 rm)) | ||
(concat | ||
(bvadd (extract 39 32 rm) (extract 47 40 rm)) | ||
(concat | ||
(bvadd (extract 23 16 rm) (extract 31 24 rm)) | ||
(concat | ||
(bvadd (extract 7 0 rm) (extract 15 8 rm)) | ||
(concat | ||
(bvadd (extract 55 48 rn) (extract 63 56 rn)) | ||
(concat | ||
(bvadd (extract 39 32 rn) (extract 47 40 rn)) | ||
(concat | ||
(bvadd (extract 23 16 rn) (extract 31 24 rn)) | ||
(bvadd (extract 7 0 rn) (extract 15 8 rn)))))))))))))))) | ||
(require (match size ((Size8x16) (match op ((Addp) true))) ((Size8x8) (match op ((Addp) true)))))) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters