Deleted Added
sdiff udiff text old ( 7642:05e445521db9 ) new ( 7649:a6a6177a5ffa )
full compact
1/*
2 * Copyright (c) 2010 ARM Limited
3 * All rights reserved
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software
9 * licensed hereunder. You may use the software subject to the license
10 * terms below provided that you ensure that this notice is replicated
11 * unmodified and in its entirety in all distributions of the software,
12 * modified or unmodified, in source code or in binary form.
13 *
14 * Copyright (c) 2007-2008 The Florida State University
15 * All rights reserved.
16 *
17 * Redistribution and use in source and binary forms, with or without
18 * modification, are permitted provided that the following conditions are
19 * met: redistributions of source code must retain the above copyright
20 * notice, this list of conditions and the following disclaimer;
21 * redistributions in binary form must reproduce the above copyright

--- 44 unchanged lines hidden (view full) ---

66// Constants Related to the number of registers
67const int NumIntArchRegs = NUM_ARCH_INTREGS;
68// The number of single precision floating point registers
69const int NumFloatArchRegs = 64;
70const int NumFloatSpecialRegs = 8;
71
72const int NumIntRegs = NUM_INTREGS;
73const int NumFloatRegs = NumFloatArchRegs + NumFloatSpecialRegs;
74const int NumMiscRegs = NUM_MISCREGS;
75
76const int TotalNumRegs = NumIntRegs + NumFloatRegs + NumMiscRegs;
77
78// semantically meaningful register indices
79const int ReturnValueReg = 0;
80const int ReturnValueReg1 = 1;
81const int ReturnValueReg2 = 2;
82const int ArgumentReg0 = 0;
83const int ArgumentReg1 = 1;
84const int ArgumentReg2 = 2;

--- 7 unchanged lines hidden (view full) ---

92
93const int SyscallNumReg = ReturnValueReg;
94const int SyscallPseudoReturnReg = ReturnValueReg;
95const int SyscallSuccessReg = ReturnValueReg;
96
97// These help enumerate all the registers for dependence tracking.
98const int FP_Base_DepTag = NumIntRegs * (MODE_MAXMODE + 1);
99const int Ctrl_Base_DepTag = FP_Base_DepTag + NumFloatRegs;
100const int Max_DepTag = Ctrl_Base_DepTag + NumMiscRegs;
101
102typedef union {
103 IntReg intreg;
104 FloatReg fpreg;
105 MiscReg ctrlreg;
106} AnyReg;
107
108} // namespace ArmISA
109
110#endif