unimp.isa (12234:78ece221f9f5) unimp.isa (12236:126ac9da6050)
1// -*- mode:c++ -*-
2
3// Copyright (c) 2007-2008 The Florida State University
4// Copyright (c) 2009 The University of Edinburgh
5// All rights reserved.
6//
7// Redistribution and use in source and binary forms, with or without
8// modification, are permitted provided that the following conditions are

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

50 FailUnimplemented(const char *_mnemonic, MachInst _machInst)
51 : PowerStaticInst(_mnemonic, _machInst, No_OpClass)
52 {
53 // don't call execute() (which panics) if we're on a
54 // speculative path
55 flags[IsNonSpeculative] = true;
56 }
57
1// -*- mode:c++ -*-
2
3// Copyright (c) 2007-2008 The Florida State University
4// Copyright (c) 2009 The University of Edinburgh
5// All rights reserved.
6//
7// Redistribution and use in source and binary forms, with or without
8// modification, are permitted provided that the following conditions are

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

50 FailUnimplemented(const char *_mnemonic, MachInst _machInst)
51 : PowerStaticInst(_mnemonic, _machInst, No_OpClass)
52 {
53 // don't call execute() (which panics) if we're on a
54 // speculative path
55 flags[IsNonSpeculative] = true;
56 }
57
58 %(BasicExecDeclare)s
58 Fault execute(ExecContext *, Trace::InstRecord *) const;
59
60 std::string
61 generateDisassembly(Addr pc, const SymbolTable *symtab) const;
62 };
63
64 /**
65 * Base class for unimplemented instructions that cause a warning
66 * to be printed (but do not terminate simulation). This

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

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

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

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

--- 49 unchanged lines hidden ---
90
91 std::string
92 generateDisassembly(Addr pc, const SymbolTable *symtab) const;
93 };
94}};
95
96output decoder {{
97 std::string

--- 49 unchanged lines hidden ---