Cwerg icon indicating copy to clipboard operation
Cwerg copied to clipboard

The best C-like language that can be implemented in 10kLOC.

Results 24 Cwerg issues
Sort by recently updated
recently updated
newest added

This should enable simple debugging, e.g. stack traces.

backend

This should be very similar to either the a32 or a64 backend. Some advise how to go about writing a new backend can be found here: https://github.com/robertmuth/Cwerg/blob/master/Docs/backend_porting.md

backend

but only if those are available on a raspi 3

The simplifier accepts an x86 instruction and returns a semantically equivalent but "better" x86 instruction. "better" usually means short encoding. This would be implemented in CpuX64/ in a table driven...

backend

In the C++ version each Const has an associated DK but in Python we just use "float" for F32/F64 and "int" for the rest.

backend

Reference: https://community.arm.com/developer/tools-software/oss-platforms/b/android-blog/posts/arm-neon-programming-quick-reference Most operations are support except division: https://community.arm.com/developer/tools-software/tools/f/armds-forum/930/division-with-neon

backend

This applies to A64 (fmov, vmov) and A32 (vmov) Currently all these constants are loaded from memory which is quite inefficient.

good first issue
backend

* mod with signed ints * div/mod with zero divisors * shifts with shift amounts exceeding the bitwidth of the operand * conversions that widen and change from signed to...

backend