diff options
Diffstat (limited to 'scripts/csmith/riscv-isa-sim-console.diff')
-rw-r--r-- | scripts/csmith/riscv-isa-sim-console.diff | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/scripts/csmith/riscv-isa-sim-console.diff b/scripts/csmith/riscv-isa-sim-console.diff deleted file mode 100644 index 551cf96..0000000 --- a/scripts/csmith/riscv-isa-sim-console.diff +++ /dev/null @@ -1,14 +0,0 @@ -diff --git a/riscv/mmu.h b/riscv/mmu.h -index b9948c5..bee1f8b 100644 ---- a/riscv/mmu.h -+++ b/riscv/mmu.h -@@ -67,7 +67,8 @@ public: - if (addr & (sizeof(type##_t)-1)) \ - throw trap_store_address_misaligned(addr); \ - reg_t vpn = addr >> PGSHIFT; \ -- if (likely(tlb_store_tag[vpn % TLB_ENTRIES] == vpn)) \ -+ if (addr == 0x10000000) putchar(val), fflush(stdout); \ -+ else if (likely(tlb_store_tag[vpn % TLB_ENTRIES] == vpn)) \ - *(type##_t*)(tlb_data[vpn % TLB_ENTRIES] + addr) = val; \ - else \ - store_slow_path(addr, sizeof(type##_t), (const uint8_t*)&val); \ |