improv(compiler) Added SDIV, UDIV and UREM operations (105 tests passes now)

This commit is contained in:
ptitSeb
2021-12-20 16:51:26 +01:00
parent ddc17374c3
commit 005351ba31
3 changed files with 295 additions and 77 deletions

View File

@ -82,7 +82,7 @@ impl Compiler for SinglepassCompiler {
let calling_convention = match target.triple().default_calling_convention() {
Ok(CallingConvention::WindowsFastcall) => CallingConvention::WindowsFastcall,
Ok(CallingConvention::SystemV) => CallingConvention::SystemV,
//Ok(CallingConvention::AppleAarch64) => AppleAarch64,
Ok(CallingConvention::AppleAarch64) => CallingConvention::AppleAarch64,
_ => panic!("Unsupported Calling convention for Singlepass compiler"),
};