generated from treeform/nimtemplate
-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PR 25: Added BMI1, BMI2, F16C, MOVEBE, and aligned-allocation/free plus some minor additions. + additional commits #26
Conversation
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
Following the sources by Felix Cloutier, i tried to read the Cacheline-size from EAX leg-1. It's giving me a value of 8, that needs to be multiplied by 8. And that gives me 64-byte - but it may be just a coincidence ;) So pls. take a look - it' rather q&d...
Just a little test to how the package is structured. This supports F16C a.k.a Float16 or 'half precision floats'. Not to mix up with 'brain-floats' - thats also 16-bit, but comes with a different encoding.
needs some some testing...
added the {.pop.} at the end..
just begun to look into it...
Some older prbly. not so important tags. Though the CompareExchange16-Tag is interesting. And some of the BMI2 operations, as well.
the missing bmi2.nim
Three functions from SSE1-times - i guess they fit in nice here. I just started to use malloc and free and had no issues so far. It's seem a nice way to get aligned allocations, which had been discussed on the nim-forum..
finished Tags BM11 and BMI2
MOVBE fns in movbe.nim
added Tags BMI1, BMI2, F16C, MOVBE
added older AVX2 broadcasts `mm_broadcast<x>_<type>`and movbe.nim into the right folder.
movbe.nim belongs in /src/nimsimd/
missing 'mm_blend_epi32' in AVX2
changed `static pointer` into `pointer`.
fixed return vector(s) from 'M256d/M256' in : - `mm_permutevar_pd() :M128d` - `mm_permutevar_ps() :M128`
fixed signatures in : - storebe_i16() - storebe_i32() - storebe_i64()
edit signature : - bextr_u64()
edited signatures : - bzhi_u32 - bzhi_u64 - mulx_u32 - mulx_u64
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.