projects
/
riscv-isa-sim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
196370f
)
use uint32_t for vl
author
Yunsup Lee
<yunsup@cs.berkeley.edu>
Wed, 16 Oct 2013 21:26:59 +0000
(14:26 -0700)
committer
Yunsup Lee
<yunsup@cs.berkeley.edu>
Wed, 16 Oct 2013 21:26:59 +0000
(14:26 -0700)
hwacha/hwacha.cc
patch
|
blob
|
history
diff --git
a/hwacha/hwacha.cc
b/hwacha/hwacha.cc
index 8eff59ca26643a3b7145da7b6a7e13802557b516..61282d3c8cbf02c5aaf85d937430277714d8f686 100644
(file)
--- 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 (
in
t 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;
}