The NetBSD Project

CVS log for src/sys/arch/mips/mips/mips_fpu.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / arch / mips / mips

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: MAIN


Revision 1.17 / (download) - annotate - [select for diffs], Sat May 29 12:35:27 2021 UTC (2 years, 9 months ago) by simonb
Branch: MAIN
CVS Tags: triaxx-drm, thorpej-ifq-base, thorpej-ifq, thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-futex2-base, thorpej-futex2, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-altq-separation-base, thorpej-altq-separation, netbsd-10-base, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, bouyer-sunxi-drm-base, bouyer-sunxi-drm, HEAD
Changes since 1.16: +6 -4 lines
Diff to previous 1.16 (colored)

Update the FPU register names and bit definitions to something somewhat
modern (MIPS32/MIPS64) and convert to __BIT/__BITS.

Revision 1.16 / (download) - annotate - [select for diffs], Tue May 11 14:41:08 2021 UTC (2 years, 10 months ago) by simonb
Branch: MAIN
Changes since 1.15: +5 -5 lines
Diff to previous 1.15 (colored)

Use "static" in the function intro if the function is static.

Revision 1.15 / (download) - annotate - [select for diffs], Sun May 7 05:45:07 2017 UTC (6 years, 10 months ago) by skrll
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, thorpej-futex-base, thorpej-futex, thorpej-cfargs-base, thorpej-cfargs, prg-localcount2-base3, prg-localcount2-base2, phil-wifi-base, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, phil-wifi, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, isaki-audio2-base, isaki-audio2, is-mlppp-base, is-mlppp, cjep_staticlib_x-base, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Branch point for: thorpej-i2c-spi-conf, cjep_staticlib_x
Changes since 1.14: +2 -4 lines
Diff to previous 1.14 (colored)

opt_multiprocessor.h police

Revision 1.14 / (download) - annotate - [select for diffs], Thu Mar 16 16:13:20 2017 UTC (7 years ago) by chs
Branch: MAIN
CVS Tags: prg-localcount2-base1, prg-localcount2-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1
Branch point for: prg-localcount2
Changes since 1.13: +8 -8 lines
Diff to previous 1.13 (colored)

allow pcu_save() and pcu_discard() to be called on other threads,
ptrace needs to use it that way.

Revision 1.13 / (download) - annotate - [select for diffs], Sat Mar 26 17:40:02 2016 UTC (7 years, 11 months ago) by martin
Branch: MAIN
CVS Tags: pgoyette-localcount-base, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, localcount-20160914, bouyer-socketcan-base
Branch point for: pgoyette-localcount, bouyer-socketcan
Changes since 1.12: +12 -2 lines
Diff to previous 1.12 (colored)

Do not touch FP register on softfloat kernels.

Revision 1.12 / (download) - annotate - [select for diffs], Fri May 16 00:48:41 2014 UTC (9 years, 10 months ago) by rmind
Branch: MAIN
CVS Tags: tls-maxphys-base, tls-earlyentropy-base, rmind-smpnet-nbase, rmind-smpnet-base, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7
Branch point for: nick-nhusb
Changes since 1.11: +8 -9 lines
Diff to previous 1.11 (colored)

pcu(9):
- Remove PCU_KERNEL (hi matt!) and significantly simplify the code.
  This experimental feature was tried on ARM did not meet the expectations.
  It may be revived one day, but it should be done in a much simpler way.
- Add a message structure for xcall function, pass the LWP ower and thus
  optimise a race condition: if LWP is discarding its state on a remote CPU,
  but another LWP already did it - do not cause an unecessary re-faulting.
- Reduce the variety of flags for PCU operations (only PCU_VALID and
  PCU_REENABLE are used now), pass them only to the pcu_state_load().
- Rename pcu_used_p() to pcu_valid_p(); hopefully it is less confusing.
- pcu_save_all_on_cpu: SPL ought to be used here.
- Update and improve the pcu(9) man page; it needs wizd(8) though.

Revision 1.11 / (download) - annotate - [select for diffs], Thu Aug 22 19:50:54 2013 UTC (10 years, 6 months ago) by drochner
Branch: MAIN
CVS Tags: yamt-pagecache-base9, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3
Branch point for: tls-earlyentropy
Changes since 1.10: +3 -3 lines
Diff to previous 1.10 (colored)

-extend the pcu(9) API by a function which saves all context on the
 current CPU, and use it if a CPU is taken offline
-add a bool argument to pcu_discard which tells whether the internal
 "LWP has used the coprocessor" flag should be set or reset. The flag
 is reported by pcu_used_p(). If set, future accesses should use the
 state stored in the PCB. If reset, it should be reset to default.
 The former case is useful for setmcontext().
 With that, it should not be necessary anymore to manage the "FPU used"
 state by an additional MD variable.

approved by matt

Revision 1.10 / (download) - annotate - [select for diffs], Wed Dec 26 19:15:16 2012 UTC (11 years, 2 months ago) by matt
Branch: MAIN
CVS Tags: yamt-pagecache-base8, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, khorben-n900, agc-symver-base, agc-symver
Branch point for: rmind-smpnet
Changes since 1.9: +3 -3 lines
Diff to previous 1.9 (colored)

Fix typo

Revision 1.9 / (download) - annotate - [select for diffs], Wed Dec 26 19:09:07 2012 UTC (11 years, 2 months ago) by matt
Branch: MAIN
Changes since 1.8: +9 -9 lines
Diff to previous 1.8 (colored)

Update to use new pcu_state_{load,save,release} definitions.

Revision 1.8 / (download) - annotate - [select for diffs], Mon Feb 27 15:57:21 2012 UTC (12 years ago) by matt
Branch: MAIN
CVS Tags: yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base4, jmcneill-usbmp-base10
Branch point for: tls-maxphys
Changes since 1.7: +2 -3 lines
Diff to previous 1.7 (colored)

Remove an incorrect KASSERT

Revision 1.7 / (download) - annotate - [select for diffs], Sat Oct 29 20:55:36 2011 UTC (12 years, 4 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, netbsd-6-base, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base5, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3
Branch point for: yamt-pagecache, netbsd-6, jmcneill-usbmp
Changes since 1.6: +6 -5 lines
Diff to previous 1.6 (colored)

- make noat-at noreorder-reorder sequences consistent.
- add nop hack to fix assembler internal error.

Revision 1.6 / (download) - annotate - [select for diffs], Tue Aug 16 06:58:15 2011 UTC (12 years, 7 months ago) by matt
Branch: MAIN
Changes since 1.5: +3 -8 lines
Diff to previous 1.5 (colored)

Add support for the MIPS DSP ASE (as a second PCU).

Revision 1.5 / (download) - annotate - [select for diffs], Mon May 2 00:29:54 2011 UTC (12 years, 10 months ago) by rmind
Branch: MAIN
CVS Tags: rmind-uvmplock-nbase, rmind-uvmplock-base, jym-xensuspend-nbase, jym-xensuspend-base, cherry-xenmp-base, cherry-xenmp
Changes since 1.4: +22 -21 lines
Diff to previous 1.4 (colored)

Extend PCU:
- Add pcu_ops_t::pcu_state_release() operation for PCU_RELEASE case.
- Add pcu_switchpoint() to perform release operation on context switch.
- Sprinkle const, misc.  Also, sync MIPS with changes.

Per discussions with matt@.

Revision 1.4 / (download) - annotate - [select for diffs], Fri Apr 29 22:18:16 2011 UTC (12 years, 10 months ago) by matt
Branch: MAIN
Changes since 1.3: +5 -5 lines
Diff to previous 1.3 (colored)

minor cleanup (remove redundant static, fix whitespace).

Revision 1.3 / (download) - annotate - [select for diffs], Sun Feb 20 16:38:13 2011 UTC (13 years, 1 month ago) by rmind
Branch: MAIN
CVS Tags: bouyer-quota2-nbase
Changes since 1.2: +3 -2 lines
Diff to previous 1.2 (colored)

Sprinkle some RCS IDs.

Revision 1.2 / (download) - annotate - [select for diffs], Sun Feb 20 07:45:48 2011 UTC (13 years, 1 month ago) by matt
Branch: MAIN
Changes since 1.1: +353 -0 lines
Diff to previous 1.1 (colored)

Major merge forward from matt-nb5-mips64.
New fixup code.
New common SPL code.
New common interrupt code.
Move related variables into structures.
Cleanup locore (move MD variable into it).
Kill StudlyCaps
Use PCU for FPU

Revision 1.1, Sun Feb 28 23:45:06 2010 UTC (14 years ago) by matt
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base2, jruoho-x86intr-base, bouyer-quota2-base
Branch point for: rmind-uvmplock, matt-nb5-mips64, jruoho-x86intr, bouyer-quota2
FILE REMOVED

file mips_fpu.c was initially added on branch matt-nb5-mips64.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>