fp.isa (12234:78ece221f9f5) | fp.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 --- 32 unchanged lines hidden (view full) --- 41 { 42 protected: 43 44 /// Constructor 45 FPOp(const char *mnem, MachInst _machInst, OpClass __opClass) : MipsStaticInst(mnem, _machInst, __opClass) 46 { 47 } 48 | 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 --- 32 unchanged lines hidden (view full) --- 41 { 42 protected: 43 44 /// Constructor 45 FPOp(const char *mnem, MachInst _machInst, OpClass __opClass) : MipsStaticInst(mnem, _machInst, __opClass) 46 { 47 } 48 |
49 //std::string generateDisassembly(Addr pc, const SymbolTable *symtab) const; 50 | |
51 //needs function to check for fpEnable or not 52 }; 53 54 class FPCompareOp : public FPOp 55 { 56 protected: 57 FPCompareOp(const char *mnem, MachInst _machInst, OpClass __opClass) : FPOp(mnem, _machInst, __opClass) 58 { 59 } 60 | 49 //needs function to check for fpEnable or not 50 }; 51 52 class FPCompareOp : public FPOp 53 { 54 protected: 55 FPCompareOp(const char *mnem, MachInst _machInst, OpClass __opClass) : FPOp(mnem, _machInst, __opClass) 56 { 57 } 58 |
61 std::string generateDisassembly(Addr pc, const SymbolTable *symtab) const; 62 | 59 std::string generateDisassembly( 60 Addr pc, const SymbolTable *symtab) const override; |
63 }; 64}}; 65 66output decoder {{ 67 std::string FPCompareOp::generateDisassembly(Addr pc, const SymbolTable *symtab) const 68 { 69 std::stringstream ss; 70 --- 306 unchanged lines hidden --- | 61 }; 62}}; 63 64output decoder {{ 65 std::string FPCompareOp::generateDisassembly(Addr pc, const SymbolTable *symtab) const 66 { 67 std::stringstream ss; 68 --- 306 unchanged lines hidden --- |