From: Yunsup Lee Date: Thu, 19 May 2011 17:10:31 +0000 (-0700) Subject: [sim] vlen calc reflects the hardware X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f8ca42bf489e9cad95a1df27fc405b5d1d8c23ec;p=riscv-isa-sim.git [sim] vlen calc reflects the hardware --- diff --git a/riscv/processor.cc b/riscv/processor.cc index bb1a982..3548810 100644 --- a/riscv/processor.cc +++ b/riscv/processor.cc @@ -34,11 +34,12 @@ processor_t::processor_t(sim_t* _sim, char* _mem, size_t _memsz) memset(counters,0,sizeof(counters)); // vector stuff + vecbanks = 0xff; + vecbanks_count = 8; utidx = -1; vlmax = 8; vl = 0; - nxpr_all = 256; - nfpr_all = 256; + nxfpr_bank = 256; nxpr_use = 0; nfpr_use = 0; for (int i=0; i