/openbmc/linux/arch/arm/nwfpe/ |
H A D | softfloat-specialize | 5 This C source fragment is part of the SoftFloat IEC/IEEE Floating-point 11 National Science Foundation under grant MIP-9311980. The original version 12 of this code was written as part of a project to build a fixed-point vector 16 http://www.jhauser.us/arithmetic/SoftFloat-2b/SoftFloat-source.txt 33 ------------------------------------------------------------------------------- 34 Underflow tininess-detection mode, statically initialized to default value. 36 ------------------------------------------------------------------------------- 41 ------------------------------------------------------------------------------- 42 Raises the exceptions specified by `flags'. Floating-point traps can be 48 Moved this function out of softfloat-specialize into fpmodule.c. [all …]
|
H A D | softfloat.c | 4 This C source file is part of the SoftFloat IEC/IEEE Floating-point 10 National Science Foundation under grant MIP-9311980. The original version 11 of this code was written as part of a project to build a fixed-point vector 15 http://www.jhauser.us/arithmetic/SoftFloat-2b/SoftFloat-source.txt 38 ------------------------------------------------------------------------------- 39 Primitive arithmetic functions, including multi-word arithmetic, and 42 ------------------------------------------------------------------------------- 44 #include "softfloat-macros" 47 ------------------------------------------------------------------------------- 52 are propagated from function inputs to output. These details are target- [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/hwmon/ |
H A D | sensirion,shtc1.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Christopher Ruehl chris.ruehl@gtsys.com.hk 14 designed especially for battery-driven high-volume consumer electronics 24 - sensirion,shtc1 25 - sensirion,shtw1 26 - sensirion,shtc3 31 sensirion,blocking-io: 36 sensirion,low-precision: [all …]
|
H A D | adi,ltc2947.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 LTC2947 high precision power and energy monitor 10 - Nuno Sá <nuno.sa@analog.com> 13 Analog Devices LTC2947 high precision power and energy monitor over SPI or I2C. 15 https://www.analog.com/media/en/technical-documentation/data-sheets/LTC2947.pdf 20 - adi,ltc2947 33 adi,accumulator-ctl-pol: 41 $ref: /schemas/types.yaml#/definitions/uint32-array [all …]
|
/openbmc/linux/Documentation/timers/ |
H A D | hrtimers.rst | 2 hrtimers - subsystem for high-resolution kernel timers 5 This patch introduces a new subsystem for high-resolution kernel timers. 9 back and forth trying to integrate high-resolution and high-precision 11 such high-resolution timer implementations in practice, we came to the 18 - the forced handling of low-resolution and high-resolution timers in 21 32-bitness assumptions, and has been honed and micro-optimized for a 23 for many years - and thus even small extensions to it easily break 26 current usage - but it is simply not suitable to be extended for 27 high-res timers. 29 - the unpredictable [O(N)] overhead of cascading leads to delays which [all …]
|
/openbmc/linux/drivers/firmware/efi/libstub/ |
H A D | vsprintf.c | 1 // SPDX-License-Identifier: GPL-2.0-only 2 /* -*- linux-c -*- ------------------------------------------------------- * 5 * Copyright 2007 rPath, Inc. - All Rights Reserved 7 * ----------------------------------------------------------------------- */ 10 * Oh, it's a waste of space, but oh-so-yummy for debugging. 28 i = i * 10 + *((*s)++) - '0'; in skip_atoi() 44 *--end = '0' + (r - q * 10); in put_dec_full4() 47 *--end = '0' + r; in put_dec_full4() 57 * (second call in the put_dec code, assuming n is all-ones). 64 put_dec_full4(end, x - q * 10000); in put_dec_helper4() [all …]
|
/openbmc/qemu/fpu/ |
H A D | softfloat-specialize.c.inc | 5 * IEC/IEEE Floating-point Arithmetic Package. Those parts of the code (and 9 * the SoftFloat-2a license 11 * GPL-v2-or-later 14 * taken to be licensed under the Softfloat-2a license unless specifically 20 This C source fragment is part of the SoftFloat IEC/IEEE Floating-point 26 National Science Foundation under grant MIP-9311980. The original version 27 of this code was written as part of a project to build a fixed-point vector 79 * version 2 or later. See the COPYING file in the top-level directory. 89 return status->no_signaling_nans; 97 * In IEEE 754-1985 this was implementation defined, but in IEEE 754-2008 [all …]
|
/openbmc/linux/arch/m68k/fpsp040/ |
H A D | util.S | 12 | g_rndpr: returns the rounding precision. 48 | ;largest -ext 70 | ovf_r_k --- overflow result calculation 74 | This forces the destination precision to be extended 86 | ovf_r_x2 --- overflow result calculation 93 | This sets the round precision according to the user's FPCR unless the 96 | If the instruction is fsgldiv of fsglmul, the rounding precision must be 97 | extended. If the instruction is not fsgldiv or fsglmul but a force- 98 | precision instruction, the rounding precision is then set to the force 99 | precision. [all …]
|
H A D | smovecr.S | 52 cmpib #0x0a,%d0 |check range $01 - $0a 54 cmpib #0x0e,%d0 |check range $0b - $0e 56 cmpib #0x2f,%d0 |check range $10 - $2f 58 cmpib #0x3f,%d0 |check range $30 - $3f 78 subil #0xb,%d0 |make offset in 0 - 4 range 86 ble set_finx |if 0 - 2, it is inexact 91 ble set_finx |if 0 - 2, it is inexact 96 ble set_finx |if 0 - 2, it is inexact 99 subil #0x30,%d0 |make offset in 0 - f range 107 ble set_finx |if 0 - 1, it is inexact [all …]
|
H A D | round.S | 21 | round --- round result according to precision/mode 24 | d1(high word) contains rounding precision: 28 | d1(low word) contains rounding mode: 36 | a0 is preserved and the g-r-s bits in d0 are cleared. 37 | The result is not typed - the tag field is invalid. The 41 | inexact (i.e. if any of the g-r-s bits were set). 50 | :rounding precision and sets 51 | ;the appropriate g-r-s bits. 117 asll #1,%d0 |shift g-bit to c-bit 124 | ext_grs --- extract guard, round and sticky bits [all …]
|
/openbmc/linux/Documentation/sound/designs/ |
H A D | timestamping.rst | 7 - Trigger_tstamp is the system time snapshot taken when the .trigger 11 estimate with a delay. In the latter two cases, the low-level driver 17 - tstamp is the current system timestamp updated during the last 19 The difference (tstamp - trigger_tstamp) defines the elapsed time. 29 - ``avail`` reports how much can be written in the ring buffer 30 - ``delay`` reports the time it will take to hear a new sample after all 43 ascii-art, this could be represented as follows (for the playback 47 --------------------------------------------------------------> time 53 |< codec delay >|<--hw delay-->|<queued samples>|<---avail->| 54 |<----------------- delay---------------------->| | [all …]
|
/openbmc/qemu/include/fpu/ |
H A D | softfloat.h | 5 * IEC/IEEE Floating-point Arithmetic Package. Those parts of the code (and 9 * the SoftFloat-2a license 11 * GPL-v2-or-later 14 * taken to be licensed under the Softfloat-2a license unless specifically 20 This C header file is part of the SoftFloat IEC/IEEE Floating-point 26 National Science Foundation under grant MIP-9311980. The original version 27 of this code was written as part of a project to build a fixed-point vector 79 * version 2 or later. See the COPYING file in the top-level directory. 85 /*---------------------------------------------------------------------------- 86 | Software IEC/IEEE floating-point ordering relations [all …]
|
/openbmc/u-boot/post/lib_powerpc/fpu/ |
H A D | darwin-ldouble.c | 1 // SPDX-License-Identifier: GPL-2.0+ 5 /* 128-bit long double support routines for Darwin. 13 * Implementations of floating-point long double basic arithmetic 17 * Double-double algorithms are based on the paper "Doubled-Precision 18 * IEEE Standard 754 Floating-Point Arithmetic" by W. Kahan, February 26, 20 * Doubled-Precision Floating-Point Computations", by Seppo Linnainmaa, 21 * ACM TOMS vol 7 no 3, September 1981, pages 272-283. 30 * -0.0. No other requirements are made; so, for example, 1.0 may be 31 * represented as (1.0, +0.0) or (1.0, -0.0), and the low part of a 32 * NaN is don't-care. [all …]
|
/openbmc/linux/arch/arm/vfp/ |
H A D | vfp.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 13 val = val >> shift | ((val << (32 - shift)) != 0); in vfp_shiftright32jamming() 24 val = val >> shift | ((val << (64 - shift)) != 0); in vfp_shiftright64jamming() 128 z -= 0x100000000ULL; in vfp_estimate_div128to64() 147 * Single-precision 159 * VFP_SINGLE_MANTISSA_BITS - number of bits in the mantissa 160 * VFP_SINGLE_EXPONENT_BITS - number of bits in the exponent 161 * VFP_SINGLE_LOW_BITS - number of low bits in the unpacked significand 166 #define VFP_SINGLE_LOW_BITS (32 - VFP_SINGLE_MANTISSA_BITS - 2) 167 #define VFP_SINGLE_LOW_BITS_MASK ((1 << VFP_SINGLE_LOW_BITS) - 1) [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/iio/frequency/ |
H A D | adi,adf4350.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Michael Hennerich <michael.hennerich@analog.com> 15 - adi,adf4350 16 - adi,adf4351 21 spi-max-frequency: 28 clock-names: 35 adi,channel-spacing: 40 adi,power-up-frequency: [all …]
|
/openbmc/linux/Documentation/hwmon/ |
H A D | ltc2947.rst | 1 Kernel drivers ltc2947-i2c and ltc2947-spi 10 Addresses scanned: - 14 https://www.analog.com/media/en/technical-documentation/data-sheets/LTC2947.pdf 21 The LTC2947 is a high precision power and energy monitor that measures current, 37 The following attributes are supported. Limits are read-write, reset_history 38 is write-only and all the other attributes are read-only. 41 in0_input VP-VM voltage (mV). 49 in0_label Channel label (VP-VM) 61 curr1_input IP-IM Sense current (mA) 69 curr1_label Channel label (IP-IM) [all …]
|
/openbmc/linux/drivers/hwmon/ |
H A D | shtc1.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 13 #include <linux/hwmon-sysfs.h> 19 /* commands (high precision mode) */ 23 /* commands (low precision mode) */ 41 /* delays for non-blocking i2c commands, both in us */ 75 int ret = i2c_master_send(client, data->command, SHTC1_CMD_LENGTH); in shtc1_update_values() 77 dev_err(&client->dev, "failed to send command: %d\n", ret); in shtc1_update_values() 78 return ret < 0 ? ret : -EIO; in shtc1_update_values() 87 if (!data->setup.blocking_io) in shtc1_update_values() 88 usleep_range(data->nonblocking_wait_time, in shtc1_update_values() [all …]
|
/openbmc/qemu/docs/system/arm/ |
H A D | emulation.rst | 3 A-profile CPU architecture support 7 Armv8 and Armv9 versions of the A-profile architecture. It also has support for 10 - FEAT_AA32BF16 (AArch32 BFloat16 instructions) 11 - FEAT_AA32EL0 (Support for AArch32 at EL0) 12 - FEAT_AA32EL1 (Support for AArch32 at EL1) 13 - FEAT_AA32EL2 (Support for AArch32 at EL2) 14 - FEAT_AA32EL3 (Support for AArch32 at EL3) 15 - FEAT_AA32HPD (AArch32 hierarchical permission disables) 16 - FEAT_AA32I8MM (AArch32 Int8 matrix multiplication instructions) 17 - FEAT_AA64EL0 (Support for AArch64 at EL0) [all …]
|
/openbmc/qemu/tests/fp/ |
H A D | fp-bench.c | 2 * fp-bench.c - A collection of simple floating point microbenchmarks. 7 * See the COPYING file in the top-level directory. 51 enum precision { enum 125 static enum precision precision; variable 147 static void update_random_ops(int n_ops, enum precision prec) in update_random_ops() 179 uint64_t lo = r.low; in update_random_ops() 194 static void fill_random(union fp *ops, int n_ops, enum precision prec, in fill_random() 230 * on the compiler to unfold this at compile-time. 232 static void bench(enum precision prec, enum op op, int n_ops, bool no_neg) in bench() 256 res.f = a - b; in bench() [all …]
|
/openbmc/linux/arch/m68k/math-emu/ |
H A D | fp_util.S | 23 * the restrictions contained in a BSD-style copyright.) 63 tst.l (TASK_MM-8,%a2) 65 tst.l (TASK_MM-4,%a2) 69 1: printf ,"oops:%p,%p,%p\n",3,%a2@(TASK_MM-8),%a2@(TASK_MM-4),%a2@(TASK_MM) 94 | args: %d0 = source (32-bit long) 98 printf PCONV,"l2e: %p -> %p(",2,%d0,%a0 125 | args: %d0 = source (single-precision fp value) 129 printf PCONV,"s2e: %p -> %p(",2,%d0,%a0 139 add.w #0x3fff-0x7f,%d1 | re-bias the exponent. 142 clr.l (%a0) | low lword = 0 [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/iio/amplifiers/ |
H A D | adi,ada4250.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Antoniu Miclaus <antoniu.miclaus@analog.com> 13 Precision Low Power, 110kHz, 26uA, Programmable Gain Instrumentation Amplifier. 18 - adi,ada4250 23 avdd-supply: true 25 adi,refbuf-enable: 31 - compatible 32 - reg [all …]
|
/openbmc/linux/drivers/net/ethernet/qualcomm/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 59 supports IEEE 802.3-2002, half-duplex mode at 10/100 Mb/s, 60 full-duplex mode at 10/100/1000Mb/s, Wake On LAN (WOL) for 61 low power, Receive-Side Scaling (RSS), and IEEE 1588-2008 62 Precision Clock Synchronization Protocol.
|
/openbmc/linux/arch/parisc/math-emu/ |
H A D | decode_exc.c | 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> 47 #define copropbit 1<<31-2 /* bit position 2 */ 51 #define twobits 3 /* mask low-order 2 bits */ 52 #define fivebits 31 /* mask low-order 5 bits */ 73 /* Single precision floating-point definitions */ 75 # define Sgl_decrement(sgl_value) Sall(sgl_value)-- 78 /* Double precision floating-point definitions */ [all …]
|
/openbmc/linux/drivers/staging/media/atomisp/pci/isp/kernels/hdr/ |
H A D | ia_css_hdr_param.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 27 s32 match_shift[HDR_NUM_INPUT_FRAMES - 29 s32 match_mul[HDR_NUM_INPUT_FRAMES - 31 s32 thr_low[HDR_NUM_INPUT_FRAMES - 32 1]; /* Weight map soft threshold low bound parameter */ 33 s32 thr_high[HDR_NUM_INPUT_FRAMES - 35 s32 thr_coeff[HDR_NUM_INPUT_FRAMES - 37 s32 thr_shift[HDR_NUM_INPUT_FRAMES - 38 1]; /* Soft threshold precision shift parameter */
|
/openbmc/linux/arch/x86/math-emu/ |
H A D | README | 1 +---------------------------------------------------------------------------+ 2 | wm-FPU-emu an FPU emulator for 80386 and 80486SX microprocessors. | 6 | Australia. E-mail billm@melbpc.org.au | 21 +---------------------------------------------------------------------------+ 25 wm-FPU-emu is an FPU emulator for Linux. It is derived from wm-emu387 27 msdos); wm-emu387 was in turn based upon emu387 which was written by 31 My target FPU for wm-FPU-emu is that described in the Intel486 40 wm-FPU-emu does not implement all of the behaviour of the 80486 FPU, 52 --Bill Metzenthen 56 ----------------------- Internals of wm-FPU-emu ----------------------- [all …]
|