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/double.h>
6 int fcmpd(void *ft
, void *fa
, void *fb
, int cmpop
)
16 FP_CMP_D(cmp
, A
, B
, SF_CUN
);
21 *(long *)ft
= (cmp
& cmpop
) ? 1 : 0;