cregit-Linux how code gets into the kernel

Release 4.14 arch/x86/math-emu/fpu_arith.c

// SPDX-License-Identifier: GPL-2.0
/*---------------------------------------------------------------------------+
 |  fpu_arith.c                                                              |
 |                                                                           |
 | Code to implement the FPU register/register arithmetic instructions       |
 |                                                                           |
 | Copyright (C) 1992,1993,1997                                              |
 |                  W. Metzenthen, 22 Parker St, Ormond, Vic 3163, Australia |
 |                  E-mail   billm@suburbia.net                              |
 |                                                                           |
 |                                                                           |
 +---------------------------------------------------------------------------*/

#include "fpu_system.h"
#include "fpu_emu.h"
#include "control_w.h"
#include "status_w.h"


void fadd__(void) { /* fadd st,st(i) */ int i = FPU_rm; clear_C1(); FPU_add(&st(i), FPU_gettagi(i), 0, control_word); }

Contributors

PersonTokensPropCommitsCommitProp
Linus Torvalds (pre-git)3191.18%685.71%
Al Viro38.82%114.29%
Total34100.00%7100.00%


void fmul__(void) { /* fmul st,st(i) */ int i = FPU_rm; clear_C1(); FPU_mul(&st(i), FPU_gettagi(i), 0, control_word); }

Contributors

PersonTokensPropCommitsCommitProp
Linus Torvalds (pre-git)3191.18%685.71%
Al Viro38.82%114.29%
Total34100.00%7100.00%


void fsub__(void) { /* fsub st,st(i) */ clear_C1(); FPU_sub(0, FPU_rm, control_word); }

Contributors

PersonTokensPropCommitsCommitProp
Linus Torvalds (pre-git)1785.00%685.71%
Al Viro315.00%114.29%
Total20100.00%7100.00%


void fsubr_(void) { /* fsubr st,st(i) */ clear_C1(); FPU_sub(REV, FPU_rm, control_word); }

Contributors

PersonTokensPropCommitsCommitProp
Linus Torvalds (pre-git)1785.00%685.71%
Al Viro315.00%114.29%
Total20100.00%7100.00%


void fdiv__(void) { /* fdiv st,st(i) */ clear_C1(); FPU_div(0, FPU_rm, control_word); }

Contributors

PersonTokensPropCommitsCommitProp
Linus Torvalds (pre-git)1785.00%685.71%
Al Viro315.00%114.29%
Total20100.00%7100.00%


void fdivr_(void) { /* fdivr st,st(i) */ clear_C1(); FPU_div(REV, FPU_rm, control_word); }

Contributors

PersonTokensPropCommitsCommitProp
Linus Torvalds (pre-git)1785.00%685.71%
Al Viro315.00%114.29%
Total20100.00%7100.00%


void fadd_i(void) { /* fadd st(i),st */ int i = FPU_rm; clear_C1(); FPU_add(&st(i), FPU_gettagi(i), i, control_word); }

Contributors

PersonTokensPropCommitsCommitProp
Linus Torvalds (pre-git)3191.18%685.71%
Al Viro38.82%114.29%
Total34100.00%7100.00%


void fmul_i(void) { /* fmul st(i),st */ clear_C1(); FPU_mul(&st(0), FPU_gettag0(), FPU_rm, control_word); }

Contributors

PersonTokensPropCommitsCommitProp
Linus Torvalds (pre-git)2488.89%685.71%
Al Viro311.11%114.29%
Total27100.00%7100.00%


void fsubri(void) { /* fsubr st(i),st */ clear_C1(); FPU_sub(DEST_RM, FPU_rm, control_word); }

Contributors

PersonTokensPropCommitsCommitProp
Linus Torvalds (pre-git)1785.00%583.33%
Al Viro315.00%116.67%
Total20100.00%6100.00%


void fsub_i(void) { /* fsub st(i),st */ clear_C1(); FPU_sub(REV | DEST_RM, FPU_rm, control_word); }

Contributors

PersonTokensPropCommitsCommitProp
Linus Torvalds (pre-git)1986.36%685.71%
Al Viro313.64%114.29%
Total22100.00%7100.00%


void fdivri(void) { /* fdivr st(i),st */ clear_C1(); FPU_div(DEST_RM, FPU_rm, control_word); }

Contributors

PersonTokensPropCommitsCommitProp
Linus Torvalds (pre-git)1785.00%685.71%
Al Viro315.00%114.29%
Total20100.00%7100.00%


void fdiv_i(void) { /* fdiv st(i),st */ clear_C1(); FPU_div(REV | DEST_RM, FPU_rm, control_word); }

Contributors

PersonTokensPropCommitsCommitProp
Linus Torvalds (pre-git)1986.36%685.71%
Al Viro313.64%114.29%
Total22100.00%7100.00%


void faddp_(void) { /* faddp st(i),st */ int i = FPU_rm; clear_C1(); if (FPU_add(&st(i), FPU_gettagi(i), i, control_word) >= 0) FPU_pop(); }

Contributors

PersonTokensPropCommitsCommitProp
Linus Torvalds (pre-git)3892.68%685.71%
Al Viro37.32%114.29%
Total41100.00%7100.00%


void fmulp_(void) { /* fmulp st(i),st */ clear_C1(); if (FPU_mul(&st(0), FPU_gettag0(), FPU_rm, control_word) >= 0) FPU_pop(); }

Contributors

PersonTokensPropCommitsCommitProp
Linus Torvalds (pre-git)3191.18%685.71%
Al Viro38.82%114.29%
Total34100.00%7100.00%


void fsubrp(void) { /* fsubrp st(i),st */ clear_C1(); if (FPU_sub(DEST_RM, FPU_rm, control_word) >= 0) FPU_pop(); }

Contributors

PersonTokensPropCommitsCommitProp
Linus Torvalds (pre-git)2488.89%685.71%
Al Viro311.11%114.29%
Total27100.00%7100.00%


void fsubp_(void) { /* fsubp st(i),st */ clear_C1(); if (FPU_sub(REV | DEST_RM, FPU_rm, control_word) >= 0) FPU_pop(); }

Contributors

PersonTokensPropCommitsCommitProp
Linus Torvalds (pre-git)2689.66%583.33%
Al Viro310.34%116.67%
Total29100.00%6100.00%


void fdivrp(void) { /* fdivrp st(i),st */ clear_C1(); if (FPU_div(DEST_RM, FPU_rm, control_word) >= 0) FPU_pop(); }

Contributors

PersonTokensPropCommitsCommitProp
Linus Torvalds (pre-git)2488.89%583.33%
Al Viro311.11%116.67%
Total27100.00%6100.00%


void fdivp_(void) { /* fdivp st(i),st */ clear_C1(); if (FPU_div(REV | DEST_RM, FPU_rm, control_word) >= 0) FPU_pop(); }

Contributors

PersonTokensPropCommitsCommitProp
Linus Torvalds (pre-git)2689.66%583.33%
Al Viro310.34%116.67%
Total29100.00%6100.00%


Overall Contributors

PersonTokensPropCommitsCommitProp
Linus Torvalds (pre-git)43988.87%675.00%
Al Viro5410.93%112.50%
Greg Kroah-Hartman10.20%112.50%
Total494100.00%8100.00%
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.