tum-ei-eda / etiss

Extendable Translating Instruction Set Simulator
https://tum-ei-eda.github.io/etiss/
Other
29 stars 36 forks source link

BigInt support #107

Closed wysiwyng closed 9 months ago

wysiwyng commented 2 years ago

ETISS should support (integer) datatypes > 64 bits, e.g. for simulation of ML/AI accelerators. Currently the only way of handling exotic datatypes exceeding 64 bits is by using the dispatching mechanism. 128 bit integers are available in major compilers via the __int128 extension, at least for x86-64 targets. TCC does unfortunately not support this.

For types larger than 128 bits most likely some external library will have to be used, which then has to be compatible with ETISS core and the JIT engines.

wysiwyng commented 9 months ago

sorta-kinda supported now for types up to 128 bit, if you only use those types in CoreDSL functions.