control.isa (12234:78ece221f9f5) control.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

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

42 protected:
43
44 /// Constructor
45 CP0Control(const char *mnem, MachInst _machInst, OpClass __opClass) :
46 MipsStaticInst(mnem, _machInst, __opClass)
47 {
48 }
49
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

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

42 protected:
43
44 /// Constructor
45 CP0Control(const char *mnem, MachInst _machInst, OpClass __opClass) :
46 MipsStaticInst(mnem, _machInst, __opClass)
47 {
48 }
49
50 std::string generateDisassembly(Addr pc, const SymbolTable *symtab) const;
50 std::string generateDisassembly(
51 Addr pc, const SymbolTable *symtab) const override;
51 };
52 class CP0TLB : public MipsStaticInst
53 {
54 protected:
55
56 /// Constructor
57 CP0TLB(const char *mnem, MachInst _machInst, OpClass __opClass) :
58 MipsStaticInst(mnem, _machInst, __opClass)
59 {
60 }
61
52 };
53 class CP0TLB : public MipsStaticInst
54 {
55 protected:
56
57 /// Constructor
58 CP0TLB(const char *mnem, MachInst _machInst, OpClass __opClass) :
59 MipsStaticInst(mnem, _machInst, __opClass)
60 {
61 }
62
62 std::string generateDisassembly(Addr pc, const SymbolTable *symtab) const;
63 std::string generateDisassembly(
64 Addr pc, const SymbolTable *symtab) const override;
63 };
64
65
66 class CP1Control : public MipsStaticInst
67 {
68 protected:
69
70 /// Constructor
71 CP1Control(const char *mnem, MachInst _machInst, OpClass __opClass) :
72 MipsStaticInst(mnem, _machInst, __opClass)
73 {
74 }
75
65 };
66
67
68 class CP1Control : public MipsStaticInst
69 {
70 protected:
71
72 /// Constructor
73 CP1Control(const char *mnem, MachInst _machInst, OpClass __opClass) :
74 MipsStaticInst(mnem, _machInst, __opClass)
75 {
76 }
77
76 std::string generateDisassembly(Addr pc, const SymbolTable *symtab) const;
78 std::string generateDisassembly(
79 Addr pc, const SymbolTable *symtab) const override;
77 };
78
79}};
80
81// Basic instruction class execute method template.
82def template CP0Execute {{
83 Fault %(class_name)s::execute(
84 ExecContext *xc, Trace::InstRecord *traceData) const

--- 173 unchanged lines hidden ---
80 };
81
82}};
83
84// Basic instruction class execute method template.
85def template CP0Execute {{
86 Fault %(class_name)s::execute(
87 ExecContext *xc, Trace::InstRecord *traceData) const

--- 173 unchanged lines hidden ---