/linux/tools/perf/pmu-events/arch/arm64/fujitsu/monaka/ |
H A D | fp_operation.json | 5 … "BriefDescription": "This event counts architecturally executed floating-point move operation." 19 …"BriefDescription": "This event counts architecturally executed Advanced SIMD floating-point opera… 23 … "BriefDescription": "This event counts architecturally executed SVE floating-point operation." 27 …ption": "This event counts architecturally executed Advanced SIMD or SVE floating-point operation." 31 …"BriefDescription": "This event counts architecturally executed half-precision floating-point oper… 35 …ion": "This event counts architecturally executed Advanced SIMD half-precision floating-point oper… 39 …efDescription": "This event counts architecturally executed SVE half-precision floating-point oper… 43 …This event counts architecturally executed Advanced SIMD or SVE half-precision floating-point oper… 47 …"BriefDescription": "This event counts architecturally executed single-precision floating-point op… 51 …: "This event counts architecturally executed Advanced SIMD single-precision floating-point operat… [all …]
|
H A D | sve.json | 4 …ing the Advanced SIMD scalar instructions and the instructions listed in Non-SIMD SVE instructions… 8 …cturally executed SVE instructions, including the instructions listed in Non-SIMD SVE instructions… 12 …cturally executed SVE instructions, including the instructions listed in Non-SIMD SVE instructions… 20 "BriefDescription": "This event counts all architecturally executed micro-operation." 28 …ations due to scalar, Advanced SIMD, and SVE instructions listed in Floating-point instructions se… 32 …on": "This event counts architecturally executed floating-point fused multiply-add and multiply-su… 36 …"BriefDescription": "This event counts architecturally executed floating-point reciprocal estimate… 40 …uted floating-point convert operations due to the scalar, Advanced SIMD, and SVE floating-point co… 60 …"BriefDescription": "This event counts architecturally executed SVE 64-bit integer divide operatio… 76 …"BriefDescription": "This event counts architecturally executed SVE integer 64-bit x 64-bit multip… [all …]
|
/linux/tools/perf/pmu-events/arch/arm64/arm/neoverse-n2-v2/ |
H A D | fp_operation.json | 4 … "PublicDescription": "Counts speculatively executed half precision floating point operations." 8 … "PublicDescription": "Counts speculatively executed single precision floating point operations." 12 … "PublicDescription": "Counts speculatively executed double precision floating point operations." 16 …"PublicDescription": "Counts speculatively executed scalable single precision floating point opera… 20 …"PublicDescription": "Counts speculatively executed non-scalable single precision floating point o…
|
/linux/arch/x86/math-emu/ |
H A D | reg_round.S | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 /*---------------------------------------------------------------------------+ 10 | Australia. E-mail billm@suburbia.net | 20 | Return value is the tag of the answer, or-ed with FPU_Exception if | 21 | one was raised, or -1 on internal error. | 26 +---------------------------------------------------------------------------*/ 28 /*---------------------------------------------------------------------------+ 47 | must be non-zero. | 48 | If the significand extension is non-zero then the significand is | 52 | non-zero values: | [all …]
|
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 …]
|
/linux/tools/perf/pmu-events/arch/arm64/ |
H A D | common-and-microarch.json | 129 "PublicDescription": "Attributable Level 1 data cache write-back", 132 "BriefDescription": "Attributable Level 1 data cache write-back" 147 "PublicDescription": "Attributable Level 2 data cache write-back", 150 "BriefDescription": "Attributable Level 2 data cache write-back" 283 "PublicDescription": "Access to another socket in a multi-socket system", 286 "BriefDescription": "Access to another socket in a multi-socket system" 323 … "PublicDescription": "Attributable memory read access to another socket in a multi-socket system", 326 … "BriefDescription": "Attributable memory read access to another socket in a multi-socket system" 329 …"PublicDescription": "Level 1 data cache long-latency read miss. The counter counts each memory r… 332 "BriefDescription": "Level 1 data cache long-latency read miss" [all …]
|
/linux/tools/perf/pmu-events/arch/x86/sapphirerapids/ |
H A D | floating-point.json | 77 …-bit packed double precision floating-point instructions retired; some instructions will count twi… 81 …-bit packed double precision floating-point instructions retired; some instructions will count twi… 86 …-bit packed single precision floating-point instructions retired; some instructions will count twi… 90 …-bit packed single precision floating-point instructions retired; some instructions will count twi… 95 …-bit packed double precision floating-point instructions retired; some instructions will count twi… 99 …-bit packed double precision floating-point instructions retired; some instructions will count twi… 104 …-bit packed single precision floating-point instructions retired; some instructions will count twi… 108 …-bit packed single precision floating-point instructions retired; some instructions will count twi… 113 …-bit packed single and 256-bit packed double precision FP instructions retired; some instructions … 117 …-bit packed single precision and 256-bit packed double precision floating-point instructions reti… [all …]
|
/linux/tools/perf/pmu-events/arch/x86/graniterapids/ |
H A D | floating-point.json | 77 …-bit packed double precision floating-point instructions retired; some instructions will count twi… 81 …-bit packed double precision floating-point instructions retired; some instructions will count twi… 86 …-bit packed single precision floating-point instructions retired; some instructions will count twi… 90 …-bit packed single precision floating-point instructions retired; some instructions will count twi… 95 …-bit packed double precision floating-point instructions retired; some instructions will count twi… 99 …-bit packed double precision floating-point instructions retired; some instructions will count twi… 104 …-bit packed single precision floating-point instructions retired; some instructions will count twi… 108 …-bit packed single precision floating-point instructions retired; some instructions will count twi… 113 …-bit packed single and 256-bit packed double precision FP instructions retired; some instructions … 117 …-bit packed single precision and 256-bit packed double precision floating-point instructions reti… [all …]
|
/linux/tools/perf/pmu-events/arch/x86/emeraldrapids/ |
H A D | floating-point.json | 77 …-bit packed double precision floating-point instructions retired; some instructions will count twi… 81 …-bit packed double precision floating-point instructions retired; some instructions will count twi… 86 …-bit packed single precision floating-point instructions retired; some instructions will count twi… 90 …-bit packed single precision floating-point instructions retired; some instructions will count twi… 95 …-bit packed double precision floating-point instructions retired; some instructions will count twi… 99 …-bit packed double precision floating-point instructions retired; some instructions will count twi… 104 …-bit packed single precision floating-point instructions retired; some instructions will count twi… 108 …-bit packed single precision floating-point instructions retired; some instructions will count twi… 113 …-bit packed single and 256-bit packed double precision FP instructions retired; some instructions … 117 …-bit packed single precision and 256-bit packed double precision floating-point instructions reti… [all …]
|
/linux/drivers/gpu/drm/i915/gt/ |
H A D | selftest_ring.c | 1 // SPDX-License-Identifier: GPL-2.0 14 kref_init(&ring->ref); in mock_ring() 15 ring->size = sz; in mock_ring() 16 ring->wrap = BITS_PER_TYPE(ring->size) - ilog2(sz); in mock_ring() 17 ring->effective_size = sz; in mock_ring() 18 ring->vaddr = (void *)(ring + 1); in mock_ring() 19 atomic_set(&ring->pin_count, 1); in mock_ring() 39 result = -1; in check_ring_direction() 46 return -EINVAL; in check_ring_direction() 60 err |= check_ring_direction(ring, prev, next, -1); in check_ring_step() [all …]
|
/linux/arch/m68k/fpsp040/ |
H A D | satanh.S | 9 | Input: Double-extended number X in location pointed to 12 | Output: The value arctanh(X) returned in floating-point register Fp0. 16 | result is subsequently rounded to double precision. The 17 | result is provably monotonic in double precision. 29 | z := 2y/(1-y) 36 | divide-by-zero by 63 |--ATANH(X) = X FOR DENORMALIZED X 75 |--THIS IS THE USUAL CASE, |X| < 1 76 |--Y = |X|, Z = 2Y/(1-Y), ATANH(X) = SIGN(X) * (1/2) * LOG1P(Z). 80 fnegx %fp1 | ...-Y [all …]
|
H A D | ssin.S | 9 | Input: Double-extended number X in location pointed to 20 | result is subsequently rounded to double precision. The 21 | result is provably monotonic in double precision. 32 | 2. If |X| >= 15Pi or |X| < 2**(-40), go to 7. 40 | 5. (k is odd) Set j := (k-1)/2, sgn := (-1)**j. Return sgn*cos(r) 45 | 6. (k is even) Set j := k/2, sgn := (-1)**j. Return sgn*sin(r) 52 | 8. (|X|<2**(-40)) If SIN is invoked, return X; otherwise return 1. 57 | 1. If |X| >= 15Pi or |X| < 2**(-40), go to 6. 64 | 4. (k is odd) Set j1 := (k-1)/2, j2 := j1 (EOR) (k mod 2), i.e. 66 | sgn1 := (-1)**j1, sgn2 := (-1)**j2. [all …]
|
H A D | stan.S | 8 | Input: Double-extended number X in location pointed to 11 | Output: The value tan(X) returned in floating-point register Fp0. 15 | result is subsequently rounded to double precision. The 16 | result is provably monotonic in double precision. 24 | 1. If |X| >= 15Pi or |X| < 2**(-40), go to 6. 37 | 4. (k is odd) Tan(X) = -cot(r). Since tan(r) is approximated by a 41 | -Cot(r) = -V/U. Exit. 45 | 7. (|X|<2**(-40)) Tan(X) = X. Exit. 83 |--N*PI/2, -32 <= N <= 32, IN A LEADING TERM IN EXT. AND TRAILING 84 |--TERM IN SGL. NOTE THAT PI IS 64-BIT LONG, THUS N*PI/2 IS AT [all …]
|
/linux/tools/perf/Documentation/ |
H A D | topdown.txt | 2 --------------------- 11 perf stat --topdown implements this using available metrics that vary 14 % perf stat -a --topdown -I1000 84 int slots_fd = perf_event_open(&slots, 0, -1, -1, 0); 104 int metrics_fd = perf_event_open(&metrics, 0, -1, slots_fd, 0); 205 retiring_slots = GET_METRIC(metric_b, 0) * slots_b - retiring_slots_a 206 bad_spec_slots = GET_METRIC(metric_b, 1) * slots_b - bad_spec_slots_a 207 fe_bound_slots = GET_METRIC(metric_b, 2) * slots_b - fe_bound_slots_a 208 be_bound_slots = GET_METRIC(metric_b, 3) * slots_b - be_bound_slots_a 213 slots_delta = slots_b - slots_a [all …]
|
/linux/tools/testing/selftests/bpf/progs/ |
H A D | verifier_scalar_ids.c | 1 // SPDX-License-Identifier: GPL-2.0 7 /* Check that precision marks propagate through scalar IDs. 10 * Check that precision mark for r0 causes precision marks for r{1,2} 153 /* Check that precision marks propagate through scalar IDs. 155 * precision information is propagated up the call stack. 161 __msg("frame2: last_idx 12 first_idx 11 subseq_idx -1 ") 233 * - ba in precision_many_frames__bar() [all...] |
/linux/arch/powerpc/kernel/ |
H A D | vecemu.c | 1 // SPDX-License-Identifier: GPL-2.0 36 * Computes an estimate of 2^x. The `s' argument is the 32-bit 37 * single-precision floating-point representation of x. 45 exp = ((s >> 23) & 0xff) - 127; in eexp2() 50 /* 2^-big = 0, 2^+big = +Inf */ in eexp2() 53 if (exp < -23) in eexp2() 61 pwr >>= -exp; in eexp2() 63 pwr = -pwr; in eexp2() 69 if (exp < -23) in eexp2() 85 exp = -exp; in eexp2() [all …]
|
/linux/arch/mips/dec/ |
H A D | time.c | 1 // SPDX-License-Identifier: GPL-2.0 6 * This file contains the time handling details for PC-style clocks as 15 #include <asm/cpu-features.h> 55 year += real_year - 72 + 2000; in read_persistent_clock64() 57 ts->tv_sec = mktime64(year, mon, day, hour, min, sec); in read_persistent_clock64() 58 ts->tv_nsec = 0; in read_persistent_clock64() 96 if (((abs(real_minutes - cmos_minutes) + 15) / 30) & 1) in update_persistent_clock64() 97 real_minutes += 30; /* correct for half hour time zone */ in update_persistent_clock64() 100 if (abs(real_minutes - cmos_minutes) < 30) { in update_persistent_clock64() 111 retval = -1; in update_persistent_clock64() [all …]
|
/linux/arch/arm/vfp/ |
H A D | vfpmodule.c | 1 // SPDX-License-Identifier: GPL-2.0-only 37 * Dual-use variable. 38 * Used in startup: set to non-zero if VFP checks fail 67 * choice here as bottom half processing is always in thread context on RT 68 * kernels so it implicitly prevents bottom half processing as well. 88 * Must be called from non-preemptible context. 93 if (thread->vfpstate.hard.cpu != cpu) in vfp_state_in_hw() 96 return vfp_current_hw_state[cpu] == &thread->vfpstate; in vfp_state_in_hw() 102 * clear vfp_current_hw_state. Must be called from non-preemptible context. 111 thread->vfpstate.hard.cpu = NR_CPUS; in vfp_force_reload() [all …]
|
/linux/arch/parisc/math-emu/ |
H A D | dfsub.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> 15 * Double_subtract: subtract two double precision values. 33 * Double_subtract: subtract two double precision values. 266 diff_exponent = result_exponent - right_exponent; in dbl_fsub() 313 /* Must have been "x-x" or "x+(-x)". */ in dbl_fsub() 319 result_exponent--; in dbl_fsub() 355 if((result_exponent -= 8) <= 0 && !underflowtrap) in dbl_fsub() [all …]
|
H A D | sfsub.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> 15 * Single_subtract: subtract two single precision values. 33 * Single_subtract: subtract two single precision values. 262 diff_exponent = result_exponent - right_exponent; in sgl_fsub() 308 /* Must have been "x-x" or "x+(-x)". */ in sgl_fsub() 314 result_exponent--; in sgl_fsub() 350 if((result_exponent -= 8) <= 0 && !underflowtrap) in sgl_fsub() [all …]
|
H A D | sfadd.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> 15 * Single_add: add two single precision values. 33 * Single_add: add two single precision values. 259 diff_exponent = result_exponent - right_exponent; in sgl_fadd() 305 /* Must have been "x-x" or "x+(-x)". */ in sgl_fadd() 311 result_exponent--; in sgl_fadd() 347 if((result_exponent -= 8) <= 0 && !underflowtrap) in sgl_fadd() [all …]
|
H A D | dfadd.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> 15 * Double_add: add two double precision values. 33 * Double_add: add two double precision values. 263 diff_exponent = result_exponent - right_exponent; in dbl_fadd() 310 /* Must have been "x-x" or "x+(-x)". */ in dbl_fadd() 316 result_exponent--; in dbl_fadd() 352 if((result_exponent -= 8) <= 0 && !underflowtrap) in dbl_fadd() [all …]
|
H A D | fpudispatch.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> 52 #define extru(r,pos,len) (((r) >> (31-(pos))) & (( 1 << (len)) - 1)) 73 * the following are for the multi-ops 106 * positions 21-22 111 * located at bit positions 16-18 116 * at bit positions 15-16 (PA1.1) or 14-16 (PA2.0) 160 /* on pa-linux the fpu type is not filled in by the in parisc_linux_get_fpu_type() [all …]
|
/linux/kernel/cgroup/ |
H A D | cpuset-v1.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 #include "cgroup-internal.h" 4 #include "cpuset-internal.h" 15 * Frequency meter - How fast is some event occurring? 19 * fmeter_init() - initialize a frequency meter. 20 * fmeter_markevent() - called each time the event happens. 21 * fmeter_getrate() - returns the recent rate of such events. 22 * fmeter_update() - internal routine used to update fmeter. 29 * The filter is single-pole low-pass recursive (IIR). The time unit 30 * is 1 second. Arithmetic is done using 32-bit integers scaled to [all …]
|
/linux/Documentation/networking/device_drivers/ethernet/stmicro/ |
H A D | stmmac.rst | 1 .. SPDX-License-Identifier: GPL-2.0+ 13 - In This Release 14 - Feature List 15 - Kernel Configuration 16 - Command Line Parameters 17 - Driver Information and Notes 18 - Debug Information 19 - Support 33 (and older) and DesignWare(R) Cores Ethernet Quality-of-Service version 4.0 35 DesignWare(R) Cores XGMAC - 10G Ethernet MAC and DesignWare(R) Cores [all …]
|