Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at v5.11 23 lines 434 B view raw
1// SPDX-License-Identifier: GPL-2.0 2// Copyright (C) 2005-2018 Andes Technology Corporation 3#include <linux/uaccess.h> 4 5#include <asm/sfp-machine.h> 6#include <math-emu/soft-fp.h> 7#include <math-emu/single.h> 8void fmuls(void *ft, void *fa, void *fb) 9{ 10 FP_DECL_S(A); 11 FP_DECL_S(B); 12 FP_DECL_S(R); 13 FP_DECL_EX; 14 15 FP_UNPACK_SP(A, fa); 16 FP_UNPACK_SP(B, fb); 17 18 FP_MUL_S(R, A, B); 19 20 FP_PACK_SP(ft, R); 21 22 __FPU_FPCSR |= FP_CUR_EXCEPTIONS; 23}