-
Notifications
You must be signed in to change notification settings - Fork 89
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
gotypes: error with Store(xmm, ReturnIndex(0)) #145
Comments
Would you be able to make this work if your function signature took a pointer to the output? Like: shuffle(mask, data []byte, out *byte) |
I may be able to extend the |
@mmcloughlin Thanks for the quick response. For now, I would prefer use |
@klauspost has encountered the same problem:
https://gophers.slack.com/archives/C6WDZJ70S/p1589142748014600 |
As discussed on Slack, probably the solution here is to provide an accessor method Line 64 in fa88270
The only question in my mind is what to do with errors that can occur in method chaining, like when
If it returns an error, a |
@mmcloughlin Thanks for the update. I did what you suggested for the time being.
|
I am trying to implement https://github.com/lemire/streamvbyte/blob/master/src/streamvbyte_x64_decode.c#L2.
However, Using
Store(xmm, ReturnIndex(0))
resulted an error in go generateasm.go:85: component is not primitive exit status 1
. Instead I changed toStore(xmm, ReturnIndex(0).Index(0))
to work around it.I also manually changed to use AVX512, VMOVDQU8. The following is Go assembler code.
The text was updated successfully, but these errors were encountered: