projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
opcodes/arc: Fix extract for some add_s instructions
[deliverable/binutils-gdb.git]
/
opcodes
/
arc-opc.c
diff --git
a/opcodes/arc-opc.c
b/opcodes/arc-opc.c
index 433fdcc9ab1fe1b2877182238e350aa90fbc09ca..25db8684ca3b66a941495e14ba5e880478f11abf 100644
(file)
--- a/
opcodes/arc-opc.c
+++ b/
opcodes/arc-opc.c
@@
-130,7
+130,7
@@
static int
extract_rhv1 (unsigned insn ATTRIBUTE_UNUSED,
bfd_boolean * invalid ATTRIBUTE_UNUSED)
{
- int value =
0
;
+ int value =
((insn & 0x7) << 3) | ((insn >> 5) & 0x7)
;
return value;
}
This page took
0.026113 seconds
and
4
git commands to generate.