use fcmp if arg is floatingpoint type