Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Correct MOD_SS_Conv/Mod_UU_Conv behaviour for I8/I16 #114
We add a testcase
Unfortunately, we do not have a testcase for the downcast of
…ting. - Update `bytearray` with expected output. - Add `bytearraymini`, with somewhat lower level / simpler examples than bytearray# Both of these tests exercise the code generation of upcasts: I8/I16 -> I64 with the instructions MO_SS_Conv and MO_UU_Conv.
…owering of I8/I16. This fixes the bytarray and bytearraymini test cases. We currently only have test cases which exercise the upcast from I8/I16 -> I64, NOT the downcast from I64 -> I8/I16. However, the patch implements both, and *should* be correct.
Good job! I did a little bit of more tweaks before merging: