diff options
author | Yunsup Lee <yunsup@cs.berkeley.edu> | 2013-10-16 14:26:59 -0700 |
---|---|---|
committer | Yunsup Lee <yunsup@cs.berkeley.edu> | 2013-10-16 14:26:59 -0700 |
commit | 38c39525ac0373b459a5d7dfd4c707affaed7efe (patch) | |
tree | c651162614ec008cdc14f3cfc5e63859ffd3d68c /hwacha/hwacha.cc | |
parent | 196370f186778e149c0002b73249750e530c8dc7 (diff) | |
download | riscv-isa-sim-38c39525ac0373b459a5d7dfd4c707affaed7efe.zip riscv-isa-sim-38c39525ac0373b459a5d7dfd4c707affaed7efe.tar.gz riscv-isa-sim-38c39525ac0373b459a5d7dfd4c707affaed7efe.tar.bz2 |
use uint32_t for vl
Diffstat (limited to 'hwacha/hwacha.cc')
-rw-r--r-- | hwacha/hwacha.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hwacha/hwacha.cc b/hwacha/hwacha.cc index 8eff59c..61282d3 100644 --- a/hwacha/hwacha.cc +++ b/hwacha/hwacha.cc @@ -37,7 +37,7 @@ std::vector<insn_desc_t> hwacha_t::get_instructions() bool hwacha_t::vf_active() { - for (int i=0; i<get_ct_state()->vl; i++) { + for (uint32_t i=0; i<get_ct_state()->vl; i++) { if (get_ut_state(i)->run) return true; } |