Alban Dutilleul
801b165e70
fix various semantic mismatchs in RV32F ( #27 )
2023-07-04 09:56:26 +01:00
Anton Lydike
be90879f86
Add support for floats ( #22 )
...
Adding a `Float32` datatype is necessary, since python makes no guarantees to the bitwidth of `float` (it's often a double)
Also adding the `RV32F` extension with most operations implemented, and support for floating point registers.
2023-06-06 15:08:09 +01:00
Anton Lydike
1c2dad94e2
main: major overhaul of how __main__ works
2023-05-29 16:04:55 +01:00
Anton Lydike
8ac4a56c08
libc: add tests and fix a bunch of bugs in string.s
2023-05-29 14:24:58 +01:00
Anton Lydike
d9058a0ca0
add lit gitignore
2023-05-29 11:52:38 +01:00
Anton Lydike
1bb0770061
remove lit artifact
2023-05-29 11:52:28 +01:00
Anton Lydike
1ea5bb2edc
more filechecks?
2023-05-01 18:27:19 +01:00
Anton Lydike
2f6073b4df
fix whitespace issues
2023-05-01 17:35:14 +01:00
Anton Lydike
189dc63ceb
add lit filecheck
2023-05-01 17:33:07 +01:00
Anton Lydike
5515c7795c
format black
2023-05-01 16:39:27 +01:00
Anton Lydike
e1fbe4f11d
fix testing infra
2023-05-01 16:36:58 +01:00
Anton Lydike
65903189a2
removed tests for bind_twos_complement
2022-04-17 11:51:29 +02:00
Anton Lydike
71093fe72f
Maor round of bugfixes and incremental improvements
...
- fixed errors in TextIO and IOModule
- moved to Int32 and UInt32 based arithmetic
- added a lot of end-to-end and other tests
2022-03-27 15:21:10 +02:00
Anton Lydike
cd5795bb74
fixed priv start code, added tests
2022-02-18 10:17:12 +01:00
Anton Lydike
0488a9d6bc
finished basic RISC-V parser
2022-01-18 21:08:07 +01:00
Anton Lydike
dc4dca6fea
[wip] almost done with the rework of the parser and internal data structure representation of programs
2021-12-18 00:25:39 +01:00
Anton Lydike
84562de98f
added tests for tokenizer
2021-12-14 07:33:17 +01:00
Anton Lydike
d5a4acef67
tokenizer reimplemented
2021-12-13 23:23:55 +01:00
Anton Lydike
8cf381ec61
added basic tests
2021-04-18 00:57:53 +02:00