utility.hh (4181:6edaeff44647) | utility.hh (4182:5b2c0d266107) |
---|---|
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 --- 73 unchanged lines hidden (view full) --- 82 static inline size_t fetchInstSize() { 83 return sizeof(MachInst); 84 } 85 86 static inline MachInst makeRegisterCopy(int dest, int src) { 87 panic("makeRegisterCopy not implemented"); 88 return 0; 89 } | 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 --- 73 unchanged lines hidden (view full) --- 82 static inline size_t fetchInstSize() { 83 return sizeof(MachInst); 84 } 85 86 static inline MachInst makeRegisterCopy(int dest, int src) { 87 panic("makeRegisterCopy not implemented"); 88 return 0; 89 } |
90 91 enum PredecodeResult { 92 MoreBytes = 1, 93 ExtMIReady = 2 94 }; 95 96 static inline unsigned int 97 predecode(ExtMachInst &emi, Addr, MachInst inst, ThreadContext *) { 98 emi = inst; 99 return MoreBytes | ExtMIReady; 100 } | |
101}; 102 103 104#endif | 90}; 91 92 93#endif |