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

Add POPCNT and TZCNT opcodes #7357

Closed
donovanhide opened this issue Feb 19, 2014 · 3 comments
Closed

Add POPCNT and TZCNT opcodes #7357

donovanhide opened this issue Feb 19, 2014 · 3 comments

Comments

@donovanhide
Copy link
Contributor

Would be great if 6g had POPCNTQ/L/W and TZCNTQ/L/W instructions added.

Real world usage:

bits-and-blooms/bitset#19
@gopherbot
Copy link
Contributor

Comment 1 by rayneolivetti:

Duplicate of #4816?
With TZCNT, do you mean LZCNT?

@donovanhide
Copy link
Contributor Author

Comment 2:

Oops, sorry about the duplicate!
I do mean TZCNT (trailing zero count), but LZCNT would be useful too. 
http://software.intel.com/sites/products/documentation/doclib/iss/2013/compiler/cpp-lin/GUID-E6E297BB-E575-4525-AE1C-DFD7D5B662F5.htm
Probably not the best place to discuss, but CPUID support in the runtime for ARM,x86 and
AMD64 would be great too... Seems like every assembly routine rewrites their own version
of it!

@robpike
Copy link
Contributor

robpike commented Feb 26, 2014

Comment 3:

Status changed to Duplicate.

Merged into issue #4816.

This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants