reilabs / llvm-to-cairo

Efforts to compile LLVM bytecode to run on top of the CairoVM and hence execute provably on Starknet
http://starknet.io
Apache License 2.0
1 stars 0 forks source link

Implement 8b Arithmetic #32

Open ktemkin opened 5 days ago

ktemkin commented 5 days ago

Description

Implement signed and unsigned 8-bit arithmetic on top of the primitives provided by the CairoVM. It needs to provide the following operations, and must behave as expected for performing the same operations in a standard hardware CPU model: