Home
last modified time | relevance | path

Searched +full:high +full:- +full:bit (Results 1 – 25 of 1088) sorted by relevance

12345678910>>...44

/freebsd/contrib/llvm-project/compiler-rt/lib/builtins/ppc/
H A Dfixunstfti.c1 //===-- lib/builtins/ppc/fixunstfti.c - Convert long double->int128 *-C -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
9 // This file implements converting the 128bit IBM/PowerPC long double (double-
10 // double) data type to an unsigned 128 bit integer.
12 //===----------------------------------------------------------------------===//
17 // Convert long double into an unsigned 128-bit integer.
20 // If we are trying to convert a NaN, return the NaN bit pattern. in __fixunstfti()
28 // The long double representation, with the high and low portions of in __fixunstfti()
29 // the long double, and the corresponding bit patterns of each double. in __fixunstfti()
[all …]
H A Dfloattitf.c1 //===-- lib/builtins/ppc/floattitf.c - Convert int128->long double -*-C -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
9 // This file implements converting a signed 128 bit integer to a 128bit IBM /
10 // PowerPC long double (double-double) value.
12 //===----------------------------------------------------------------------===//
16 // Conversions from signed and unsigned 64-bit int to long double.
20 // Convert a signed 128-bit integer to long double.
21 // This uses the following property: Let hi and lo be 64-bits each,
23 // argument interpreted as a signed or unsigned k-bit integer. Then,
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/builtins/
H A Dint_types.h1 //===-- int_lib.h - configuration header for compiler-rt -----------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
14 //===----------------------------------------------------------------------===//
21 // si_int is defined in Linux sysroot's asm-generic/siginfo.h
45 si_int high; member
47 si_int high;
58 su_int high; member
60 su_int high;
71 // MSVC doesn't have a working 128bit integer type. Users should really compile
[all …]
H A Dudivmodti4.c1 //===-- udivmodti4.c - Implement __udivmodti4 -----------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
11 //===----------------------------------------------------------------------===//
17 // Returns the 128 bit division result by 64 bit. Result must fit in 64 bits.
38 un64 = (u1 << s) | (u0 >> (n_udword_bits - s)); in udiv128by64to64default()
46 // Break divisor up into two 32-bit digits. in udiv128by64to64default()
56 rhat = un64 - q1 * vn1; in udiv128by64to64default()
60 q1 = q1 - 1; in udiv128by64to64default()
66 un21 = un64 * b + un1 - q1 * v; in udiv128by64to64default()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/MCTargetDesc/
H A DAArch64FixupKinds.h1 //===-- AArch64FixupKinds.h - AArch64 Specific Fixup Entries ----*- C++ -*-
[all...]
/freebsd/lib/libc/gen/
H A Dmodf.c16 * Bit twiddling.
26 /* Bit fiddling routines copied from msun/src/math_private.h,v 1.15 */
56 /* Get two 32 bit ints from a double. */
66 /* Get the more significant 32 bit int from a double. */
75 /* Set a double from two 32 bit ints. */
93 j0 = ((i0>>20)&0x7ff)-0x3ff; /* exponent of x */ in modf()
94 if(j0<20) { /* integer part in high x */ in modf()
96 INSERT_WORDS(*iptr,i0&0x80000000,0); /* *iptr = +-0 */ in modf()
101 u_int32_t high; in modf() local
103 GET_HIGH_WORD(high,x); in modf()
[all …]
/freebsd/sys/net/
H A Dsff8472.h1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
4 * Copyright (c) 2013 George V. Neville-Neil
33 * The following set of constants are from Document SFF-8472
43 * 0-95 Serial ID Defined by SFP MSA
44 * 96-127 Vendor Specific Data
45 * 128-255 Reserved
48 * 0-55 Alarm and Warning Thresholds
49 * 56-95 Cal Constants
50 * 96-119 Real Time Diagnostic Interface
[all …]
/freebsd/contrib/xz/src/liblzma/check/
H A Dcrc_clmul_consts_gen.c1 // SPDX-License-Identifier: 0BSD
8 /// Compiling: gcc -std=c99 -o crc_clmul_consts_gen crc_clmul_consts_gen.c
10 /// This is for CRCs that use reversed bit order (bit reflection).
13 /// Barrett reduction to handle the 65th bit; the smaller ones don't.
31 // CRC64 (ECMA-182) polynomial in reversed representation
43 // Align the x^64 term with the x^128 (the implied high bits of the in calc_cldiv()
46 // zero because the highest bit of the quotient is an implied bit 1 in calc_cldiv()
47 // (we kind of set q = 1 << -1). in calc_cldiv()
51 // high bit, only q and p do. (And remember that a high bit in the in calc_cldiv()
52 // polynomial is stored at a low bit in the variable due to the in calc_cldiv()
[all …]
H A Dcrc_x86_clmul.h1 // SPDX-License-Identifier: 0BSD
8 /// The CRC32 and CRC64 implementations use 32/64-bit x86 SSSE3, SSE4.1, and
15 /// (The link was checked on 2024-06-11.)
47 // EDG-based compilers (Intel's classic compiler and compiler for E2K) can
49 // The new Clang-based ICX needs the attribute.
61 // but MSVC needs _mm_cvtsi64_si128 on x86-64.
74 // those could be used to clear the high bytes too but it's not needed here.)
91 // *Unaligned* 128-bit load
109 // Shift the 128-bit value left by "amount" bytes (not bits).
114 return _mm_shuffle_epi8(v, my_load128((vmasks + 32 - amount))); in shift_left()
[all …]
/freebsd/sys/contrib/device-tree/include/dt-bindings/pinctrl/
H A Dk210-fpioa.h1 /* SPDX-License-Identifier: GPL-2.0+ */
11 * kendryte-standalone-sdk/lib/drivers/include/fpioa.h
32 #define K210_PCF_UARTHS_RX 18 /* UART High speed Receiver */
33 #define K210_PCF_UARTHS_TX 19 /* UART High speed Transmitter */
38 #define K210_PCF_GPIOHS0 24 /* GPIO High speed 0 */
39 #define K210_PCF_GPIOHS1 25 /* GPIO High speed 1 */
40 #define K210_PCF_GPIOHS2 26 /* GPIO High speed 2 */
41 #define K210_PCF_GPIOHS3 27 /* GPIO High speed 3 */
42 #define K210_PCF_GPIOHS4 28 /* GPIO High speed 4 */
43 #define K210_PCF_GPIOHS5 29 /* GPIO High speed 5 */
[all …]
/freebsd/sys/dev/sound/isa/
H A Dsb.h1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
66 #define DSP_CMD_DAC8 0x14 /* single cycle 8-bit dma out */
67 #define DSP_CMD_ADC8 0x24 /* single cycle 8-bit dma in */
70 #define DSP_CMD_DAC8_AUTO 0x1c /* auto 8-bit dma out */
71 #define DSP_CMD_ADC8_AUTO 0x2c /* auto 8-bit dma out */
73 #define DSP_CMD_HSSIZE 0x48 /* high speed dma count */
74 #define DSP_CMD_HSDAC_AUTO 0x90 /* high speed dac, auto */
75 #define DSP_CMD_HSADC_AUTO 0x98 /* high speed adc, auto */
82 #define DSP_CMD_DAC2 0x16 /* 2-bit adpcm dma out (cont) */
[all …]
/freebsd/sys/dev/ow/
H A Dowc_gpiobus.c1 /*-
47 {"w1-gpio", true},
56 #define OWC_GPIOBUS_LOCK(_sc) mtx_lock(&(_sc)->sc_mtx)
57 #define OWC_GPIOBUS_UNLOCK(_sc) mtx_unlock(&(_sc)->sc_mtx)
59 mtx_init(&_sc->sc_mtx, device_get_nameunit(_sc->sc_dev), \
61 #define OWC_GPIOBUS_LOCK_DESTROY(_sc) mtx_destroy(&_sc->sc_mtx);
88 ofw_bus_search_compatible(dev, compat_data)->ocd_data) in owc_gpiobus_probe()
92 device_set_desc(dev, "GPIO one-wire bus"); in owc_gpiobus_probe()
104 sc->sc_dev = dev; in owc_gpiobus_attach()
107 /* Try to configure our pin from fdt data on fdt-based systems. */ in owc_gpiobus_attach()
[all …]
/freebsd/sys/dev/ixl/
H A Dixl_pf_i2c.c3 Copyright (c) 2013-2018, Intel Corporation
48 I40E_GLGEN_I2CPARAMS(_hw->func_caps.mdio_port_num)
50 /* I2C bit-banging functions */
67 * ixl_i2c_bus_clear - Clears the I2C bus
76 struct i40e_hw *hw = &pf->hw; in ixl_i2c_bus_clear()
89 /* Min high period of clock is 4us */ in ixl_i2c_bus_clear()
105 * ixl_i2c_stop - Sets I2C stop condition
108 * Sets I2C stop condition (Low -> High on SDA while SCL is High)
113 struct i40e_hw *hw = &pf->hw; in ixl_i2c_stop()
118 /* Stop condition must begin with data low and clock high */ in ixl_i2c_stop()
[all …]
/freebsd/sys/contrib/device-tree/Bindings/bus/
H A Dnvidia,tegra20-gmi.txt4 external memory. Can be used to attach various high speed devices such as
10 - compatible : Should contain one of the following:
11 For Tegra20 must contain "nvidia,tegra20-gmi".
12 For Tegra30 must contain "nvidia,tegra30-gmi".
13 - reg: Should contain GMI controller registers location and length.
14 - clocks: Must contain an entry for each entry in clock-names.
15 - clock-names: Must include the following entries: "gmi"
16 - resets : Must contain an entry for each entry in reset-names.
17 - reset-names : Must include the following entries: "gmi"
18 - #address-cells: The number of cells used to represent physical base
[all …]
/freebsd/sys/contrib/dev/iwlwifi/fw/api/
H A Drs.h1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
3 * Copyright (C) 2012-2014, 2018-2022, 2024-2025 Intel Corporation
14 * enum iwl_tlc_mng_cfg_flags - options for TLC config flags
29 IWL_TLC_MNG_CFG_FLAGS_STBC_MSK = BIT(0),
30 IWL_TLC_MNG_CFG_FLAGS_LDPC_MSK = BIT(1),
31 IWL_TLC_MNG_CFG_FLAGS_HE_STBC_160MHZ_MSK = BIT(2),
32 IWL_TLC_MNG_CFG_FLAGS_HE_DCM_NSS_1_MSK = BIT(3),
33 IWL_TLC_MNG_CFG_FLAGS_HE_DCM_NSS_2_MSK = BIT(4),
34 IWL_TLC_MNG_CFG_FLAGS_EHT_EXTRA_LTF_MSK = BIT(6),
38 * enum iwl_tlc_mng_cfg_cw - channel width options
[all …]
/freebsd/lib/libc/quad/
H A Dmuldi3.c1 /*-
2 * SPDX-License-Identifier: BSD-3-Clause
8 * at Lawrence Berkeley Laboratory under DARPA contract BG 91-66 and
60 * (2^n) (u1 v0 - u1 v1 + u0 v1 - u0 v0) +
63 * Factoring the middle a bit gives us:
65 * uv = (2^2n + 2^n) (u1 v1) + [u1v1 = high]
66 * (2^n) (u1 - u0) (v0 - v1) + [(u1-u0)... = mid]
69 * The terms (u1 v1), (u1 - u0) (v0 - v1), and (u0 v0) can all be done
71 * of (u1 - u0) or (v0 - v1) may be negative.)
85 * (2^n)(high) + (2^n)(mid) + (2^n + 1)(low)
[all …]
/freebsd/sys/libkern/arm/
H A Dmuldi3.c3 /*-
4 * SPDX-License-Identifier: BSD-3-Clause
10 * at Lawrence Berkeley Laboratory under DARPA contract BG 91-66 and
62 * (2^n) (u1 v0 - u1 v1 + u0 v1 - u0 v0) +
65 * Factoring the middle a bit gives us:
67 * uv = (2^2n + 2^n) (u1 v1) + [u1v1 = high]
68 * (2^n) (u1 - u0) (v0 - v1) + [(u1-u0)... = mid]
71 * The terms (u1 v1), (u1 - u0) (v0 - v1), and (u0 v0) can all be done
73 * of (u1 - u0) or (v0 - v1) may be negative.)
87 * (2^n)(high) + (2^n)(mid) + (2^n + 1)(low)
[all …]
/freebsd/sys/contrib/alpine-hal/
H A Dal_hal_pbs_regs.h1 /*-
10 found at http://www.gnu.org/licenses/gpl-2.0.html
62 /* [0x4] PASW high */
66 /* [0xc] PASW high */
70 /* [0x14] PASW high */
74 /* [0x1c] PASW high */
78 /* [0x24] PASW high */
82 /* [0x2c] PASW high */
86 /* [0x34] PASW high */
90 /* [0x3c] PASW high */
[all …]
/freebsd/sys/contrib/device-tree/Bindings/dma/stm32/
H A Dst,stm32-dma3.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/dma/stm32/st,stm32-dma3.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
12 It is either called LPDMA (Low Power), GPDMA (General Purpose) or HPDMA (High
22 described in "#dma-cells" property description below, using a three-cell
26 - Amelie Delaunay <amelie.delaunay@foss.st.com>
29 - $ref: /schemas/dma/dma-controller.yaml#
33 const: st,stm32mp25-dma3
42 Should contain all of the per-channel DMA interrupts in ascending order
[all …]
/freebsd/sys/contrib/device-tree/Bindings/interrupt-controller/
H A Dsnps,dw-apb-ictl.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/interrupt-controller/snps,dw-apb-ictl.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
11 - Zhen Lei <thunder.leizhen@huawei.com>
21 const: snps,dw-apb-ictl
26 interrupt-controller: true
28 '#interrupt-cells':
36 low and high interrupt registers (0⇒bit 0 low, 1⇒bit 1 low, 32⇒bit 0 high,
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/builtins/i386/
H A Dlshrdi3.S3 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
9 // This routine has some extra memory traffic, loading the 64-bit input via two
10 // 32-bit loads, then immediately storing it back to the stack via a single 64-bit
11 // store. This is to avoid a write-small, read-large stall.
13 // via a 64-bt store, this is unnecessary memory traffic, and should be avoided.
43 movl 8(%esp), %edx // Load high
50 shrl %cl, %edx // right shift high by count
53 1: movl %edx, %eax // Move high to low
54 xorl %edx, %edx // clear high
55 shrl %cl, %eax // shift low by count - 32
H A Dashldi3.S3 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
9 // This routine has some extra memory traffic, loading the 64-bit input via two
10 // 32-bit loads, then immediately storing it back to the stack via a single 64-bit
11 // store. This is to avoid a write-small, read-large stall.
13 // via a 64-bt store, this is unnecessary memory traffic, and should be avoided.
43 movl 8(%esp), %edx // Load high
48 shldl %cl, %eax, %edx // left shift high by count
52 1: movl %eax, %edx // Move low to high
54 shll %cl, %edx // shift high by count - 32
H A Dumoddi3.S3 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
10 // both inputs and the output are 64-bit unsigned integers.
14 // This is targeted at 32-bit x86 *only*, as this can be done directly in hardware
28 movl 20(%esp), %ebx // Find the index i of the leading bit in b.
29 bsrl %ebx, %ecx // If the high word of b is zero, jump to
32 // High word of b is known to be non-zero on this branch
38 notl %ecx // bhi = (high word of b) << (31 - i) |
41 movl 12(%esp), %edx // Load the high and low words of a, and jump
42 movl 8(%esp), %eax // to [2] if the high word is larger than bhi
46 // High word of a is greater than or equal to (b >> (1 + i)) on this branch
[all …]
H A Dudivdi3.S3 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
10 // both inputs and the output are 64-bit unsigned integers.
14 // This is targeted at 32-bit x86 *only*, as this can be done directly in hardware
27 movl 20(%esp), %ebx // Find the index i of the leading bit in b.
28 bsrl %ebx, %ecx // If the high word of b is zero, jump to
31 // High word of b is known to be non-zero on this branch
37 notl %ecx // bhi = (high word of b) << (31 - i) |
40 movl 12(%esp), %edx // Load the high and low words of a, and jump
41 movl 8(%esp), %eax // to [1] if the high word is larger than bhi
45 // High word of a is greater than or equal to (b >> (1 + i)) on this branch
[all …]
/freebsd/usr.bin/morse/
H A Dmorse.650 .Bl -tag -width indent
156 characters with the high-order bit set
159 .Bl -tag -width ".Li ISO8859-15" -compact
160 .It Li ISO8859-1
161 .It Li ISO8859-15
162 Interpret characters with the high-order bit set as Western European characters.
164 .It Li KOI8-R
165 Interpret characters with the high-order bit set as Cyrillic characters.
167 .It Li ISO8859-7
168 Interpret characters with the high-order bit set as Greek characters.
[all …]

12345678910>>...44