diff options
author | DJ Delorie <dj@delorie.com> | 2007-12-19 20:55:03 +0000 |
---|---|---|
committer | DJ Delorie <dj@delorie.com> | 2007-12-19 20:55:03 +0000 |
commit | db12676c087f9f8f118249faad96b0673a7fd737 (patch) | |
tree | 378123785049e2bcba632d7e5ab4b126931a3c16 /sim | |
parent | 8c8e1a1161959c1ffb9f239327bab4275591e979 (diff) | |
download | gdb-db12676c087f9f8f118249faad96b0673a7fd737.tar.gz |
* frv/frv.c (frvbf_cut): Only look at the six LSBs of
cut_point.
Diffstat (limited to 'sim')
-rw-r--r-- | sim/ChangeLog | 5 | ||||
-rw-r--r-- | sim/frv/frv.c | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/sim/ChangeLog b/sim/ChangeLog index be3f394788f..7ed157688c5 100644 --- 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 2bf1366c70d..138b5d4008c 100644 --- 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; |