1// -*- mode:c++ -*- 2 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 --- 68 unchanged lines hidden (view full) --- 77 MipsStaticInst *nop = new Nop(nop_str, inst->machInst); 78 delete inst; 79 return nop; 80 } 81}}; 82 83output exec {{ 84 Fault |
85 Nop::execute(ExecContext *, Trace::InstRecord *) const |
86 { 87 return NoFault; 88 } 89}}; 90 91// Int & FP operate instructions use RD as dest, so check for 92// RD == 0 to detect nops 93def template RegNopCheckDecode {{ --- 46 unchanged lines hidden --- |