diff options
author | Thiemo Seufer <ths@networkno.de> | 2006-08-29 12:45:26 +0000 |
---|---|---|
committer | Thiemo Seufer <ths@networkno.de> | 2006-08-29 12:45:26 +0000 |
commit | 2d2733fc966f64220d26a99caf9ed4cb0c075f5d (patch) | |
tree | 97b3fa9d50e0953bb281d480f81391de9e4d32da /sim/mips/sim-main.h | |
parent | d85c3a10ae895627d2adb6f446bcf5017f7002d7 (diff) | |
download | gdb-2d2733fc966f64220d26a99caf9ed4cb0c075f5d.zip gdb-2d2733fc966f64220d26a99caf9ed4cb0c075f5d.tar.gz gdb-2d2733fc966f64220d26a99caf9ed4cb0c075f5d.tar.bz2 |
* configure.ac (mipsisa32r2*-*-*, mipsisa32*-*-*): Add smartmips to
sim_igen_machine.
* configure: Regenerate.
* mips.igen (model): Add smartmips.
(MADDU): Increment ACX if carry.
(do_mult): Clear ACX.
(ROR,RORV): Add smartmips.
(include): Include smartmips.igen.
* sim-main.h (ACX): Set to REGISTERS[89].
* smartmips.igen: New file.
Diffstat (limited to 'sim/mips/sim-main.h')
-rw-r--r-- | sim/mips/sim-main.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sim/mips/sim-main.h b/sim/mips/sim-main.h index 76e6374..b300f07 100644 --- a/sim/mips/sim-main.h +++ b/sim/mips/sim-main.h @@ -348,6 +348,7 @@ struct _sim_cpu { #define Debug (REGISTERS[86]) #define DEPC (REGISTERS[87]) #define EPC (REGISTERS[88]) +#define ACX (REGISTERS[89]) #define AC0LOIDX (33) /* Must be the same register as LO */ #define AC0HIIDX (34) /* Must be the same register as HI */ |