mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-23 18:14:13 +08:00
Re: sim frv: Add a missing return value for frvbf_check_acc_range.
Commit f00b50d057
went the wrong way. As the comment says this
function is only applicable to fr550. If not fr550 return 1,
meaning we don't have acc restrictions.
This commit is contained in:
parent
6feae66da1
commit
880802688c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user