]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
[hack] sim: frv: make tests pass
authorMike Frysinger <vapier@gentoo.org>
Sun, 14 Nov 2021 18:46:05 +0000 (13:46 -0500)
committerMike Frysinger <vapier@gentoo.org>
Thu, 10 Nov 2022 18:44:20 +0000 (01:44 +0700)
sim/frv/traps.c

index 0c9eacd0bfd24eb0700e4bd51a43ee4e0e701168..6908b20d1073b4760caa3741e50cef9ca42a35d3 100644 (file)
@@ -747,7 +747,7 @@ frvbf_check_acc_range (SIM_CPU *current_cpu, SI regno)
   /* Only applicable to fr550 */
   SIM_DESC sd = CPU_STATE (current_cpu);
   if (STATE_ARCHITECTURE (sd)->mach != bfd_mach_fr550)
-    return 0;
+    return 1;
 
   /* On the fr550, media insns in slots 0 and 2 can only access
      accumulators acc0-acc3. Insns in slots 1 and 3 can only access