* frv/frv.c (frvbf_cut): Only look at the six LSBs of
cut_point.
This commit is contained in:
parent
2f959d61e7
commit
beb7a8835e
2 changed files with 6 additions and 0 deletions
|
@ -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>
|
2007-10-22 Hans-Peter Nilsson <hp@axis.com>
|
||||||
|
|
||||||
* cris/arch.c, cris/arch.h, cris/cpuall.h, cris/cpuv10.c,
|
* cris/arch.c, cris/arch.h, cris/cpuall.h, cris/cpuv10.c,
|
||||||
|
|
|
@ -1055,6 +1055,7 @@ SI
|
||||||
frvbf_cut (SIM_CPU *current_cpu, SI reg1, SI reg2, SI cut_point)
|
frvbf_cut (SIM_CPU *current_cpu, SI reg1, SI reg2, SI cut_point)
|
||||||
{
|
{
|
||||||
SI result;
|
SI result;
|
||||||
|
cut_point &= 0x3f;
|
||||||
if (cut_point < 32)
|
if (cut_point < 32)
|
||||||
{
|
{
|
||||||
result = reg1 << cut_point;
|
result = reg1 << cut_point;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue