kekyo / IL2C

IL2C - A translator for ECMA-335 CIL/MSIL to C language.
Apache License 2.0
401 stars 36 forks source link

#94: implement stelem.i1 - stelem.r8 MSIL opcodes + #95 fix numerical conversion of float types #96

Closed cyborgyn closed 2 years ago

cyborgyn commented 2 years ago

A bit of refactoring as well, around the prepare method, to introduce a similar utility function as can be found around the ldelem implementation.

Also fix numerical conversion of float types.

kekyo commented 2 years ago

Thank you send fixing PR, I will reveiew it within 2 or 3 days, plz wait.

kekyo commented 2 years ago

@cyborgyn @pengzeshan I added test code for stelem and conv opcodes. Please notify me when verify on your environment.

cyborgyn commented 2 years ago

Thank you for the addition! A very nice set of new tests! All green on my side 1492/1492. :) Took a while to run all of them, though... :)

kekyo commented 2 years ago

Finally testing now, and will merge detect no problems on any test.