This repository was archived by the owner on Sep 2, 2018. It is now read-only.
This repository was archived by the owner on Sep 2, 2018. It is now read-only.
Division operations are being incorrectly lowered #70
Closed
Description
We are not handling the lowering of various instructions correctly.
This problem came about in this mailing list exchange.
Division is being lowered into a call to the libgcc
function __udivqi3
. This function does not exist. GCC instead lowers this to __divmodhi4
, which is what we should be doing.