Commit Graph
100 Commits
Author SHA1 Message Date
alex 2878dca6b5 updates templates 2024-08-06 08:32:05 +02:00
alex f579ec6e48 changes access to rounding mode to fail explicitly instead of unintended behavior 2024-07-31 12:30:41 +02:00
alex fd20e66f1f changes softfloat API usage, all effected Instrs pass test suite 2024-07-31 12:30:41 +02:00
alex 5d69b79232 reverts patches in softfloat 2024-07-31 12:30:41 +02:00
alex 2edd68d1bd refactors zeroProd branch to allow for better case handling 2024-07-31 12:30:41 +02:00
alex 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
alex 93d89e07ca removes wrong compile definition 2024-07-31 12:30:41 +02:00
alex 17dcba4b90 updates softfloat to #b51ef8f of softfloat3
https://github.com/ucb-bar/berkeley-softfloat-3/
2024-07-31 12:30:41 +02:00
alex 39d2518fdd checkin: tgc5f builds and runs through 2024-07-31 12:30:41 +02:00
alex 04b7a09b19 updates date in templates 2024-07-25 17:25:12 +02:00
alex 72b11beac5 moves decoder to dbt-rise-core 2024-07-25 10:13:38 +02:00
alex c6b99cd155 introduces new decoder to interp backend 2024-07-24 12:28:35 +02:00
alex b1306c3a47 improves instruction decoding by avoiding copying, replaces .size() 2024-07-24 08:54:37 +02:00
alex 0d6bf924ed changes jh.globals from map to vector 2024-07-23 15:45:51 +02:00
alex 86de536c8f changes jh globals to seperate riscv specifics 2024-07-23 14:35:31 +02:00
alex 051dd5e2d3 updates templates for decoder in seperate class, adds again generated templates 2024-07-23 13:46:10 +02:00
alex e3942be776 Introduces decoder in a seperate class 2024-07-23 13:08:53 +02:00
alex 6ee484a771 moves instruction decoder into own class 2024-07-23 11:30:33 +02:00
alex 60808c8649 corrects template since util fns are no longer vm_base members 2024-07-23 11:29:56 +02:00
alex 0432803d82 updates templates and vm impls for better LAST_BRANCH handling 2024-07-22 09:04:17 +02:00
alex 4f5d9214ed adds newly generated instr.yaml 2024-07-18 14:31:36 +02:00
alex d42d2ce533 corrects illegal instruction for llvm 2024-07-18 14:04:23 +02:00
alex 236d12d7f5 integrates gen_bool for Conditions (was truncation) into llvm 2024-07-18 13:30:42 +02:00
alex e1b6cab890 removes setting of NEXT_PC to max when trapping in llvm and asmjit, adds default disass to llvm 2024-07-18 12:02:40 +02:00
alex 8361f88718 removes setting of NEXT_PC to max if trap 2024-07-18 11:37:53 +02:00
alex 2ec7ea4b41 removes leftover gen_sync in asmjit 2024-07-17 22:39:12 +02:00
alex b24965d321 corrects gen_sync update order, improves illegal instruction 2024-07-17 20:52:01 +02:00
alex 244bf6d2f2 corrects gen_sync before trap check, improves illegal_instruction 2024-07-17 20:25:49 +02:00
alex 1a4465a371 changes template: adds correct illegal instruction, reorders gen_sync to allow correct instr id eve when trapping, adds newly generated vm 2024-07-17 19:59:01 +02:00
alex fa82a50824 fixes typo in templates 2024-07-17 17:24:17 +02:00
alex 6dc17857da updates template 2024-07-17 15:36:08 +02:00
alex 11a30caae8 integrates generator changes to canPrecompute 2024-07-17 15:14:13 +02:00
alex ac1a26a10c integrates new tval changes into llvm 2024-07-17 14:17:02 +02:00
alex 7a199e122d integrates new tval changes into asmjit 2024-07-17 09:42:12 +02:00
alex d8c3d2e19c integrates new tval changes into tcc 2024-07-16 17:35:23 +02:00
alex 375755999a integrates new tval changes 2024-07-16 15:32:35 +02:00
alex 149b3136d2 updates generated files 2024-07-10 12:55:36 +02:00
alex ac8f8b0539 updates vms with fixed Zc in tgc5c.core_desc 2024-07-10 12:51:59 +02:00
alex b2cbf90d0b updates generated files 2024-07-10 12:51:59 +02:00
alex 373145478e updats file because of generator changes 2024-07-10 12:51:59 +02:00
alex 55b0cea94f changes vm_base util API 2024-07-10 12:51:59 +02:00
alex 5b17599aa2 allows usage of std::variants 2024-07-10 12:51:59 +02:00
alex 4cfb15c7cd Asmjit and interp working 2024-07-10 12:51:31 +02:00
alex 48370a4555 asmjit passes backend with new CoreDSL 2024-06-22 09:28:26 +02:00
alex 36b076774e Merge branch 'develop' of https://git.minres.com/DBT-RISE/DBT-RISE-TGC into develop 2024-06-21 13:35:30 +02:00
alex 482a4ec253 fixes semihosting callbacks in templates 2024-06-21 13:35:25 +02:00
alex 37db31fb4b removes repo that should not be checked in 2024-05-31 10:46:19 +02:00
alex e2da306eee fixes semihosting cb registration 2024-05-31 10:45:28 +02:00
alex 41051f8f34 fixes tohost handling 2024-05-31 10:43:38 +02:00
alex 2a7449fa1e Merge branch 'develop' of https://git.minres.com/DBT-RISE/DBT-RISE-TGC into develop 2024-05-31 09:47:52 +02:00
alex 1e30b68507 updates min cmake version 2024-05-31 09:37:19 +02:00
alex 58fb815f32 fixes gen_raise in tcc 2024-05-20 10:34:23 +02:00
alex 3cc8bd0854 adds reformat bc of verilog literals 2024-05-18 21:01:05 +02:00
alex a27850f841 adds verilog literal and illegal_instr to asmjit 2024-05-18 21:00:21 +02:00
alex fb330cddea llvm passes act 2024-05-18 19:33:57 +02:00
alex b76c5bf0d6 adds flush to fence_i 2024-05-11 15:25:49 +02:00
alex 001c6349f7 removes tcc sim stop when writing to tohost 2024-05-11 15:16:46 +02:00
alex ee6a11dae6 fixes typo 2024-05-09 20:54:30 +02:00
alex 2e27b025cc improves dump-ir comments 2024-05-09 13:47:36 +02:00
alex f0a004be9d adds information for debugging 2024-05-09 13:42:16 +02:00
alex 3422c7cd5c optimizes writebacks 2024-05-08 15:18:38 +02:00
alex ad79a28705 wip checkin 2024-04-30 19:21:27 +02:00
alex 9fdbc3ff38 Merge branch 'develop' of https://git.minres.com/DBT-RISE/DBT-RISE-TGC into develop 2024-04-26 17:07:00 +02:00
alex 602bc6e06a checking: working 2024-04-26 17:06:26 +02:00
alex 6c986d38d8 Merge branch 'develop' of https://git.minres.com/DBT-RISE/DBT-RISE-TGC into develop 2024-03-19 11:02:17 +01:00
alex a1ebd83d2a adds riscv_hart_common and signature output 2024-03-19 11:02:03 +01:00
alex 1e6a0086e9 adds disass functionality 2024-03-07 13:58:08 +01:00
alex fbda1424f3 Merge branch 'develop' of https://git.minres.com/DBT-RISE/DBT-RISE-TGC into develop 2024-01-10 16:22:31 +01:00
alex fe2d5cb2f9 adds semihosting to all backends 2024-01-10 11:47:12 +01:00
alex 3ff59ba45d small refactor, adds baisc functionality 2024-01-10 10:15:05 +01:00
alex 075e04249a adds semihosting skeleton 2024-01-09 12:50:41 +01:00
alex 207f778ee6 adds initial semihosting host capabilities 2024-01-08 17:17:59 +01:00
alex adaa7e1c04 updates template 2023-11-20 11:46:19 +01:00
alex 0eb1db0e7e adds functionality, adds working asmjit 2023-11-20 11:45:52 +01:00
alex ffe730219d merge commit 2023-10-22 15:13:25 +02:00
alex 60c926c921 adds asmjit 2023-10-22 15:11:20 +02:00
alex 9371a09b71 adds asmjit 2023-10-22 15:10:55 +02:00
alex 5fd226b670 moves pctrace 2023-09-25 09:44:51 +02:00
alex 417076f8e6 stops jit block creation in case of ECALL and EBREAK 2023-09-23 11:30:58 +02:00
alex 70839bbbf2 changes templates for correct plugin callback in case of trap 2023-09-23 10:35:21 +02:00
alex 8db0cc5d05 removes clutter 2023-09-23 10:34:58 +02:00
alex 212fb1c8ff adds tracing functionality 2023-09-22 12:40:35 +02:00
alex f74f98f361 improves readability 2023-09-22 12:40:12 +02:00
alex f074092a78 Merge branch 'develop' of https://git.minres.com/DBT-RISE/DBT-RISE-TGC into develop 2023-09-20 15:18:05 +02:00
alex 633c0d21a0 Merge branch 'develop' of https://git.minres.com/DBT-RISE/DBT-RISE-TGC into develop 2023-09-20 15:17:43 +02:00
alex 51f6fbe0dd applies newest CoreDSL changes 2023-09-20 15:12:03 +02:00
alex de45d06878 adds initial working version of llvm backend 2023-09-19 16:26:07 +02:00
alex b360fc2c75 Merge branch 'develop' of https://git.minres.com/DBT-RISE/DBT-RISE-TGC into develop 2023-09-05 10:08:49 +02:00
alex e21f8dc379 allows functions in interp and updates generated 2023-09-05 10:08:00 +02:00
alex 7af7e040da Merge branch 'develop' of https://git.minres.com/DBT-RISE/DBT-RISE-TGC into develop 2023-07-29 11:47:25 +02:00
alex 6e52af168b adds faster decoding to tcc and cleans up others 2023-07-29 11:42:46 +02:00
alex bd0d15f3a2 updates template for faster instruction decoding 2023-07-23 08:10:57 +02:00
alex c78026b720 adds faster instruction decoding 2023-07-23 08:05:15 +02:00
alex 7b31b8ca8e adds updated generated files 2023-07-09 16:58:47 +02:00
alex 91a23a4a18 Merge branch 'develop' of https://git.minres.com/DBT-RISE/DBT-RISE-TGC into develop 2023-07-09 16:55:06 +02:00
alex 21d3250e1a changes templates 2023-07-09 16:53:59 +02:00
alex 87b4082633 Merge branch 'tmp' into develop 2023-07-03 14:22:50 +02:00
alex 15cd36dcd4 adds fix for compressed instructions and reads 2023-06-05 17:57:38 +02:00
alex 2281ec4144 corrects errors and adds new backend and 2023-06-05 15:18:27 +02:00
alex 11c481cec2 adds verbosity to error 2023-06-05 15:17:16 +02:00