projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Update the openrisc previous program counter (ppc) when running code in the cgen...
[deliverable/binutils-gdb.git]
/
cpu
/
or1kcommon.cpu
diff --git
a/cpu/or1kcommon.cpu
b/cpu/or1kcommon.cpu
index 1119f988c518c0a97f4327519d4b4d435d2d69aa..ced70c35099f1938629ab7682ec10c44d1ca7b6f 100644
(file)
--- a/
cpu/or1kcommon.cpu
+++ b/
cpu/or1kcommon.cpu
@@
-26,6
+26,11
@@
(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
This page took
0.022969 seconds
and
4
git commands to generate.