base.isa (12614:0bc465e1f5fb) base.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

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

50 : StaticInst(mnem, _machInst, __opClass)
51 {
52 }
53
54 /// Print a register name for disassembly given the unique
55 /// dependence tag number (FP or int).
56 void printReg(std::ostream &os, RegId reg) const;
57
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

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

50 : StaticInst(mnem, _machInst, __opClass)
51 {
52 }
53
54 /// Print a register name for disassembly given the unique
55 /// dependence tag number (FP or int).
56 void printReg(std::ostream &os, RegId reg) const;
57
58 std::string generateDisassembly(Addr pc, const SymbolTable *symtab) const;
58 std::string generateDisassembly(
59 Addr pc, const SymbolTable *symtab) const override;
59
60 public:
61 void
60
61 public:
62 void
62 advancePC(MipsISA::PCState &pc) const
63 advancePC(MipsISA::PCState &pc) const override
63 {
64 pc.advance();
65 }
66
67 size_t
68 asBytes(void *buf, size_t max_size) override
69 {
70 return simpleAsBytes(buf, max_size, machInst);

--- 54 unchanged lines hidden ---
64 {
65 pc.advance();
66 }
67
68 size_t
69 asBytes(void *buf, size_t max_size) override
70 {
71 return simpleAsBytes(buf, max_size, machInst);

--- 54 unchanged lines hidden ---