/freebsd-src/contrib/llvm-project/compiler-rt/lib/builtins/ppc/ |
H A D | fixunstfti.c | 1 //===-- 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() 32 double d[2]; // [0] is the high double, [1] is the low double. in __fixunstfti() [all …]
|
H A D | floatunditf.c | 3 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 6 // This file implements the PowerPC unsigned long long -> long double conversion 18 doublebits high = {.d = twop84}; in __floatunditf() local 19 doublebits low = {.d = twop52}; in __floatunditf() local 21 high.x |= a >> 32; // 0x1.0p84 + high 32 bits of a in __floatunditf() 22 low.x |= a & UINT64_C(0x00000000ffffffff); // 0x1.0p52 + low 32 bits of a in __floatunditf() 24 const double high_addend = high.d - twop84_plus_twop52; in __floatunditf() 27 // high_addend and low.d, and we wish to return their sum in __floatunditf() 35 result.s.hi = high_addend + low.d; in __floatunditf() 36 result.s.lo = (high_addend - result.s.hi) + low.d; in __floatunditf()
|
/freebsd-src/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | LowerSwitch.cpp | 1 //===- LowerSwitch.cpp - Eliminate Switch instructions -------- 54 APInt Low, High; global() member 73 ConstantInt *Low; global() member 74 ConstantInt *High; global() member 422 const APInt &Low = Cases.front().Low->getValue(); ProcessSwitchInst() local 423 const APInt &High = Cases.back().High->getValue(); ProcessSwitchInst() local 444 const APInt &Low = I.Low->getValue(); ProcessSwitchInst() local 445 const APInt &High = I.High->getValue(); ProcessSwitchInst() local [all...] |
/freebsd-src/sys/libkern/arm/ |
H A D | muldi3.c | 3 /*- 4 * SPDX-License-Identifier: BSD-3-Clause 10 * at Lawrence Berkeley Laboratory under DARPA contract BG 91-66 and 11 * contributed to Berkeley. 22 * may be used to endorse or promote products derived from this software 26 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 30 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 57 * Now add 2^n u1 v1 to the first term and subtract it from the middle, 58 * and add 2^n u0 v0 to the last term and subtract it from the middle. 62 * (2^n) (u1 v0 - u1 v1 + u0 v1 - u0 v0) + [all …]
|
/freebsd-src/lib/libc/quad/ |
H A D | muldi3.c | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 8 * at Lawrence Berkeley Laboratory under DARPA contract BG 91-66 and 9 * contributed to Berkeley. 20 * may be used to endorse or promote products derived from this software 24 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 28 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 55 * Now add 2^n u1 v1 to the first term and subtract it from the middle, 56 * and add 2^n u0 v0 to the last term and subtract it from the middle. 60 * (2^n) (u1 v0 - u1 v1 + u0 v1 - u0 v0) + [all …]
|
/freebsd-src/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | SwitchLoweringUtils.cpp | 1 //===- SwitchLoweringUtils.cpp - Switch Lowering -------- 211 const APInt &Low = Clusters[I].Low->getValue(); buildJumpTable() local 212 const APInt &High = Clusters[I].High->getValue(); buildJumpTable() local 383 APInt Low = Clusters[First].Low->getValue(); buildBitTests() local 384 APInt High = Clusters[Last].High->getValue(); buildBitTests() local [all...] |
/freebsd-src/contrib/llvm-project/compiler-rt/lib/builtins/ |
H A D | int_types.h | 1 //===-- int_lib.h - configuration header for compiler-rt ------ 44 su_int low; global() member 45 si_int high; global() member 57 su_int low; global() member 58 su_int high; global() member 86 du_int low; global() member 87 di_int high; global() member 99 du_int low; global() member 100 du_int high; global() member 145 udwords low; global() member 146 udwords high; global() member [all...] |
H A D | udivmodti4.c | 1 //===-- udivmodti4.c - Implement __udivmodti4 -----------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 11 //===----------------------------------------------------------------------===// 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() 70 rhat = un21 - q0 * vn1; in udiv128by64to64default() [all …]
|
/freebsd-src/sys/amd64/include/ |
H A D | cpufunc.h | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 17 * may be used to endorse or promote products derived from this software 21 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 25 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 34 * Functions to provide access to specia 280 uint32_t low, high; rdmsr() local 289 uint32_t low; rdmsr32() local 298 uint32_t low, high; rdpmc() local 307 uint32_t low, high; rdtsc() local 330 uint32_t low, high; rdtscp() local 339 uint32_t low, high; rdtscp_aux() local 378 uint32_t low, high; wrmsr() local 444 u_int low, high; rxcr() local 453 u_int low, high; load_xcr() local [all...] |
/freebsd-src/sys/dev/ow/ |
H A D | owc_gpiobus.c | 1 /*- 14 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 18 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 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); 80 * By default we only bid to attac in owc_gpiobus_probe() 169 #define LOW( global() macro [all...] |
/freebsd-src/lib/libc/softfloat/ |
H A D | timesoftfloat.c | 6 This C source file is part of the SoftFloat IEC/IEEE Floating-point 12 National Science Foundation under grant MIP-9311980. The original version 13 of this code was written as part of a project to build a fixed-point vector 20 has been made to avoid it, THIS SOFTWARE MAY CONTAIN FAULTS THAT WILL AT 21 TIMES RESULT IN INCORRECT BEHAVIOR. USE OF THIS SOFTWARE IS RESTRICTED TO 27 include prominent notice akin to these four paragraphs for those parts of 111 for ( i = minIterations; i; --i ) { in time_a_int32_z_float32() 113 inputNum = ( inputNum + 1 ) & ( numInputs_int32 - 1 ); in time_a_int32_z_float32() 116 } while ( clock() - startClock < CLOCKS_PER_SEC ); in time_a_int32_z_float32() 119 for ( i = count; i; --i ) { in time_a_int32_z_float32() [all …]
|
/freebsd-src/sys/contrib/device-tree/Bindings/sound/ |
H A D | tlv320adcx140.yaml | 1 # SPDX-License-Identifier: (GPL-2.0+ OR BSD-2-Clause) 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: Texas Instruments TLV320ADCX140 Quad Channel Analog-to-Digital Converter 11 - Andrew Davis <afd@ti.com> 14 The TLV320ADCX140 are multichannel (4-ch analog recording or 8-ch digital 15 PDM microphones recording), high-performance audio, analog-to-digital 16 converter (ADC) with analog inputs supporting up to 2V RMS. The TLV320ADCX140 28 - ti,tlv320adc3140 29 - ti,tlv320adc5140 [all …]
|
/freebsd-src/crypto/heimdal/lib/krb5/ |
H A D | addr_families.c | 2 * Copyright (c) 1997-2007 Kungliga Tekniska Högskolan 18 * may be used to endorse or promote products derived from this software 22 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 59 * AF_INET - aka IPv4 implementation 68 a->addr_type = KRB5_ADDRESS_INET; in ipv4_sockaddr2addr() 69 memcpy (buf, &sin4->sin_addr, 4); in ipv4_sockaddr2addr() 70 return krb5_data_copy(&a->address, buf, 4); in ipv4_sockaddr2addr() 78 *port = sin4->sin_port; in ipv4_sockaddr2port() 92 memcpy (&tmp.sin_addr, a->address.data, 4); in ipv4_addr2sockaddr() [all …]
|
/freebsd-src/sys/contrib/device-tree/Bindings/net/ |
H A D | sff,sfp.txt | 1 Small Form Factor (SFF) Committee Small Form-factor Pluggable (SFP) 6 - compatible : must be one of 10 - i2c-bus : phandle of an I2C bus controller for the SFP two wire serial 15 - mod-def0-gpios : GPIO phandle and a specifier of the MOD-DEF0 (AKA Mod_ABS) 16 module presence input gpio signal, active (module absent) high. Must 19 - los-gpios : GPIO phandle and a specifier of the Receiver Loss of Signal 20 Indication input gpio signal, active (signal lost) high 22 - tx-fault-gpios : GPIO phandle and a specifier of the Module Transmitter 23 Fault input gpio signal, active (fault condition) high 25 - tx-disable-gpios : GPIO phandle and a specifier of the Transmitter Disable [all …]
|
/freebsd-src/crypto/openssl/crypto/bn/ |
H A D | bn_local.h | 2 * Copyright 1995-2023 The OpenSSL Project Authors. All Rights Reserved. 15 * SIXTY_FOUR_BIT in its own environment since it doesn't re-run our 16 * Configure script and needs to support both 32-bit and 64-bit. 33 * itself. BN_DEBUG - turn on various debugging alterations to the bignum 34 * code BN_RAND_DEBUG - uses random poisoning of unused words to trip up 35 * mismanagement of bignum internals. Enable BN_RAND_DEBUG is known to 46 * This should limit the stack usage due to alloca to about 4K. 47 * BN_SOFT_LIMIT is a soft limit equivalent to 2*OPENSSL_RSA_MAX_MODULUS_BITS. 49 * assembler code is disabled, due to the blatant alloca and bn_mul_mont usage. 51 * It is not recommended to do computations with numbers exceeding this limit, [all …]
|
/freebsd-src/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | SwitchLoweringUtils.h | 1 //===- SwitchLoweringUtils.h - Switch Lowering ------------------*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 44 const ConstantInt *Low, *High; member 52 static CaseCluster range(const ConstantInt *Low, const ConstantInt *High, in range() 56 C.Low = Low; in range() 57 C.High = High; in range() 63 static CaseCluster jumpTable(const ConstantInt *Low, const ConstantInt *High, in jumpTable() 67 C.Low = Low; in jumpTable() 68 C.High = High; in jumpTable() [all …]
|
/freebsd-src/sys/dev/iicbus/ |
H A D | iicbb.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 17 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 21 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 31 * Generic I2C bit-banging code 42 * (c) 1998 Gerd Knorr <kraxel@cs.tu-berlin.de> 136 device_set_desc(dev, "I2C bit-bangin in iicbb_probe() [all...] |
H A D | iic_recover_bus.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 18 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 32 * Helper code to recover a hung i2c bus by bit-banging a recovery sequence. 34 * An i2c bus can be hung by a slave driving the clock (rare) or data lines low. 35 * The most common cause is a partially-completed transaction such as rebooting 36 * while a slave is sending a byte of data. Because i2c allows the clock to 38 * data line until power is removed, or the clock cycles enough times to 42 * Any i2c driver which is able to manually set the level of the clock and data [all …]
|
/freebsd-src/crypto/openssl/crypto/modes/asm/ |
H A D | aes-gcm-armv8_64.pl | 2 # Copyright 2019-2023 The OpenSSL Project Authors. All Rights Reserved. 12 # derived from https://github.com/ARM-software/AArch64cryptolib, original 18 # Approach - assume we don't want to reload constants, so reserve ~half of vector register file for… 20 # main loop to act on 4 16B blocks per iteration, and then do modulo of the accumulated intermediat… 48 # Increment and byte reverse counter in scalar registers and transfer to SIMD registers 51 # INS ctr_next.d[0], constctr96_bottom64 // Keeping this in scalar registers to free up sp… 109 # We only have 64b->128b polynomial multipliers, naively that means we need to do 4 64b multipl… 117 …mplication here because the bit order of GHASH's PMULL is reversed compared to elsewhere, so we are 121 # Note: For scheduling big cores we want to split the processing to happen over two loop iterations… 124 # This has a knock on effect on register pressure, so we have to be a bit more clever with ou… [all …]
|
/freebsd-src/sys/contrib/device-tree/Bindings/pinctrl/ |
H A D | pincfg-node.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 4 $id: http://devicetree.org/schemas/pinctrl/pincfg-node.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Linu [all...] |
/freebsd-src/share/man/man4/ |
H A D | mac_biba.4 | 1 .\" Copyright (c) 2002-2004 Networks Associates Technology, Inc. 7 .\" DARPA/SPAWAR contract N66001-01-C-8035 ("CBOSS"), as part of the 20 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 24 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 40 .Bd -ragged -offset indent 45 Alternately, to load the Biba module at boot time, place the following line 47 .Bd -ragged -offset indent 53 .Bd -literal -offset indent 63 up of hierarchal grades, and non-hierarchal components. 64 Together, these label elements permit all labels to be placed in a partial [all …]
|
/freebsd-src/sys/x86/iommu/ |
H A D | intel_intrmap.c | 1 /*- 17 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 21 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 65 uint64_t low, uint16_t rid); 77 if (unit == NULL || !unit->ir_enabled) { in iommu_alloc_msi_intr() 79 cookies[i] = -1; in iommu_alloc_msi_intr() 83 error = vmem_alloc(unit->irtids, count, M_FIRSTFIT | M_NOWAIT, in iommu_alloc_msi_intr() 101 uint64_t low; in iommu_map_msi_intr() 110 * See VT-d specification, 5.1.6 Remapping Hardware - in iommu_map_msi_intr() 100 uint64_t low; iommu_map_msi_intr() local 158 uint64_t low, iorte; iommu_map_ioapic_intr() local 262 dmar_ir_program_irte(struct dmar_unit * unit,u_int idx,uint64_t low,uint16_t rid) dmar_ir_program_irte() argument 266 uint64_t high; dmar_ir_program_irte() local [all...] |
/freebsd-src/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
H A D | SystemZMachineFunctionInfo.h | 1 //=== SystemZMachineFunctionInfo.h - SystemZ machine function info -*- C++ -*-// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 17 // A struct to hold the low and high GPR registers to be saved/restored as 18 // well as the offset into the register save area of the low register. 60 // Get and set the first and last call-saved GPR that should be saved by 62 // need to be saved or restored. 64 void setSpillGPRRegs(Register Low, Register High, unsigned Offs) { in setSpillGPRRegs() argument 65 SpillGPRRegs.LowGPR = Low; in setSpillGPRRegs() 66 SpillGPRRegs.HighGPR = High; in setSpillGPRRegs() [all …]
|
/freebsd-src/crypto/openssl/crypto/ec/ |
H A D | ecp_nistp256.c | 2 * Copyright 2011-2021 The OpenSSL Project Authors. All Rights Reserved. 17 * http://www.apache.org/licenses/LICENSE-2.0 19 * Unless required by applicable law or agreed to in writing, software 27 * ECDSA low level APIs are deprecated for public use, but still ok for 33 * A 64-bit implementation of the NIST P-256 elliptic curve point multiplication 50 # error "Your compiler doesn't appear to support 128-bit integer types" 58 * The underlying field. P256 operates over GF(2^256-2^224+2^192+2^96-1). We 66 * These are the parameters of P256, taken from FIPS 186-3, page 86. These 67 * values are big-endian. 74 {0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0x01, /* a = -3 */ [all …]
|
/freebsd-src/contrib/llvm-project/compiler-rt/lib/msan/ |
H A D | msan.h | 1 //===-- msan.h --------------------------------------------------*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 12 //===----------------------------------------------------------------------===// 45 // Note: MappingDesc::ALLOCATOR entries are only used to check for memory 47 // msan_allocator.cpp, which need to be kept in sync. 51 // - 0x0000000000-0x0200000000: Program own segments 52 // - 0xa200000000-0xc000000000: PIE program segments 53 // - 0xe200000000-0xffffffffff: libraries segments. 55 {0x000000000000ULL, 0x000200000000ULL, MappingDesc::APP, "app-1"}, [all …]
|