decoder.hh (9377:6f294e7a93d1) decoder.hh (9478:ba80f7d4f452)
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;

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

78 }
79
80 bool
81 instReady()
82 {
83 return instDone;
84 }
85
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;

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

78 }
79
80 bool
81 instReady()
82 {
83 return instDone;
84 }
85
86 void takeOverFrom(Decoder *old) {}
87
86 protected:
87 /// A cache of decoded instruction objects.
88 static GenericISA::BasicDecodeCache defaultCache;
89
90 public:
91 StaticInstPtr decodeInst(ExtMachInst mach_inst);
92
93 /// Decode a machine instruction.

--- 21 unchanged lines hidden ---
88 protected:
89 /// A cache of decoded instruction objects.
90 static GenericISA::BasicDecodeCache defaultCache;
91
92 public:
93 StaticInstPtr decodeInst(ExtMachInst mach_inst);
94
95 /// Decode a machine instruction.

--- 21 unchanged lines hidden ---