projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f959d6
)
* frv/frv.c (frvbf_cut): Only look at the six LSBs of
author
DJ Delorie
<dj@redhat.com>
Wed, 19 Dec 2007 20:55:03 +0000
(20:55 +0000)
committer
DJ Delorie
<dj@redhat.com>
Wed, 19 Dec 2007 20:55:03 +0000
(20:55 +0000)
cut_point.
sim/ChangeLog
patch
|
blob
|
history
sim/frv/frv.c
patch
|
blob
|
history
diff --git
a/sim/ChangeLog
b/sim/ChangeLog
index be3f394788f74cca1ca0b485b9e0850293d73692..7ed157688c57f64e14a647b2f479a77890b72216 100644
(file)
--- a/
sim/ChangeLog
+++ b/
sim/ChangeLog
@@
-1,3
+1,8
@@
+2007-12-19 DJ Delorie <dj@redhat.com>
+
+ * frv/frv.c (frvbf_cut): Only look at the six LSBs of
+ cut_point.
+
2007-10-22 Hans-Peter Nilsson <hp@axis.com>
* cris/arch.c, cris/arch.h, cris/cpuall.h, cris/cpuv10.c,
diff --git
a/sim/frv/frv.c
b/sim/frv/frv.c
index 2bf1366c70dcf9babba597e78bb6b58079e2ced6..138b5d4008c095957e399c92c6ab354560a7fc81 100644
(file)
--- a/
sim/frv/frv.c
+++ b/
sim/frv/frv.c
@@
-1055,6
+1055,7
@@
SI
frvbf_cut (SIM_CPU *current_cpu, SI reg1, SI reg2, SI cut_point)
{
SI result;
+ cut_point &= 0x3f;
if (cut_point < 32)
{
result = reg1 << cut_point;