Skip to content
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

cmd/asm: missing instruction PSRAD / PSRAW on AMD64 #18972

Closed
samuel opened this issue Feb 7, 2017 · 2 comments
Closed

cmd/asm: missing instruction PSRAD / PSRAW on AMD64 #18972

samuel opened this issue Feb 7, 2017 · 2 comments
Labels
FrozenDueToAge NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided.
Milestone

Comments

@samuel
Copy link

samuel commented Feb 7, 2017

What version of Go are you using (go version)?

go version go1.8rc3 darwin/amd64

What operating system and processor architecture are you using (go env)?

GOARCH=amd64

What did you do?

Unless I'm missing it due to being named something different, the PSRAD/W instruction is not implemented by the amd64 assembler. It's very useful when needing to sign-extend 16-bit integers to 32-bit integers and SSE4.1 isn't available (PMOVSXWD = PUNPCKLWL + PSRAD)

@ALTree
Copy link
Member

ALTree commented Feb 7, 2017

In the list I see a PSRAL and a PSRAW.

Does PSRAW not work?
Is PSRAL PSRAD's name? Have you tried it?

@ALTree ALTree added the NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. label Feb 7, 2017
@ALTree ALTree added this to the Go1.9Maybe milestone Feb 7, 2017
@ALTree ALTree added the WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided. label Feb 7, 2017
@samuel
Copy link
Author

samuel commented Feb 7, 2017

Oh, sorry! Totally didn't see those but should have realized with the naming convention (Long=Word). Thanks

@samuel samuel closed this as completed Feb 7, 2017
@golang golang locked and limited conversation to collaborators Feb 7, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FrozenDueToAge NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided.
Projects
None yet
Development

No branches or pull requests

3 participants