Deleted Added
sdiff udiff text old ( 9023:e9201a7bce59 ) new ( 9024:5851586f399c )
full compact
1/*
2 * Copyright (c) 2012 Google
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

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

26 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 *
28 * Authors: Gabe Black
29 */
30
31#ifndef __ARCH_POWER_DECODER_HH__
32#define __ARCH_POWER_DECODER_HH__
33
34#include "arch/types.hh"
35#include "cpu/decode_cache.hh"
36#include "cpu/static_inst_fwd.hh"
37
38namespace PowerISA
39{
40
41class Decoder
42{
43 protected:
44 ThreadContext * tc;
45

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

100
101 bool
102 instReady()
103 {
104 return instDone;
105 }
106 protected:
107 /// A cache of decoded instruction objects.
108 static DecodeCache defaultCache;
109
110 public:
111 StaticInstPtr decodeInst(ExtMachInst mach_inst);
112
113 /// Decode a machine instruction.
114 /// @param mach_inst The binary instruction to decode.
115 /// @retval A pointer to the corresponding StaticInst object.
116 StaticInstPtr

--- 18 unchanged lines hidden ---