blob: 77e9eba53ac0fd5e6141e9955787b1c9e1f2d4b4 [file] [log] [blame]
/*
* 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.
*/
%include "mips64/fcvtHeader.S" { "suffix":"_FLOAT", "valreg":"f0" }
cvt.s.w f0, f0
%include "mips64/fcvtFooter.S" { "suffix":"_FLOAT", "valreg":"f0" }