blob: 837f8f9df3a438d4c50884505f18b844f153d0f8 [file] [log] [blame]
%def op_int_to_float():
/*
* Conversion from or to floating-point happens in a floating-point register.
* Therefore we load the input and store the output into or from a
* floating-point register irrespective of the type.
*/
% fcvtHeader(suffix="_FLOAT", valreg="f0")
cvt.s.w f0, f0
% fcvtFooter(suffix="_FLOAT", valreg="f0")