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 FailUnimplemented(const char *_mnemonic, MachInst _machInst) 49 : MipsStaticInst(_mnemonic, _machInst, No_OpClass) 50 { 51 // don't call execute() (which panics) if we're on a 52 // speculative path 53 flags[IsNonSpeculative] = true; 54 } 55 |
56 Fault execute(ExecContext *, Trace::InstRecord *) const; |
57 58 std::string 59 generateDisassembly(Addr pc, const SymbolTable *symtab) const; 60 }; 61 class CP0Unimplemented : public MipsStaticInst 62 { 63 public: 64 /// Constructor 65 CP0Unimplemented(const char *_mnemonic, MachInst _machInst) 66 : MipsStaticInst(_mnemonic, _machInst, No_OpClass) 67 { 68 // don't call execute() (which panics) if we're on a 69 // speculative path 70 flags[IsNonSpeculative] = true; 71 } 72 |
73 Fault execute(ExecContext *, Trace::InstRecord *) const; |
74 75 std::string 76 generateDisassembly(Addr pc, const SymbolTable *symtab) const; 77 }; 78 class CP1Unimplemented : public MipsStaticInst 79 { 80 public: 81 /// Constructor 82 CP1Unimplemented(const char *_mnemonic, MachInst _machInst) 83 : MipsStaticInst(_mnemonic, _machInst, No_OpClass) 84 { 85 // don't call execute() (which panics) if we're on a 86 // speculative path 87 flags[IsNonSpeculative] = true; 88 } 89 |
90 Fault execute(ExecContext *, Trace::InstRecord *) const; |
91 92 std::string 93 generateDisassembly(Addr pc, const SymbolTable *symtab) const; 94 }; 95 class CP2Unimplemented : public MipsStaticInst 96 { 97 public: 98 /// Constructor 99 CP2Unimplemented(const char *_mnemonic, MachInst _machInst) 100 : MipsStaticInst(_mnemonic, _machInst, No_OpClass) 101 { 102 // don't call execute() (which panics) if we're on a 103 // speculative path 104 flags[IsNonSpeculative] = true; 105 } 106 |
107 Fault execute(ExecContext *, Trace::InstRecord *) const; |
108 109 std::string 110 generateDisassembly(Addr pc, const SymbolTable *symtab) const; 111 }; 112 113 /** 114 * Base class for unimplemented instructions that cause a warning 115 * to be printed (but do not terminate simulation). This --- 14 unchanged lines hidden (view full) --- 130 WarnUnimplemented(const char *_mnemonic, MachInst _machInst) 131 : MipsStaticInst(_mnemonic, _machInst, No_OpClass), warned(false) 132 { 133 // don't call execute() (which panics) if we're on a 134 // speculative path 135 flags[IsNonSpeculative] = true; 136 } 137 |
138 Fault execute(ExecContext *, Trace::InstRecord *) const; |
139 140 std::string 141 generateDisassembly(Addr pc, const SymbolTable *symtab) const; 142 }; 143}}; 144 145output decoder {{ 146 std::string --- 132 unchanged lines hidden --- |