The NetBSD Project

CVS log for src/sys/arch/powerpc/fpu/fpu_emu.c

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.60 / (download) - annotate - [select for diffs], Tue Sep 20 12:25:01 2022 UTC (17 months ago) by rin
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, netbsd-10-base, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm, HEAD
Changes since 1.59: +3 -3 lines
Diff to previous 1.59 (colored)

Typo in comment. No binary changes.

Revision 1.59 / (download) - annotate - [select for diffs], Tue Sep 20 12:12:42 2022 UTC (17 months ago) by rin
Branch: MAIN
Changes since 1.58: +69 -15 lines
Diff to previous 1.58 (colored)

stfs{,x}{,u}: Switch to conversion algorithm specified by Power ISA.

The ISA specifies algorithm for most bit patterns in double format, that
are not representable in float. I believe that sane people do not rely on
such a specification detail, but *REAL* programmers may utilize it ;)

Instead of complicating fpu_explode(), single-purpose helper function,
fpu_to_single(), is introduced. See comment therein for more details.

Revision 1.58 / (download) - annotate - [select for diffs], Thu Sep 15 14:25:28 2022 UTC (17 months, 1 week ago) by rin
Branch: MAIN
Changes since 1.57: +6 -4 lines
Diff to previous 1.57 (colored)

fnm{add,sub}{,s}: Do not negate NaN.

Revision 1.57 / (download) - annotate - [select for diffs], Thu Sep 15 14:24:00 2022 UTC (17 months, 1 week ago) by rin
Branch: MAIN
Changes since 1.56: +4 -4 lines
Diff to previous 1.56 (colored)

fpu_execute(): Use FR() macro. No binary changes.

Revision 1.56 / (download) - annotate - [select for diffs], Fri Sep 9 14:35:27 2022 UTC (17 months, 1 week ago) by rin
Branch: MAIN
Changes since 1.55: +2 -7 lines
Diff to previous 1.55 (colored)

G/C ``notyet''; OPC_load_st_62 == std{,u} are integer insns.
No binary changes.

Revision 1.55 / (download) - annotate - [select for diffs], Wed Sep 7 06:53:03 2022 UTC (17 months, 2 weeks ago) by rin
Branch: MAIN
Changes since 1.54: +8 -8 lines
Diff to previous 1.54 (colored)

Fix mnemonics for fm{add,sub}. NFC except for evcnt(9) names.

Revision 1.54 / (download) - annotate - [select for diffs], Mon Sep 5 00:25:18 2022 UTC (17 months, 2 weeks ago) by rin
Branch: MAIN
Changes since 1.53: +5 -3 lines
Diff to previous 1.53 (colored)

static-fy fpu_execute().

Revision 1.53 / (download) - annotate - [select for diffs], Sun Sep 4 13:32:14 2022 UTC (17 months, 2 weeks ago) by rin
Branch: MAIN
Changes since 1.52: +8 -8 lines
Diff to previous 1.52 (colored)

Trailing white-space/TAB.

Revision 1.52 / (download) - annotate - [select for diffs], Sun Sep 4 13:18:33 2022 UTC (17 months, 2 weeks ago) by rin
Branch: MAIN
Changes since 1.51: +4 -4 lines
Diff to previous 1.51 (colored)

Simplify; no need to override ``type'' here. NFC.

Revision 1.51 / (download) - annotate - [select for diffs], Sun Sep 4 13:16:47 2022 UTC (17 months, 2 weeks ago) by rin
Branch: MAIN
Changes since 1.50: +4 -4 lines
Diff to previous 1.50 (colored)

Update FR and FI (and undefined FPRF) for ``round to integer'' insns.

Revision 1.50 / (download) - annotate - [select for diffs], Sun Sep 4 13:14:57 2022 UTC (17 months, 2 weeks ago) by rin
Branch: MAIN
Changes since 1.49: +7 -12 lines
Diff to previous 1.49 (colored)

Fix logic for FI, FR, and FPRF fields of FPSCR.

They are not sticky bits and updated by arithmetic and round
insns at the same time.

Comparison insns update only FPCC sub-field of FPRF.

For other insns, these field are left untouched.

Also, for single-precision insns, exception bits should be set by
the first fpu_implode(), which rounds the value to float.

Revision 1.49 / (download) - annotate - [select for diffs], Sat Sep 3 04:54:47 2022 UTC (17 months, 2 weeks ago) by rin
Branch: MAIN
Changes since 1.48: +5 -4 lines
Diff to previous 1.48 (colored)

Localize addr and buf. NFC.

Revision 1.48 / (download) - annotate - [select for diffs], Sat Sep 3 04:54:08 2022 UTC (17 months, 2 weeks ago) by rin
Branch: MAIN
Changes since 1.47: +9 -9 lines
Diff to previous 1.47 (colored)

Fix weird logic. NFC.

Set both type and size to double by default, and change both to
single if required.

Revision 1.47 / (download) - annotate - [select for diffs], Sat Sep 3 04:52:50 2022 UTC (17 months, 2 weeks ago) by rin
Branch: MAIN
Changes since 1.46: +12 -12 lines
Diff to previous 1.46 (colored)

Do not use ``cond'' for two purposes: flag and bit field.
For the latter, use ``bits'' instead. Switch ``cond'' to int.
NFC.

Revision 1.46 / (download) - annotate - [select for diffs], Fri Sep 2 12:47:10 2022 UTC (17 months, 2 weeks ago) by rin
Branch: MAIN
Changes since 1.45: +5 -6 lines
Diff to previous 1.45 (colored)

Fix fres and frsqrte.
- Pass correct fp to succeeding fpu_implode().
- fres calculates 1 / frB; not 1 / sqrt(frB).

Revision 1.45 / (download) - annotate - [select for diffs], Fri Sep 2 12:40:49 2022 UTC (17 months, 2 weeks ago) by rin
Branch: MAIN
Changes since 1.44: +49 -50 lines
Diff to previous 1.44 (colored)

Make fpu_explode() and fpu_implode() take uint64_t and uint64_t *,
instead of register number, respectively. NFC.

Revision 1.44 / (download) - annotate - [select for diffs], Thu Sep 1 06:08:16 2022 UTC (17 months, 3 weeks ago) by rin
Branch: MAIN
Changes since 1.43: +7 -6 lines
Diff to previous 1.43 (colored)

Set FPSCR[FPRF] for calculated result, for all instructions
that are documented to update this field.

Exceptions are fcti{w,d}{,z}; FPSCR[FPRF] becomes undefined,
according to Power ISA. We do not overwrite this field for
these insns at the moment.

Revision 1.43 / (download) - annotate - [select for diffs], Tue Aug 30 11:09:34 2022 UTC (17 months, 3 weeks ago) by rin
Branch: MAIN
Changes since 1.42: +6 -2 lines
Diff to previous 1.42 (colored)

Fix fcti{w,d}{,z}.

- Treat 64-bit integer correctly for fctid{,z}.
- Respect round mode specified by FPSCR[RN].

XXX
- Set FPSCR[FR] and [FI] appropriately.
- Also set FPSCR[FPRF]?
- fctid{,z} traps on powerpc32 (confirmed on 603e and G4).

Revision 1.42 / (download) - annotate - [select for diffs], Tue Aug 30 10:59:43 2022 UTC (17 months, 3 weeks ago) by rin
Branch: MAIN
Changes since 1.41: +8 -4 lines
Diff to previous 1.41 (colored)

Fix fsel; frB is chosen when frA is negative or NaN.

For fpu_emu.c rev 1.41 or prior, wrong register was chosen for
NaN with sign bit being cleared.

Revision 1.41 / (download) - annotate - [select for diffs], Tue Aug 30 10:55:06 2022 UTC (17 months, 3 weeks ago) by rin
Branch: MAIN
Changes since 1.40: +14 -7 lines
Diff to previous 1.40 (colored)

Fix mcrfs; Clear copied exception bits, and do not raise any exception.

Revision 1.40 / (download) - annotate - [select for diffs], Tue Aug 30 10:53:12 2022 UTC (17 months, 3 weeks ago) by rin
Branch: MAIN
Changes since 1.39: +16 -30 lines
Diff to previous 1.39 (colored)

Misc clean up for mtfsf{,i}. NFC.

Revision 1.39 / (download) - annotate - [select for diffs], Tue Aug 30 10:50:56 2022 UTC (17 months, 3 weeks ago) by rin
Branch: MAIN
Changes since 1.38: +9 -8 lines
Diff to previous 1.38 (colored)

Fix mtfsb[01]; these can clear/set any FPSCR bits other than FEX and VX.

Revision 1.38 / (download) - annotate - [select for diffs], Tue Aug 30 10:48:31 2022 UTC (17 months, 3 weeks ago) by rin
Branch: MAIN
Changes since 1.37: +5 -8 lines
Diff to previous 1.37 (colored)

Fix logic for FPSCR[FEX].

It is logical OR (similar to FPSCR[VX]) of raised exception bits for
enabled exceptions.

Revision 1.37 / (download) - annotate - [select for diffs], Tue Aug 30 10:43:38 2022 UTC (17 months, 3 weeks ago) by rin
Branch: MAIN
Changes since 1.36: +2 -4 lines
Diff to previous 1.36 (colored)

Revert rev 1.29:

http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/arch/powerpc/fpu/fpu_emu.c#rev1.29

> FPSCR[FEX] is not a sticky bit; it is always cleared when read from
> userland via mffs on real hardware.

This turned out to be wrong. FEX is actually observed for 603e.

Revision 1.36 / (download) - annotate - [select for diffs], Wed Jul 27 04:17:02 2022 UTC (18 months, 3 weeks ago) by rin
Branch: MAIN
Changes since 1.35: +4 -4 lines
Diff to previous 1.35 (colored)

Correct stale comment. Thanks rillig@ for pointed out. NFC.

Revision 1.35 / (download) - annotate - [select for diffs], Tue Jul 26 16:08:33 2022 UTC (18 months, 4 weeks ago) by rin
Branch: MAIN
Changes since 1.34: +3 -3 lines
Diff to previous 1.34 (colored)

Fix copy-paste in comment. No binary changes.

Revision 1.34 / (download) - annotate - [select for diffs], Tue Jul 26 16:07:55 2022 UTC (18 months, 4 weeks ago) by rin
Branch: MAIN
Changes since 1.33: +3 -3 lines
Diff to previous 1.33 (colored)

Fix inverted logic; cr was completely broken by FPU insn with Rc == 1.

Why haven't we noticed this so far...

Revision 1.33 / (download) - annotate - [select for diffs], Wed Jul 15 09:42:43 2020 UTC (3 years, 7 months ago) by rin
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-futex, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Changes since 1.32: +11 -2 lines
Diff to previous 1.32 (colored)

Now, FPU emulation for booke and ibm4xx works fine at a level where
all the related ATF tests pass correctly. However, there still remain
problems:

- FEX and VX bits for FPSCR cannot be modified by mcrfs, mtfsf{,i},
  and mtfsb[01].
- Invalid operations should be treated differently depending on
  FPSCR[VE].

Therefore, comment them in order not to be forgotten.

No binary changes.

Revision 1.32 / (download) - annotate - [select for diffs], Wed Jul 15 09:36:35 2020 UTC (3 years, 7 months ago) by rin
Branch: MAIN
Changes since 1.31: +15 -9 lines
Diff to previous 1.31 (colored)

Try to fix FPSCR bits in the end of emulation:

- FPSCR[FEX] is not a sticky bit.
- Turn on FPSCR[FEX] if the emulated instruction causes invalid operation,
  and invalid operation exception is not masked out.
- FPSCR[VX] is not a sticky bit, however it should be set when at least
  one of FPSCR[VXfoo] bits (they are sticky!) is set.
- FPSCR[FX] is a sticky bit, and it should be set if FPSCR is modified by
  instructions other than mtfsf{,i}.

Revision 1.31 / (download) - annotate - [select for diffs], Wed Jul 15 09:22:26 2020 UTC (3 years, 7 months ago) by rin
Branch: MAIN
Changes since 1.30: +3 -2 lines
Diff to previous 1.30 (colored)

Set ksi_code correctly via fpu_get_fault_code() for SIGFPE.

Revision 1.30 / (download) - annotate - [select for diffs], Wed Jul 15 09:16:35 2020 UTC (3 years, 7 months ago) by rin
Branch: MAIN
Changes since 1.29: +9 -2 lines
Diff to previous 1.29 (colored)

Do not raise SIGFPE unless MSR[FE0] or MSR[FE1] is set via fenv(3).

Revision 1.29 / (download) - annotate - [select for diffs], Wed Jul 15 08:29:07 2020 UTC (3 years, 7 months ago) by rin
Branch: MAIN
Changes since 1.28: +4 -2 lines
Diff to previous 1.28 (colored)

FPSCR[FEX] is not a sticky bit; it is always cleared when read from
userland via mffs on real hardware.

Revision 1.28 / (download) - annotate - [select for diffs], Wed Jul 15 08:10:41 2020 UTC (3 years, 7 months ago) by rin
Branch: MAIN
Changes since 1.27: +3 -3 lines
Diff to previous 1.27 (colored)

PR port-powerpc/55425

Fix emulation for mtfsf; source register is frB here.

Now, userland processes successfully change rounding mode, by which
FPU-optimized code in OpenSSL works just fine as far as I can see.

Revision 1.27 / (download) - annotate - [select for diffs], Wed Jul 15 07:54:25 2020 UTC (3 years, 7 months ago) by rin
Branch: MAIN
Changes since 1.26: +3 -3 lines
Diff to previous 1.26 (colored)

For trap instruction, ksi_code should be TRAP_BRKPT not TRAP_TRACE.

Revision 1.26 / (download) - annotate - [select for diffs], Wed Jul 15 07:52:58 2020 UTC (3 years, 7 months ago) by rin
Branch: MAIN
Changes since 1.25: +2 -4 lines
Diff to previous 1.25 (colored)

Do not set ksi->ksi_addr twice. No functional changes.

Revision 1.25 / (download) - annotate - [select for diffs], Wed Jul 15 07:37:25 2020 UTC (3 years, 7 months ago) by rin
Branch: MAIN
Changes since 1.24: +2 -14 lines
Diff to previous 1.24 (colored)

Remove old workaround foe cache problem on ibm4xx.
The problem seems gone already.

Revision 1.24 / (download) - annotate - [select for diffs], Mon Jul 6 10:31:23 2020 UTC (3 years, 7 months ago) by rin
Branch: MAIN
Changes since 1.23: +3 -2 lines
Diff to previous 1.23 (colored)

Include missing opt_ppcarch.h.

Revision 1.23 / (download) - annotate - [select for diffs], Mon Jul 6 09:34:16 2020 UTC (3 years, 7 months ago) by rin
Branch: MAIN
Changes since 1.22: +4 -2 lines
Diff to previous 1.22 (colored)

Style and cosmetic changes. No binary changes intended.

Revision 1.22 / (download) - annotate - [select for diffs], Sat Jun 27 04:31:06 2020 UTC (3 years, 7 months ago) by rin
Branch: MAIN
Changes since 1.21: +4 -2 lines
Diff to previous 1.21 (colored)

fpu_dumpfpn(): Add KASSERT to check argument != NULL.

Revision 1.21 / (download) - annotate - [select for diffs], Sat Jun 27 04:18:57 2020 UTC (3 years, 7 months ago) by rin
Branch: MAIN
Changes since 1.20: +3 -3 lines
Diff to previous 1.20 (colored)

fpu_dumpfpn(): Add missing \n in printf() format.

Revision 1.20 / (download) - annotate - [select for diffs], Sat Jun 27 03:07:57 2020 UTC (3 years, 7 months ago) by rin
Branch: MAIN
Changes since 1.19: +6 -6 lines
Diff to previous 1.19 (colored)

Sort headers. No functional changes intended.

Revision 1.16.2.1 / (download) - annotate - [select for diffs], Sun Dec 3 11:36:36 2017 UTC (6 years, 2 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.16: +18 -9 lines
Diff to previous 1.16 (colored) next main 1.17 (colored)

update from HEAD

Revision 1.17.2.1 / (download) - annotate - [select for diffs], Sun Feb 5 13:40:18 2017 UTC (7 years ago) by skrll
Branch: nick-nhusb
Changes since 1.17: +17 -8 lines
Diff to previous 1.17 (colored) next main 1.18 (colored)

Sync with HEAD

Revision 1.16.18.1 / (download) - annotate - [select for diffs], Wed Jan 18 08:46:26 2017 UTC (7 years, 1 month ago) by skrll
Branch: netbsd-7-nhusb
Changes since 1.16: +17 -8 lines
Diff to previous 1.16 (colored) next main 1.17 (colored)

Sync with netbsd-5

Revision 1.17.4.1 / (download) - annotate - [select for diffs], Sat Jan 7 08:56:24 2017 UTC (7 years, 1 month ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.17: +17 -8 lines
Diff to previous 1.17 (colored) next main 1.18 (colored)

Sync with HEAD.  (Note that most of these changes are simply $NetBSD$
tag issues.)

Revision 1.16.14.2 / (download) - annotate - [select for diffs], Tue Jan 3 06:37:25 2017 UTC (7 years, 1 month ago) by snj
Branch: netbsd-7
CVS Tags: netbsd-7-nhusb-base-20170116, 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
Changes since 1.16.14.1: +5 -5 lines
Diff to previous 1.16.14.1 (colored) to branchpoint 1.16 (colored) next main 1.17 (colored)

Pull up following revision(s) (requested by rin in ticket #1342):
	sys/arch/powerpc/fpu/fpu_emu.c: revision 1.18
Fix build without DDB.

Revision 1.16.14.1 / (download) - annotate - [select for diffs], Tue Jan 3 06:19:21 2017 UTC (7 years, 1 month ago) by snj
Branch: netbsd-7
Changes since 1.16: +14 -5 lines
Diff to previous 1.16 (colored)

Pull up following revision(s) (requested by rin in ticket #1341):
	sys/arch/powerpc/fpu/fpu_emu.c: revision 1.19
	sys/arch/powerpc/fpu/fpu_explode.c: revision 1.7
- add missing default from FreeBSD
- remove duplicate panic pointed out by matt
--
PR port-powerpc/51368: powerpc FPU emulation fails for single precision
floating point arithmetic
For single precision instruction, calculate first in double precision,
and then round it. With this fix, single precision arithmetic gets sane
on ibm4xx and booke.
Taken from FreeBSD commit r258250:
   https://svnweb.freebsd.org/base?view=revision&revision=258250
Ok matt and simonb.

Revision 1.19 / (download) - annotate - [select for diffs], Wed Dec 28 10:52:30 2016 UTC (7 years, 1 month ago) by rin
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, phil-wifi, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, 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, nick-nhusb-base-20170204, 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, jdolecek-ncq-base, jdolecek-ncq, isaki-audio2-base, isaki-audio2, is-mlppp-base, is-mlppp, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Changes since 1.18: +14 -5 lines
Diff to previous 1.18 (colored)

PR port-powerpc/51368: powerpc FPU emulation fails for single precision
floating point arithmetic

For single precision instruction, calculate first in double precision,
and then round it. With this fix, single precision arithmetic gets sane
on ibm4xx and booke.

Taken from FreeBSD commit r258250:
  https://svnweb.freebsd.org/base?view=revision&revision=258250

Ok matt and simonb.

Revision 1.18 / (download) - annotate - [select for diffs], Thu Dec 15 11:32:03 2016 UTC (7 years, 2 months ago) by rin
Branch: MAIN
Changes since 1.17: +5 -5 lines
Diff to previous 1.17 (colored)

Fix build without DDB.

Revision 1.17 / (download) - annotate - [select for diffs], Tue Aug 12 20:27:10 2014 UTC (9 years, 6 months ago) by joerg
Branch: MAIN
CVS Tags: pgoyette-localcount-base, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base, localcount-20160914
Branch point for: pgoyette-localcount, nick-nhusb
Changes since 1.16: +3 -3 lines
Diff to previous 1.16 (colored)

Avoid unncessary use of double in the kernel. With this change,
a LLVM build kernel fully works on TWRP1025.

Revision 1.15.6.1 / (download) - annotate - [select for diffs], Tue Oct 30 17:20:10 2012 UTC (11 years, 3 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.15: +49 -29 lines
Diff to previous 1.15 (colored) next main 1.16 (colored)

sync with head

Revision 1.16 / (download) - annotate - [select for diffs], Mon Jul 23 04:13:06 2012 UTC (11 years, 7 months ago) by matt
Branch: MAIN
CVS Tags: yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, rmind-smpnet, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, netbsd-7-nhusb-base, netbsd-7-base, 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, khorben-n900, agc-symver-base, agc-symver
Branch point for: tls-maxphys, netbsd-7-nhusb, netbsd-7
Changes since 1.15: +49 -29 lines
Diff to previous 1.15 (colored)

Add support for PPC FP emulation to BookE.
Pass a ksiginfo_t to fpu_emulation so it can give more detailed
info on signals.

Revision 1.14.106.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:06:27 2011 UTC (12 years, 8 months ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.14: +28 -28 lines
Diff to previous 1.14 (colored) next main 1.15 (colored)

Sync with HEAD.

Revision 1.14.100.1 / (download) - annotate - [select for diffs], Sat Mar 5 20:51:35 2011 UTC (12 years, 11 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.14: +28 -28 lines
Diff to previous 1.14 (colored) next main 1.15 (colored)

sync with head

Revision 1.15 / (download) - annotate - [select for diffs], Tue Jan 18 01:02:53 2011 UTC (13 years, 1 month ago) by matt
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, uebayasi-xip-base7, rmind-uvmplock-nbase, rmind-uvmplock-base, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, jym-xensuspend-nbase, jym-xensuspend-base, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base10, jmcneill-usbmp-base, jmcneill-usbmp, jmcneill-audiomp3-base, jmcneill-audiomp3, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: yamt-pagecache
Changes since 1.14: +28 -28 lines
Diff to previous 1.14 (colored)

Add support for BookE Freescale MPC85xx (e500 core) processors.
Add fast softint support for PowerPC (though only booke uses it).
Redo FPU/VEC support and add e500 SPE support.
Rework trap/intrs to use a common trapframe format.
Support SOFTFLOAT (no hardfloat or fpu emulation) for BookE.

Revision 1.14.104.1 / (download) - annotate - [select for diffs], Fri Jan 7 02:08:55 2011 UTC (13 years, 1 month ago) by matt
Branch: matt-nb5-pq3
Changes since 1.14: +28 -28 lines
Diff to previous 1.14 (colored) next main 1.15 (colored)

Adapt to new trapframe.

Revision 1.14 / (download) - annotate - [select for diffs], Sun Dec 11 12:18:42 2005 UTC (18 years, 2 months ago) by christos
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, yamt-splraiseipl-base, yamt-splraiseipl, yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, yamt-pdpolicy, yamt-nfs-mp-base9, yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, yamt-nfs-mp-base2, yamt-nfs-mp-base11, yamt-nfs-mp-base10, yamt-nfs-mp-base, yamt-nfs-mp, yamt-lazymbuf-base15, yamt-lazymbuf-base14, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, yamt-idlelwp-base8, yamt-idlelwp, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, vmlocking-base, vmlocking, uebayasi-xip-base6, uebayasi-xip-base5, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base, uebayasi-xip, thorpej-atomic-base, thorpej-atomic, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, simonb-timecounters-base, simonb-timecounters, simonb-timcounters-final, rpaulo-netinet-merge-pcb-base, rpaulo-netinet-merge-pcb, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, reinoud-bufcleanup, ppcoea-renovation-base, ppcoea-renovation, post-newlock2-merge, peter-altq-base, peter-altq, nick-net80211-sync-base, nick-net80211-sync, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, nick-hppapmap, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, newlock2-nbase, newlock2-base, newlock2, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, mjf-ufs-trans-base, mjf-ufs-trans, mjf-devfs2-base, mjf-devfs2, mjf-devfs-base, mjf-devfs, matt-premerge-20091211, matt-nb5-pq3-base, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-nb4-arm-base, matt-nb4-arm, matt-mips64-premerge-20101231, matt-mips64-base2, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, matt-armv6-nbase, matt-armv6-base, matt-armv6, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, jymxensuspend-base, jym-xensuspend, jruoho-x86intr-base, jmcneill-pm-base, jmcneill-pm, jmcneill-base, hpcarm-cleanup-nbase, hpcarm-cleanup-base, hpcarm-cleanup, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, elad-kernelauth, cube-autoconf-base, cube-autoconf, chap-midi-nbase, chap-midi-base, chap-midi, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386, bouyer-xenamd64-base2, bouyer-xenamd64-base, bouyer-xenamd64, ad-socklock-base1, ad-audiomp2-base, ad-audiomp2, ad-audiomp-base, ad-audiomp, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: rmind-uvmplock, matt-nb5-pq3, jruoho-x86intr
Changes since 1.13: +2 -2 lines
Diff to previous 1.13 (colored)

merge ktrace-lwp.

Revision 1.7.2.4 / (download) - annotate - [select for diffs], Thu Nov 10 13:58:15 2005 UTC (18 years, 3 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.7.2.3: +3 -3 lines
Diff to previous 1.7.2.3 (colored) next main 1.8 (colored)

Sync with HEAD. Here we go again...

Revision 1.13 / (download) - annotate - [select for diffs], Fri Jun 3 11:55:34 2005 UTC (18 years, 8 months ago) by scw
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, yamt-lazymbuf, thorpej-vnode-attr-base, thorpej-vnode-attr, ktrace-lwp-base
Changes since 1.12: +3 -3 lines
Diff to previous 1.12 (colored)

Appease -Wcast-qual

Revision 1.7.2.3 / (download) - annotate - [select for diffs], Tue Sep 21 13:20:34 2004 UTC (19 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.7.2.2: +2 -2 lines
Diff to previous 1.7.2.2 (colored)

Fix the sync with head I botched.

Revision 1.7.2.2 / (download) - annotate - [select for diffs], Sat Sep 18 14:39:04 2004 UTC (19 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.7.2.1: +3 -2 lines
Diff to previous 1.7.2.1 (colored)

Sync with HEAD.

Revision 1.12 / (download) - annotate - [select for diffs], Wed Sep 15 07:04:21 2004 UTC (19 years, 5 months ago) by scw
Branch: MAIN
CVS Tags: yamt-km-base4, yamt-km-base3, yamt-km-base2, yamt-km-base, yamt-km, netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3, kent-audio2-base, kent-audio2, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Changes since 1.11: +3 -2 lines
Diff to previous 1.11 (colored)

It helps to call fpu_sqrt() when dealing with the frsqrte instruction.

Revision 1.7.2.1 / (download) - annotate - [select for diffs], Tue Aug 3 10:39:22 2004 UTC (19 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.7: +8 -7 lines
Diff to previous 1.7 (colored)

Sync with HEAD

Revision 1.10.2.1 / (download) - annotate - [select for diffs], Tue Mar 30 06:04:54 2004 UTC (19 years, 10 months ago) by jmc
Branch: netbsd-2-0
CVS Tags: netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2
Changes since 1.10: +4 -3 lines
Diff to previous 1.10 (colored) next main 1.11 (colored)

Pullup rev 1.11 (requested by simonb in ticket #18)

Make the "cond" variable an unsigned variable. PR#24938

Revision 1.11 / (download) - annotate - [select for diffs], Tue Mar 30 00:04:37 2004 UTC (19 years, 10 months ago) by simonb
Branch: MAIN
Changes since 1.10: +4 -3 lines
Diff to previous 1.10 (colored)

Make the "cond" variable an unsigned variable.  Stops sign extension
problems when we shift it left and right while creating the new value
for the condition register.

Fixes problems reported by Juergen Hannken-Illjes in toolchain/24938.

Revision 1.10 / (download) - annotate - [select for diffs], Mon Oct 27 04:30:32 2003 UTC (20 years, 4 months ago) by simonb
Branch: MAIN
CVS Tags: netbsd-2-0-base
Branch point for: netbsd-2-0
Changes since 1.9: +3 -2 lines
Diff to previous 1.9 (colored)

Fix a bogus uninitialised warning.

Revision 1.9 / (download) - annotate - [select for diffs], Thu Aug 7 16:29:17 2003 UTC (20 years, 6 months ago) by agc
Branch: MAIN
Changes since 1.8: +3 -7 lines
Diff to previous 1.8 (colored)

Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22364, verified by myself.

Revision 1.8 / (download) - annotate - [select for diffs], Tue Jul 15 02:54:43 2003 UTC (20 years, 7 months ago) by lukem
Branch: MAIN
Changes since 1.7: +4 -1 lines
Diff to previous 1.7 (colored)

__KERNEL_RCSID()

Revision 1.7 / (download) - annotate - [select for diffs], Fri Feb 7 04:46:10 2003 UTC (21 years ago) by thorpej
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.6: +4 -4 lines
Diff to previous 1.6 (colored)

Fix some printf formats.

Revision 1.3.6.2 / (download) - annotate - [select for diffs], Wed Dec 11 06:11:37 2002 UTC (21 years, 2 months ago) by thorpej
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.3.6.1: +783 -0 lines
Diff to previous 1.3.6.1 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored)

Sync with HEAD.

Revision 1.6 / (download) - annotate - [select for diffs], Mon Nov 25 02:46:10 2002 UTC (21 years, 3 months ago) by thorpej
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, fvdl_fs64_base
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored)

Avoid strict-alias warnings.

Revision 1.5 / (download) - annotate - [select for diffs], Mon Nov 25 02:45:46 2002 UTC (21 years, 3 months ago) by thorpej
Branch: MAIN
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored)

Remove an unnecessary token-paste, as pointed out by GCC 3.3.

Revision 1.4 / (download) - annotate - [select for diffs], Sun Nov 24 17:34:06 2002 UTC (21 years, 3 months ago) by thorpej
Branch: MAIN
Changes since 1.3: +73 -1 lines
Diff to previous 1.3 (colored)

Instrument FP emulation traps.

Revision 1.2.2.1 / (download) - annotate - [select for diffs], Fri Aug 3 04:12:13 2001 UTC (22 years, 6 months ago) by lukem
Branch: kqueue
Changes since 1.2: +7 -7 lines
Diff to previous 1.2 (colored) next main 1.3 (colored)

update to -current

Revision 1.3.6.1, Sun Jul 22 11:29:44 2001 UTC (22 years, 7 months ago) by thorpej
Branch: nathanw_sa
Changes since 1.3: +0 -711 lines
FILE REMOVED

file fpu_emu.c was added on branch nathanw_sa on 2002-12-11 06:11:37 +0000

Revision 1.3 / (download) - annotate - [select for diffs], Sun Jul 22 11:29:44 2001 UTC (22 years, 7 months ago) by wiz
Branch: MAIN
CVS Tags: thorpej-mips-cache-base, thorpej-mips-cache, thorpej-devvp-base3, thorpej-devvp-base2, thorpej-devvp-base, thorpej-devvp, pre-chs-ubcperf, post-chs-ubcperf, newlock-base, newlock, netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6, kqueue-beforemerge, kqueue-base, kqueue-aftermerge, ifpoll-base, gehenna-devsw-base, gehenna-devsw, eeh-devprop-base, eeh-devprop
Branch point for: nathanw_sa
Changes since 1.2: +7 -7 lines
Diff to previous 1.2 (colored)

bcopy -> memcpy, bzero -> memset, bcmp -> memcmp.
Reviewed by Matt Thomas, ok'd by Tsubai Masanari.

Revision 1.2 / (download) - annotate - [select for diffs], Fri Jun 22 03:25:39 2001 UTC (22 years, 8 months ago) by simonb
Branch: MAIN
Branch point for: kqueue
Changes since 1.1: +6 -2 lines
Diff to previous 1.1 (colored)

Make this compile when DEBUG isn't defined.

Revision 1.1 / (download) - annotate - [select for diffs], Wed Jun 13 06:01:47 2001 UTC (22 years, 8 months ago) by simonb
Branch: MAIN

Add a port to IBM's PPC405GP Reference Board (the "walnut")
by Eduardo Horvath and Simon Burge of Wasabi Systems.

IBM 4xx series CPU features:
 - New pmap and revised trap handler.
 - Support on-chip timers, PCI controller, UARTs
 - Framework for on-chip ethernet and watchdog timer.
General PowerPC features:
 - Add in-kernel PPC floating point emulation
 - New in{,4}_cksum that is between 1.5 and 5 times faster than the
   old version depending on CPU type.
General changes:
 - Kernel support for generic dbsym-style symbols.

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>