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

Vector extension: Rotation #19

Closed
ben-marshall opened this issue Jul 2, 2020 · 1 comment
Closed

Vector extension: Rotation #19

ben-marshall opened this issue Jul 2, 2020 · 1 comment
Assignees
Labels
enhancement New feature or request specification Improvements or additions to the specification

Comments

@ben-marshall
Copy link
Member

From a mailing list discussion.

  • There's no rotation instruction in the base vector spec at the moment, so I'd suggest adding:
vror.vv  vd, vs2, vs1 , vm   # Vector-vector
vror.vx  vd, vs2, rs1 , vm   # Vector-scalar
vrol.vv  vd, vs2, vs1 , vm   # Vector-vector
vrol.vx  vd, vs2, rs1 , vm   # Vector-scalar
vrori.vi vd, vs2, uimm, vm   # Vector-immediate
  • These mirror the format of the existing Vector Single-Width Bit Shift Instructions, and replicate the same set of functionalities that the scalar Bitmanip instructions provide.

  • For the vector Crypto extension, SEW=64 is the critical case for SHA3. I'm not sure about other element widths?

  • It might make sense for the base vector spec to define this instruction, and then for the vector crypto extension to require only the SEW values that it needs. Arguably, crypto might only need the vector-vector variants?

@ben-marshall ben-marshall added specification Improvements or additions to the specification enhancement New feature or request labels Jul 2, 2020
@ben-marshall
Copy link
Member Author

Andy's proposals can be found here. These will be transcribed into the draft spec.

@ben-marshall ben-marshall self-assigned this Aug 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request specification Improvements or additions to the specification
Projects
None yet
Development

No branches or pull requests

1 participant