Commit Graph

646 Commits

Author SHA1 Message Date
Eyck-Alexander Jentzsch 82a70efdb8 small reorder to make tohost output more readable 2024-11-14 16:51:26 +01:00
Eyck-Alexander Jentzsch 978c3db06e minor improvements to readability 2024-11-14 16:51:26 +01:00
Eyck-Alexander Jentzsch 0e88664ff7 adds better tohost writing implementation, allowing the standard riscv-isa-test benchmarks to run 2024-11-14 16:51:26 +01:00
Eyck-Alexander Jentzsch ad60449073 updates generated cores 2024-09-27 20:04:58 +02:00
Eyck-Alexander Jentzsch b45b3589fa updates templates to immediately trap when gen_trap is called 2024-09-27 20:03:51 +02:00
Eyck-Alexander Jentzsch 1fb7e8fcea improves logging output 2024-09-24 08:39:34 +02:00
Eyck-Alexander Jentzsch 5f9d0beafb corrects softfloat to comply with RVD ACT 2024-09-23 22:22:57 +02:00
Eyck-Alexander Jentzsch 4c0d1c75aa adds addr formatting to logging 2024-09-23 12:21:43 +02:00
Eyck-Alexander Jentzsch 2f3abf2f76 adds namespaces for ELFIO 2024-09-23 11:55:18 +02:00
Eyck Jentzsch 62768bf81e applies clang format 2024-09-23 10:05:33 +02:00
Eyck Jentzsch f6be8ec006 adds elfio test utility 2024-09-23 09:29:08 +02:00
Eyck Jentzsch a8f56b6e27 removes code dupication by unifying elf file read 2024-09-23 09:28:27 +02:00
Eyck-Alexander Jentzsch 76ea0db25d adds newest generated vm_impl 2024-08-17 23:19:51 +02:00
Eyck Jentzsch ec1b820c18 fixes target xml generation 2024-08-17 19:36:53 +02:00
Eyck Jentzsch 64329cf0f6 fixes use of icount vs. cycle 2024-08-17 19:36:40 +02:00
Eyck Jentzsch 9de0aed84d expands some error message 2024-08-17 16:55:49 +02:00
Eyck Jentzsch bb4e2766d1 applies clang-format 2024-08-17 16:12:57 +02:00
Eyck Jentzsch 0996d15bd4 removes debug code 2024-08-17 12:48:48 +02:00
Eyck Jentzsch 6305efa7c2 implements proper target XML generation incl. CSRs 2024-08-17 12:40:40 +02:00
Eyck Jentzsch de79adc50d updates debugger hook to stop before fetching instructions
this relates to https://github.com/Minres/DBT-RISE-RISCV/issues/8 :
Debugger loses control when trap vector fetch fails

and https://github.com/Minres/DBT-RISE-RISCV/issues/7 : Two debugger
single-steps are required at reset vector
2024-08-17 12:39:54 +02:00
Eyck Jentzsch 0473aa5344 fixes SystemC wrapper wrt. templated core_complex 2024-08-17 12:34:17 +02:00
Eyck-Alexander Jentzsch a45fcd28db updates fn calling generation 2024-08-17 08:22:04 +02:00
Eyck-Alexander Jentzsch 0f15032210 removes gen_wait as wait can be called like any other extern function 2024-08-14 15:25:06 +02:00
Eyck-Alexander Jentzsch efc11d87a5 updates template with fcsr check, adds extra braces on If Statements 2024-08-14 14:32:58 +02:00
Eyck-Alexander Jentzsch 4a19e27926 adds changes due to generator being more inline with others 2024-08-14 13:52:08 +02:00
Eyck-Alexander Jentzsch c15cdb0955 expands return values of jit creating functions to inhibit endless trapping 2024-08-14 11:49:59 +02:00
Eyck-Alexander Jentzsch 6609d12582 adds flimit that gets properly evaluated in interp 2024-08-13 15:22:34 +02:00
Eyck-Alexander Jentzsch b5341700aa updates template and adds braces when using conditions 2024-08-13 08:55:14 +02:00
Eyck-Alexander Jentzsch 0b5062d21c adds fp_functions here to remove dependencies in dbt-rise-core 2024-08-09 11:56:32 +02:00
Eyck-Alexander Jentzsch fbca690b3b replaces gen_wait, updates template to include fp_functions when necessary 2024-08-08 12:57:08 +02:00
Eyck-Alexander Jentzsch 235a7e6e24 updates template 2024-08-08 11:08:28 +02:00
Eyck-Alexander Jentzsch 62d21e1156 updates disass 2024-08-07 09:21:07 +02:00
Eyck-Alexander Jentzsch 9c51d6eade improves interp, only calls decode once per instr 2024-08-07 09:20:11 +02:00
Eyck-Alexander Jentzsch 2878dca6b5 updates templates 2024-08-06 08:32:05 +02:00
Eyck Jentzsch c28e8fd00c removes left-overs 2024-08-04 18:57:20 +02:00
Eyck Jentzsch b3cc9d2346 makes core_complex a template 2024-08-04 18:47:32 +02:00
Eyck Jentzsch 933f08494c removes C++17 dependency from asmjit backend 2024-08-04 17:41:49 +02:00
Eyck Jentzsch 21f8eab432 adds regenerated tgc5c 2024-08-02 19:18:28 +02:00
Eyck Jentzsch 6ddb8da07f fixes missing rename 2024-08-02 11:58:51 +02:00
Eyck Jentzsch edf456c59f fixes missing braces 2024-08-02 10:33:15 +02:00
Eyck Jentzsch 42efced1eb fixes FCSR behavior if no floating point is implemented 2024-08-02 08:59:22 +02:00
Eyck Jentzsch c376e34b2b applies clang format 2024-08-01 11:02:10 +02:00
Eyck-Alexander Jentzsch f579ec6e48 changes access to rounding mode to fail explicitly instead of unintended behavior 2024-07-31 12:30:41 +02:00
Eyck-Alexander Jentzsch fd20e66f1f changes softfloat API usage, all effected Instrs pass test suite 2024-07-31 12:30:41 +02:00
Eyck-Alexander Jentzsch 5d69b79232 reverts patches in softfloat 2024-07-31 12:30:41 +02:00
Eyck-Alexander Jentzsch 2edd68d1bd refactors zeroProd branch to allow for better case handling 2024-07-31 12:30:41 +02:00
Eyck-Alexander Jentzsch 7ffa7667b6 fixes concerning FMADD_S, FMSUB_S, FNMADD_S, and FNSUB_S
mostly about ensuring correct sign
2024-07-31 12:30:41 +02:00
Eyck-Alexander Jentzsch 93d89e07ca removes wrong compile definition 2024-07-31 12:30:41 +02:00
Eyck-Alexander Jentzsch 17dcba4b90 updates softfloat to #b51ef8f of softfloat3
https://github.com/ucb-bar/berkeley-softfloat-3/
2024-07-31 12:30:41 +02:00
Eyck-Alexander Jentzsch 39d2518fdd checkin: tgc5f builds and runs through 2024-07-31 12:30:41 +02:00