Home
last modified time | relevance | path

Searched +refs:sign +refs:shift (Results 1 – 25 of 22518) sorted by relevance

12345678910>>...901

/dports/devel/llvm12/llvm-project-12.0.1.src/libc/utils/FPUtil/
H A DNormalFloat.h45 bool sign; member
65 if (sign != other.sign) in cmp()
66 return sign ? -1 : 1; in cmp()
69 return sign ? -1 : 1; in cmp()
100 result.sign = sign; in T()
142 sign = bits.sign; in initFromBits()
164 unsigned shift = 0; in evaluateNormalizationShift() local
166 m <<= 1, ++shift) in evaluateNormalizationShift()
168 return shift; in evaluateNormalizationShift()
175 sign = bits.sign; in initFromBits()
[all …]
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/libc/utils/FPUtil/
H A DNormalFloat.h45 bool sign; member
65 if (sign != other.sign) in cmp()
66 return sign ? -1 : 1; in cmp()
69 return sign ? -1 : 1; in cmp()
100 result.sign = sign; in T()
142 sign = bits.sign; in initFromBits()
164 unsigned shift = 0; in evaluateNormalizationShift() local
166 m <<= 1, ++shift) in evaluateNormalizationShift()
168 return shift; in evaluateNormalizationShift()
175 sign = bits.sign; in initFromBits()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/libc/utils/FPUtil/
H A DNormalFloat.h65 if (sign != other.sign) in cmp()
109 result.sign = sign; in T()
119 result.sign = sign; in T()
125 sign = bits.sign; in initFromBits()
147 unsigned shift = 0; in evaluateNormalizationShift() local
149 m <<= 1, ++shift) in evaluateNormalizationShift()
151 return shift; in evaluateNormalizationShift()
158 sign = bits.sign; in initFromBits()
207 result.mantissa = mantissa >> shift;
209 result.sign = sign;
[all …]
/dports/graphics/appleseed/appleseed-2.1.0-beta/src/appleseed/foundation/meta/tests/
H A Dtest_fp.cpp56 EXPECT_EQ(0, FP<float>::sign(+0.0f)); in TEST_SUITE()
61 EXPECT_EQ(1, FP<float>::sign(-0.0f)); in TEST_SUITE()
66 EXPECT_EQ(0, FP<float>::sign(+42.0f)); in TEST_SUITE()
71 EXPECT_EQ(1, FP<float>::sign(-42.0f)); in TEST_SUITE()
86 EXPECT_EQ(+0.0f, shift(+0.0f, 0)); in TEST_SUITE()
87 EXPECT_EQ(-0.0F, shift(-0.0f, 0)); in TEST_SUITE()
102 const float result = shift(1.0f, +1); in TEST_SUITE()
110 const float result = shift(1.0f, -1); in TEST_SUITE()
183 FP<float>::sign(Initial), in TEST_SUITE()
209 EXPECT_EQ(0, FP<double>::sign(+0.0)); in TEST_SUITE()
[all …]
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/libc/utils/FPUtil/
H A DNormalFloat.h45 bool sign; member
65 if (sign != other.sign) in cmp()
66 return sign ? -1 : 1; in cmp()
69 return sign ? -1 : 1; in cmp()
72 return sign ? -1 : 1; in cmp()
78 return sign ? 1 : -1; in cmp()
100 result.setSign(sign); in T()
142 sign = bits.getSign(); in initFromBits()
168 return shift; in evaluateNormalizationShift()
175 sign = bits.getSign(); in initFromBits()
[all …]
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/libc/src/__support/FPUtil/
H A DNormalFloat.h45 bool sign; member
65 if (sign != other.sign) in cmp()
66 return sign ? -1 : 1; in cmp()
69 return sign ? -1 : 1; in cmp()
72 return sign ? -1 : 1; in cmp()
78 return sign ? 1 : -1; in cmp()
100 result.setSign(sign); in T()
142 sign = bits.getSign(); in initFromBits()
168 return shift; in evaluateNormalizationShift()
175 sign = bits.getSign(); in initFromBits()
[all …]
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/libc/utils/FPUtil/
H A DNormalFloat.h45 bool sign; member
65 if (sign != other.sign) in cmp()
66 return sign ? -1 : 1; in cmp()
69 return sign ? -1 : 1; in cmp()
72 return sign ? -1 : 1; in cmp()
78 return sign ? 1 : -1; in cmp()
100 result.setSign(sign); in T()
142 sign = bits.getSign(); in initFromBits()
168 return shift; in evaluateNormalizationShift()
175 sign = bits.getSign(); in initFromBits()
[all …]
/dports/devel/llvm13/llvm-project-13.0.1.src/libc/utils/FPUtil/
H A DNormalFloat.h45 bool sign;
65 if (sign != other.sign)
66 return sign ? -1 : 1;
69 return sign ? -1 : 1;
72 return sign ? -1 : 1;
78 return sign ? 1 : -1;
100 result.setSign(sign);
142 sign = bits.getSign();
168 return shift;
175 sign = bits.getSign();
[all …]
/dports/math/e-antic/flint2-ae7ec89/fmpz/
H A Dbit_unpack.c20 mp_limb_t mask, sign; in fmpz_bit_unpack() local
26 sign = ((((mp_limb_t) 1) << (rem_bits - 1)) & arr[limbs]); in fmpz_bit_unpack()
39 ((arr[0] >> shift) + (arr[1] << (FLINT_BITS - shift))) & mask; in fmpz_bit_unpack()
44 if (sign) in fmpz_bit_unpack()
66 return (sign != (mp_limb_t) 0); in fmpz_bit_unpack()
85 if (shift) in fmpz_bit_unpack()
101 if (sign != (mp_limb_t) 0) in fmpz_bit_unpack()
118 sign = 1; in fmpz_bit_unpack()
131 sign = 0; in fmpz_bit_unpack()
141 return sign; in fmpz_bit_unpack()
[all …]
/dports/math/flint2/flint-2.8.4/fmpz/
H A Dbit_unpack.c20 mp_limb_t mask, sign; in fmpz_bit_unpack() local
26 sign = ((((mp_limb_t) 1) << (rem_bits - 1)) & arr[limbs]); in fmpz_bit_unpack()
39 ((arr[0] >> shift) + (arr[1] << (FLINT_BITS - shift))) & mask; in fmpz_bit_unpack()
44 if (sign) in fmpz_bit_unpack()
66 return (sign != (mp_limb_t) 0); in fmpz_bit_unpack()
85 if (shift) in fmpz_bit_unpack()
101 if (sign != (mp_limb_t) 0) in fmpz_bit_unpack()
118 sign = 1; in fmpz_bit_unpack()
131 sign = 0; in fmpz_bit_unpack()
141 return sign; in fmpz_bit_unpack()
[all …]
/dports/math/e-antic/e-antic-1.0.0-rc.13/libeantic/upstream/antic/fmpz/
H A Dbit_unpack.c20 mp_limb_t mask, sign; in fmpz_bit_unpack() local
26 sign = ((((mp_limb_t) 1) << (rem_bits - 1)) & arr[limbs]); in fmpz_bit_unpack()
39 ((arr[0] >> shift) + (arr[1] << (FLINT_BITS - shift))) & mask; in fmpz_bit_unpack()
44 if (sign) in fmpz_bit_unpack()
66 return (sign != (mp_limb_t) 0); in fmpz_bit_unpack()
85 if (shift) in fmpz_bit_unpack()
101 if (sign != (mp_limb_t) 0) in fmpz_bit_unpack()
118 sign = 1; in fmpz_bit_unpack()
131 sign = 0; in fmpz_bit_unpack()
141 return sign; in fmpz_bit_unpack()
[all …]
/dports/math/yices/yices-2.6.2/examples/
H A Djinpeng.ys241 …(bv-xor f0 (bv-shift-left0 (bv-concat 0b0000000 (bv-and (bv-sign-extend (bv-extract 0 0 b) 7) a)) …
244 …(bv-xor f1 (bv-shift-left0 (bv-concat 0b0000000 (bv-and (bv-sign-extend (bv-extract 1 1 b) 7) a)) …
247 …(bv-xor f2 (bv-shift-left0 (bv-concat 0b0000000 (bv-and (bv-sign-extend (bv-extract 2 2 b) 7) a)) …
250 …(bv-xor f3 (bv-shift-left0 (bv-concat 0b0000000 (bv-and (bv-sign-extend (bv-extract 3 3 b) 7) a)) …
253 …(bv-xor f4 (bv-shift-left0 (bv-concat 0b0000000 (bv-and (bv-sign-extend (bv-extract 4 4 b) 7) a)) …
256 …(bv-xor f5 (bv-shift-left0 (bv-concat 0b0000000 (bv-and (bv-sign-extend (bv-extract 5 5 b) 7) a)) …
259 …(bv-xor f6 (bv-shift-left0 (bv-concat 0b0000000 (bv-and (bv-sign-extend (bv-extract 6 6 b) 7) a)) …
262 …(bv-xor f7 (bv-shift-left0 (bv-concat 0b0000000 (bv-and (bv-sign-extend (bv-extract 7 7 b) 7) a)) …
268 …1::(bitvector 8) (if (= (bv-extract 7 7 e0) 0b1) (bv-xor (bv-shift-left0 e0 1) e0) (bv-shift-left0…
270 …2::(bitvector 8) (if (= (bv-extract 7 7 e1) 0b1) (bv-xor (bv-shift-left0 e1 1) e0) (bv-shift-left0…
[all …]
/dports/math/libpgmath/flang-d07daf3/runtime/flang/
H A Dintrin.c21 if (shift < 0) { in ftn_i_jishft()
22 shift = -shift; in ftn_i_jishft()
23 if (shift >= 32) in ftn_i_jishft()
36 if (shift < 0) { in ftn_i_shift()
37 shift = -shift; in ftn_i_shift()
77 ftn_i_isign(int x, int sign) in ftn_i_isign() argument
79 if (sign >= 0) { in ftn_i_isign()
90 ftn_i_sign(float x, int sign) in ftn_i_sign() argument
92 if (sign >= 0) { in ftn_i_sign()
103 ftn_i_dsign(double x, double sign) in ftn_i_dsign() argument
[all …]
/dports/www/mod_php80/php-8.0.15/sapi/phpdbg/
H A Dphpdbg_parser.output12 2 | input "# (pound sign)" command
60 "# (pound sign followed by digits)" (267) 10 12 14 15
61 "# (pound sign)" (268) 2
220 "# (pound sign followed by digits)" shift, and go to state 26
228 2 input: input . "# (pound sign)" command
231 "# (pound sign)" shift, and go to state 28
328 "# (pound sign followed by digits)" shift, and go to state 35
356 2 input: input "# (pound sign)" . command
417 "# (pound sign followed by digits)" shift, and go to state 40
440 "# (pound sign followed by digits)" shift, and go to state 43
[all …]
/dports/lang/php74/php-7.4.27/sapi/phpdbg/
H A Dphpdbg_parser.output12 2 | input "# (pound sign)" command
60 "# (pound sign followed by digits)" (267) 10 12 14 15
61 "# (pound sign)" (268) 2
220 "# (pound sign followed by digits)" shift, and go to state 26
228 2 input: input . "# (pound sign)" command
231 "# (pound sign)" shift, and go to state 28
328 "# (pound sign followed by digits)" shift, and go to state 35
356 2 input: input "# (pound sign)" . command
417 "# (pound sign followed by digits)" shift, and go to state 40
440 "# (pound sign followed by digits)" shift, and go to state 43
[all …]
/dports/lang/php80/php-8.0.15/sapi/phpdbg/
H A Dphpdbg_parser.output12 2 | input "# (pound sign)" command
60 "# (pound sign followed by digits)" (267) 10 12 14 15
61 "# (pound sign)" (268) 2
220 "# (pound sign followed by digits)" shift, and go to state 26
228 2 input: input . "# (pound sign)" command
231 "# (pound sign)" shift, and go to state 28
328 "# (pound sign followed by digits)" shift, and go to state 35
356 2 input: input "# (pound sign)" . command
417 "# (pound sign followed by digits)" shift, and go to state 40
440 "# (pound sign followed by digits)" shift, and go to state 43
[all …]
/dports/www/mod_php74/php-7.4.27/sapi/phpdbg/
H A Dphpdbg_parser.output12 2 | input "# (pound sign)" command
60 "# (pound sign followed by digits)" (267) 10 12 14 15
61 "# (pound sign)" (268) 2
220 "# (pound sign followed by digits)" shift, and go to state 26
228 2 input: input . "# (pound sign)" command
231 "# (pound sign)" shift, and go to state 28
328 "# (pound sign followed by digits)" shift, and go to state 35
356 2 input: input "# (pound sign)" . command
417 "# (pound sign followed by digits)" shift, and go to state 40
440 "# (pound sign followed by digits)" shift, and go to state 43
[all …]
/dports/devel/avr-gdb/gdb-7.3.1/sim/common/
H A Dsim-fpu.c430 int shift; in fpu2i() local
507 if (shift > 0) in fpu2i()
509 tmp <<= shift; in fpu2i()
513 shift = -shift; in fpu2i()
601 int shift; in fpu2u() local
639 if (shift > 0) in fpu2u()
645 shift = -shift; in fpu2u()
742 if (shift >= 0) in sim_fpu_fractionto()
757 if (shift >= 0) in sim_fpu_tofraction()
1070 if (shift > 0) in sim_fpu_add()
[all …]
/dports/devel/gdb761/gdb-7.6.1/sim/common/
H A Dsim-fpu.c429 int shift; in fpu2i() local
506 if (shift > 0) in fpu2i()
508 tmp <<= shift; in fpu2i()
512 shift = -shift; in fpu2i()
600 int shift; in fpu2u() local
638 if (shift > 0) in fpu2u()
644 shift = -shift; in fpu2u()
741 if (shift >= 0) in sim_fpu_fractionto()
756 if (shift >= 0) in sim_fpu_tofraction()
1069 if (shift > 0) in sim_fpu_add()
[all …]
/dports/devel/zpu-binutils/zpu-toolchain-1.0/toolchain/gdb/sim/common/
H A Dsim-fpu.c423 int shift; in fpu2i() local
500 if (shift > 0) in fpu2i()
502 tmp <<= shift; in fpu2i()
506 shift = -shift; in fpu2i()
594 int shift; in fpu2u() local
632 if (shift > 0) in fpu2u()
638 shift = -shift; in fpu2u()
735 if (shift >= 0) in sim_fpu_fractionto()
750 if (shift >= 0) in sim_fpu_tofraction()
1063 if (shift > 0) in sim_fpu_add()
[all …]
/dports/devel/zpu-gcc/zpu-toolchain-1.0/toolchain/gdb/sim/common/
H A Dsim-fpu.c423 int shift; in fpu2i() local
500 if (shift > 0) in fpu2i()
502 tmp <<= shift; in fpu2i()
506 shift = -shift; in fpu2i()
594 int shift; in fpu2u() local
632 if (shift > 0) in fpu2u()
638 shift = -shift; in fpu2u()
735 if (shift >= 0) in sim_fpu_fractionto()
750 if (shift >= 0) in sim_fpu_tofraction()
1063 if (shift > 0) in sim_fpu_add()
[all …]
/dports/print/ghostscript7-base/ghostscript-7.07/src/
H A Dgsfemu.c126 long sign; in __adddf3() local
134 expt += (shift = -shift); in __adddf3()
148 lsb = (lsb >> shift) + (msb << (32 - shift)); in __adddf3()
196 lc[msw] = sign; in __adddf3()
221 long sign; in __addsf3() local
229 expt += (shift = -shift); in __addsf3()
275 lc = sign; in __addsf3()
297 ulong sign; in __muldf3() local
372 lc[msw] = sign; in __muldf3()
429 lc = sign; in __mulsf3()
[all …]
/dports/print/ghostscript7-x11/ghostscript-7.07/src/
H A Dgsfemu.c126 long sign; in __adddf3() local
134 expt += (shift = -shift); in __adddf3()
148 lsb = (lsb >> shift) + (msb << (32 - shift)); in __adddf3()
196 lc[msw] = sign; in __adddf3()
221 long sign; in __addsf3() local
229 expt += (shift = -shift); in __addsf3()
275 lc = sign; in __addsf3()
297 ulong sign; in __muldf3() local
372 lc[msw] = sign; in __muldf3()
429 lc = sign; in __mulsf3()
[all …]
/dports/multimedia/handbrake/x265_3.5/source/common/vec/
H A Ddct-sse41.cpp44 shift += 4; in dequant_scaling()
46 if (shift > per) in dequant_scaling()
48 valueToAdd = 1 << (shift - per - 1); in dequant_scaling()
60 sign = _mm_srai_epi16(quantCoef12, 15); in dequant_scaling()
61 quantCoef1 = _mm_unpacklo_epi16(quantCoef12, sign); in dequant_scaling()
62 quantCoef2 = _mm_unpackhi_epi16(quantCoef12, sign); in dequant_scaling()
82 sign = _mm_srai_epi16(quantCoef12, 15); in dequant_scaling()
83 quantCoef1 = _mm_unpacklo_epi16(quantCoef12, sign); in dequant_scaling()
90 sign = _mm_srai_epi16(quantCoef12, 15); in dequant_scaling()
94 quantCoef1 = _mm_sll_epi32(quantCoef1, _mm_cvtsi32_si128(per - shift)); in dequant_scaling()
[all …]
/dports/multimedia/x265/source/common/vec/
H A Ddct-sse41.cpp44 shift += 4; in dequant_scaling()
46 if (shift > per) in dequant_scaling()
48 valueToAdd = 1 << (shift - per - 1); in dequant_scaling()
60 sign = _mm_srai_epi16(quantCoef12, 15); in dequant_scaling()
61 quantCoef1 = _mm_unpacklo_epi16(quantCoef12, sign); in dequant_scaling()
62 quantCoef2 = _mm_unpackhi_epi16(quantCoef12, sign); in dequant_scaling()
82 sign = _mm_srai_epi16(quantCoef12, 15); in dequant_scaling()
83 quantCoef1 = _mm_unpacklo_epi16(quantCoef12, sign); in dequant_scaling()
90 sign = _mm_srai_epi16(quantCoef12, 15); in dequant_scaling()
94 quantCoef1 = _mm_sll_epi32(quantCoef1, _mm_cvtsi32_si128(per - shift)); in dequant_scaling()
[all …]

12345678910>>...901