isa_traits.hh (9329:3fe8438cbcfc) | isa_traits.hh (10318:98771a936b61) |
---|---|
1/* 2 * Copyright (c) 2003-2005 The Regents of The University of Michigan 3 * Copyright (c) 2007 MIPS Technologies, Inc. 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions are 8 * met: redistributions of source code must retain the above copyright --- 131 unchanged lines hidden (view full) --- 140 mode_user = 2, // user mode 141 mode_debug = 3, // debug mode 142 mode_number // number of modes 143}; 144 145// return a no-op instruction... used for instruction fetch faults 146const ExtMachInst NoopMachInst = 0x00000000; 147 | 1/* 2 * Copyright (c) 2003-2005 The Regents of The University of Michigan 3 * Copyright (c) 2007 MIPS Technologies, Inc. 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions are 8 * met: redistributions of source code must retain the above copyright --- 131 unchanged lines hidden (view full) --- 140 mode_user = 2, // user mode 141 mode_debug = 3, // debug mode 142 mode_number // number of modes 143}; 144 145// return a no-op instruction... used for instruction fetch faults 146const ExtMachInst NoopMachInst = 0x00000000; 147 |
148const int LogVMPageSize = 13; // 8K bytes 149const int VMPageSize = (1 << LogVMPageSize); 150 151const int BranchPredAddrShiftAmt = 2; // instructions are 4-byte aligned 152 153const int MachineBytes = 4; 154const int WordBytes = 4; 155const int HalfwordBytes = 2; 156const int ByteBytes = 1; 157 | |
158const int ANNOTE_NONE = 0; 159const uint32_t ITOUCH_ANNOTE = 0xffffffff; 160 161const bool HasUnalignedMemAcc = true; 162 163const bool CurThreadInfoImplemented = false; 164const int CurThreadInfoReg = -1; 165 166} // namespace MipsISA 167 168#endif // __ARCH_MIPS_ISA_TRAITS_HH__ | 148const int ANNOTE_NONE = 0; 149const uint32_t ITOUCH_ANNOTE = 0xffffffff; 150 151const bool HasUnalignedMemAcc = true; 152 153const bool CurThreadInfoImplemented = false; 154const int CurThreadInfoReg = -1; 155 156} // namespace MipsISA 157 158#endif // __ARCH_MIPS_ISA_TRAITS_HH__ |