• 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-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
          • Branch-funct
          • Op-imms-funct
          • 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-funct

Fixtype of names of instructions with the OP opcode [ISA:2.4.2] [ISA:13.1] [ISA:13.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.4]. 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