projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Disable parts of gdb.base/source-dir.exp on remote host
[deliverable/binutils-gdb.git]
/
cpu
/
lm32.cpu
diff --git
a/cpu/lm32.cpu
b/cpu/lm32.cpu
index 83c839f3392f857bca6f062ef07413a0ac594b31..ecd8160816efce2ba20896089763c86cdc5a5f5b 100644
(file)
--- a/
cpu/lm32.cpu
+++ b/
cpu/lm32.cpu
@@
-128,11
+128,15
@@
(df f-branch "branch offset field" (PCREL-ADDR) 15 16 INT
((value pc) (sra SI (sub SI value pc) 2))
(df f-branch "branch offset field" (PCREL-ADDR) 15 16 INT
((value pc) (sra SI (sub SI value pc) 2))
- ((value pc) (add SI pc (sra SI (sll SI value 16) 14)))
+ ((value pc) (add SI pc (sub (xor (sll (and value #xffff) 2)
+ #x20000)
+ #x20000)))
)
(df f-call "call offset field" (PCREL-ADDR) 25 26 INT
((value pc) (sra SI (sub SI value pc) 2))
)
(df f-call "call offset field" (PCREL-ADDR) 25 26 INT
((value pc) (sra SI (sub SI value pc) 2))
- ((value pc) (add SI pc (sra SI (sll SI value 6) 4)))
+ ((value pc) (add SI pc (sub (xor (sll (and value #x3ffffff) 2)
+ #x8000000)
+ #x8000000)))
)
\f
)
\f
This page took
0.049658 seconds
and
4
git commands to generate.