diff options
author | 2014-06-27 08:49:06 +0100 | |
---|---|---|
committer | 2014-10-14 13:28:51 +0100 | |
commit | 2d31e0607d0038b0c3450bb9624b0639e1181b1a (patch) | |
tree | 8afa12be6ccc25159346b4d9882c434af0b99172 /target-openrisc/exception.c | |
parent | target-mips: add AUI, LSA and PCREL instruction families (diff) | |
download | qemu-2d31e0607d0038b0c3450bb9624b0639e1181b1a.tar.xz qemu-2d31e0607d0038b0c3450bb9624b0639e1181b1a.zip |
softfloat: add functions corresponding to IEEE-2008 min/maxNumMag
Add abs argument to the existing softfloat minmax() function and define
new float{32,64}_{min,max}nummag functions.
minnummag(x,y) returns x if |x| < |y|,
returns y if |y| < |x|,
otherwise minnum(x,y)
maxnummag(x,y) returns x if |x| > |y|,
returns y if |y| > |x|,
otherwise maxnum(x,y)
Signed-off-by: Leon Alrae <leon.alrae@imgtec.com>
Reviewed-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'target-openrisc/exception.c')
0 files changed, 0 insertions, 0 deletions