• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
      • Apt
      • Zfc
      • Acre
      • Milawa
      • Smtlink
      • Abnf
      • Vwsim
      • Isar
      • Wp-gen
      • Dimacs-reader
      • Pfcs
      • Legacy-defrstobj
      • Proof-checker-array
      • Soft
      • C
      • Farray
      • Rp-rewriter
      • Instant-runoff-voting
      • Imp-language
      • Sidekick
      • Leftist-trees
      • Java
      • Taspi
      • Bitcoin
      • Riscv
        • Instructions
          • Instr
          • Op-funct
          • Op-32-funct
          • Op-imm-funct
          • Load-funct
          • 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-validp
          • Instr-option
          • Op-imm-32-funct
        • States
        • Decoding
        • Encoding
        • Features
        • Semantics
        • Execution
      • Des
      • Ethereum
      • X86isa
      • Sha-2
      • Yul
      • Zcash
      • Proof-checker-itp13
      • Regex
      • ACL2-programming-language
      • Json
      • Jfkr
      • Equational
      • Cryptography
      • Poseidon
      • Where-do-i-place-my-book
      • Axe
      • Bigmems
      • Builtins
      • Execloader
      • Aleo
      • Solidity
      • Paco
      • Concurrent-programs
      • Bls12-377-curves
    • Debugging
    • Std
    • Proof-automation
    • Macro-libraries
    • ACL2
    • Interfacing-tools
    • Hardware-verification
    • Software-verification
    • 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.