isa_traits.hh (5543:3af77710f397) isa_traits.hh (5958:2d9737bf3c2f)
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;

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

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
70 // the rest of these depend on the ABI
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;

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

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
70 // the rest of these depend on the ABI
71 const int StackPointerReg = 14;
72 const int ReturnAddressReg = 31; // post call, precall is 15
71 const int ReturnAddressReg = 31; // post call, precall is 15
73 const int ReturnValueReg = 8; // Post return, 24 is pre-return.
72 const int StackPointerReg = 14;
74 const int FramePointerReg = 30;
75
73 const int FramePointerReg = 30;
74
76 const int ArgumentReg[] = {8, 9, 10, 11, 12, 13};
77 const int NumArgumentRegs = sizeof(ArgumentReg) / sizeof(const int);
78
79 // Some OS syscall use a second register (o1) to return a second value
75 // Some OS syscall use a second register (o1) to return a second value
80 const int SyscallPseudoReturnReg = ArgumentReg[1];
76 const int SyscallPseudoReturnReg = 9;
81
82 //8K. This value is implmentation specific; and should probably
83 //be somewhere else.
84 const int LogVMPageSize = 13;
85 const int VMPageSize = (1 << LogVMPageSize);
86
87 // real address virtual mapping
88 // sort of like alpha super page, but less frequently used

--- 40 unchanged lines hidden ---
77
78 //8K. This value is implmentation specific; and should probably
79 //be somewhere else.
80 const int LogVMPageSize = 13;
81 const int VMPageSize = (1 << LogVMPageSize);
82
83 // real address virtual mapping
84 // sort of like alpha super page, but less frequently used

--- 40 unchanged lines hidden ---