1 // SPDX-License-Identifier: GPL-2.0
2 // Copyright (C) 2005-2019 Andes Technology Corporation
3 #include <linux/uaccess.h>
5 #include <asm/sfp-machine.h>
6 #include <math-emu/soft-fp.h>
7 #include <math-emu/single.h>
9 void fsi2s(void *ft, void *fa)
16 FP_FROM_INT_S(R, a, 32, int);
20 __FPU_FPCSR |= FP_CUR_EXCEPTIONS;