diff options
author | Frank Ch. Eigler <fche@redhat.com> | 2000-03-08 21:09:41 +0000 |
---|---|---|
committer | Frank Ch. Eigler <fche@redhat.com> | 2000-03-08 21:09:41 +0000 |
commit | e88acae7927b1144822572406f0ba9540e41e341 (patch) | |
tree | abe7a5e5076a6490758815b8f6ec0f2789b756fb /sim/common/cgen-par.h | |
parent | c1b7949f6edaec243c82466c4ed128c5ecf34918 (diff) | |
download | fsf-binutils-gdb-e88acae7927b1144822572406f0ba9540e41e341.zip fsf-binutils-gdb-e88acae7927b1144822572406f0ba9540e41e341.tar.gz fsf-binutils-gdb-e88acae7927b1144822572406f0ba9540e41e341.tar.bz2 |
* extension
2000-03-08 Dave Brolley <brolley@redhat.com>
* cgen-par.h (cgen_write_queue_kind): Add CGEN_FN_SF_WRITE.
(CGEN_WRITE_QUEUE_ELEMENT): Add fn_sf_write.
(sim_queue_fn_si_write): Last argument is has type USI.
(sim_queue_fn_sf_write): New function.
* cgen-par.c (sim_queue_fn_si_write): Declare 'value' as USI.
(sim_queue_fn_sf_write): New function.
(cgen_write_queue_element_execute): Handle CGEN_FN_SF_WRITE.
Diffstat (limited to 'sim/common/cgen-par.h')
-rw-r--r-- | sim/common/cgen-par.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/sim/common/cgen-par.h b/sim/common/cgen-par.h index 4e0257a..726e648 100644 --- a/sim/common/cgen-par.h +++ b/sim/common/cgen-par.h @@ -25,7 +25,8 @@ with this program; if not, write to the Free Software Foundation, Inc., enum cgen_write_queue_kind { CGEN_BI_WRITE, CGEN_QI_WRITE, CGEN_SI_WRITE, CGEN_SF_WRITE, CGEN_PC_WRITE, - CGEN_FN_HI_WRITE, CGEN_FN_SI_WRITE, CGEN_FN_DI_WRITE, CGEN_FN_DF_WRITE, + CGEN_FN_HI_WRITE, CGEN_FN_SI_WRITE, CGEN_FN_SF_WRITE, + CGEN_FN_DI_WRITE, CGEN_FN_DF_WRITE, CGEN_FN_XI_WRITE, CGEN_FN_PC_WRITE, CGEN_MEM_QI_WRITE, CGEN_MEM_HI_WRITE, CGEN_MEM_SI_WRITE, CGEN_MEM_DI_WRITE, CGEN_MEM_DF_WRITE, CGEN_MEM_XI_WRITE, @@ -70,6 +71,11 @@ typedef struct { } fn_si_write; struct { UINT regno; + SF value; + void (*function)(SIM_CPU *, UINT, SF); + } fn_sf_write; + struct { + UINT regno; DI value; void (*function)(SIM_CPU *, UINT, DI); } fn_di_write; @@ -181,7 +187,8 @@ extern void sim_queue_sf_write (SIM_CPU *, SI *, SF); extern void sim_queue_pc_write (SIM_CPU *, USI); extern void sim_queue_fn_hi_write (SIM_CPU *, void (*)(SIM_CPU *, UINT, UHI), UINT, UHI); -extern void sim_queue_fn_si_write (SIM_CPU *, void (*)(SIM_CPU *, UINT, USI), UINT, SI); +extern void sim_queue_fn_si_write (SIM_CPU *, void (*)(SIM_CPU *, UINT, USI), UINT, USI); +extern void sim_queue_fn_sf_write (SIM_CPU *, void (*)(SIM_CPU *, UINT, SF), UINT, SF); extern void sim_queue_fn_di_write (SIM_CPU *, void (*)(SIM_CPU *, UINT, DI), UINT, DI); extern void sim_queue_fn_df_write (SIM_CPU *, void (*)(SIM_CPU *, UINT, DF), UINT, DF); extern void sim_queue_fn_xi_write (SIM_CPU *, void (*)(SIM_CPU *, UINT, SI *), UINT, SI *); |