1/* 2 * Copyright (c) 2007 The Hewlett-Packard Development Company 3 * All rights reserved. 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 27 unchanged lines hidden (view full) --- 36 * 37 * Authors: Gabe Black 38 */ 39 40#ifndef __ARCH_X86_INSTS_MACROOP_HH__ 41#define __ARCH_X86_INSTS_MACROOP_HH__ 42 43#include "arch/x86/emulenv.hh" |
44#include "arch/x86/insts/badmicroop.hh" |
45#include "arch/x86/types.hh" 46#include "arch/x86/insts/static_inst.hh" 47 48namespace X86ISA 49{ 50// Base class for combinationally generated macroops 51class MacroopBase : public X86StaticInst 52{ --- 19 unchanged lines hidden (view full) --- 72 delete [] microops; 73 } 74 75 StaticInstPtr * microops; 76 77 StaticInstPtr 78 fetchMicroop(MicroPC microPC) const 79 { |
80 if (microPC >= numMicroops) 81 return badMicroop; 82 else 83 return microops[microPC]; |
84 } 85 86 std::string 87 generateDisassembly(Addr pc, const SymbolTable *symtab) const 88 { 89 return mnemonic; 90 } 91 --- 16 unchanged lines hidden --- |