diff options
author | Paul Burton <paul.burton@imgtec.com> | 2016-04-21 14:04:51 +0100 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2016-05-13 14:02:22 +0200 |
commit | e2d11e1a8398b7447d337add50521a5abc6267fd (patch) | |
tree | 03ad0b76d142ad034f28133d43fd9e2bb1ebb3d9 /arch/mips/math-emu/ieee754dp.h | |
parent | d728f6709bcc49c98097485e3561f1faaf52b4f3 (diff) | |
download | blackbird-op-linux-e2d11e1a8398b7447d337add50521a5abc6267fd.tar.gz blackbird-op-linux-e2d11e1a8398b7447d337add50521a5abc6267fd.zip |
MIPS: math-emu: Add z argument macros
Introduce macros for handling the "z" argument to maddf & msubf, making
its handling consistent with that of the "x" & "y" arguments rather than
open-coding equivalents.
Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Cc: Maciej W. Rozycki <macro@imgtec.com>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/13156/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/math-emu/ieee754dp.h')
-rw-r--r-- | arch/mips/math-emu/ieee754dp.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/math-emu/ieee754dp.h b/arch/mips/math-emu/ieee754dp.h index e2babd98fee3..9ba023004eb6 100644 --- a/arch/mips/math-emu/ieee754dp.h +++ b/arch/mips/math-emu/ieee754dp.h @@ -60,6 +60,7 @@ static inline int ieee754dp_finite(union ieee754dp x) while ((m >> DP_FBITS) == 0) { m <<= 1; e--; } #define DPDNORMX DPDNORMx(xm, xe) #define DPDNORMY DPDNORMx(ym, ye) +#define DPDNORMZ DPDNORMx(zm, ze) static inline union ieee754dp builddp(int s, int bx, u64 m) { |