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; --- 67 unchanged lines hidden (view full) --- 76 // of real instructions for PISA) 77 inline size_t fetchInstSize() 78 { 79 return sizeof(MachInst); 80 } 81 82 /** 83 * Function to insure ISA semantics about 0 registers. |
84 * @param tc The thread context. |
85 */ |
86 template <class TC> 87 void zeroRegisters(TC *tc); |
88 89} // namespace SparcISA 90 91#endif |