Open
Conversation
The rdseed instruction is really similar to rdrand, compare: http://www.felixcloutier.com/x86/RDRAND.html http://www.felixcloutier.com/x86/RDSEED.html The only difference is /reg=7 instead of /reg=6. However, there is still something wrong with the operand decoding for both instructions: objdump: 0: 66 0f c7 f3 rdrand %bx 4: 0f c7 f3 rdrand %ebx 7: 48 0f c7 f3 rdrand %rbx b: 66 0f c7 fb rdseed %bx f: 0f c7 fb rdseed %ebx 12: 48 0f c7 fb rdseed %rbx udcli: 0000000000000000 660fc7f3 rdrand rbx 0000000000000004 0fc7f3 rdrand rbx 0000000000000007 480fc7f3 rdrand rbx 000000000000000b 660fc7fb rdseed rbx 000000000000000f 0fc7fb rdseed rbx 0000000000000012 480fc7fb rdseed rbx This is still an improvement, however.
This file contains hidden or 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
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.
The rdseed instruction is really similar to rdrand, compare:
http://www.felixcloutier.com/x86/RDRAND.html
http://www.felixcloutier.com/x86/RDSEED.html
The only difference is /reg=7 instead of /reg=6.
However, there is still something wrong with the operand decoding for
both instructions:
objdump:
udcli:
This is still an improvement, however.