static_inst.hh (7725:00ea9430643b) static_inst.hh (7784:e7649570ff3a)
1/*
2 * Copyright (c) 2003-2005 The Regents of The University of Michigan
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;

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

153 IsMacroop, ///< Is a macroop containing microops
154 IsMicroop, ///< Is a microop
155 IsDelayedCommit, ///< This microop doesn't commit right away
156 IsLastMicroop, ///< This microop ends a microop sequence
157 IsFirstMicroop, ///< This microop begins a microop sequence
158 //This flag doesn't do anything yet
159 IsMicroBranch, ///< This microop branches within the microcode for a macroop
160 IsDspOp,
1/*
2 * Copyright (c) 2003-2005 The Regents of The University of Michigan
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;

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

153 IsMacroop, ///< Is a macroop containing microops
154 IsMicroop, ///< Is a microop
155 IsDelayedCommit, ///< This microop doesn't commit right away
156 IsLastMicroop, ///< This microop ends a microop sequence
157 IsFirstMicroop, ///< This microop begins a microop sequence
158 //This flag doesn't do anything yet
159 IsMicroBranch, ///< This microop branches within the microcode for a macroop
160 IsDspOp,
161
161 IsSquashAfter, ///< Squash all uncommitted state after executed
162 NumFlags
163 };
164
165 protected:
166
167 /// Flag values for this instruction.
168 std::bitset<NumFlags> flags;
169

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

243 bool isCondDelaySlot() const { return flags[IsCondDelaySlot]; }
244
245 bool isThreadSync() const { return flags[IsThreadSync]; }
246 bool isSerializing() const { return flags[IsSerializing] ||
247 flags[IsSerializeBefore] ||
248 flags[IsSerializeAfter]; }
249 bool isSerializeBefore() const { return flags[IsSerializeBefore]; }
250 bool isSerializeAfter() const { return flags[IsSerializeAfter]; }
162 NumFlags
163 };
164
165 protected:
166
167 /// Flag values for this instruction.
168 std::bitset<NumFlags> flags;
169

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

243 bool isCondDelaySlot() const { return flags[IsCondDelaySlot]; }
244
245 bool isThreadSync() const { return flags[IsThreadSync]; }
246 bool isSerializing() const { return flags[IsSerializing] ||
247 flags[IsSerializeBefore] ||
248 flags[IsSerializeAfter]; }
249 bool isSerializeBefore() const { return flags[IsSerializeBefore]; }
250 bool isSerializeAfter() const { return flags[IsSerializeAfter]; }
251 bool isSquashAfter() const { return flags[IsSquashAfter]; }
251 bool isMemBarrier() const { return flags[IsMemBarrier]; }
252 bool isWriteBarrier() const { return flags[IsWriteBarrier]; }
253 bool isNonSpeculative() const { return flags[IsNonSpeculative]; }
254 bool isQuiesce() const { return flags[IsQuiesce]; }
255 bool isIprAccess() const { return flags[IsIprAccess]; }
256 bool isUnverifiable() const { return flags[IsUnverifiable]; }
257 bool isSyscall() const { return flags[IsSyscall]; }
258 bool isMacroop() const { return flags[IsMacroop]; }

--- 388 unchanged lines hidden ---
252 bool isMemBarrier() const { return flags[IsMemBarrier]; }
253 bool isWriteBarrier() const { return flags[IsWriteBarrier]; }
254 bool isNonSpeculative() const { return flags[IsNonSpeculative]; }
255 bool isQuiesce() const { return flags[IsQuiesce]; }
256 bool isIprAccess() const { return flags[IsIprAccess]; }
257 bool isUnverifiable() const { return flags[IsUnverifiable]; }
258 bool isSyscall() const { return flags[IsSyscall]; }
259 bool isMacroop() const { return flags[IsMacroop]; }

--- 388 unchanged lines hidden ---