345d88d96e
Written by matthew green <mrg@redhat.com>, with fixes from Aldy Hernandez <aldyh@redhat.com>, Jim Wilson <wilson@redhat.com>, and Nick Clifton <nickc@redhat.com>. * ppc-instructions: Include altivec.igen and e500.igen. (model_busy, model_data): Add vr_busy and vscr_busy. (model_trace_release): Trace vr_busy and vscr_busy. (model_new_cycle): Update vr_busy and vscr_busy. (model_make_busy): Update vr_busy and vscr_busy. * registers.c (register_description): Add Altivec and e500 registers. * psim.c (psim_read_register, psim_read_register): Handle Altivec and e500 registers. * ppc-spr-table (SPEFSCR): Add VRSAVE and SPEFSCR registers. * configure.in (sim_filter): When *altivec* add "av". When *spe* or *simd* add e500. (sim_float): When *altivec* define WITH_ALTIVEC. When *spe* add WITH_E500. * configure: Re-generate. * e500.igen, altivec.igen: New files. * e500_expression.h, altivec_expression.h: New files. * idecode_expression.h: Update copyright. Include "e500_expression.h" and "altivec_expression.h". * e500_registers.h, altivec_registers.h: New files. * registers.h: Update copyright. Include "e500_registers.h" and "altivec_registers.h". (registers): Add Altivec and e500 specific registers. * Makefile.in (IDECODE_H): Add "idecode_e500.h" and "idecode_altivec.h". (REGISTERS_H): Add "e500_registers.h" and "altivec_registers.h". (tmp-igen): Add dependencies on altivec.igen and e500.igen .
92 lines
1.8 KiB
Plaintext
92 lines
1.8 KiB
Plaintext
#
|
|
# This file is part of the program psim.
|
|
#
|
|
# Copyright (C) 1994-1995, Andrew Cagney <cagney@highland.com.au>
|
|
#
|
|
# This program is free software; you can redistribute it and/or modify
|
|
# it under the terms of the GNU General Public License as published by
|
|
# the Free Software Foundation; either version 2 of the License, or
|
|
# (at your option) any later version.
|
|
#
|
|
# This program is distributed in the hope that it will be useful,
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
# GNU General Public License for more details.
|
|
#
|
|
# You should have received a copy of the GNU General Public License
|
|
# along with this program; if not, write to the Free Software
|
|
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
#
|
|
|
|
# Name:reg-nr:read-only:length
|
|
MQ:0:0:0
|
|
XER:1:0:0
|
|
RTCU:4:0:0
|
|
RTCL:5:0:0
|
|
LR:8:0:0
|
|
CTR:9:0:0
|
|
DSISR:18:0:0
|
|
DAR:19:0:0
|
|
DEC:22:0:0
|
|
SDR1:25:0:0
|
|
SRR0:26:0:0
|
|
SRR1:27:0:0
|
|
VRSAVE:256:0:0
|
|
SPRG0:272:0:0
|
|
SPRG1:273:0:0
|
|
SPRG2:274:0:0
|
|
SPRG3:275:0:0
|
|
EAR:282:0:0
|
|
TBL:284:0:0
|
|
TBU:285:0:0
|
|
PVR:287:0:0
|
|
SPEFSCR:512:0:0
|
|
IBAT0U:528:0:0
|
|
IBAT0L:529:0:0
|
|
IBAT1U:530:0:0
|
|
IBAT1L:531:0:0
|
|
IBAT2U:532:0:0
|
|
IBAT2L:533:0:0
|
|
IBAT3U:534:0:0
|
|
IBAT3L:535:0:0
|
|
DBAT0U:536:0:0
|
|
DBAT0L:537:0:0
|
|
DBAT1U:538:0:0
|
|
DBAT1L:539:0:0
|
|
DBAT2U:540:0:0
|
|
DBAT2L:541:0:0
|
|
DBAT3U:542:0:0
|
|
DBAT3L:543:0:0
|
|
UMMCR0:936:0:0
|
|
UMMCR1:940:0:0
|
|
UPMC1:937:0:0
|
|
UPMC2:938:0:0
|
|
USIA:939:0:0
|
|
UPMC3:941:0:0
|
|
UPMC4:942:0:0
|
|
MMCR0:952:0:0
|
|
PMC1:953:0:0
|
|
PMC2:954:0:0
|
|
SIA:955:0:0
|
|
MMCR1:956:0:0
|
|
PMC3:957:0:0
|
|
PMC4:958:0:0
|
|
SDA:959:0:0
|
|
DMISS:976:0:0
|
|
DCMP:977:0:0
|
|
HASH1:978:0:0
|
|
HASH2:979:0:0
|
|
IMISS:980:0:0
|
|
ICMP:981:0:0
|
|
RPA:982:0:0
|
|
HID0:1008:0:0
|
|
HID1:1009:0:0
|
|
IABR:1010:0:0
|
|
DABR:1013:0:0
|
|
L2CR:1017:0:0
|
|
ICTC:1019:0:0
|
|
THRM1:1020:0:0
|
|
THRM2:1021:0:0
|
|
THRM3:1022:0:0
|
|
PIR:1023:0:0
|