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.
isaspec: generate
MovToFpu
specs (bytecodealliance#174)
Generate the `MovToFpu` specs, required for `popcnt`. Updates avanhatt#34 avanhatt#35
- Loading branch information
1 parent
5b76334
commit 0851822
Showing
2 changed files
with
60 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,11 @@ | ||
;; GENERATED BY `isaspec`. DO NOT EDIT!!! | ||
|
||
(spec | ||
(MInst.MovToFpu rd rn size) | ||
(provide | ||
(match | ||
size | ||
((Size64) (= rd (zero_ext 128 (as rn (bv 64))))) | ||
((Size32) (= rd (zero_ext 128 (extract 31 0 (as rn (bv 64)))))) | ||
((Size16) (= rd (zero_ext 128 (extract 15 0 (as rn (bv 64)))))))) | ||
(require (match size ((Size64) true) ((Size32) true) ((Size16) 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