aboutsummaryrefslogtreecommitdiff
path: root/riscv/cachesim.h
diff options
context:
space:
mode:
authorAndrew Waterman <waterman@cs.berkeley.edu>2014-09-27 11:01:22 -0700
committerAndrew Waterman <waterman@cs.berkeley.edu>2014-09-27 11:10:49 -0700
commitbaa8d8be1f1a3d83caf248533fda9abaa3b0ee70 (patch)
tree6fb99977824fefff067f34d7915fcefbc72e6043 /riscv/cachesim.h
parenteb27fce99c6f711a890c8647edaf077ec8d137d3 (diff)
downloadspike-baa8d8be1f1a3d83caf248533fda9abaa3b0ee70.zip
spike-baa8d8be1f1a3d83caf248533fda9abaa3b0ee70.tar.gz
spike-baa8d8be1f1a3d83caf248533fda9abaa3b0ee70.tar.bz2
Avoid use of __int128_t
It is nonstandard, and GCC doesn't support it on 32-bit platforms. The resulting code for MULH[[S]U] is crappier, but that doesn't really matter, as these instructions are dynamically infrequent.
Diffstat (limited to 'riscv/cachesim.h')
-rw-r--r--riscv/cachesim.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/riscv/cachesim.h b/riscv/cachesim.h
index 51044c3..a529007 100644
--- a/riscv/cachesim.h
+++ b/riscv/cachesim.h
@@ -7,7 +7,7 @@
#include <cstring>
#include <string>
#include <map>
-#include <stdint.h>
+#include <cstdint>
class lfsr_t
{