• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Community
    • Std
    • Proof-automation
    • Macro-libraries
    • ACL2
    • Interfacing-tools
    • Hardware-verification
    • Software-verification
      • Kestrel-books
        • Crypto-hdwallet
        • Apt
        • Error-checking
        • Fty-extensions
        • Isar
        • Kestrel-utilities
        • Set
        • Soft
        • C
        • Bv
        • Imp-language
        • Event-macros
        • Java
        • Riscv
          • Specification
            • Semantics
            • Features
            • Instructions
              • Instr
              • Op-funct
              • Op-32-funct
              • Op-imm-funct
              • Load-funct
              • Instr-validp
              • Branch-funct
              • Op-imms-funct
                • Op-imms-funct-fix
                • Op-imms-funct-case
                • Op-imms-funct-equiv
                • Op-imms-funct-p
                • Op-imms-funct-srli
                • Op-imms-funct-srai
                • Op-imms-funct-slli
                • Op-imms-funct-kind
              • Store-funct
              • Op-imms-32-funct
              • Instr-option
              • Op-imm-32-funct
            • Encoding
            • States
            • Reads-over-writes
            • Semantics-equivalences
            • Decoding
            • Execution
          • Executable
          • Specialized
          • Optimized
        • Bitcoin
        • Ethereum
        • Yul
        • Zcash
        • ACL2-programming-language
        • Prime-fields
        • Json
        • Syntheto
        • File-io-light
        • Cryptography
        • Number-theory
        • Lists-light
        • Axe
        • Builtins
        • Solidity
        • Helpers
        • Htclient
        • Typed-lists-light
        • Arithmetic-light
      • X86isa
      • Axe
      • Execloader
    • Math
    • Testing-utilities
  • Instructions

Op-imms-funct

Fixtype of names of shift instructions with the OP-IMM opcode [ISA:2.4.1].

This is a tagged union type, introduced by fty::deftagsum.

Member Tags → Types
:slli → op-imms-funct-slli
:srli → op-imms-funct-srli
:srai → op-imms-funct-srai

This is similar to op-imm-funct, but for the shift instructions, which use a specialization of the I-type format; see discussion in op-imm-funct. The instruction is designated not only by the funct3 field, but also by the imm[11:5] field, which here acts like the funct7 field in other instructions.

The s in the imms of this fixtype name indicates `shift'.

Subtopics

Op-imms-funct-fix
Fixing function for op-imms-funct structures.
Op-imms-funct-case
Case macro for the different kinds of op-imms-funct structures.
Op-imms-funct-equiv
Basic equivalence relation for op-imms-funct structures.
Op-imms-funct-p
Recognizer for op-imms-funct structures.
Op-imms-funct-srli
Op-imms-funct-srai
Op-imms-funct-slli
Op-imms-funct-kind
Get the kind (tag) of a op-imms-funct structure.