• 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-funct-fix
                • Op-funct-case
                • Op-funct-p
                • Op-funct-equiv
                • Op-funct-kind
                • Op-funct-xor
                • Op-funct-sub
                • Op-funct-srl
                • Op-funct-sra
                • Op-funct-sltu
                • Op-funct-slt
                • Op-funct-sll
                • Op-funct-remu
                • Op-funct-rem
                • Op-funct-or
                • Op-funct-mulhu
                • Op-funct-mulhsu
                • Op-funct-mulh
                • Op-funct-mul
                • Op-funct-divu
                • Op-funct-div
                • Op-funct-and
                • Op-funct-add
              • Op-32-funct
              • Op-imm-funct
              • Load-funct
              • Instr-validp
              • Branch-funct
              • Op-imms-funct
              • 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-funct

Fixtype of names of instructions with the OP opcode [ISA:2.4.2] [ISA:12.1] [ISA:12.2].

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

Member Tags → Types
:add → op-funct-add
:sub → op-funct-sub
:slt → op-funct-slt
:sltu → op-funct-sltu
:and → op-funct-and
:or → op-funct-or
:xor → op-funct-xor
:sll → op-funct-sll
:srl → op-funct-srl
:sra → op-funct-sra
:mul → op-funct-mul
:mulh → op-funct-mulh
:mulhu → op-funct-mulhu
:mulhsu → op-funct-mulhsu
:div → op-funct-div
:divu → op-funct-divu
:rem → op-funct-rem
:remu → op-funct-remu

These instructions are encoded in the R-type format [ISA:2.2]. They are designated by the funct3 and funct7 fields, which motivates the name of this fixtype.

Subtopics

Op-funct-fix
Fixing function for op-funct structures.
Op-funct-case
Case macro for the different kinds of op-funct structures.
Op-funct-p
Recognizer for op-funct structures.
Op-funct-equiv
Basic equivalence relation for op-funct structures.
Op-funct-kind
Get the kind (tag) of a op-funct structure.
Op-funct-xor
Op-funct-sub
Op-funct-srl
Op-funct-sra
Op-funct-sltu
Op-funct-slt
Op-funct-sll
Op-funct-remu
Op-funct-rem
Op-funct-or
Op-funct-mulhu
Op-funct-mulhsu
Op-funct-mulh
Op-funct-mul
Op-funct-divu
Op-funct-div
Op-funct-and
Op-funct-add