Lines Matching +full:left +full:- +full:shifted
1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Linux/PA-RISC Project (http://www.parisc-linux.org/)
5 * Floating-point emulation code
6 * Copyright (C) 2001 Hewlett-Packard (Paul Bame) <bame@debian.org>
117 } /* End left NaN or Infinity processing */ in dbl_fadd()
156 /* Set the left operand to the larger one by XOR swap * in dbl_fadd()
163 /* Invariant: left is not smaller than right. */ in dbl_fadd()
185 /* Left is not a zero and must be the result. Trapped in dbl_fadd()
186 * underflows are signaled if left is denormalized. Result in dbl_fadd()
263 diff_exponent = result_exponent - right_exponent; in dbl_fadd()
277 Dbl_right_align(/*operand*/rightp1,rightp2,/*shifted by*/diff_exponent, in dbl_fadd()
294 * and extension left until the hidden bit becomes one. Not in dbl_fadd()
310 /* Must have been "x-x" or "x+(-x)". */ in dbl_fadd()
316 result_exponent--; in dbl_fadd()
322 /* Denormalized, exponent should be zero. Left operand * in dbl_fadd()
335 /* Check for denormalized, exponent should be zero. Left * in dbl_fadd()
345 * modified binary search. We have already shifted the result in dbl_fadd()
352 if((result_exponent -= 8) <= 0 && !underflowtrap) in dbl_fadd()
360 if((result_exponent -= 4) <= 0 && !underflowtrap) in dbl_fadd()
380 result_exponent -= 3; in dbl_fadd()
387 result_exponent -= 2; in dbl_fadd()
396 result_exponent -= 1; in dbl_fadd()
420 Dbl_fix_overshift(resultp1,resultp2,(1-result_exponent),extent); in dbl_fadd()