isa_traits.hh (5228:b08c9c42907a) isa_traits.hh (5543:3af77710f397)
1/*
2 * Copyright (c) 2003-2005 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

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

61
62 // These enumerate all the registers for dependence tracking.
63 enum DependenceTags {
64 FP_Base_DepTag = 32*3+9,
65 Ctrl_Base_DepTag = FP_Base_DepTag + 64
66 };
67
68 // semantically meaningful register indices
1/*
2 * Copyright (c) 2003-2005 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

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

61
62 // These enumerate all the registers for dependence tracking.
63 enum DependenceTags {
64 FP_Base_DepTag = 32*3+9,
65 Ctrl_Base_DepTag = FP_Base_DepTag + 64
66 };
67
68 // semantically meaningful register indices
69 const int ZeroReg = 0; // architecturally meaningful
69 const int ZeroReg = 0; // architecturally meaningful
70 // the rest of these depend on the ABI
71 const int StackPointerReg = 14;
72 const int ReturnAddressReg = 31; // post call, precall is 15
73 const int ReturnValueReg = 8; // Post return, 24 is pre-return.
74 const int FramePointerReg = 30;
75
76 const int ArgumentReg[] = {8, 9, 10, 11, 12, 13};
77 const int NumArgumentRegs = sizeof(ArgumentReg) / sizeof(const int);

--- 51 unchanged lines hidden ---
70 // the rest of these depend on the ABI
71 const int StackPointerReg = 14;
72 const int ReturnAddressReg = 31; // post call, precall is 15
73 const int ReturnValueReg = 8; // Post return, 24 is pre-return.
74 const int FramePointerReg = 30;
75
76 const int ArgumentReg[] = {8, 9, 10, 11, 12, 13};
77 const int NumArgumentRegs = sizeof(ArgumentReg) / sizeof(const int);

--- 51 unchanged lines hidden ---