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;

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

111 }
112
113 void setContext(FPSCR fpscr)
114 {
115 fpscrLen = fpscr.len;
116 fpscrStride = fpscr.stride;
117 }
118
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;

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

111 }
112
113 void setContext(FPSCR fpscr)
114 {
115 fpscrLen = fpscr.len;
116 fpscrStride = fpscr.stride;
117 }
118
119 void takeOverFrom(Decoder *old) {}
120
119 protected:
120 /// A cache of decoded instruction objects.
121 static GenericISA::BasicDecodeCache defaultCache;
122
123 public:
124 StaticInstPtr decodeInst(ExtMachInst mach_inst);
125
126 /// Decode a machine instruction.

--- 31 unchanged lines hidden ---
121 protected:
122 /// A cache of decoded instruction objects.
123 static GenericISA::BasicDecodeCache defaultCache;
124
125 public:
126 StaticInstPtr decodeInst(ExtMachInst mach_inst);
127
128 /// Decode a machine instruction.

--- 31 unchanged lines hidden ---