diff options
author | Frank Ch. Eigler <fche@redhat.com> | 1998-04-05 16:40:03 +0000 |
---|---|---|
committer | Frank Ch. Eigler <fche@redhat.com> | 1998-04-05 16:40:03 +0000 |
commit | ebcfd86a2ee6c08419b951d8176febaf683e9726 (patch) | |
tree | 92f401845f64b64f89c24b7f80fa881ca601c9c0 /sim/mips/sim-main.h | |
parent | d61cc1d4b1bd12d088aef46e97d6f79cf6b3dfb1 (diff) | |
download | fsf-binutils-gdb-ebcfd86a2ee6c08419b951d8176febaf683e9726.zip fsf-binutils-gdb-ebcfd86a2ee6c08419b951d8176febaf683e9726.tar.gz fsf-binutils-gdb-ebcfd86a2ee6c08419b951d8176febaf683e9726.tar.bz2 |
* R5900 COP2 function nearly complete. PKE sim now aware of new GPUIF
masking facility for PATH3 transfers.
[ChangeLog.sky]
Sun Apr 5 12:11:45 1998 Frank Ch. Eigler <fche@cygnus.com>
* sky-libvpe.c (exec-inst): Added "M" bit detection for upper
instruction.
* sky-pke.c (pke_check_stall): Added more assertions.
(pke_code_mskpath3): Use new GPUIF M3P control register.
* sky-pke.h (VU[01]_CIA): New macros that give VU CIA
pseudo-register addresses.
* sky-vu.h (vu_device, VectorUnitState): Merged structs.
(VectorUnitState.mflag): New field.
(VU_REG_{CMSAR0,CMSAR1,FBRST}) Added missing control registers.
* sky-vu.c (vu0_busy): New function.
(vu0_q_busy): New function.
(vu0_macro_issue): New function.
(vu0_micro_interlock_released): New function.
(vu0_busy_in_{micro,macro}_mode): Deleted stubs.
(vu0_macro_hazard_check): Deleted stubs.
(vu_attach): Adapted code to merged device & state struct.
(read_vu_special_reg): Compute VBS0/VBS1 bits in STAT register.
[ChangeLog]
start-sanitize-sky
Sun Apr 5 12:05:44 1998 Frank Ch. Eigler <fche@cygnus.com>
* interp.c (*): Adapt code to merged VU device & state structs.
(decode_coproc): Execute COP2 each macroinstruction without
pipelining, by stepping VU to completion state. Adapted to
read_vu_*_reg style of register access.
* mips.igen ([SL]QC2): Removed these COP2 instructions.
* r5900.igen ([SL]QC2): Transplanted these COP2 instructions here.
* sim-main.h (cop_[ls]q): Enclosed in TARGET_SKY guards.
end-sanitize-sky
Diffstat (limited to 'sim/mips/sim-main.h')
-rw-r--r-- | sim/mips/sim-main.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/sim/mips/sim-main.h b/sim/mips/sim-main.h index ded67cc..b710386 100644 --- a/sim/mips/sim-main.h +++ b/sim/mips/sim-main.h @@ -779,12 +779,16 @@ cop_sw (SD, CPU, cia, coproc_num, coproc_reg) cop_sd (SD, CPU, cia, coproc_num, coproc_reg) /* start-sanitize-sky */ -void cop_lq PARAMS ((SIM_DESC sd, sim_cpu *cpu, address_word cia, int coproc_num, int coproc_reg, unsigned128 memword)); -unsigned128 cop_sq PARAMS ((SIM_DESC sd, sim_cpu *cpu, address_word cia, int coproc_num, int coproc_reg)); +#ifdef TARGET_SKY +void cop_lq PARAMS ((SIM_DESC sd, sim_cpu *cpu, address_word cia, + int coproc_num, int coproc_reg, unsigned128 memword)); +unsigned128 cop_sq PARAMS ((SIM_DESC sd, sim_cpu *cpu, address_word cia, + int coproc_num, int coproc_reg)); #define COP_LQ(coproc_num,coproc_reg,memword) \ cop_lq (SD, CPU, cia, coproc_num, coproc_reg, memword) #define COP_SQ(coproc_num,coproc_reg) \ cop_sq (SD, CPU, cia, coproc_num, coproc_reg) +#endif /* TARGET_SKY */ /* end-sanitize-sky */ void decode_coproc PARAMS ((SIM_DESC sd, sim_cpu *cpu, address_word cia, unsigned int instruction)); |