sky-vu.[ch]: prototype decls, cast floats to ints before register transfer

interp.c: integrate VU register read/writes
sim-main.h : track tm-txvu.h
This commit is contained in:
Ron Unrau
1998-04-01 17:31:24 +00:00
parent 08eefd3ef1
commit 2151467d63
2 changed files with 152 additions and 54 deletions

View File

@@ -513,10 +513,11 @@ struct _sim_cpu {
#ifndef TM_TXVU_H
/* Number of machine registers */
#define NUM_VU_REGS 153
#define NUM_VU_INTEGER_REGS 17
#define NUM_VU_REGS 153
#define NUM_VU_INTEGER_REGS 16
#define NUM_R5900_REGS 128
#define FIRST_VEC_REG 25
#define NUM_R5900_REGS 128
#undef NUM_REGS
#define NUM_REGS (NUM_R5900_REGS + 2*(NUM_VU_REGS))