noop.isa (12236:126ac9da6050) | noop.isa (12616:4b463b4dc098) |
---|---|
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 --- 39 unchanged lines hidden (view full) --- 48 : MipsStaticInst("nop", _machInst, No_OpClass), 49 originalDisassembly(_originalDisassembly) 50 { 51 flags[IsNop] = true; 52 } 53 54 ~Nop() { } 55 | 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 --- 39 unchanged lines hidden (view full) --- 48 : MipsStaticInst("nop", _machInst, No_OpClass), 49 originalDisassembly(_originalDisassembly) 50 { 51 flags[IsNop] = true; 52 } 53 54 ~Nop() { } 55 |
56 std::string 57 generateDisassembly(Addr pc, const SymbolTable *symtab) const; | 56 std::string generateDisassembly( 57 Addr pc, const SymbolTable *symtab) const override; |
58 | 58 |
59 Fault execute(ExecContext *, Trace::InstRecord *) const; | 59 Fault execute(ExecContext *, Trace::InstRecord *) const override; |
60 }; 61}}; 62 63output decoder {{ 64 std::string Nop::generateDisassembly(Addr pc, 65 const SymbolTable *symtab) const 66 { 67 return csprintf("%-10s %s", "nop", originalDisassembly); --- 72 unchanged lines hidden --- | 60 }; 61}}; 62 63output decoder {{ 64 std::string Nop::generateDisassembly(Addr pc, 65 const SymbolTable *symtab) const 66 { 67 return csprintf("%-10s %s", "nop", originalDisassembly); --- 72 unchanged lines hidden --- |