Advertisement
Guest User

Untitled

a guest
Apr 19th, 2022
34
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.41 KB | None | 0 0
  1. class SVP64PrefixFields(SelectableIntMapping):
  2.     def __init__(self, value):
  3.         self.insn = SelectableInt(value, 32)
  4.         super().__init__(integer=insn, fields={
  5.             # 6 bit major opcode EXT001, 2 bits "identifying" (7, 9), 24 SV ReMap
  6.             "major": range(0, 6),
  7.             "pid": (7, 9),
  8.             # SVP64 24-bit RM (ReMap)
  9.             "rm": ((6, 8) + tuple(range(10, 32))),
  10.         })
  11.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement