[Libre-soc-bugs] [Bug 838] sync or at least statically check fields.text, power_decoder, trans/svp64, CSVs between each other
    bugzilla-daemon at libre-soc.org 
    bugzilla-daemon at libre-soc.org
       
    Sun Aug  7 21:15:29 BST 2022
    
    
  
https://bugs.libre-soc.org/show_bug.cgi?id=838
--- Comment #27 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
 364             fields += [(self.__section.opcode, 0, 5)]
that can be converted to (mask, value) form.  opcode, 0b111111
although a case can be made for keeping the start/end thing
and maybe even converting mask *into* start and end.
 368         if self.name.endswith("."):
 369             fields += [(1, 31, 31)]
ah no.  definitely not.
1) some Rc=1 instructions *do not* use bit 31
2) some instructions (stcix. or atomics somewhere) it is implicit
   (i.e. there is no non-Rc version)
3) Rc=1 field extraction is often done elsewhere i.e. by manual
   recognition of the bit.
-- 
You are receiving this mail because:
You are on the CC list for the bug.
    
    
More information about the libre-soc-bugs
mailing list