PR23430, Indices misspelled
[deliverable/binutils-gdb.git] / cpu / or1kcommon.cpu
index 1119f988c518c0a97f4327519d4b4d435d2d69aa..c0e4f316adf15f8a3e5ec7c6056804e766148780 100644 (file)
   (comment "program counter")
   (attrs PC (MACH ORBIS-MACHS))
   (type pc UWI)
+  (get () (raw-reg h-pc))
+  (set (newval) (sequence ()
+                 (set (reg h-sys-ppc) (raw-reg h-pc))
+                 (set (raw-reg h-pc) newval)
+                ))
   )
 
 (define-pmacro REG-INDICES
    (SYS DCFGR    #x007 "Debug configuration register")
    (SYS PCCFGR   #x008 "Performance counters configuration register")
    (SYS NPC      #x010 "Next program counter")
-   (SYS SR       #x011 "Supervision Regsiter")
+   (SYS SR       #x011 "Supervision Register")
    (SYS PPC      #x012 "Previous program counter")
    (SYS FPCSR    #x014 "Floating point control status register")
    (.unsplice
 
 (define-normal-enum
   spr-reg-indices
-  "special purpose register indicies"
+  "special purpose register indices"
   ()
   SPR-INDEX-
   (.map (.pmacro (args)
This page took 0.023524 seconds and 4 git commands to generate.