1    /*
2     * Conversion from or to floating-point happens in a floating-point register.
3     * Therefore we load the input and store the output into or from a
4     * floating-point register irrespective of the type.
5     */
6%include "mips64/fcvtHeader.S" { "suffix":"_FLOAT", "valreg":"f0" }
7    cvt.d.w f0, f0
8%include "mips64/fcvtFooter.S" { "suffix":"_DOUBLE", "valreg":"f0" }
9