Skip to content
This repository was archived by the owner on Apr 27, 2023. It is now read-only.
This repository was archived by the owner on Apr 27, 2023. It is now read-only.

Instruction Modification: xc.prot.i xc.psll.i xc.psrl.i shift/rotate amount #57

Description

@ben-marshall

Find a way to allow 5 bits for the shift and rotate amounts in the following instructions:

  • xc.prot.i
  • xc.psll.i
  • xc.psrl.i

Could possibly be done by using the pack-width encoding ca||cb||cc = 1?1 and letting cb be the [M|L]SB of the new 5-bit shamt / ramnt field. Any pack width where ca=cc=1 then implies operations on the entire register word.

  • Pro: Fits without major encoding structure modifications
  • Con: Doesn't line up with RISC-V shamt field
  • Con: Makes decode of pack widths somewhat more fiddely, as this becomes a corner case for shift/rotate instructions.

Metadata

Metadata

Labels

documentationIssue relates to project documentation.enhancementNew feature or requestimplementationIssue relates to the hardware implementation of the iSEsoftwareIssue relates to the example software or modified binutils.specificationIssue relates to the XCrypto ISE specificationverificationIssue relates to the verification environment

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions