From: Mike Frysinger Date: Sun, 14 Nov 2021 18:46:05 +0000 (-0500) Subject: [hack] sim: frv: make tests pass X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=35c15263671f3af0e6237c24c017c186208f7cbf;p=thirdparty%2Fbinutils-gdb.git [hack] sim: frv: make tests pass --- diff --git a/sim/frv/traps.c b/sim/frv/traps.c index 0c9eacd0bfd..6908b20d107 100644 --- a/sim/frv/traps.c +++ b/sim/frv/traps.c @@ -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