nds32: add new emulations for floating point instruction
The existing floating point emulations is only available for floating instruction that possibly issue denormalized input and underflow exceptions. These existing FPU emulations are not sufficient when IEx Trap is enabled because some floating point instructions only issue inexact exception. This patch adds the emulations of such floating point instructions. Signed-off-by: Vincent Chen <vincentc@andestech.com> Acked-by: Greentime Hu <greentime@andestech.com> Signed-off-by: Greentime Hu <greentime@andestech.com>
This commit is contained in:

committed by
Greentime Hu

parent
ed32949e0a
commit
9322961205
@@ -13,6 +13,12 @@ void fsubs(void *ft, void *fa, void *fb);
|
||||
void fmuls(void *ft, void *fa, void *fb);
|
||||
void fdivs(void *ft, void *fa, void *fb);
|
||||
void fs2d(void *ft, void *fa);
|
||||
void fs2si(void *ft, void *fa);
|
||||
void fs2si_z(void *ft, void *fa);
|
||||
void fs2ui(void *ft, void *fa);
|
||||
void fs2ui_z(void *ft, void *fa);
|
||||
void fsi2s(void *ft, void *fa);
|
||||
void fui2s(void *ft, void *fa);
|
||||
void fsqrts(void *ft, void *fa);
|
||||
void fnegs(void *ft, void *fa);
|
||||
int fcmps(void *ft, void *fa, void *fb, int cop);
|
||||
@@ -26,6 +32,12 @@ void fmuld(void *ft, void *fa, void *fb);
|
||||
void fdivd(void *ft, void *fa, void *fb);
|
||||
void fsqrtd(void *ft, void *fa);
|
||||
void fd2s(void *ft, void *fa);
|
||||
void fd2si(void *ft, void *fa);
|
||||
void fd2si_z(void *ft, void *fa);
|
||||
void fd2ui(void *ft, void *fa);
|
||||
void fd2ui_z(void *ft, void *fa);
|
||||
void fsi2d(void *ft, void *fa);
|
||||
void fui2d(void *ft, void *fa);
|
||||
void fnegd(void *ft, void *fa);
|
||||
int fcmpd(void *ft, void *fa, void *fb, int cop);
|
||||
|
||||
|
Reference in New Issue
Block a user