* frv/frv.c (frvbf_cut): Only look at the six LSBs of
[deliverable/binutils-gdb.git] / sim / frv / frv.c
index 2bf1366c70dcf9babba597e78bb6b58079e2ced6..138b5d4008c095957e399c92c6ab354560a7fc81 100644 (file)
@@ -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;
This page took 0.023757 seconds and 4 git commands to generate.