Refactor libcall code a bit. Initial implementation of expanding int -> FP