diff options
author | Dave Brolley <brolley@redhat.com> | 2003-10-08 18:19:33 +0000 |
---|---|---|
committer | Dave Brolley <brolley@redhat.com> | 2003-10-08 18:19:33 +0000 |
commit | e930b1f54ff2768c5818eb0a450b1d98d46d273d (patch) | |
tree | beff79b0fd16e78faffe78489d34d064d5618b43 /sim/frv/cpu.c | |
parent | 7c3f9ad027b9ec2906f3367ca7be18e5fb8f6893 (diff) | |
download | gdb-e930b1f54ff2768c5818eb0a450b1d98d46d273d.zip gdb-e930b1f54ff2768c5818eb0a450b1d98d46d273d.tar.gz gdb-e930b1f54ff2768c5818eb0a450b1d98d46d273d.tar.bz2 |
2003-10-06 Dave Brolley <brolley@redhat.com>
* profile-fr550.[ch]: New files.
* configure.in: Move frv handling to alphabetically correct placement.
* Makefile.in: Add fr550 support.
* frv-sim.h,frv.c,interrups.c,memory.c,mloop.in,pipeline.c,
profile.[ch],registers.c,traps.c: Add fr550 support.
* arch.c,arch.h,cpu.c,cpu.h,cpuall.h,model.h,decode.c,decode.h,sem.c:
Regenerate.
Diffstat (limited to 'sim/frv/cpu.c')
-rw-r--r-- | sim/frv/cpu.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/sim/frv/cpu.c b/sim/frv/cpu.c index 08e3a2c..1b4b4a1 100644 --- a/sim/frv/cpu.c +++ b/sim/frv/cpu.c @@ -620,6 +620,22 @@ frvbf_h_acc40U_set (SIM_CPU *current_cpu, UINT regno, UDI newval) SET_H_ACC40U (regno, newval); } +/* Get the value of h-iacc0. */ + +DI +frvbf_h_iacc0_get (SIM_CPU *current_cpu, UINT regno) +{ + return GET_H_IACC0 (regno); +} + +/* Set a value for h-iacc0. */ + +void +frvbf_h_iacc0_set (SIM_CPU *current_cpu, UINT regno, DI newval) +{ + SET_H_IACC0 (regno, newval); +} + /* Get the value of h-iccr. */ UQI |