- Jan 12, 2023
-
-
Andrew Waterman authored
On my Mac Mini, calling `poll()` on stdin takes around 10 us, and we are invoking it every 20 us or so. Reduce the frequency of polling by 16x when not actively receiving data, thereby reducing the fraction of time spent in `poll()` to a trivial amount.
-
Andrew Waterman authored
The two-thread approach was originally motivated by making Spike look as similar as possible to other HTIF targets. But we can get the same semantics without threading by running the simulator inside of the HTIF host's idle loop instead of performing a context switch. This was motivated by speeding up the simulator on Mac OS (it's worth around 20% because using pthread condition variables to force strict alternation is very slow). But I think it also simplifies the control flow enough to justify it on that basis, too.
-
Andrew Waterman authored
Automatically test that external debug still works.
-
Tim Newsome authored
-
Tim Newsome authored
-
Tim Newsome authored
-
Andrew Waterman authored
Fix supported debug version, use extension names
-
Tim Newsome authored
Addresses #1221
-
- Jan 11, 2023
-
-
Andrew Waterman authored
-
Parshintsev Anatoly authored
-
Parshintsev Anatoly authored
-
- Jan 10, 2023
-
-
Parshintsev Anatoly authored
-
Parshintsev Anatoly authored
this is to properly handle potential 64-bit overflow in (base + size) expression
-
Parshintsev Anatoly authored
The method can simplify proper processing of sitiations when (base + size) overflows 64-bit interger.
-
Parshintsev Anatoly authored
NFT. We also mark `base` and `size` fields as private.
-
Parshintsev Anatoly authored
NFC. The intention is for `base` and `size` fields of mem_cfg_t to be private members. This is the fist part of this commit.
-
- Jan 05, 2023
-
-
Andrew Waterman authored
Only update histogram when histogramming
-
Andrew Waterman authored
It dates back to when this code was ifdef'd.
-
Andrew Waterman authored
This is worth a 1.4x speedup on the slow path (when not histogramming).
-
Andrew Waterman authored
Control mmu-dirtying via command line
-
Jerry Zhao authored
-
Jerry Zhao authored
-
Jerry Zhao authored
-
Jerry Zhao authored
-
Jerry Zhao authored
-
Jerry Zhao authored
Fix debug-mode regression introduced by 20e7f536
-
Scott Johnson authored
triggers: refactor: add trap_common_t
-
- Jan 04, 2023
-
-
Jerry Zhao authored
- Debug mode should break the processor out of wfi - wfi in debug mode should execute as a nop
-
Andrew Waterman authored
Control whether misaligned accesses are supported via command line
-
YenHaoChen authored
-
YenHaoChen authored
-
YenHaoChen authored
-
YenHaoChen authored
-
YenHaoChen authored
-
YenHaoChen authored
-
YenHaoChen authored
-
YenHaoChen authored
-
YenHaoChen authored
-
YenHaoChen authored
-
YenHaoChen authored
-