generated from treeform/nimtemplate
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
43 additions
and
4 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
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
version = "0.4.3" | ||
version = "0.4.4" | ||
author = "Ryan Oldenburg" | ||
description = "." | ||
license = "MIT" | ||
|
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
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,39 @@ | ||
## SSE3 instructions | ||
|
||
import sse2 | ||
export sse2 | ||
|
||
# "pmmintrin.h" | ||
|
||
func mm_addsub_pd*(a, b: M128d): M128d | ||
{.importc: "_mm_addsub_pd", header: "pmmintrin.h".} | ||
|
||
func mm_addsub_ps*(a, b: M128): M128 | ||
{.importc: "_mm_addsub_ps", header: "pmmintrin.h".} | ||
|
||
func mm_hadd_pd*(a, b: M128d): M128d | ||
{.importc: "_mm_hadd_pd", header: "pmmintrin.h".} | ||
|
||
func mm_hadd_ps *(a, b: M128): M128 | ||
{.importc: "_mm_hadd_ps", header: "pmmintrin.h".} | ||
|
||
func mm_hsub_pd*(a, b: M128d): M128d | ||
{.importc: "_mm_hsub_pd", header: "pmmintrin.h".} | ||
|
||
func mm_hsub_ps*(a, b: M128): M128 | ||
{.importc: "_mm_hsub_ps", header: "pmmintrin.h".} | ||
|
||
func mm_lddqu_si128*(p: pointer): M128i | ||
{.importc: "_mm_lddqu_si128", header: "pmmintrin.h".} | ||
|
||
func mm_loaddup_pd*(p: pointer): M128d | ||
{.importc: "_mm_loaddup_pd", header: "pmmintrin.h".} | ||
|
||
func mm_movedup_pd*(a: M128d): M128d | ||
{.importc: "_mm_movedup_pd", header: "pmmintrin.h".} | ||
|
||
func mm_movehdup_ps*(a: M128): M128 | ||
{.importc: "_mm_movehdup_ps", header: "pmmintrin.h".} | ||
|
||
func mm_moveldup_ps*(a: M128): M128 | ||
{.importc: "_mm_moveldup_ps", header: "pmmintrin.h".} |