unimp.isa (12234:78ece221f9f5) unimp.isa (12236:126ac9da6050)
1// -*- mode:c++ -*-
2
3// Copyright (c) 2003-2005 The Regents of The University of Michigan
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, ExtMachInst _machInst)
49 : AlphaStaticInst(_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
1// -*- mode:c++ -*-
2
3// Copyright (c) 2003-2005 The Regents of The University of Michigan
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, ExtMachInst _machInst)
49 : AlphaStaticInst(_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 %(BasicExecDeclare)s
56 Fault execute(ExecContext *, Trace::InstRecord *) const;
57
58 std::string
59 generateDisassembly(Addr pc, const SymbolTable *symtab) const;
60 };
61
62 /**
63 * Base class for unimplemented instructions that cause a warning
64 * to be printed (but do not terminate simulation). This

--- 14 unchanged lines hidden (view full) ---

79 WarnUnimplemented(const char *_mnemonic, ExtMachInst _machInst)
80 : AlphaStaticInst(_mnemonic, _machInst, No_OpClass), warned(false)
81 {
82 // don't call execute() (which panics) if we're on a
83 // speculative path
84 flags[IsNonSpeculative] = true;
85 }
86
57
58 std::string
59 generateDisassembly(Addr pc, const SymbolTable *symtab) const;
60 };
61
62 /**
63 * Base class for unimplemented instructions that cause a warning
64 * to be printed (but do not terminate simulation). This

--- 14 unchanged lines hidden (view full) ---

79 WarnUnimplemented(const char *_mnemonic, ExtMachInst _machInst)
80 : AlphaStaticInst(_mnemonic, _machInst, No_OpClass), warned(false)
81 {
82 // don't call execute() (which panics) if we're on a
83 // speculative path
84 flags[IsNonSpeculative] = true;
85 }
86
87 %(BasicExecDeclare)s
87 Fault execute(ExecContext *, Trace::InstRecord *) const;
88
89 std::string
90 generateDisassembly(Addr pc, const SymbolTable *symtab) const;
91 };
92}};
93
94output decoder {{
95 std::string

--- 62 unchanged lines hidden (view full) ---

158 Unknown(ExtMachInst _machInst)
159 : AlphaStaticInst("unknown", _machInst, No_OpClass)
160 {
161 // don't call execute() (which panics) if we're on a
162 // speculative path
163 flags[IsNonSpeculative] = true;
164 }
165
88
89 std::string
90 generateDisassembly(Addr pc, const SymbolTable *symtab) const;
91 };
92}};
93
94output decoder {{
95 std::string

--- 62 unchanged lines hidden (view full) ---

158 Unknown(ExtMachInst _machInst)
159 : AlphaStaticInst("unknown", _machInst, No_OpClass)
160 {
161 // don't call execute() (which panics) if we're on a
162 // speculative path
163 flags[IsNonSpeculative] = true;
164 }
165
166 %(BasicExecDeclare)s
166 Fault execute(ExecContext *, Trace::InstRecord *) const;
167
168 std::string
169 generateDisassembly(Addr pc, const SymbolTable *symtab) const;
170 };
171}};
172
167
168 std::string
169 generateDisassembly(Addr pc, const SymbolTable *symtab) const;
170 };
171}};
172