diff options
author | Iru Cai <mytbk920423@gmail.com> | 2019-02-28 17:07:16 +0800 |
---|---|---|
committer | Iru Cai <mytbk920423@gmail.com> | 2019-03-18 15:11:44 +0800 |
commit | ce003b28a15104574bed634923564a6bd910898d (patch) | |
tree | d4ac3b5be20f0354e717a4854f981d4a4c21065b /src/cpu/static_inst.hh | |
parent | 4cc9473c971650153d148b74ad67e50e54828a99 (diff) | |
download | gem5-ce003b28a15104574bed634923564a6bd910898d.tar.xz |
invisispec-1.0 source
Diffstat (limited to 'src/cpu/static_inst.hh')
-rw-r--r-- | src/cpu/static_inst.hh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cpu/static_inst.hh b/src/cpu/static_inst.hh index 79f45d828..8e98eb940 100644 --- a/src/cpu/static_inst.hh +++ b/src/cpu/static_inst.hh @@ -166,6 +166,7 @@ class StaticInst : public RefCounted, public StaticInstFlags bool isSerializing() const { return flags[IsSerializing] || flags[IsSerializeBefore] || flags[IsSerializeAfter]; } + bool isBlock() const { return flags[IsBlock]; } // add attribute for blocking issue stage [mengjia] bool isSerializeBefore() const { return flags[IsSerializeBefore]; } bool isSerializeAfter() const { return flags[IsSerializeAfter]; } bool isSquashAfter() const { return flags[IsSquashAfter]; } |