New revision from Andrew
[deliverable/binutils-gdb.git] / sim / ppc / ppc-cache-rules
CommitLineData
5b4d72dd
MM
1#
2# This file is part of the program psim.
3#
4# Copyright (C) 1994-1995, Andrew Cagney <cagney@highland.com.au>
5#
6# This program is free software; you can redistribute it and/or modify
7# it under the terms of the GNU General Public License as published by
8# the Free Software Foundation; either version 2 of the License, or
9# (at your option) any later version.
10#
11# This program is distributed in the hope that it will be useful,
12# but WITHOUT ANY WARRANTY; without even the implied warranty of
13# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14# GNU General Public License for more details.
15#
16# You should have received a copy of the GNU General Public License
17# along with this program; if not, write to the Free Software
18# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
19#
30c87b55
MM
20cache:RA:RA::
21cache:RA:rA:signed_word *:(cpu_registers(processor)->gpr + RA)
22cache:RA:RA_BITMASK:unsigned32:(1 << RA)
23cache:RT:RT::
24cache:RT:rT:signed_word *:(cpu_registers(processor)->gpr + RT)
25cache:RT:RT_BITMASK:unsigned32:(1 << RT)
2e913166 26cache:RS:RS::
30c87b55
MM
27cache:RS:rS:signed_word *:(cpu_registers(processor)->gpr + RS)
28cache:RS:RS_BITMASK:unsigned32:(1 << RS)
2e913166 29cache:RB:RB::
30c87b55
MM
30cache:RB:rB:signed_word *:(cpu_registers(processor)->gpr + RB)
31cache:RB:RB_BITMASK:unsigned32:(1 << RB)
32compute:FRA:FRA::
33cache:FRA:frA:unsigned64 *:(cpu_registers(processor)->fpr + FRA)
34cache:FRA:FRA_BITMASK:unsigned32:(1 << FRA)
35compute:FRB:FRB::
36cache:FRB:frB:unsigned64 *:(cpu_registers(processor)->fpr + FRB)
37cache:FRB:FRB_BITMASK:unsigned32:(1 << FRB)
38compute:FRC:FRC::
39cache:FRC:frC:unsigned64 *:(cpu_registers(processor)->fpr + FRC)
40cache:FRC:FRC_BITMASK:unsigned32:(1 << FRC)
41compute:FRS:FRS::
42cache:FRS:frS:unsigned64 *:(cpu_registers(processor)->fpr + FRS)
43cache:FRS:FRS_BITMASK:unsigned32:(1 << FRS)
44compute:FRT:FRT::
45cache:FRT:frT:unsigned64 *:(cpu_registers(processor)->fpr + FRT)
46cache:FRT:FRT_BITMASK:unsigned32:(1 << FRT)
47cache:SI:EXTS_SI:unsigned_word:((signed_word)(signed16)instruction)
48compute:BI:BI::
49cache:BI:BIT32_BI::BIT32(BI)
50cache:BF:BF::
51cache:BF:BF_BITMASK:unsigned32:(1 << BF)
52compute:BA:BA::
53cache:BA:BIT32_BA::BIT32(BA)
54cache:BA:BA_BITMASK:unsigned32:(1 << BA)
55compute:BB:BB::
56cache:BB:BIT32_BB::BIT32(BB)
57cache:BB:BB_BITMASK:unsigned32:(1 << BB)
58cache:BT:BT::
59cache:BT:BT_BITMASK:unsigned32:(1 << BT)
60cache:BD:EXTS_BD_0b00:unsigned_word:(((signed_word)(signed16)instruction) & ~3)
61cache:LI:EXTS_LI_0b00:unsigned_word:((((signed_word)(signed32)(instruction << 6)) >> 6) & ~0x3)
62cache:D:EXTS_D:unsigned_word:((signed_word)(signed16)(instruction))
63cache:DS:EXTS_DS_0b00:unsigned_word:(((signed_word)(signed16)instruction) & ~0x3)
This page took 0.069798 seconds and 4 git commands to generate.