| /illumos-gate/usr/src/common/ficl/ |
| H A D | double.c | 3 * Forth Inspired Command Language - 64 bit math support routines 8 * Rev 2.03: Support for 128 bit DP math. This file really ouught to 13 * Copyright (c) 1997-2001 John Sadler (john_sadler@alum.mit.edu) 20 * if you would like to contribute to the Ficl release, please 35 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 39 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 57 * Once we have the quotient, it's cheaper to calculate the in ficl2UnsignedDivide() 58 * remainder this way than with % (mod). --lch in ficl2UnsignedDivide() 60 result.remainder = (ficlInteger)(q - (result.quotient * y)); in ficl2UnsignedDivide() 67 #define FICL_CELL_HIGH_BIT ((uintmax_t)1 << (FICL_BITS_PER_CELL-1)) [all …]
|
| /illumos-gate/usr/src/common/bitext/ |
| H A D | bitext.c | 18 * integers. Meant to be a replacement for the extant BITX macro and provide 27 bitx8(uint8_t reg, uint_t high, uint_t low) in bitx8() argument 31 ASSERT3U(high, >=, low); in bitx8() 32 ASSERT3U(high, <, 8); in bitx8() 33 ASSERT3U(low, <, 8); in bitx8() 35 mask = (1 << (high - low + 1)) - 1; in bitx8() 36 return ((reg >> low) & mask); in bitx8() 40 bitx16(uint16_t reg, uint_t high, uint_t low) in bitx16() argument 44 ASSERT3U(high, >=, low); in bitx16() 45 ASSERT3U(high, <, 16); in bitx16() [all …]
|
| /illumos-gate/usr/src/man/man9f/ |
| H A D | bitset64.9f | 28 .Fa "uint_t high" 29 .Fa "uint_t low" 35 .Fa "uint_t high" 36 .Fa "uint_t low" 42 .Fa "uint_t high" 43 .Fa "uint_t low" 49 .Fa "uint_t high" 50 .Fa "uint_t low" 54 .Sy Volatile - 58 .Bl -tag -width Fa [all …]
|
| H A D | bitx64.9f | 28 .Fa "uint_t high" 29 .Fa "uint_t low" 34 .Fa "uint_t high" 35 .Fa "uint_t low" 40 .Fa "uint_t high" 41 .Fa "uint_t low" 46 .Fa "uint_t high" 47 .Fa "uint_t low" 50 .Sy Volatile - 54 .Bl -tag -width Fa [all …]
|
| H A D | bitdel64.9f | 25 .Fa "uint_t high" 26 .Fa "uint_t low" 29 .Sy Volatile - 33 .Bl -tag -width Fa 35 .It Fa high 36 The high end, inclusive, of the bit range to delete from 38 .It Fa low 39 The low end, inclusive, of the bit range to delete from 42 An integer to remove bits from. 51 .Fa low [all …]
|
| H A D | id_space.9f | 34 .Fa "id_t low" 35 .Fa "id_t high" 43 .Fa "id_t low" 44 .Fa "id_t high" 75 .Bl -tag -width Fa 77 A pointer to an 83 An identifier, a signed 32-bit integer. 85 An ASCII character string to call the identifier space. 86 .It Fa low 89 .It Fa high [all …]
|
| /freebsd/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 …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | LowerSwitch.cpp | 1 //===- LowerSwitch.cpp - Eliminate Switch instructions --------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 10 // of branches, which allows targets to get away with not implementing the 13 //===----------------------------------------------------------------------===// 49 #define DEBUG_TYPE "lower-switch" 54 APInt Low, High; member 62 // Note: Ranges must be sorted, non-overlapping and non-adjacent. in IsInRanges() 64 // Find the first range whose High field is >= R.High, in IsInRanges() 65 // then check if the Low field is <= R.Low. If so, we in IsInRanges() [all …]
|
| /freebsd/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/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 …]
|
| /illumos-gate/usr/src/lib/libc/port/fp/ |
| H A D | muldi3.c | 6 * at Lawrence Berkeley Laboratory under DARPA contract BG 91-66 and 7 * 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 59 * Now add 2^n u1 v1 to the first term and subtract it from the middle, 60 * and add 2^n u0 v0 to the last term and subtract it from the middle. 64 * (2^n) (u1 v0 - u1 v1 + u0 v1 - u0 v0) + 69 * uv = (2^2n + 2^n) (u1 v1) + [u1v1 = high] 70 * (2^n) (u1 - u0) (v0 - v1) + [(u1-u0)... = mid] [all …]
|
| /illumos-gate/usr/src/uts/common/io/usb/hcd/ |
| H A D | README | 4 # The contents of this file are subject to the terms of the 23 * Use is subject to license terms. 32 overheads used for both full and high speed host controller drivers. This 43 The following overheads, formulas and scheme are applicable both to full speed 44 host controllers and also to high speed hub Transaction Translators (TT), 45 which perform full/low speed transactions. 49 - Timing calculations 54 - Data rate calculations 63 - Protocol Overheads 71 Low-speed overhead 64060 ns 97 bytes [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | SwitchLoweringUtils.cpp | 1 //===- SwitchLoweringUtils.cpp - Switch Lowering --------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 12 //===----------------------------------------------------------------------===// 26 const APInt &LowCase = Clusters[First].Low->getValue(); in getJumpTableRange() 27 const APInt &HighCase = Clusters[Last].High->getValue(); in getJumpTableRange() 31 // comparison to lower. We should discriminate against such consecutive ranges in getJumpTableRange() 33 return (HighCase - LowCase).getLimitedValue((UINT64_MAX - 1) / 100) + 1; in getJumpTableRange() 42 TotalCases[Last] - (First == 0 ? 0 : TotalCases[First - 1]); in getJumpTableNumCases() 53 // Clusters must be non-empty, sorted, and only contain Range clusters. in findJumpTables() [all …]
|
| /illumos-gate/usr/src/cmd/geniconvtbl/ |
| H A D | itm_comp.l | 5 * The contents of this file are subject to the terms of the 50 DECIMAL ([0-9]+) 51 OCTAL (0[0-7][0-7]+) 52 HEXADECIMAL (("0x"|"0X")([0-9A-Fa-f])+) 54 ATNAME "@"([0-9A-Za-z_]+) 55 NAME ([A-Za-z_][A-Za-z0-9_]*) 84 {HEXADECIMAL} { yylval.data = hexadecimal_data(yyleng - 2, yytext + 2); 138 "-" {return (MINUS);} 154 * lexinit - starts the Lexical Analyzer off in the right start condition 162 /* does this really need to be here? */ [all …]
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/builtins/ |
| 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 …]
|
| H A D | int_types.h | 1 //===-- int_lib.h - configuration header for compiler-rt -----------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 12 // used to access parts of larger types. 14 //===----------------------------------------------------------------------===// 21 // si_int is defined in Linux sysroot's asm-generic/siginfo.h 44 su_int low; member 45 si_int high; member 47 si_int high; 48 su_int low; [all …]
|
| /freebsd/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/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 special i386 instructions. 36 * used in preference to this. 280 uint32_t low, high; in rdmsr() local 282 __asm __volatile("rdmsr" : "=a" (low), "=d" (high) : "c" (msr)); in rdmsr() 283 return (low | ((uint64_t)high << 32)); in rdmsr() [all …]
|
| /illumos-gate/usr/src/lib/libldap5/sources/ldap/ssldap/ |
| H A D | errormap.c | 7 * The contents of this file are subject to the Netscape Public 22 * Copyright (C) 1998-1999 Netscape Communications Corporation. All 29 * errormap.c - map NSPR and OS errors to strings 34 * Copyright (C) 1998-9 Netscape Communications Corporation. All Rights Reserved. 36 * Use of this Source Code is subject to the terms of the applicable license 52 #include "proto-ntutil.h" 93 * Netscape Certificate Server team on 27-March-1998. 95 * Last updated from there: 24-July-1998 by Mark Smith <mcs> 96 * Last updated from there: 14-July-1999 by chuck boatwright <cboatwri> 140 * XXXceb -- LDAPSDK won't care about disconnect [all …]
|
| /illumos-gate/usr/src/man/man4d/ |
| H A D | ehci.4d | 3 .\" The contents of this file are subject to the terms of the Common Development and Distribution L… 8 ehci \- Enhanced host controller driver 11 \fBusb@unit-address\fR 20 A USB 2.0 host controller includes one high-speed host controller and zero or 21 more USB 1.1 host controllers. The high-speed host controller implements an 22 EHCI (Enhanced Host Controller Interface) that is used for all high-speed 23 communications to high-speed-mode devices. 26 All USB 2.0 devices connected to the root ports of the USB 2.0 host 27 controller and all devices connected to a high-speed-mode hub should be routed 31 All full- and low-speed devices connected to the root ports of the USB 2.0 host [all …]
|
| /freebsd/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 attach if specifically added by our parent in owc_gpiobus_probe() 88 ofw_bus_search_compatible(dev, compat_data)->ocd_data) in owc_gpiobus_probe() [all …]
|
| /freebsd/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/sys/contrib/device-tree/Bindings/iio/adc/ |
| H A D | adi,ad4000.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Analog Devices AD4000 and similar Analog to Digital Converters 10 - Marcelo Schmitt <marcelo.schmitt@analog.com> 13 Analog Devices AD4000 family of Analog to Digital Converters with SPI support. 15 https://www.analog.com/media/en/technical-documentation/data-sheets/ad4000-4004-4008.pdf 16 https://www.analog.com/media/en/technical-documentation/data-sheets/ad4001-4005.pdf 17 https://www.analog.com/media/en/technical-documentation/data-sheets/ad4002-4006-4010.pdf 18 https://www.analog.com/media/en/technical-documentation/data-sheets/ad4003-4007-4011.pdf [all …]
|
| /freebsd/crypto/openssl/crypto/modes/asm/ |
| H A D | aes-gcm-armv8_64.pl | 2 # Copyright 2019-2025 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/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-t [all...] |