aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/math-emu
AgeCommit message (Expand)AuthorFilesLines
2025-09-12mips: math-emu: replace deprecated strcpy() in me-debugfsOsama Abdelkader1-3/+3
2025-01-11mips/math-emu: fix emulation of the prefx instructionMateusz Jończyk1-1/+1
2022-09-12MIPS: Fix comment typoJason Wang1-1/+1
2022-07-11MIPS: math-emu: Use the bitmap API to allocate bitmapsChristophe JAILLET1-6/+3
2020-05-07MIPS: Use fallthrough for arch/mipsLiangliang Huang17-55/+35
2020-01-22MIPS: Add MAC2008 SupportJiaxun Yang5-43/+118
2019-11-11MIPS: math-emu: Reuse name array in debugfs_fpuemu()Paul Burton1-2/+1
2019-06-19treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 454Thomas Gleixner8-32/+8
2019-06-05treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 397Thomas Gleixner33-430/+33
2019-06-05treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 309Thomas Gleixner2-24/+2
2019-01-22mips: math-emu: no need to check return value of debugfs_create functionsGreg Kroah-Hartman1-19/+4
2019-01-03Remove 'type' argument from access_ok() functionLinus Torvalds1-8/+8
2018-12-20MIPS: math-emu: Write-protect delay slot emulation pagesPaul Burton1-18/+20
2018-11-09MIPS: Ensure emulated FP sets PF_USED_MATHPaul Burton1-0/+7
2018-11-05MIPS: math-emu: Change to use DEFINE_SHOW_ATTRIBUTE macroYangtao Li1-11/+1
2017-12-12MIPS: math-emu: Mark fall throughs in switch statements with a commentAleksandar Markovic17-16/+38
2017-12-12MIPS: math-emu: Avoid multiple assignmentAleksandar Markovic3-4/+8
2017-12-12MIPS: math-emu: Avoid an assignment within if statement conditionAleksandar Markovic1-1/+2
2017-12-12MIPS: math-emu: Declare function srl128() as staticAleksandar Markovic1-1/+1
2017-12-12MIPS: math-emu: Avoid definition duplication for macro DPXMULT()Aleksandar Markovic3-6/+3
2017-12-12MIPS: math-emu: Remove an unnecessary header inclusionAleksandar Markovic1-1/+0
2017-11-15Merge tag 'mips_4.15' of git://git.kernel.org/pub/scm/linux/kernel/git/jhogan...Linus Torvalds12-56/+59
2017-11-07MIPS: math-emu: Use preferred flavor of unsigned integer declarationsAleksandar Markovic12-42/+45
2017-11-07MIPS: math-emu: Fix final emulation phase for certain instructionsAleksandar Markovic1-14/+14
2017-11-02License cleanup: add SPDX GPL-2.0 license identifier to files with no licenseGreg Kroah-Hartman3-0/+3
2017-10-09MIPS: math-emu: Remove pr_err() calls from fpu_emu()Paul Burton1-2/+0
2017-08-29MIPS: math-emu: Add FP emu debugfs stats for individual instructionsAleksandar Markovic2-4/+535
2017-08-29MIPS: math-emu: Add FP emu debugfs clear functionalityAleksandar Markovic1-1/+37
2017-08-29MIPS: math-emu: Add FP emu debugfs statistics for branchesAleksandar Markovic2-0/+2
2017-08-29MIPS: math-emu: CLASS.D: Zero bits 32-63 of the resultAleksandar Markovic1-2/+2
2017-08-29MIPS: math-emu: RINT.<D|S>: Fix several problems by reimplementationAleksandar Markovic5-6/+187
2017-08-29MIPS: math-emu: CMP.Sxxx.<D|S>: Prevent occurrences of SIGILL crashesAleksandar Markovic1-0/+3
2017-08-29MIPS: math-emu: <MADDF|MSUBF>.D: Fix accuracy (64-bit case)Douglas Leung1-39/+94
2017-08-29MIPS: math-emu: <MADDF|MSUBF>.S: Fix accuracy (32-bit case)Douglas Leung2-70/+50
2017-08-29MIPS: math-emu: <MADDF|MSUBF>.<D|S>: Clean up "maddf_flags" enumerationAleksandar Markovic3-22/+20
2017-08-29MIPS: math-emu: <MADDF|MSUBF>.<D|S>: Fix some cases of zero inputsAleksandar Markovic2-2/+34
2017-08-29MIPS: math-emu: <MADDF|MSUBF>.<D|S>: Fix some cases of infinite inputsAleksandar Markovic2-2/+42
2017-08-29MIPS: math-emu: <MADDF|MSUBF>.<D|S>: Fix NaN propagationAleksandar Markovic2-91/+41
2017-08-29MIPS: math-emu: MINA.<D|S>: Fix some cases of infinity and zero inputsAleksandar Markovic2-4/+4
2017-08-29MIPS: math-emu: <MAXA|MINA>.<D|S>: Fix cases of both infinite inputsAleksandar Markovic4-4/+12
2017-08-29MIPS: math-emu: <MAXA|MINA>.<D|S>: Fix cases of input values with opposite signsAleksandar Markovic4-6/+22
2017-08-29MIPS: math-emu: <MAX|MIN>.<D|S>: Fix cases of both inputs negativeAleksandar Markovic4-32/+96
2017-08-29MIPS: math-emu: <MAX|MAXA|MIN|MINA>.<D|S>: Fix cases of both inputs zeroAleksandar Markovic4-24/+8
2017-08-29MIPS: math-emu: <MAX|MAXA|MIN|MINA>.<D|S>: Fix quiet NaN propagationAleksandar Markovic4-16/+112
2017-08-29MIPS: math-emu: Correct user fault_addr typePaul Burton1-4/+4
2017-08-29MIPS: math-emu: do not use bools for arithmeticManuel Lauss1-2/+2
2017-07-15Merge branch 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linusLinus Torvalds1-3/+40
2017-06-29MIPS: math-emu: For MFHC1/MTHC1 also return SIGILL right awayMaciej W. Rozycki1-3/+2
2017-06-29MIPS: math-emu: Prevent wrong ISA mode instruction emulationMaciej W. Rozycki1-0/+38
2017-06-28MIPS: math-emu: Handle zero accumulator case in MADDF and MSUBF separatelyAleksandar Markovic2-2/+8
2017-04-10MIPS: math-emu: Fix BC1EQZ and BC1NEZ condition handlingDouglas Leung1-4/+6
2017-03-02sched/headers: Prepare to move the task_lock()/unlock() APIs to <linux/sched/...Ingo Molnar1-0/+1
2017-03-02sched/headers: Prepare to remove the <linux/mm_types.h> dependency from <linu...Ingo Molnar1-0/+1
2016-12-24Replace <asm/uaccess.h> with <linux/uaccess.h> globallyLinus Torvalds2-2/+2
2016-10-11treewide: remove redundant #include <linux/kconfig.h>Masahiro Yamada1-1/+0
2016-09-25MIPS: Fix delay slot emulation count in debugfsPaul Burton1-0/+1
2016-08-06Merge branch 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linusLinus Torvalds2-114/+227
2016-08-04tree-wide: replace config_enabled() with IS_ENABLED()Masahiro Yamada1-3/+3
2016-08-02MIPS: Use per-mm page to execute branch delay slot instructionsPaul Burton2-114/+227
2016-07-05MIPS: inst.h: Rename cbcond{0,1}_op to pop{1,3}0_opPaul Burton1-2/+2
2016-07-05MIPS: inst.h: Rename b{eq,ne}zcji[al]c_op to pop{6,7}6_opPaul Burton1-2/+2
2016-05-28MIPS: math-emu: Fix typoAndrea Gelmini1-2/+2
2016-05-13MIPS: math-emu: Fix jalr emulation when rd == $0Paul Burton1-3/+5
2016-05-13MIPS: math-emu: Fix m{add,sub}.s shiftsPaul Burton5-19/+25
2016-05-13MIPS: math-emu: Fix code indentationPaul Burton2-2/+2
2016-05-13MIPS: math-emu: Fix bit-width in ieee754dp_{mul, maddf, msubf} commentsPaul Burton2-2/+2
2016-05-13MIPS: math-emu: Add z argument macrosPaul Burton5-9/+20
2016-05-13MIPS: math-emu: Unify ieee754dp_m{add,sub}fPaul Burton3-272/+21
2016-05-13MIPS: math-emu: Unify ieee754sp_m{add,sub}fPaul Burton3-261/+21
2016-05-13MIPS: math-emu: Emulate MIPSr6 sel.fmt instructionPaul Burton1-2/+24
2016-05-13MIPS: math-emu: Fix BC1{EQ,NE}Z emulationPaul Burton1-5/+6
2016-05-13MIPS: math-emu: Always propagate sNaN payload in quietingMaciej W. Rozycki2-6/+12
2016-05-13MIPS: math-emu: dsemul: Remove an unused bit in ADDIUPC emulationMaciej W. Rozycki1-1/+1
2016-04-03MIPS: Fix misspellings in comments.Adam Buchbinder2-6/+6
2016-01-24MIPS: math-emu: dsemul: Reduce `get_isa16_mode' clutterMaciej W. Rozycki1-8/+9
2016-01-24MIPS: math-emu: dsemul: Correct description of the emulation frameMaciej W. Rozycki1-7/+2
2016-01-24MIPS: math-emu: Correct the emulation of microMIPS ADDIUPC instructionMaciej W. Rozycki1-2/+22
2016-01-24MIPS: math-emu: Make microMIPS branch delay slot emulation workMaciej W. Rozycki1-4/+7
2016-01-24MIPS: math-emu: dsemul: Fix ill formatting of microMIPS partMaciej W. Rozycki1-6/+12
2016-01-24MIPS: math-emu: Correctly handle NOP emulationMaciej W. Rozycki2-6/+12
2016-01-20MIPS: math-emu: Add IEEE Std 754-2008 NaN encoding emulationMaciej W. Rozycki10-42/+91
2016-01-20MIPS: math-emu: Add IEEE Std 754-2008 ABS.fmt and NEG.fmt emulationMaciej W. Rozycki2-26/+50
2015-10-26MIPS: Declare mips_debugfs_dir in a headerPaul Burton1-1/+1
2015-09-03MIPS: math-emu: Remove unused handle_dsemul function declarationMarkos Chandras1-1/+0
2015-09-03MIPS: math-emu: Add support for the MIPS R6 MAX{, A} FPU instructionMarkos Chandras5-2/+480
2015-09-03MIPS: math-emu: Add support for the MIPS R6 MIN{, A} FPU instructionMarkos Chandras5-2/+480
2015-09-03MIPS: math-emu: Add support for the MIPS R6 CLASS FPU instructionMarkos Chandras5-2/+138
2015-09-03MIPS: math-emu: Add support for the MIPS R6 RINT FPU instructionMarkos Chandras1-0/+24
2015-09-03MIPS: math-emu: Add support for the MIPS R6 MSUBF FPU instructionMarkos Chandras5-2/+559
2015-09-03MIPS: math-emu: Add support for the MIPS R6 MADDF FPU instructionMarkos Chandras5-2/+553
2015-09-03MIPS: math-emu: Add support for the MIPS R6 SELNEZ FPU instructionMarkos Chandras1-0/+22
2015-09-03MIPS: math-emu: Add support for the MIPS R6 SELEQZ FPU instructionMarkos Chandras1-0/+23
2015-09-03MIPS: math-emu: Add support for the CMP.condn.fmt R6 instructionMarkos Chandras1-9/+121
2015-09-03MIPS: math-emu: Move from deprecated __initcall to arch_initcall.Ralf Baechle1-1/+1
2015-09-03MIPS: math-emu: Emulate missing BC1{EQ,NE}Z instructionsMarkos Chandras1-1/+19
2015-09-03MIPS: math-emu: Allow m{f,t}hc emulation on MIPS R6Markos Chandras1-2/+2
2015-09-03MIPS: math-emu: Fix indentationMarkos Chandras1-4/+4
2015-09-03MIPS: cp1emu: Fix closing bracket for the d_fmt caseMarkos Chandras1-1/+4
2015-07-09MIPS: Fix erroneous JR emulation for MIPS R6Markos Chandras1-1/+1
2015-07-09MIPS: Fix branch emulation for BLTC and BGEC instructionsMarkos Chandras1-2/+2
2015-05-12MIPS: Fix a preemption issue with thread's FPU defaultsMaciej W. Rozycki1-2/+2
2015-04-08MIPS: Respect the ISA level in FCSR handlingMaciej W. Rozycki1-3/+4
2015-04-08MIPS: math-emu: Make ABS.fmt and NEG.fmt arithmetic againMaciej W. Rozycki2-68/+34
2015-04-08MIPS: math-emu: Define IEEE 754-2008 feature control bitsMaciej W. Rozycki2-7/+10
2015-04-08MIPS: math-emu: Implement the FCCR, FEXR and FENR registersMaciej W. Rozycki1-15/+91
2015-04-08MIPS: math-emu: Set FIR feature flags for full emulationMaciej W. Rozycki1-1/+2
2015-04-08MIPS: math-emu: Move long fixed-point support into an `ar' libraryMaciej W. Rozycki1-6/+9
2015-04-08MIPS: math-emu: Correct delay-slot exception propagationMaciej W. Rozycki2-6/+30
2015-04-08MIPS: Correct FP ISA requirementsMaciej W. Rozycki1-28/+27
2015-04-08MIPS: math-emu: Fix delay-slot emulation cache incoherencyMaciej W. Rozycki1-1/+1
2015-04-08MIPS: math-emu: Make NaN classifiers staticMaciej W. Rozycki4-4/+2
2015-04-08MIPS: math-emu: Optimise qNaN handling in `ieee754sp_fdp'Maciej W. Rozycki1-5/+7
2015-04-08MIPS: math-emu: Remove dead comparison helpersMaciej W. Rozycki1-65/+0
2015-04-08MIPS: math-emu: Remove redundant code from NaN comparisonMaciej W. Rozycki2-14/+2
2015-04-08MIPS: math-emu: Optimise NaN handling in comparisonsMaciej W. Rozycki5-4/+9
2015-04-08MIPS: math-emu: Reinstate sNaN quieting handlersMaciej W. Rozycki14-62/+62
2015-04-08MIPS: math-emu: Don't pass qNaNs through quieting handlersMaciej W. Rozycki4-8/+8
2015-04-08MIPS: math-emu: Factor out NaN FP format conversionsMaciej W. Rozycki2-7/+15
2015-04-08MIPS: math-emu: Update sNaN quieting handlersMaciej W. Rozycki2-16/+6
2015-04-08MIPS: math-emu: Factor out CFC1/CTC1 emulationMaciej W. Rozycki1-28/+48
2015-04-08MIPS: math-emu: Remove `modeindex' macroMaciej W. Rozycki1-18/+8
2015-04-08MIPS: math-emu: Fix oversize lines in comparisonsMaciej W. Rozycki2-2/+4
2015-04-08MIPS: math-emu: Reindent `bc_op' emulationMaciej W. Rozycki1-11/+11
2015-04-08MIPS: ieee754.h: Supplement comments for special valuesMaciej W. Rozycki1-17/+17
2015-04-08MIPS: ieee754.h: Correct comments for special valuesMaciej W. Rozycki1-2/+2
2015-04-01MIPS: Add FPU emulator counter for emulated delay slots.David Daney2-1/+2
2015-04-01MIPS: LLVMLinux: Silence variable self-assignment warnings.Toma Tabacu4-20/+0
2015-02-17MIPS: Handle MIPS IV, V and R2 FPU instructions on MIPS R6 as wellMarkos Chandras1-4/+4
2015-02-17MIPS: kernel: mips-r2-to-r6-emul: Add R2 emulator for MIPS R6Leonid Yegoshin1-1/+2
2015-02-17MIPS: Emulate the new MIPS R6 BNEZC and JIALC instructionsMarkos Chandras1-0/+9
2015-02-17MIPS: Emulate the new MIPS R6 BEQZC and JIC instructionsMarkos Chandras1-0/+7
2015-02-17MIPS: Emulate the new MIPS R6 BALC instructionMarkos Chandras1-0/+8
2015-02-17MIPS: Emulate the new MIPS R6 BNVC, BNEC and BNEZLAC instructionsMarkos Chandras1-0/+1
2015-02-17MIPS: Emulate the new MIPS R6 BOVC, BEQC and BEQZALC instructionsMarkos Chandras1-0/+9
2015-02-17MIPS: Emulate the new MIPS R6 branch compact (BC) instructionMarkos Chandras1-0/+13
2015-02-17MIPS: Emulate the new MIPS R6 B{L,G}T{Z,}{AL,}C instructionsMarkos Chandras1-0/+25
2015-02-17MIPS: Emulate the new MIPS R6 B{L,G}Ε{Z,}{AL,}C instructionsMarkos Chandras1-0/+24
2015-02-17MIPS: Emulate the BC1{EQ,NE}Z FPU instructionsMarkos Chandras1-0/+27
2015-02-17MIPS: kernel: branch: Do not emulate the branch likelies on MIPS R6Markos Chandras1-6/+26
2015-02-17MIPS: kernel: Prepare the JR instruction for emulation on MIPS R6Markos Chandras1-0/+3
2014-11-24MIPS: Support for hybrid FPRsPaul Burton1-2/+7
2014-11-24MIPS: Remove useless parenthesesRalf Baechle2-2/+2
2014-11-07MIPS: Fix build with binutils 2.24.51+Manuel Lauss1-5/+1
2014-10-21MIPS: cp1emu: Fix ISA restrictions for cop1x_op instructionsMarkos Chandras1-2/+2
2014-09-26MIPS: Fix MFC1 & MFHC1 emulation for 64-bit MIPS systemsPaul Burton1-3/+3
2014-07-30MIPS: math-emu: Fix instruction decoding.Rob Kendrick1-1/+1
2014-06-26MIPS: math-emu: Reduce code duplication.Ralf Baechle1-13/+6
2014-06-16MIPS: math-emu: Work around limitations of older GCC.Ralf Baechle1-3/+15
2014-05-30MIPS: OCTEON: Enable use of FPUDavid Daney1-1/+5
2014-05-30MIPS: math-emu: Add IEEE754 exception statistics to debugfsDeng-Cheng Zhu2-9/+32
2014-05-23MIPS: math-emu: Reduce microMIPS bloat.Ralf Baechle1-0/+7
2014-05-23MIPS: math-emu: Switch to using the MIPS rounding modes.Ralf Baechle15-91/+63
2014-05-23MIPS: math-emu: Nuke alternative names for IEEE-754 rounding modes.Ralf Baechle3-6/+2
2014-05-23MIPS: Sort out mm_isBranchInstr.Ralf Baechle1-201/+0
2014-05-23MIPS: math-emu: Inline fpu_emulator_init_fpu()Ralf Baechle2-43/+1
2014-05-23MIPS: math-emu: Cleanup coding style.Ralf Baechle34-626/+482
2014-05-23MIPS: math-emu: Cleanup definition of structs describe sp/dp floats.Ralf Baechle5-80/+67
2014-05-23MIPS: math-emu: Rename get_rounding() functions.Ralf Baechle2-10/+10
2014-05-23MIPS: math-emu: Get rid of the useless parts of exception handling.Ralf Baechle32-263/+92
2014-05-23MIPS: math-emu: Move various objects into an ar library.Ralf Baechle1-6/+7
2014-05-23MIPS: math-emu: Inline ieee754sp_issnan and ieee754dp_issnan.Ralf Baechle4-4/+2
2014-05-23MIPS: math-emu: Remove unused code.Ralf Baechle21-699/+6
2014-05-23MIPS: math-emu: Remove unused ieee754sp_bestnan() and ieee754dp_bestnan().Ralf Baechle4-26/+0
2014-05-23MIPS: math-emu: Inline ieee754dp_finite and ieee754dp_finite().Ralf Baechle5-12/+10
2014-05-23MIPS: math-emu: Eleminate duplicate definitions of identical macros.Ralf Baechle8-63/+33
2014-05-23MIPS: math-emu: Use SPSIGN() rather than DPSIGN() in ieee754sp_sub().Ralf Baechle1-1/+1
2014-05-23MIPS: math-emu: Replace DP_MBITS with DP_FBITS and SP_MBITS with SP_FBITS.Ralf Baechle25-100/+100
2014-05-23MIPS: math-emu: Call ieee754di_xcpt, not ieee754si_xcpt in ieee754dp_cmp.Ralf Baechle1-1/+1
2014-05-23MIPS: math-emu: Cleanup stdarg usage including apparently bogus comment.Ralf Baechle4-8/+4
2014-05-23MIPS: math-emu: Remove #if 1 and dead code from its #else branch.Ralf Baechle1-10/+0
2014-05-23MIPS: math-emu: Cleanup ieee754si_indef() / ieee754di_indef().Ralf Baechle1-6/+10
2014-05-23MIPS: math-emu: Convert debug printks to pr_debug getting.Ralf Baechle2-16/+9
2014-05-23MIPS: math-emu: Get rid of unuable extended precision support.Ralf Baechle1-3/+0
2014-05-21MIPS: math-emu: Remove most ifdefery.Ralf Baechle2-82/+133
2014-05-21MIPS: math-emu: Turn macros into functions where possible.Ralf Baechle39-131/+143
2014-05-21MIPS: math-emu: Harden ieee754int.h against multiple inclusion.Ralf Baechle1-1/+4
2014-05-21MIPS: math-emu: Reformat code according to coding style.Ralf Baechle7-131/+138
2014-05-21MIPS: math-emu: Move all debug fs code to a separate file.Ralf Baechle3-56/+62
2014-05-21MIPS: math-emu: Remove fine example of cargo cult programming.Ralf Baechle1-7/+0
2014-05-21MIPS: math-emu: Header file weeding.Ralf Baechle7-29/+12
2014-05-21MIPS: math-emu: Use helpers to manipulate CAUSEF_BD flag.Ralf Baechle2-8/+8
2014-05-21MIPS: math-emu: Get rid of typedefs.Ralf Baechle40-212/+212
2014-05-21MIPS: math-emu: Use English spelling of `constant' rather than Danish.Ralf Baechle2-8/+8
2014-05-21MIPS: math-emu: Mark exception handling functions as __cold.Ralf Baechle7-16/+23
2014-05-21MIPS: math-emu: Use __BITFIELD_FIELD to eleminate redundant definitions.Ralf Baechle1-63/+23
2014-03-31Merge branch '3.14-fixes' into mips-for-linux-nextRalf Baechle1-3/+3
2014-03-26MIPS: Clear upper bits of FP registers on emulator writesPaul Burton1-5/+20
2014-03-26MIPS: Move & rename fpu_emulator_{save,restore}_contextPaul Burton1-75/+0
2014-03-26MIPS: Simplify FP context accessPaul Burton2-22/+36
2014-03-11MIPS: math-emu: Fix prefx detection and COP1X function field definitionDeng-Cheng Zhu1-3/+3
2014-01-13MIPS: Support for 64-bit FP with O32 binariesPaul Burton2-7/+9
2014-01-13MIPS: microMIPS: mfhc1 & mthc1 support for the FPU emulatorSteven J. Hill1-1/+7
2014-01-13MIPS: math-emu: Add mfhc1 & mthc1 support.Leonid Yegoshin1-0/+24
2013-08-26MIPS: Remove unreachable break statements from cp1emu.cDavid Daney1-27/+0
2013-08-20MIPS: Handle OCTEON BBIT instructions in FPU emulator.David Daney1-0/+26
2013-07-01MIPS: Don't try to decode microMIPS branch instructions where they cannot exist.David Daney1-0/+3
2013-05-09MIPS: microMIPS: Floating point support.Leonid Yegoshin2-94/+853
2013-02-01MIPS: Whitespace cleanup.Ralf Baechle13-27/+27
2013-02-01MIPS: Nuke empty lines at end of files.Ralf Baechle1-1/+0
2012-12-13MIPS: Fix for warning from FPU emulation codeRalf Baechle1-7/+8