From: DJ Delorie Date: Wed, 19 Dec 2007 20:55:03 +0000 (+0000) Subject: * frv/frv.c (frvbf_cut): Only look at the six LSBs of X-Git-Tag: sid-snapshot-20080101~96 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=beb7a8835e06f30b212561bd0d6c71eaddf76b83;p=external%2Fbinutils.git * frv/frv.c (frvbf_cut): Only look at the six LSBs of cut_point. --- diff --git a/sim/ChangeLog b/sim/ChangeLog index be3f394..7ed1576 100644 --- a/sim/ChangeLog +++ b/sim/ChangeLog @@ -1,3 +1,8 @@ +2007-12-19 DJ Delorie + + * frv/frv.c (frvbf_cut): Only look at the six LSBs of + cut_point. + 2007-10-22 Hans-Peter Nilsson * 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 2bf1366..138b5d4 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;