1 // SPDX-License-Identifier: GPL-2.0
2 // Copyright (C) 2005-2018 Andes Technology Corporation
3 #include <asm/sfp-machine.h>
4 #include <math-emu/soft-fp.h>
5 #include <math-emu/single.h>
6 int fcmps(void *ft
, void *fa
, void *fb
, int cmpop
)
16 FP_CMP_S(cmp
, A
, B
, SF_CUN
);
21 *(int *)ft
= (cmp
& cmpop
) ? 0x1 : 0x0;