Closed 0xF6 closed 2 months ago
The update involves various modifications across several files, including refactoring methods, enhancing compatibility with AArch64 targets, and introducing new functions for comparing data types using LLVM IR. Additionally, new file processing capabilities and restructuring of the initialization logic were added to improve the overall runtime efficiency and expand feature support within the Ishtar virtual machine environment.
File(s) | Change Summary |
---|---|
runtime/ishtar.vm/VirtualMachine.cs |
Removed RuntimeInfo constructor, moved readonly field initialization directly into declarations. |
runtime/ishtar.vm/__builtin/B_Out.cs |
Refactored FPrintLn method into FPrintLn_Object and FPrintLn_Int32 to handle different argument types. |
runtime/ishtar.vm/ishtar.vm.csproj |
Added inclusion of .ll files for copying to output directory during build. |
runtime/ishtar.vm/.../LLVMContext.cs |
Added initialization calls for AArch64 targets and related components in LLVMContext class. |
runtime/ishtar.vm/.../comp.ll |
Introduced comparer function to compare stackval structures based on their types. |
runtime/ishtar.vm/.../fcmp.ll |
Added multiple functions for comparing various data types (i32, i8, i16, i64, float, double, i128) using LLVM IR. |
runtime/ishtar.vm/.../vm_applet.cs |
Introduced vm_applet and comparer_applet structures for handling and parsing LLVM modules and IR code. |
In bytes and lines where code does hum, ๐
The Ishtar VM gets a brand-new drum.
With AArch64 and LLVM power, ๐
New methods blossom like a spring flower. ๐ธ
From structs to prints and all between,
A better runtime, fast and clean. ๐
Hooray, for code that's seen the sheen! ๐
[!WARNING]
Review ran into problems
Problems (1)
* Git: Failed to clone repository. Please contact CodeRabbit support.
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
@coderabbitai review
Summary by CodeRabbit
New Features
Refactor
Chores
Enhancements