aboutsummaryrefslogtreecommitdiff
path: root/riscv/insn_template.h
AgeCommit message (Collapse)AuthorFilesLines
2019-06-18rvv: add saturation helper functionChih-Min Chao1-1/+1
1. add integer signed add/subu and unsigend add/sub saturation function 2. merge these with mulhi helper Signed-off-by: Chih-Min Chao <chihmin.chao@sifive.com>
2017-02-01For FMIN(sNaN, x) and FMIN(qNaN, qNaN), return canonical NaNAndrew Waterman1-0/+1
Resolves #76
2016-03-01Upgrade to latest SoftFloatAndrew Waterman1-2/+1
2015-09-08Add facility to instrument specific opcodesAndrew Waterman1-0/+1
It's not ideal, because it requires modifying tracer.h. A more general facility would allow overriding the instruction execution function for a given opcode dynamically.
2015-09-08Refer to LICENSE in some newer source filesAndrew Waterman1-0/+2
2014-09-27Avoid use of __int128_tAndrew Waterman1-0/+1
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.
2014-07-07Use precompiled headers to speed up compilationAndrew Waterman1-0/+5