diff options
author | H. Peter Anvin <hpa@linux.intel.com> | 2013-06-28 18:26:17 -0400 |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2013-06-28 18:26:17 -0400 |
commit | 9f84b6267ccde1bebe3f9cd40a91716b5ece5e20 (patch) | |
tree | b51dcf9fb1b7205ed8134ad1169e73719897163d /lib/mpi | |
parent | 719038de98bc8479b771c582a1e4a1e86079da22 (diff) | |
parent | 5f8c4218148822fde6eebbeefc34bd0a6061e031 (diff) |
Merge remote-tracking branch 'origin/x86/fpu' into queue/x86/cpu
Use the union of 3.10 x86/cpu and x86/fpu as baseline.
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'lib/mpi')
-rw-r--r-- | lib/mpi/longlong.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/mpi/longlong.h b/lib/mpi/longlong.h index 095ab157a521..d411355f238e 100644 --- a/lib/mpi/longlong.h +++ b/lib/mpi/longlong.h | |||
@@ -318,7 +318,8 @@ extern UDItype __udiv_qrnnd(); | |||
318 | "rM" ((USItype)(bh)), \ | 318 | "rM" ((USItype)(bh)), \ |
319 | "rM" ((USItype)(al)), \ | 319 | "rM" ((USItype)(al)), \ |
320 | "rM" ((USItype)(bl))) | 320 | "rM" ((USItype)(bl))) |
321 | #if defined(_PA_RISC1_1) | 321 | #if 0 && defined(_PA_RISC1_1) |
322 | /* xmpyu uses floating point register which is not allowed in Linux kernel. */ | ||
322 | #define umul_ppmm(wh, wl, u, v) \ | 323 | #define umul_ppmm(wh, wl, u, v) \ |
323 | do { \ | 324 | do { \ |
324 | union {UDItype __ll; \ | 325 | union {UDItype __ll; \ |
@@ -337,7 +338,7 @@ do { \ | |||
337 | #define UMUL_TIME 40 | 338 | #define UMUL_TIME 40 |
338 | #define UDIV_TIME 80 | 339 | #define UDIV_TIME 80 |
339 | #endif | 340 | #endif |
340 | #ifndef LONGLONG_STANDALONE | 341 | #if 0 /* #ifndef LONGLONG_STANDALONE */ |
341 | #define udiv_qrnnd(q, r, n1, n0, d) \ | 342 | #define udiv_qrnnd(q, r, n1, n0, d) \ |
342 | do { USItype __r; \ | 343 | do { USItype __r; \ |
343 | (q) = __udiv_qrnnd(&__r, (n1), (n0), (d)); \ | 344 | (q) = __udiv_qrnnd(&__r, (n1), (n0), (d)); \ |