Now
MAIN commitmail json YAML
src/distrib/sets/lists/comp/mi@1.2458
/
diff
/
nxr@1.2458
src/share/man/man9/Makefile@1.470 / diff / nxr@1.470
src/share/man/man9/uvm_obj_wirepages.9@1.1 / diff / nxr@1.1
src/share/man/man9/Makefile@1.470 / diff / nxr@1.470
src/share/man/man9/uvm_obj_wirepages.9@1.1 / diff / nxr@1.1
uvm_obj_wirepages(9): New man page.
MAIN commitmail json YAML
arch/sparc64/dev/dsk.c: Nix trailing whitespace.
No functional change intended.
No functional change intended.
MAIN commitmail json YAML
base32/ad.mipsn64eb: Nix stray backtick on n32/libarchive.so.5.1 line.
MAIN commitmail json YAML
ld@virtio(4): Fix maximum size parameters.
- SEG_MAX is the maximum number of segments.
- SIZE_MAX is the maximum number of bytes in a single segment.
The maximum transfer size is, therefore, SEG_MAX * SIZE_MAX.
=> Don't add two extra segments in the dmamap vr_payload for the
header and status -- we already have a separate dmamap vr_cmdsts
for that.
=> Don't recalculate payload dmamap parameters based on division by
NBPG, just use the ones specified by the host.
=> Allow SIZE_MAX below MAXPHYS as long as SIZE_MAX*SEG_MAX >=
MAXPHYS.
Even though ldattach clamps ld->sc_maxxfer to MAXPHYS, make sure to
clamp it in ld_virtio_attach before ld_virtio_alloc_reqs since it
determines the dmamap sizes and bounce buffer allocation and there's
no sense in allocating those larger than ld will use anyway.
PR kern/58338
- SEG_MAX is the maximum number of segments.
- SIZE_MAX is the maximum number of bytes in a single segment.
The maximum transfer size is, therefore, SEG_MAX * SIZE_MAX.
=> Don't add two extra segments in the dmamap vr_payload for the
header and status -- we already have a separate dmamap vr_cmdsts
for that.
=> Don't recalculate payload dmamap parameters based on division by
NBPG, just use the ones specified by the host.
=> Allow SIZE_MAX below MAXPHYS as long as SIZE_MAX*SEG_MAX >=
MAXPHYS.
Even though ldattach clamps ld->sc_maxxfer to MAXPHYS, make sure to
clamp it in ld_virtio_attach before ld_virtio_alloc_reqs since it
determines the dmamap sizes and bounce buffer allocation and there's
no sense in allocating those larger than ld will use anyway.
PR kern/58338
MAIN commitmail json YAML
doc/3RDPARTY: Fix licence and remind path change in OpenSSL entry.
MAIN commitmail json YAML
libm: Fix arm expected symbol list harder.
LIB is not defined by the time we need it in the m.expsym rule, so
just say m here like in the other lines.
LIB is not defined by the time we need it in the m.expsym rule, so
just say m here like in the other lines.
MAIN commitmail json YAML
libm: Fix mips and arm expected symbol lists.
Had forgotten that they were overriding LIB_EXPSYM. Use a new
intermediate variable EXPSYM_SRC_MD for that.
Had forgotten that they were overriding LIB_EXPSYM. Use a new
intermediate variable EXPSYM_SRC_MD for that.
MAIN commitmail json YAML
libarchive test_write_disk_secure.c: Restore hunk of local change.
This was part of a change added in revision 1.4 in order to avoid
cluttering /tmp (PR 55612), and lost in the 3.7.4 merge:
https://mail-index.netbsd.org/source-changes/2020/08/28/msg121149.html
This was part of a change added in revision 1.4 in order to avoid
cluttering /tmp (PR 55612), and lost in the 3.7.4 merge:
https://mail-index.netbsd.org/source-changes/2020/08/28/msg121149.html
MAIN commitmail json YAML
arm/asm.h: Respect NETBSD_REVISIONID.
MAIN commitmail json YAML
alpha/asm.h: Respect _NETBSD_REVISIONID.
MAIN commitmail json YAML
i386/asm.h: Respect _NETBSD_REVISIONID.
MAIN commitmail json YAML
amd64/asm.h: Respect _NETBSD_REVISIONID.
MAIN commitmail json YAML
x86/cpu_rng: Fix false alarm rate of CPU RNG health test.
Lower it from 1/2^32 (about one in four billion) to 1/2^256
(approximately not gonna happen squared).
PR port-amd64/58122
Lower it from 1/2^32 (about one in four billion) to 1/2^256
(approximately not gonna happen squared).
PR port-amd64/58122
MAIN commitmail json YAML
tests/lib/libm/t_pow: Revamp.
1. Avoid the broken idiom
if (condition) {
atf_tc_expect_fail(...);
atf_tc_fail(...);
}
2. Sprinkle volatile and ATF_CHECK_MSG.
1. Avoid the broken idiom
if (condition) {
atf_tc_expect_fail(...);
atf_tc_fail(...);
}
2. Sprinkle volatile and ATF_CHECK_MSG.
MAIN commitmail json YAML
src/tests/lib/libm/t_cos.c@1.12
/
diff
/
nxr@1.12
src/tests/lib/libm/t_log.c@1.15 / diff / nxr@1.15
src/tests/lib/libm/t_scalbn.c@1.18 / diff / nxr@1.18
src/tests/lib/libm/t_sin.c@1.8 / diff / nxr@1.8
src/tests/lib/libm/t_tan.c@1.8 / diff / nxr@1.8
src/tests/lib/libm/t_log.c@1.15 / diff / nxr@1.15
src/tests/lib/libm/t_scalbn.c@1.18 / diff / nxr@1.18
src/tests/lib/libm/t_sin.c@1.8 / diff / nxr@1.8
src/tests/lib/libm/t_tan.c@1.8 / diff / nxr@1.8
tests/lib/libm: Fix various xfails related to PR lib/45362.
Writing
if (condition) {
atf_tc_expect_fail(...);
atf_tc_fail(...);
}
in order to paper over a bug in qemu renders the test nearly useless
because it will never actually fail in the event that something
unexpected is broken.
atf_tc_expect_fail only makes senes _before_ doing the test. If we
want to paper over a bug in qemu, we can do:
if (isQEMU)
atf_tc_expect_fail("qemu is broken, PR lib/...");
ATF_CHECK(condition);
That way, we are still doing the test in non-qemu circumstances, and
if the qemu bug is fixed the test will give the feedback of an
unexpected pass.
While here: Use `volatile double x = ...' as input so the compiler
doesn't optimize calls like sin(x) away at build-time, and print the
bad values with ATF_CHECK_MSG on failure in case anything goes wrong.
Writing
if (condition) {
atf_tc_expect_fail(...);
atf_tc_fail(...);
}
in order to paper over a bug in qemu renders the test nearly useless
because it will never actually fail in the event that something
unexpected is broken.
atf_tc_expect_fail only makes senes _before_ doing the test. If we
want to paper over a bug in qemu, we can do:
if (isQEMU)
atf_tc_expect_fail("qemu is broken, PR lib/...");
ATF_CHECK(condition);
That way, we are still doing the test in non-qemu circumstances, and
if the qemu bug is fixed the test will give the feedback of an
unexpected pass.
While here: Use `volatile double x = ...' as input so the compiler
doesn't optimize calls like sin(x) away at build-time, and print the
bad values with ATF_CHECK_MSG on failure in case anything goes wrong.
MAIN commitmail json YAML
src/lib/libm/Makefile@1.236
/
diff
/
nxr@1.236
src/lib/libm/m.aarch64.expsym@1.5 / diff / nxr@1.5
src/lib/libm/m.alpha.expsym@1.4 / diff / nxr@1.4
src/lib/libm/m.arm.expsym@1.5 / diff / nxr@1.5
src/lib/libm/m.armhf.expsym@1.3 / diff / nxr@1.3
src/lib/libm/m.common.expsym@1.1 / diff / nxr@1.1
src/lib/libm/m.fenv.expsym@1.1 / diff / nxr@1.1
src/lib/libm/m.hppa.expsym@1.4 / diff / nxr@1.4
src/lib/libm/m.i386.expsym@1.5 / diff / nxr@1.5
src/lib/libm/m.ia64.expsym@1.4 / diff / nxr@1.4
src/lib/libm/m.ieee754.expsym@1.1 / diff / nxr@1.1
src/lib/libm/m.m68k.expsym@1.6 / diff / nxr@1.6
src/lib/libm/m.mips.expsym@1.6 / diff / nxr@1.6
src/lib/libm/m.mips64.expsym@1.3 / diff / nxr@1.3
src/lib/libm/m.mipshf.expsym@1.3 / diff / nxr@1.3
src/lib/libm/m.powerpc.expsym@1.4 / diff / nxr@1.4
src/lib/libm/m.powerpc64.expsym@1.3 / diff / nxr@1.3
src/lib/libm/m.riscv.expsym@1.5 / diff / nxr@1.5
src/lib/libm/m.sh3.expsym@1.3 / diff / nxr@1.3
src/lib/libm/m.sparc.expsym@1.4 / diff / nxr@1.4
:
(more 3 files)
src/lib/libm/m.aarch64.expsym@1.5 / diff / nxr@1.5
src/lib/libm/m.alpha.expsym@1.4 / diff / nxr@1.4
src/lib/libm/m.arm.expsym@1.5 / diff / nxr@1.5
src/lib/libm/m.armhf.expsym@1.3 / diff / nxr@1.3
src/lib/libm/m.common.expsym@1.1 / diff / nxr@1.1
src/lib/libm/m.fenv.expsym@1.1 / diff / nxr@1.1
src/lib/libm/m.hppa.expsym@1.4 / diff / nxr@1.4
src/lib/libm/m.i386.expsym@1.5 / diff / nxr@1.5
src/lib/libm/m.ia64.expsym@1.4 / diff / nxr@1.4
src/lib/libm/m.ieee754.expsym@1.1 / diff / nxr@1.1
src/lib/libm/m.m68k.expsym@1.6 / diff / nxr@1.6
src/lib/libm/m.mips.expsym@1.6 / diff / nxr@1.6
src/lib/libm/m.mips64.expsym@1.3 / diff / nxr@1.3
src/lib/libm/m.mipshf.expsym@1.3 / diff / nxr@1.3
src/lib/libm/m.powerpc.expsym@1.4 / diff / nxr@1.4
src/lib/libm/m.powerpc64.expsym@1.3 / diff / nxr@1.3
src/lib/libm/m.riscv.expsym@1.5 / diff / nxr@1.5
src/lib/libm/m.sh3.expsym@1.3 / diff / nxr@1.3
src/lib/libm/m.sparc.expsym@1.4 / diff / nxr@1.4
:
(more 3 files)
libm: Factor out common expected symbol list.
Should substantially reduce the maintenance burden.
Should substantially reduce the maintenance burden.
MAIN commitmail json YAML
src/lib/libm/arch/i387/s_atan.S@1.8
/
diff
/
nxr@1.8
src/lib/libm/arch/i387/s_atanf.S@1.7 / diff / nxr@1.7
src/lib/libm/noieee_src/n_asincos.c@1.11 / diff / nxr@1.11
src/lib/libm/noieee_src/n_atan.c@1.8 / diff / nxr@1.8
src/lib/libm/src/e_acosl.c@1.5 / diff / nxr@1.5
src/lib/libm/src/e_asinl.c@1.5 / diff / nxr@1.5
src/lib/libm/src/s_atan.c@1.13 / diff / nxr@1.13
src/lib/libm/src/s_atanf.c@1.9 / diff / nxr@1.9
src/lib/libm/src/s_atanl.c@1.7 / diff / nxr@1.7
src/lib/libm/src/w_acos.c@1.11 / diff / nxr@1.11
src/lib/libm/src/w_acosf.c@1.8 / diff / nxr@1.8
src/lib/libm/src/w_asin.c@1.12 / diff / nxr@1.12
src/lib/libm/src/w_asinf.c@1.9 / diff / nxr@1.9
src/lib/libm/arch/i387/s_atanf.S@1.7 / diff / nxr@1.7
src/lib/libm/noieee_src/n_asincos.c@1.11 / diff / nxr@1.11
src/lib/libm/noieee_src/n_atan.c@1.8 / diff / nxr@1.8
src/lib/libm/src/e_acosl.c@1.5 / diff / nxr@1.5
src/lib/libm/src/e_asinl.c@1.5 / diff / nxr@1.5
src/lib/libm/src/s_atan.c@1.13 / diff / nxr@1.13
src/lib/libm/src/s_atanf.c@1.9 / diff / nxr@1.9
src/lib/libm/src/s_atanl.c@1.7 / diff / nxr@1.7
src/lib/libm/src/w_acos.c@1.11 / diff / nxr@1.11
src/lib/libm/src/w_acosf.c@1.8 / diff / nxr@1.8
src/lib/libm/src/w_asin.c@1.12 / diff / nxr@1.12
src/lib/libm/src/w_asinf.c@1.9 / diff / nxr@1.9
libm: Sprinkle whitespace fixes and rcsids on inverse trig functions.
No functional change intended.
No functional change intended.
MAIN commitmail json YAML
src/lib/libm/arch/i387/s_atan.S@1.7
/
diff
/
nxr@1.7
src/lib/libm/arch/i387/s_atanf.S@1.6 / diff / nxr@1.6
src/lib/libm/arch/mc68881/s_atan.S@1.7 / diff / nxr@1.7
src/lib/libm/m.aarch64.expsym@1.4 / diff / nxr@1.4
src/lib/libm/m.alpha.expsym@1.3 / diff / nxr@1.3
src/lib/libm/m.arm.expsym@1.4 / diff / nxr@1.4
src/lib/libm/m.armhf.expsym@1.2 / diff / nxr@1.2
src/lib/libm/m.hppa.expsym@1.3 / diff / nxr@1.3
src/lib/libm/m.i386.expsym@1.4 / diff / nxr@1.4
src/lib/libm/m.ia64.expsym@1.3 / diff / nxr@1.3
src/lib/libm/m.m68k.expsym@1.5 / diff / nxr@1.5
src/lib/libm/m.mips.expsym@1.5 / diff / nxr@1.5
src/lib/libm/m.mips64.expsym@1.2 / diff / nxr@1.2
src/lib/libm/m.mipshf.expsym@1.2 / diff / nxr@1.2
src/lib/libm/m.powerpc.expsym@1.3 / diff / nxr@1.3
src/lib/libm/m.powerpc64.expsym@1.2 / diff / nxr@1.2
src/lib/libm/m.riscv.expsym@1.4 / diff / nxr@1.4
src/lib/libm/m.sh3.expsym@1.2 / diff / nxr@1.2
src/lib/libm/m.sparc.expsym@1.3 / diff / nxr@1.3
src/lib/libm/m.sparc64.expsym@1.4 / diff / nxr@1.4
:
(more 14 files)
src/lib/libm/arch/i387/s_atanf.S@1.6 / diff / nxr@1.6
src/lib/libm/arch/mc68881/s_atan.S@1.7 / diff / nxr@1.7
src/lib/libm/m.aarch64.expsym@1.4 / diff / nxr@1.4
src/lib/libm/m.alpha.expsym@1.3 / diff / nxr@1.3
src/lib/libm/m.arm.expsym@1.4 / diff / nxr@1.4
src/lib/libm/m.armhf.expsym@1.2 / diff / nxr@1.2
src/lib/libm/m.hppa.expsym@1.3 / diff / nxr@1.3
src/lib/libm/m.i386.expsym@1.4 / diff / nxr@1.4
src/lib/libm/m.ia64.expsym@1.3 / diff / nxr@1.3
src/lib/libm/m.m68k.expsym@1.5 / diff / nxr@1.5
src/lib/libm/m.mips.expsym@1.5 / diff / nxr@1.5
src/lib/libm/m.mips64.expsym@1.2 / diff / nxr@1.2
src/lib/libm/m.mipshf.expsym@1.2 / diff / nxr@1.2
src/lib/libm/m.powerpc.expsym@1.3 / diff / nxr@1.3
src/lib/libm/m.powerpc64.expsym@1.2 / diff / nxr@1.2
src/lib/libm/m.riscv.expsym@1.4 / diff / nxr@1.4
src/lib/libm/m.sh3.expsym@1.2 / diff / nxr@1.2
src/lib/libm/m.sparc.expsym@1.3 / diff / nxr@1.3
src/lib/libm/m.sparc64.expsym@1.4 / diff / nxr@1.4
:
(more 14 files)
libm: Do the weak alias dance for asin, acos, atan.
These are used internally by the complex trig functions, so they need
weak aliases.
These are used internally by the complex trig functions, so they need
weak aliases.
MAIN commitmail json YAML
libm/src/namespace.h: Delete duplicates.
No functional change intended.
No functional change intended.
MAIN commitmail json YAML
libm/src/namespace.h: Sort.
No functional change intended.
Grouping vaguely by functionality makes this painful to update.
No functional change intended.
Grouping vaguely by functionality makes this painful to update.
MAIN commitmail json YAML
lib/libc/compiler_rt/Makefile.inc: Sort LINTFLAGS lines.
No functional change intended.
No functional change intended.
MAIN commitmail json YAML
src/lib/libc/arch/aarch64/gen/Makefile.inc@1.3
/
diff
/
nxr@1.3
src/lib/libc/arch/aarch64/gen/fpgetmask.c@1.3 / diff / nxr@1.3
src/lib/libc/arch/aarch64/gen/fpgetround.c@1.3 / diff / nxr@1.3
src/lib/libc/arch/aarch64/gen/fpsetmask.c@1.3 / diff / nxr@1.3
src/lib/libc/arch/aarch64/gen/fpsetround.c@1.3 / diff / nxr@1.3
src/lib/libc/compat/net/Makefile.inc@1.3 / diff / nxr@1.3
src/lib/libc/compiler_rt/Makefile.inc@1.49 / diff / nxr@1.49
src/lib/libc/gdtoa/Makefile.inc@1.15 / diff / nxr@1.15
src/lib/libc/nameser/Makefile.inc@1.2 / diff / nxr@1.2
src/lib/libc/stdlib/Makefile.inc@1.99 / diff / nxr@1.99
src/lib/libc/arch/aarch64/gen/fpgetmask.c@1.3 / diff / nxr@1.3
src/lib/libc/arch/aarch64/gen/fpgetround.c@1.3 / diff / nxr@1.3
src/lib/libc/arch/aarch64/gen/fpsetmask.c@1.3 / diff / nxr@1.3
src/lib/libc/arch/aarch64/gen/fpsetround.c@1.3 / diff / nxr@1.3
src/lib/libc/compat/net/Makefile.inc@1.3 / diff / nxr@1.3
src/lib/libc/compiler_rt/Makefile.inc@1.49 / diff / nxr@1.49
src/lib/libc/gdtoa/Makefile.inc@1.15 / diff / nxr@1.15
src/lib/libc/nameser/Makefile.inc@1.2 / diff / nxr@1.2
src/lib/libc/stdlib/Makefile.inc@1.99 / diff / nxr@1.99
libc: Pacify lint on aarch64.
MAIN commitmail json YAML
src/lib/libc/gen/isctype.c@1.26
/
diff
/
nxr@1.26
src/lib/libc/locale/global_locale.c@1.28 / diff / nxr@1.28
src/lib/libc/locale/iswctype_mb.c@1.14 / diff / nxr@1.14
src/lib/libc/locale/multibyte.h@1.8 / diff / nxr@1.8
src/lib/libc/time/strftime.c@1.56 / diff / nxr@1.56
src/lib/libc/time/strptime.c@1.67 / diff / nxr@1.67
src/lib/libc/locale/global_locale.c@1.28 / diff / nxr@1.28
src/lib/libc/locale/iswctype_mb.c@1.14 / diff / nxr@1.14
src/lib/libc/locale/multibyte.h@1.8 / diff / nxr@1.8
src/lib/libc/time/strftime.c@1.56 / diff / nxr@1.56
src/lib/libc/time/strptime.c@1.67 / diff / nxr@1.67
libc/locale: Nix needless size_t casts.
No functional change intended. No binary change to aarch64 libc.
Prompted by code inspection around PR lib/58319.
No functional change intended. No binary change to aarch64 libc.
Prompted by code inspection around PR lib/58319.
MAIN commitmail json YAML
src/lib/libc/citrus/citrus_fix_grouping.h@1.3
/
diff
/
nxr@1.3
src/lib/libc/locale/fix_grouping.c@1.7 / diff / nxr@1.7
src/lib/libc/locale/global_locale.c@1.27 / diff / nxr@1.27
src/lib/libc/locale/fix_grouping.c@1.7 / diff / nxr@1.7
src/lib/libc/locale/global_locale.c@1.27 / diff / nxr@1.27
libc/locale: Nix needless char casts.
These appear to have been added to pacify a spurious warning by lint,
which no longer warns about it anyway.
No functional change intended. No binary change to aarch64 libc.
Prompted by code inspection around PR lib/58319.
These appear to have been added to pacify a spurious warning by lint,
which no longer warns about it anyway.
No functional change intended. No binary change to aarch64 libc.
Prompted by code inspection around PR lib/58319.
MAIN commitmail json YAML
libc/locale/global_locale.c: Nix confusing NBCHAR_MAX.
NBCHAR_MAX is used only in the usr.bin/mklocale build, but that
doesn't use global_locale.c. This was added when inserting char
casts, but using the mklocale's hook just to insert a char cast is
unnecessarily confusing -- and the char casts are unnecessary anyway.
No functional change intended. No binary change to aarch64 libc.
Raised in PR lib/58319.
NBCHAR_MAX is used only in the usr.bin/mklocale build, but that
doesn't use global_locale.c. This was added when inserting char
casts, but using the mklocale's hook just to insert a char cast is
unnecessarily confusing -- and the char casts are unnecessary anyway.
No functional change intended. No binary change to aarch64 libc.
Raised in PR lib/58319.
MAIN commitmail json YAML
ramdisk-zfsroot: Only enable if zfs is enabled.
PR port-amd64/58316
PR port-amd64/57948 (followup pullup)
PR port-amd64/58316
PR port-amd64/57948 (followup pullup)
MAIN commitmail json YAML
Mesa: Build u_format_unpack_neon.c with -mfpu=neon on clang arm32.
Attempting to address this failure in the clang build, without
breaking anything that's not clang and not arm32:
In file included from /home/source/ab/HEAD-llvm/xsrc/external/mit/MesaLib/dist/src/util/format/u_format_unpack_neon.c:35:
/home/builds/ab/HEAD-llvm/evbarm-earmv6hf/202406041020Z-obj/home/source/ab/HEAD-llvm/src/external/apache2/llvm/include/arm_neon.h:32:2: error: "NEON support not enabled"
#error "NEON support not enabled"
^
Attempting to address this failure in the clang build, without
breaking anything that's not clang and not arm32:
In file included from /home/source/ab/HEAD-llvm/xsrc/external/mit/MesaLib/dist/src/util/format/u_format_unpack_neon.c:35:
/home/builds/ab/HEAD-llvm/evbarm-earmv6hf/202406041020Z-obj/home/source/ab/HEAD-llvm/src/external/apache2/llvm/include/arm_neon.h:32:2: error: "NEON support not enabled"
#error "NEON support not enabled"
^
MAIN commitmail json YAML
src/distrib/sets/lists/base32/ad.aarch64@1.6
/
diff
/
nxr@1.6
src/distrib/sets/lists/debug32/ad.aarch64@1.7 / diff / nxr@1.7
src/distrib/sets/lists/debug32/ad.aarch64@1.7 / diff / nxr@1.7
Fix some more aarch64 compat set list issues.
- libc_vfp, which implements the arm32 softfloat ABI in terms of CPU
hardfloat instructions instead of emulation through CPU integer
instructions, is always built for eabi, never built for eabihf.
=> aarch64 doesn't have a softfloat ABI, so making it conditional
on softfloat doesn't make sense.
=> eabi is always a softfloat ABI, so this is always built for
compat eabi.
=> eabihf is always a hardfloat ABI, so this is never built for
compat eabihf.
- libc++ needs to be there but conditional on libcxx.
- libproc needs to be there but conditional on dtrace.
- libc_vfp, which implements the arm32 softfloat ABI in terms of CPU
hardfloat instructions instead of emulation through CPU integer
instructions, is always built for eabi, never built for eabihf.
=> aarch64 doesn't have a softfloat ABI, so making it conditional
on softfloat doesn't make sense.
=> eabi is always a softfloat ABI, so this is always built for
compat eabi.
=> eabihf is always a hardfloat ABI, so this is never built for
compat eabihf.
- libc++ needs to be there but conditional on libcxx.
- libproc needs to be there but conditional on dtrace.
MAIN commitmail json YAML
src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/instmem/nouveau_nvkm_subdev_instmem_gk20a.c@1.10
/
diff
/
nxr@1.10
nouveau_nvkm_subdev_instmem_gk20a.c: Use BUS_DMA_PREFETCHABLE.
Matches Linux's pgprot_writecombine.
Unclear where the appropriate bus_dmamap_sync happens, or is supposed
to happen -- not using it would be wrong, but asking for a
prefetchable mapping may paper over symptoms, at least!
Matches Linux's pgprot_writecombine.
Unclear where the appropriate bus_dmamap_sync happens, or is supposed
to happen -- not using it would be wrong, but asking for a
prefetchable mapping may paper over symptoms, at least!
MAIN commitmail json YAML
bus_dma(9): Document BUS_DMA_PREFETCHABLE.
Like BUS_DMA_NOCACHE. Doesn't absolve you of the need for
bus_dmamap_sync, but if you later pass the vaddr to bus_dmamap_load,
the DMA map might notice the mapping is write-combining and use this
to make bus_dmamap_sync cheaper.
PR kern/58309
Like BUS_DMA_NOCACHE. Doesn't absolve you of the need for
bus_dmamap_sync, but if you later pass the vaddr to bus_dmamap_load,
the DMA map might notice the mapping is write-combining and use this
to make bus_dmamap_sync cheaper.
PR kern/58309
MAIN commitmail json YAML
i915_gem_mman.c: Apply mmap types via pmap flags.
This way, userland gets buffers mapped write-combining or uncached as
needed.
PR xsrc/58307
This way, userland gets buffers mapped write-combining or uncached as
needed.
PR xsrc/58307
MAIN commitmail json YAML
mips/bus_dma.c: KNF
No functional change intended.
No functional change intended.
MAIN commitmail json YAML
src/distrib/sets/lists/base32/ad.aarch64@1.5
/
diff
/
nxr@1.5
src/distrib/sets/lists/base32/md.sparc64@1.6 / diff / nxr@1.6
src/distrib/sets/lists/comp/ad.aarch64@1.52 / diff / nxr@1.52
src/distrib/sets/lists/debug32/ad.aarch64@1.6 / diff / nxr@1.6
src/distrib/sets/lists/debug32/ad.mips64eb@1.7 / diff / nxr@1.7
src/distrib/sets/lists/debug32/ad.mips64el@1.7 / diff / nxr@1.7
src/distrib/sets/lists/debug32/ad.mipsn64eb@1.7 / diff / nxr@1.7
src/distrib/sets/lists/debug32/ad.mipsn64el@1.7 / diff / nxr@1.7
src/distrib/sets/lists/debug32/ad.powerpc64@1.6 / diff / nxr@1.6
src/distrib/sets/lists/debug32/ad.riscv64@1.7 / diff / nxr@1.7
src/distrib/sets/lists/debug32/md.amd64@1.11 / diff / nxr@1.11
src/distrib/sets/lists/debug32/md.sparc64@1.7 / diff / nxr@1.7
src/distrib/sets/lists/debug64/ad.mips64eb@1.2 / diff / nxr@1.2
src/distrib/sets/lists/debug64/ad.mips64el@1.2 / diff / nxr@1.2
src/distrib/sets/lists/base32/md.sparc64@1.6 / diff / nxr@1.6
src/distrib/sets/lists/comp/ad.aarch64@1.52 / diff / nxr@1.52
src/distrib/sets/lists/debug32/ad.aarch64@1.6 / diff / nxr@1.6
src/distrib/sets/lists/debug32/ad.mips64eb@1.7 / diff / nxr@1.7
src/distrib/sets/lists/debug32/ad.mips64el@1.7 / diff / nxr@1.7
src/distrib/sets/lists/debug32/ad.mipsn64eb@1.7 / diff / nxr@1.7
src/distrib/sets/lists/debug32/ad.mipsn64el@1.7 / diff / nxr@1.7
src/distrib/sets/lists/debug32/ad.powerpc64@1.6 / diff / nxr@1.6
src/distrib/sets/lists/debug32/ad.riscv64@1.7 / diff / nxr@1.7
src/distrib/sets/lists/debug32/md.amd64@1.11 / diff / nxr@1.11
src/distrib/sets/lists/debug32/md.sparc64@1.7 / diff / nxr@1.7
src/distrib/sets/lists/debug64/ad.mips64eb@1.2 / diff / nxr@1.2
src/distrib/sets/lists/debug64/ad.mips64el@1.2 / diff / nxr@1.2
Take a whack at fixing the compat32 set lists for clang build.
This really needs to be automatically derived from the main set
lists; all this copypasta is a maintenance nightmare and I doubt I
got everything after an hour of tweaking.
This really needs to be automatically derived from the main set
lists; all this copypasta is a maintenance nightmare and I doubt I
got everything after an hour of tweaking.
MAIN commitmail json YAML
nd_timer: Update la_numheld when we clear la_hold (a.k.a. ln_hold).
Followup for PR kern/58297 fix. Patch by mlelstv@.
PR kern/58301
Followup for PR kern/58297 fix. Patch by mlelstv@.
PR kern/58301
MAIN commitmail json YAML
src/share/man/man5/mk.conf.5@1.109
/
diff
/
nxr@1.109
src/share/mk/bsd.own.mk@1.1374 / diff / nxr@1.1374
src/sys/sys/cdefs_aout.h@1.21 / diff / nxr@1.21
src/sys/sys/cdefs_elf.h@1.59 / diff / nxr@1.59
src/share/mk/bsd.own.mk@1.1374 / diff / nxr@1.1374
src/sys/sys/cdefs_aout.h@1.21 / diff / nxr@1.21
src/sys/sys/cdefs_elf.h@1.59 / diff / nxr@1.59
New make(1) variable NETBSD_REVISIONID in the NetBSD build.
This is intended to be a tree-wide revision identifier, like a commit
hash or similar. This way, in builds from non-CVS trees where
per-file $NetBSD$ revision ids aren't incremented, we can still track
some version provenance of files with ident(1).
If defined, bsd.own.mk adds a macro _NETBSD_REVISIONID to CPPFLAGS
with the stringified text of NETBSD_REVISIONID.
In turn, if _NETBSD_REVISIONID is defined in sys/cdefs.h, then
__RCSID will put the concatenation of:
- `$NetBSD: '
- the file name
- ` '
- _NETBSD_REVISIONID
- ` $'
alongside the per-file revision id passed as an argument to __RCSID.
Since this is passed through command-line arguments, it doesn't cause
make to consider any dependencies to change when the revision id
changes -- so incremental builds remain incremental. And if you
don't set it, nothing changes from the __RCSID we had before.
Currently nothing sets NETBSD_REVISIONID automatically yet -- subject
to experimentation. Could just be verbatim commit hash, or could be
longer `hg identify' output -- or, in git, with the help of tags,
could be `git describe --dirty' output like
10.99.10-2924-gd01834fb75de
(or `10.99.10-2924-gd01834fb75de-dirty' if the working tree is dirty)
for the commit at
https://mail-index.netbsd.org/source-changes/2024/05/24/msg151526.html
which is 2924 linear commits after the commit bumping sys/param.h to
10.99.10 and (in the current git conversion) had commit hash starting
with d01834fb75de. This may require some discipline around branching
and tagging but it's worth a shot -- we'll see.
Based on a patch from joerg@ a while ago.
This is intended to be a tree-wide revision identifier, like a commit
hash or similar. This way, in builds from non-CVS trees where
per-file $NetBSD$ revision ids aren't incremented, we can still track
some version provenance of files with ident(1).
If defined, bsd.own.mk adds a macro _NETBSD_REVISIONID to CPPFLAGS
with the stringified text of NETBSD_REVISIONID.
In turn, if _NETBSD_REVISIONID is defined in sys/cdefs.h, then
__RCSID will put the concatenation of:
- `$NetBSD: '
- the file name
- ` '
- _NETBSD_REVISIONID
- ` $'
alongside the per-file revision id passed as an argument to __RCSID.
Since this is passed through command-line arguments, it doesn't cause
make to consider any dependencies to change when the revision id
changes -- so incremental builds remain incremental. And if you
don't set it, nothing changes from the __RCSID we had before.
Currently nothing sets NETBSD_REVISIONID automatically yet -- subject
to experimentation. Could just be verbatim commit hash, or could be
longer `hg identify' output -- or, in git, with the help of tags,
could be `git describe --dirty' output like
10.99.10-2924-gd01834fb75de
(or `10.99.10-2924-gd01834fb75de-dirty' if the working tree is dirty)
for the commit at
https://mail-index.netbsd.org/source-changes/2024/05/24/msg151526.html
which is 2924 linear commits after the commit bumping sys/param.h to
10.99.10 and (in the current git conversion) had commit hash starting
with d01834fb75de. This may require some discipline around branching
and tagging but it's worth a shot -- we'll see.
Based on a patch from joerg@ a while ago.
MAIN commitmail json YAML
nd_resolve: Maintain la_numheld.
Otherwise lltable_drop_entry_queue never drops anything.
Addresses mbuf leak, PR kern/58297.
Otherwise lltable_drop_entry_queue never drops anything.
Addresses mbuf leak, PR kern/58297.
MAIN commitmail json YAML
ucontext.h: Expose __UCONTEXT_SIZE to userland.
But don't expose __CTASSERT(__UCONTEXT_SIZE == sizeof(ucontext_t)) to
userland.
- __UCONTEXT_SIZE will be needed soon by libc and signal trampolines
in order to version ucontext so we can safely expand it with
architecture extensions.
- __CTASSERT is not safe to use in header files in arbitrary
compilation environments (although in the NetBSD kernel build it is
safe). Exposing the __CTASSERT in a header file used by userland
appears to have the side effect of breaking the Firefox build in
rustc, though the mechanism isn't entirely clear.
Firefox/rustc discussion here:
https://mail-index.netbsd.org/pkgsrc-users/2024/05/18/msg039578.html
Let's see if this makes a difference -- if it works, great; if not,
maybe it will help us to narrow down what's happening with rustc and
Firefox.
But don't expose __CTASSERT(__UCONTEXT_SIZE == sizeof(ucontext_t)) to
userland.
- __UCONTEXT_SIZE will be needed soon by libc and signal trampolines
in order to version ucontext so we can safely expand it with
architecture extensions.
- __CTASSERT is not safe to use in header files in arbitrary
compilation environments (although in the NetBSD kernel build it is
safe). Exposing the __CTASSERT in a header file used by userland
appears to have the side effect of breaking the Firefox build in
rustc, though the mechanism isn't entirely clear.
Firefox/rustc discussion here:
https://mail-index.netbsd.org/pkgsrc-users/2024/05/18/msg039578.html
Let's see if this makes a difference -- if it works, great; if not,
maybe it will help us to narrow down what's happening with rustc and
Firefox.
MAIN commitmail json YAML
linux_xa: Delete and replace collision in xa_store as intended.
Don't free the colliding node that's still in the tree.
Noted by rjs@.
Don't free the colliding node that's still in the tree.
Noted by rjs@.
MAIN commitmail json YAML
drm_gem.c: Enable drm_gem_fence_array_add now that we emulate xa.
MAIN commitmail json YAML
drm_gem.c: Fix sense of assertion.
This is the opposite of WARN_ON.
Noted by rjs@.
This is the opposite of WARN_ON.
Noted by rjs@.
MAIN commitmail json YAML
libstdc++: Don't try to fflush stdin in gcc.old libstdc++ either.
PR lib/58206
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114879
PR lib/58206
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114879
MAIN commitmail json YAML
src/sys/arch/sparc64/dev/pci_machdep.c@1.82
/
diff
/
nxr@1.82
src/sys/arch/sparc64/include/pci_machdep.h@1.30 / diff / nxr@1.30
src/sys/arch/xen/include/pci_machdep.h@1.23 / diff / nxr@1.23
src/sys/arch/xen/xen/xpci_xenbus.c@1.28 / diff / nxr@1.28
src/sys/dev/acpi/acpi_mcfg.c@1.28 / diff / nxr@1.28
src/sys/dev/pci/pci.c@1.167 / diff / nxr@1.167
src/sys/dev/pci/pcivar.h@1.119 / diff / nxr@1.119
src/sys/arch/sparc64/include/pci_machdep.h@1.30 / diff / nxr@1.30
src/sys/arch/xen/include/pci_machdep.h@1.23 / diff / nxr@1.23
src/sys/arch/xen/xen/xpci_xenbus.c@1.28 / diff / nxr@1.28
src/sys/dev/acpi/acpi_mcfg.c@1.28 / diff / nxr@1.28
src/sys/dev/pci/pci.c@1.167 / diff / nxr@1.167
src/sys/dev/pci/pcivar.h@1.119 / diff / nxr@1.119
Revert "pci: Pass cookie through pci_find_device, pci_enumerate_bus."
Evidently something is wrong with this, to be diagnosed and redone
once the builds and tests are in better shape.
Evidently something is wrong with this, to be diagnosed and redone
once the builds and tests are in better shape.
MAIN commitmail json YAML
sys/modules: Don't make compat_110.
Eventually we'll need this but it doesn't make sense until 11.0 is
released.
Eventually we'll need this but it doesn't make sense until 11.0 is
released.
MAIN commitmail json YAML
xhci(4): Narrow some more variable scopes in xhci_device_isoc_enter.
No functional change intended.
No functional change intended.
MAIN commitmail json YAML
xhci(4): Narrow scope of variable.
Nix spurious initialization in wider scope.
No functional change intended.
Nix spurious initialization in wider scope.
No functional change intended.
MAIN commitmail json YAML
xhci.c: Fix confusing line break.
No functionanl change intended.
No functionanl change intended.
MAIN commitmail json YAML
drm: Fix missing bounds checks in dma buf mmap.
MAIN commitmail json YAML
i915: Fix dmabuf mmap object.
MAIN commitmail json YAML
src/sys/arch/sparc64/dev/pci_machdep.c@1.81
/
diff
/
nxr@1.81
src/sys/arch/sparc64/include/pci_machdep.h@1.29 / diff / nxr@1.29
src/sys/arch/xen/include/pci_machdep.h@1.22 / diff / nxr@1.22
src/sys/arch/xen/xen/xpci_xenbus.c@1.27 / diff / nxr@1.27
src/sys/dev/acpi/acpi_mcfg.c@1.27 / diff / nxr@1.27
src/sys/dev/pci/pci.c@1.166 / diff / nxr@1.166
src/sys/dev/pci/pcivar.h@1.118 / diff / nxr@1.118
src/sys/arch/sparc64/include/pci_machdep.h@1.29 / diff / nxr@1.29
src/sys/arch/xen/include/pci_machdep.h@1.22 / diff / nxr@1.22
src/sys/arch/xen/xen/xpci_xenbus.c@1.27 / diff / nxr@1.27
src/sys/dev/acpi/acpi_mcfg.c@1.27 / diff / nxr@1.27
src/sys/dev/pci/pci.c@1.166 / diff / nxr@1.166
src/sys/dev/pci/pcivar.h@1.118 / diff / nxr@1.118
pci: Pass cookie through pci_find_device, pci_enumerate_bus.
New functions pci_find_device1 and pci_enumerate_bus1 have the cookie
argument. Existing symbols pci_find_device and pci_enumerate_bus are
now wrappers for the cookieless version.
This drops the symbol pci_probe_device, in favour of a new
pci_probe_device1 with the cookie argument. But I don't think that
requires a revbump because it's only called by MD pci_enumerate_bus1
implementations, which don't live in modules anyway.
New functions pci_find_device1 and pci_enumerate_bus1 have the cookie
argument. Existing symbols pci_find_device and pci_enumerate_bus are
now wrappers for the cookieless version.
This drops the symbol pci_probe_device, in favour of a new
pci_probe_device1 with the cookie argument. But I don't think that
requires a revbump because it's only called by MD pci_enumerate_bus1
implementations, which don't live in modules anyway.
MAIN commitmail json YAML
t_siginfo: More volatile to prevent optimization.
MAIN commitmail json YAML
src/external/gpl3/gcc/dist/libstdc++-v3/config/io/basic_file_stdio.cc@1.2
/
diff
/
nxr@1.2
src/tests/lib/libstdc++/t_sync_with_stdio.sh@1.2 / diff / nxr@1.2
src/tests/lib/libstdc++/t_sync_with_stdio.sh@1.2 / diff / nxr@1.2
libstdc++: Don't try to fflush stdin.
It doesn't work. It's undefined behaviour. On NetBSD, it will fail
with EBADF, if fd 0 isn't open for write, or if fd 0 is open for
write, it will write heap garbage to fd 0.
If stream points to an output stream or an update stream in which
the most recent operation was not input, the fflush function causes
any unwritten data for that stream to be delivered to the host
environment to be written to the file; otherwise, the behavior is
undefined.
(ISO C11 and ISO C17, Sec. 7.21.5.2 `The fflush function')
PR lib/58206
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114879
It doesn't work. It's undefined behaviour. On NetBSD, it will fail
with EBADF, if fd 0 isn't open for write, or if fd 0 is open for
write, it will write heap garbage to fd 0.
If stream points to an output stream or an update stream in which
the most recent operation was not input, the fflush function causes
any unwritten data for that stream to be delivered to the host
environment to be written to the file; otherwise, the behavior is
undefined.
(ISO C11 and ISO C17, Sec. 7.21.5.2 `The fflush function')
PR lib/58206
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114879
MAIN commitmail json YAML
src/sys/external/bsd/drm2/include/linux/pci.h@1.58
/
diff
/
nxr@1.58
src/sys/external/bsd/drm2/linux/linux_pci.c@1.28 / diff / nxr@1.28
src/sys/external/bsd/drm2/linux/linux_pci.c@1.28 / diff / nxr@1.28
linux: Add a few more cases to pci_get_class.
Should fix crash on boot with amdgpu now that the ACPI business is
enabled.
Should fix crash on boot with amdgpu now that the ACPI business is
enabled.
MAIN commitmail json YAML
riscv: Make feraiseexcept actually raise the given exceptions.
Doing
fexcept_t ex = 0;
fesetexceptflag(&ex, excepts);
has the effect of _clearing_ all the exceptions in excepts. Using
fesetexceptflag doesn't make this easier, because we would have to
record which exceptions were already raised. So just set the fflags
bits in the fcsr register directly.
Doing
fexcept_t ex = 0;
fesetexceptflag(&ex, excepts);
has the effect of _clearing_ all the exceptions in excepts. Using
fesetexceptflag doesn't make this easier, because we would have to
record which exceptions were already raised. So just set the fflags
bits in the fcsr register directly.
MAIN commitmail json YAML
src/lib/libc/arch/riscv/gen/fpgetsticky.c@1.4
/
diff
/
nxr@1.4
src/lib/libc/arch/riscv/gen/fpsetsticky.c@1.4 / diff / nxr@1.4
src/lib/libc/arch/riscv/gen/fpsetsticky.c@1.4 / diff / nxr@1.4
riscv: More shiftiness reduction around FCSR in libc.
MAIN commitmail json YAML
src/lib/libc/arch/riscv/gen/fpgetround.c@1.4
/
diff
/
nxr@1.4
src/lib/libc/arch/riscv/gen/fpsetround.c@1.4 / diff / nxr@1.4
src/lib/libc/arch/riscv/gen/fpsetround.c@1.4 / diff / nxr@1.4
riscv: Nix shifting around FRRM and FSRM in libc too.
These read and write the floating-point rounding mode directly, not
the whole floating-point control and status register.
These read and write the floating-point rounding mode directly, not
the whole floating-point control and status register.
MAIN commitmail json YAML
src/lib/libm/src/s_modfl.c@1.2
/
diff
/
nxr@1.2
src/tests/lib/libm/t_fe_round.c@1.20 / diff / nxr@1.20
src/tests/lib/libm/t_modf.c@1.6 / diff / nxr@1.6
src/tests/lib/libm/t_fe_round.c@1.20 / diff / nxr@1.20
src/tests/lib/libm/t_modf.c@1.6 / diff / nxr@1.6
modfl(3): Fix conversion from FreeBSD.
LDBL_MANL_SIZE is spelled EXT_FRACLBITS -- and not EXT_FRACHBITS.
PR lib/58237: modfl returns wrong answers on ld128 architectures
LDBL_MANL_SIZE is spelled EXT_FRACLBITS -- and not EXT_FRACHBITS.
PR lib/58237: modfl returns wrong answers on ld128 architectures
MAIN commitmail json YAML
t_siginfo: Use volatile to prevent optimization.
MAIN commitmail json YAML
t_siginfo: No SIGFPE on RISC-V.
MAIN commitmail json YAML
t_ptrace_wait: No FPU exception traps on RISC-V.
This macro is not named correctly -- RISC-V does implement
floating-point exceptions, but only via sticky status bits, not via
machine traps.
This macro is not named correctly -- RISC-V does implement
floating-point exceptions, but only via sticky status bits, not via
machine traps.
MAIN commitmail json YAML
t_ptrace_wait: Force result by write to volatile, not call to usleep.
This is causing each FPE-related test to time out because it's
actually passinga large number to usleep, which now respects large
numbers.
This is causing each FPE-related test to time out because it's
actually passinga large number to usleep, which now respects large
numbers.
MAIN commitmail json YAML
tests/kernel/h_segv: Disable SIGFPE test on RISC-V.
No floating-point exception traps on RISC-V.
Also don't pass the result of divide-by-zero converted to integer to
usleep. Although the floating-point result of divide-by-zero is
well-defined by IEEE 754 (+/-infinity), the outcome of C conversion
to integer is not. And while on some architectures this might return
zero, on RISC-V it looks like it'll return all bits set. And as of
PR 58184, usleep now honours sleeps longer than 1sec, which means
this will be waiting at least two billion microseconds, or about half
an hour...
So instead, just write the result to a volatile variable.
No floating-point exception traps on RISC-V.
Also don't pass the result of divide-by-zero converted to integer to
usleep. Although the floating-point result of divide-by-zero is
well-defined by IEEE 754 (+/-infinity), the outcome of C conversion
to integer is not. And while on some architectures this might return
zero, on RISC-V it looks like it'll return all bits set. And as of
PR 58184, usleep now honours sleeps longer than 1sec, which means
this will be waiting at least two billion microseconds, or about half
an hour...
So instead, just write the result to a volatile variable.
MAIN commitmail json YAML
t_ilogb: Nix spurious line break in ATF_CHECK_MSG.
MAIN commitmail json YAML
riscv: No volatile needed on asm to _read_ rounding mode, exceptions.
These instructions can be omitted if the return values are unused.
In contrast, _writes_ to the rounding mode or exceptions must not be
omitted (even if we ignore the return value, which is the old value
of the field).
I think "memory" is the wrong clobber on these asm blocks too; they
can't be reordered around _floating-point_ instructions, while
reordering around loads and stores is fine. But I don't know how to
spell the right thing in gcclish.
These instructions can be omitted if the return values are unused.
In contrast, _writes_ to the rounding mode or exceptions must not be
omitted (even if we ignore the return value, which is the old value
of the field).
I think "memory" is the wrong clobber on these asm blocks too; they
can't be reordered around _floating-point_ instructions, while
reordering around loads and stores is fine. But I don't know how to
spell the right thing in gcclish.
MAIN commitmail json YAML
riscv: Fix reading and writing frm and fflags.
The FRRM/FSRM and FRFLAGS/FSFLAGS instructions do all the masking and
shifting needed -- __SHIFTIN/__SHIFTOUT is wrong.
The FRRM/FSRM and FRFLAGS/FSFLAGS instructions do all the masking and
shifting needed -- __SHIFTIN/__SHIFTOUT is wrong.
MAIN commitmail json YAML
src/tests/lib/libc/gen/t_fpsetmask.c@1.22
/
diff
/
nxr@1.22
src/tests/lib/libm/t_fenv.c@1.18 / diff / nxr@1.18
src/tests/lib/libm/t_fenv.c@1.18 / diff / nxr@1.18
t_fpsetmask, t_fenv: Skip fp exception trap tests on RISC-V.
No architectural support for fp exception traps.
While here, make the macros behave a little better as C statements.
No architectural support for fp exception traps.
While here, make the macros behave a little better as C statements.
MAIN commitmail json YAML
libm: Fix powerpc64 build.
- Include fenv.c and fma(3) symbols (which just use the FMADD
instruction).
- Note the .FN symbols in libm for the asm functions. The FN symbols
point at the function _descriptors_; the .FN symbols point at the
first instruction of the function.
XXX Unclear why we have the .FN symbols for asm functions but not for
C functions. I'm not sure we should be exporting them.
- Include fenv.c and fma(3) symbols (which just use the FMADD
instruction).
- Note the .FN symbols in libm for the asm functions. The FN symbols
point at the function _descriptors_; the .FN symbols point at the
first instruction of the function.
XXX Unclear why we have the .FN symbols for asm functions but not for
C functions. I'm not sure we should be exporting them.
MAIN commitmail json YAML
t_hypot: Use an ld80 test case that actually fits in ld80.
Also add comments explaining how I generated these test cases.
(No autoconf back doors hidden in these magic numbers, I promise! No
pythagoreans were harmed in the production of these tests either.)
Also add comments explaining how I generated these test cases.
(No autoconf back doors hidden in these magic numbers, I promise! No
pythagoreans were harmed in the production of these tests either.)
MAIN commitmail json YAML
tests/lib/libm/t_next: Disable a test if long double is double.
This test, to verify nexttoward(x, x*(1 - LDBL_EPSILON/2)) moves in
the direction of x*(1 - LDBL_EPSILON/2), only makes sense if long
double has more precision than double -- the point of the exercise is
to verify that nexttoward moves even if the direction parameter can't
be rounded to double. But if long double is just double, this test
makes no sense.
This test, to verify nexttoward(x, x*(1 - LDBL_EPSILON/2)) moves in
the direction of x*(1 - LDBL_EPSILON/2), only makes sense if long
double has more precision than double -- the point of the exercise is
to verify that nexttoward moves even if the direction parameter can't
be rounded to double. But if long double is just double, this test
makes no sense.
MAIN commitmail json YAML
riscv fenv.h: Make sure FE_* exception constants have type int.
This may not be formally required by the standard, but the values
must be representable by int since that's the type that functions
like fetestexcept and feclearexcept traffic in. And this is less
work than changing all the printf %d users in tree.
This may not be formally required by the standard, but the values
must be representable by int since that's the type that functions
like fetestexcept and feclearexcept traffic in. And this is less
work than changing all the printf %d users in tree.
MAIN commitmail json YAML
tests/lib/libm/t_hypot: Check inf/nan cases too.
MAIN commitmail json YAML
hypotl(3): Fix includes and macros.
1. Need <math.h> for __HAVE_LONG_DOUBLE.
2. Need <machine/ieee.h> for struct ieee_ext_u &c.
3. EXT_FRACLBITS, not LDBL_MANL_SIZE.
PR lib/58245: hypotl is broken on ld128 ports
1. Need <math.h> for __HAVE_LONG_DOUBLE.
2. Need <machine/ieee.h> for struct ieee_ext_u &c.
3. EXT_FRACLBITS, not LDBL_MANL_SIZE.
PR lib/58245: hypotl is broken on ld128 ports
MAIN commitmail json YAML
tests/lib/libm/t_hypot: More trivial tests.
Check both signs of zero.
Check both signs of zero.
MAIN commitmail json YAML
tests/lib/libc/stdio/t_printf: Fix sign error in ld128 case.
Also link back to where the test case came from.
Also link back to where the test case came from.
MAIN commitmail json YAML
tests/lib/libc/stdio/t_printf: Fix typo in ld128 case.
printf %La does not write the `L' suffix.
printf %La does not write the `L' suffix.
MAIN commitmail json YAML
sys/cdefs.h: Make various macros work more robustly.
Use predefined __-namespace macros inside __BIT, __type_min,
__type_max, and __type_fit:
- Use __CHAR_BIT__ instead of NBBY so this works without sys/types.h
and without _NETBSD_SOURCE.
- Use __INTMAX_TYPE__, __UINTMAX_TYPE__ instead of intmax_t, uintmax_t
so this works without stdint.h.
No functional change intended.
Use predefined __-namespace macros inside __BIT, __type_min,
__type_max, and __type_fit:
- Use __CHAR_BIT__ instead of NBBY so this works without sys/types.h
and without _NETBSD_SOURCE.
- Use __INTMAX_TYPE__, __UINTMAX_TYPE__ instead of intmax_t, uintmax_t
so this works without stdint.h.
No functional change intended.
MAIN commitmail json YAML
src/lib/libm/src/s_nexttoward.c@1.3
/
diff
/
nxr@1.3
src/tests/lib/libm/t_next.c@1.6 / diff / nxr@1.6
src/tests/lib/libm/t_next.c@1.6 / diff / nxr@1.6
nexttoward(3): Fix high-word test on small positive subnormals.
By this point in the logic, x can't be zero, so it's either positive
or negative.
The high word hx, however, can be zero, when x is a small positive
subnormal. This means x is a small positive subnormal, so if x > y
we are computing nextDown, and if x < y we are computing nextUp.
hx is a (signed 32-bit) integer, not a double floating-point number,
so it's a little silly to compare hx > 0.0. But that on its own
isn't enough to trigger the bug because all signed 32-bit integers
can be represented by double on all NetBSD architectures.
PR lib/58236
By this point in the logic, x can't be zero, so it's either positive
or negative.
The high word hx, however, can be zero, when x is a small positive
subnormal. This means x is a small positive subnormal, so if x > y
we are computing nextDown, and if x < y we are computing nextUp.
hx is a (signed 32-bit) integer, not a double floating-point number,
so it's a little silly to compare hx > 0.0. But that on its own
isn't enough to trigger the bug because all signed 32-bit integers
can be represented by double on all NetBSD architectures.
PR lib/58236
MAIN commitmail json YAML
tests/lib/libm/t_next: nexttoward works if it's just nextafter.
It's broken on platforms where long double and double aren't the same
and nexttoward isn't an alias for nextafter.
It's broken on platforms where long double and double aren't the same
and nexttoward isn't an alias for nextafter.
MAIN commitmail json YAML
arm/fdt/cpu_fdt.c: Use `cpu' iattr to attach cpufreq.
Now that cpu has an explicit interface attribute, cpufeaturebus,
_all_ children of cpu must use an explicit interface attribute to
disambiguate. For children that weren't previously attached using an
explicit interface attribute, the name of the parent, `cpu', serves
as the iattr.
XXX I think we should either
(a) not use cpufreqbus, since in the aarch64 case it doesn't seem to
be passing any information through attach args, or
(b) create another iattr like cpufdtbus for use by cpufreq_dt.c,
which does rely on attach args, if it has to attach differently
from the rest of fdtbus.
But for now this should get aarch64 on fdt booting again.
Now that cpu has an explicit interface attribute, cpufeaturebus,
_all_ children of cpu must use an explicit interface attribute to
disambiguate. For children that weren't previously attached using an
explicit interface attribute, the name of the parent, `cpu', serves
as the iattr.
XXX I think we should either
(a) not use cpufreqbus, since in the aarch64 case it doesn't seem to
be passing any information through attach args, or
(b) create another iattr like cpufdtbus for use by cpufreq_dt.c,
which does rely on attach args, if it has to attach differently
from the rest of fdtbus.
But for now this should get aarch64 on fdt booting again.
MAIN commitmail json YAML
xdebug/shl.mi: Delete libXxf86misc.so.2.0.debug.
Loading existing applications that linked against this into a
debugger should continue to work, so it shouldn't be obsoleted, but
the file is no longer installed.
Loading existing applications that linked against this into a
debugger should continue to work, so it shouldn't be obsoleted, but
the file is no longer installed.
MAIN commitmail json YAML
xbase/shl.mi: Delete, rather than obsolete, libXxf86misc.so.M(.N).
Obsolete lines here will lead postinstall to delete the shlib, which
will break any existing applications linked against it. Deleting the
lines has no effect on postinstall.
(We should maybe have a different way to mark them instead, as
suggested in PR 57581, but we don't, so this is what we do for now.)
However, keep the obsolete line for libXxf86misc.so, since the .so
symlink itself is only used when linking new applications.
Obsolete lines here will lead postinstall to delete the shlib, which
will break any existing applications linked against it. Deleting the
lines has no effect on postinstall.
(We should maybe have a different way to mark them instead, as
suggested in PR 57581, but we don't, so this is what we do for now.)
However, keep the obsolete line for libXxf86misc.so, since the .so
symlink itself is only used when linking new applications.
MAIN commitmail json YAML
xbase/shl.mi: Copy comment about delete vs obsolete from base/shl.mi.
MAIN commitmail json YAML
tests/usr.bin/mtree/t_sets: Add base32, base64, debug32, debug64.
MAIN commitmail json YAML
tests/lib/libc/stdio/t_printf: Fix another rounding error.
Noted by kre.
This doesn't break a passing test or fix a failed test, at least on
x86 -- our printf produces `0x1.533p+3' for the double case and
`0xa.99ap+0' for the long double case. But of the hexadecimal number
literals that that start with 0x5 having three hexadigits to the
right of the fractional point, 0x5.4cdp+1 closest to the IEEE 754
binary64, VAX D, x86 extended precision, and IEEE 754 binary128
floating-point numbers closest to 10.6.
The reason is that the number 10.6 (or the nearest floating-point
number in any format with enough precision) is:
101.0100 1100 1100|1100... * 2^1 = 0x5.4cc|c...p+1
If we round at the vertical bar to the _nearest_ output with three
hexadigits of precision, the result is:
101.0100 1100 1101 * 2^1 = 0x5.4cdp+1
Noted by kre.
This doesn't break a passing test or fix a failed test, at least on
x86 -- our printf produces `0x1.533p+3' for the double case and
`0xa.99ap+0' for the long double case. But of the hexadecimal number
literals that that start with 0x5 having three hexadigits to the
right of the fractional point, 0x5.4cdp+1 closest to the IEEE 754
binary64, VAX D, x86 extended precision, and IEEE 754 binary128
floating-point numbers closest to 10.6.
The reason is that the number 10.6 (or the nearest floating-point
number in any format with enough precision) is:
101.0100 1100 1100|1100... * 2^1 = 0x5.4cc|c...p+1
If we round at the vertical bar to the _nearest_ output with three
hexadigits of precision, the result is:
101.0100 1100 1101 * 2^1 = 0x5.4cdp+1
MAIN commitmail json YAML
libm: No divtc3.c or multc3.c in sparc64's compat sparc library.
compat/sparc64/sparc/bsd.sparc.mk doesn't define LIBC_MACHINE_CPU,
only LIBC_MACHINE_ARCH, so when the compat build gets to this
conditional, LIBC_MACHINE_CPU is just MACHINE_CPU, i.e., sparc64.
Since there's no `sparc64el' or `sparc64hf-el' that we need to
canonicalize by MACHINE_ARCH -> MACHINE_CPU, just use
LIBC_MACHINE_ARCH here.
compat/sparc64/sparc/bsd.sparc.mk doesn't define LIBC_MACHINE_CPU,
only LIBC_MACHINE_ARCH, so when the compat build gets to this
conditional, LIBC_MACHINE_CPU is just MACHINE_CPU, i.e., sparc64.
Since there's no `sparc64el' or `sparc64hf-el' that we need to
canonicalize by MACHINE_ARCH -> MACHINE_CPU, just use
LIBC_MACHINE_ARCH here.
MAIN commitmail json YAML
tests/lib/libc/gen/t_fpclassify: Test fpclassify on non-IEEE754 too.
Just exclude the subnormal parts on non-IEEE754 architectures
according to __FLT/DBL/LDBL_HAS_DENORM__.
Just exclude the subnormal parts on non-IEEE754 architectures
according to __FLT/DBL/LDBL_HAS_DENORM__.
MAIN commitmail json YAML
src/lib/libm/Makefile@1.234
/
diff
/
nxr@1.234
src/lib/libm/m.vax.expsym@1.4 / diff / nxr@1.4
src/lib/libm/noieee_src/n_frexpf.c@1.1 / diff / nxr@1.1
src/lib/libm/noieee_src/n_frexpl.c@1.1 / diff / nxr@1.1
src/lib/libm/m.vax.expsym@1.4 / diff / nxr@1.4
src/lib/libm/noieee_src/n_frexpf.c@1.1 / diff / nxr@1.1
src/lib/libm/noieee_src/n_frexpl.c@1.1 / diff / nxr@1.1
libm: Add frexpf and frexpl on VAX.
These are trivial subroutines, not symbol aliases, for separate
reasons:
- frexpf has a different ABI from frexp (float vs double argument)
- frexp is defined in libc, not libm, so although long double is the
same as double, frexpl can't be an alias in libm of a symbol
defined in libc
These are trivial subroutines, not symbol aliases, for separate
reasons:
- frexpf has a different ABI from frexp (float vs double argument)
- frexp is defined in libc, not libm, so although long double is the
same as double, frexpl can't be an alias in libm of a symbol
defined in libc
MAIN commitmail json YAML
tests/lib/libc/gen/t_fpclassify: Spruce this up a bit.
Provide more useful diagnostics when tests fail.
Provide more useful diagnostics when tests fail.
MAIN commitmail json YAML
tests/lib/libm/t_infinity: Remove broken long double conditional.
LDBL_MAX is always defined, so this branch is dead. (If LDBL_MAX is
not defined, that's a bug in the architecture's float.h, not a reason
to skip a test.)
LDBL_MAX is always defined, so this branch is dead. (If LDBL_MAX is
not defined, that's a bug in the architecture's float.h, not a reason
to skip a test.)
MAIN commitmail json YAML
src/lib/libc/gdtoa/hdtoa.c@1.13
/
diff
/
nxr@1.13
src/tests/lib/libc/stdio/t_printf.c@1.15 / diff / nxr@1.15
src/tests/lib/libc/stdio/t_printf.c@1.15 / diff / nxr@1.15
Revert various broken changes to printf %La (hldtoa).
This reverts:
hdtoa.c 1.12 (PR/56247: Greg A. Woods: printf("%La", LDBL_MIN) dumps core)
hdtoa.c 1.11 (fix tyop)
hdtoa.c 1.10 (Via enh at google dot com in tech-userlevel. Fix handling of
EXT_FRAC{H,L}BITS (although we don't need to since we don't have them).)
The underlying motivation for this change was that when ld128 is
decomposed into 4x32 words, this hldtoa logic is broken.
But we don't decompose ld128 into 4x32 words; we decompose it into
6x64 words.
And the change, which was supposed to be a noop in our case of 2x64
words (or similar for x87 80-bit floating-point), broke it to the
point of causing buffer overruns (PR 56247) which when worked around
led to just incorrect output output (PR 56937).
If we want to make the #ifdefs for 4x32 words work, that's fine, but
we absolutely must have automatic test cases to detect this kind of
regression because %La formatting is extremely important for
diagnosing details of floating-point data since it doesn't involve
rounding in binary formats. For now I've added some trivial tests;
there is a more extensive test suite inside gdtoa that we need to
wire up before anyone tries any other shenanigans in this code.
PR lib/56937: printf(3) long double %a formatting is broken
This reverts:
hdtoa.c 1.12 (PR/56247: Greg A. Woods: printf("%La", LDBL_MIN) dumps core)
hdtoa.c 1.11 (fix tyop)
hdtoa.c 1.10 (Via enh at google dot com in tech-userlevel. Fix handling of
EXT_FRAC{H,L}BITS (although we don't need to since we don't have them).)
The underlying motivation for this change was that when ld128 is
decomposed into 4x32 words, this hldtoa logic is broken.
But we don't decompose ld128 into 4x32 words; we decompose it into
6x64 words.
And the change, which was supposed to be a noop in our case of 2x64
words (or similar for x87 80-bit floating-point), broke it to the
point of causing buffer overruns (PR 56247) which when worked around
led to just incorrect output output (PR 56937).
If we want to make the #ifdefs for 4x32 words work, that's fine, but
we absolutely must have automatic test cases to detect this kind of
regression because %La formatting is extremely important for
diagnosing details of floating-point data since it doesn't involve
rounding in binary formats. For now I've added some trivial tests;
there is a more extensive test suite inside gdtoa that we need to
wire up before anyone tries any other shenanigans in this code.
PR lib/56937: printf(3) long double %a formatting is broken
MAIN commitmail json YAML
tests/lib/libm/t_ilogb: Expand and tidy.
1. Instead of calling out VAX by name, use #ifdef NAN and
isinf(INFINITY). (VAX defines INFINITY even though it's not an
infinity, not sure if there's a better compile-time test.)
2. Verify ilogbl works on long double on all architectures, not just
those with __HAVE_LONG_DOUBLE which means long double is _larger_
than double.
1. Instead of calling out VAX by name, use #ifdef NAN and
isinf(INFINITY). (VAX defines INFINITY even though it's not an
infinity, not sure if there's a better compile-time test.)
2. Verify ilogbl works on long double on all architectures, not just
those with __HAVE_LONG_DOUBLE which means long double is _larger_
than double.
MAIN commitmail json YAML
tests/lib/libm/t_fe_round.c: Tidy.
nextafter/nexttoward tests didn't make much sense, and are now
supplanted by t_next.
PR misc/58054
nextafter/nexttoward tests didn't make much sense, and are now
supplanted by t_next.
PR misc/58054
MAIN commitmail json YAML
src/lib/libm/Makefile@1.233
/
diff
/
nxr@1.233
src/lib/libm/m.mips.expsym@1.4 / diff / nxr@1.4
src/lib/libm/m.mips64.expsym@1.1 / diff / nxr@1.1
src/lib/libm/m.mips.expsym@1.4 / diff / nxr@1.4
src/lib/libm/m.mips64.expsym@1.1 / diff / nxr@1.1
libm: Split expected symbols in mips further by 32-bit vs 64-bit.
32-bit has binary64 long double, same as double; 64-bit has binary128
long double, which is implemented with a few more symbols in libm
(which should maybe be hidden internal symbols, but let's get this
diagnostic measure in the build working before we think about
possibly deleting private symbols).
32-bit has binary64 long double, same as double; 64-bit has binary128
long double, which is implemented with a few more symbols in libm
(which should maybe be hidden internal symbols, but let's get this
diagnostic measure in the build working before we think about
possibly deleting private symbols).
MAIN commitmail json YAML
libm: Record expected symbols for sh3.
MAIN commitmail json YAML
src/lib/libm/Makefile@1.232
/
diff
/
nxr@1.232
src/lib/libm/m.arm.expsym@1.3 / diff / nxr@1.3
src/lib/libm/m.armhf.expsym@1.1 / diff / nxr@1.1
src/lib/libm/m.mips.expsym@1.3 / diff / nxr@1.3
src/lib/libm/m.mipshf.expsym@1.1 / diff / nxr@1.1
src/lib/libm/m.arm.expsym@1.3 / diff / nxr@1.3
src/lib/libm/m.armhf.expsym@1.1 / diff / nxr@1.1
src/lib/libm/m.mips.expsym@1.3 / diff / nxr@1.3
src/lib/libm/m.mipshf.expsym@1.1 / diff / nxr@1.1
libm: Split expected symbols on arm and mips by hard/soft float.
MAIN commitmail json YAML
tests/lib/libm/t_fe_round: xfail for modfl uses.
PR lib/58237: modfl returns wrong answers on ld128 architectures
PR lib/58237: modfl returns wrong answers on ld128 architectures
MAIN commitmail json YAML
tests/lib/libm/t_modf: Mark modfl xfail on ld128.
PR lib/58237: modfl returns wrong answers on ld128 architectures
PR lib/58237: modfl returns wrong answers on ld128 architectures
MAIN commitmail json YAML
bsd.lib.mk: Use LIBC_MACHINE_ARCH/CPU if set for expected symbols.
Otherwise, we get the wrong list of symbols for compat library
builds, where MACHINE_ARCH/CPU is different from
LIBC_MACHINE_ARCH/CPU, e.g. building compat 32-bit sparc libm on
sparc64.
XXX This is kinda kludgey -- `libc' seems wrong here.
Otherwise, we get the wrong list of symbols for compat library
builds, where MACHINE_ARCH/CPU is different from
LIBC_MACHINE_ARCH/CPU, e.g. building compat 32-bit sparc libm on
sparc64.
XXX This is kinda kludgey -- `libc' seems wrong here.
MAIN commitmail json YAML
tests/lib/libc/stdio/t_printf: Add another %La test.
This one was adapted from the screw case shown in
https://mail-index.netbsd.org/tech-userlevel/2020/04/11/msg012329.html
which wasn't broken in our libc, but which nevertheless prompted us
to commit a wrong and apparently untested patch that has rendered
printf %La broken for the last four years, which is a little
embarrassing. (The part of that patch that led to a buffer overrun
has been worked around, so now the output is just incorrect.)
PR lib/56937: printf(3) long double %a formatting is broken
This one was adapted from the screw case shown in
https://mail-index.netbsd.org/tech-userlevel/2020/04/11/msg012329.html
which wasn't broken in our libc, but which nevertheless prompted us
to commit a wrong and apparently untested patch that has rendered
printf %La broken for the last four years, which is a little
embarrassing. (The part of that patch that led to a buffer overrun
has been worked around, so now the output is just incorrect.)
PR lib/56937: printf(3) long double %a formatting is broken
MAIN commitmail json YAML
tests/lib/libc/stdio/t_printf: Fix %a test the same way.
MAIN commitmail json YAML
tests/lib/libc/stdio/t_printf: Fix %La test.
0xa.99ap+0 is closer to (long double)10.6 in x86 ld80 and in
binary128 (and possibly more formats, haven't verified).
0xa.99ap+0 is closer to (long double)10.6 in x86 ld80 and in
binary128 (and possibly more formats, haven't verified).
MAIN commitmail json YAML
tests/lib/libc/stdio/t_printf: Add a couple simple %La tests.
PR lib/56937: printf(3) long double %a formatting is broken
PR lib/56937: printf(3) long double %a formatting is broken
MAIN commitmail json YAML
tests/lib/libm/t_next: Expand substantially.
This covers many more potential problem areas -- and includes a new
xfail test for PR lib/58236: nexttoward(3) is broken on subnormals.
This covers many more potential problem areas -- and includes a new
xfail test for PR lib/58236: nexttoward(3) is broken on subnormals.
MAIN commitmail json YAML
src/lib/libm/m.vax.expsym@1.3
/
diff
/
nxr@1.3
src/lib/libm/noieee_src/n_floor.c@1.9 / diff / nxr@1.9
src/lib/libm/noieee_src/n_floor.c@1.9 / diff / nxr@1.9
libm: Add rintl, rintf to non-IEEE754 architectures.
While here, delete #ifdef to handle ns32k -- I don't think that's
gonna be relevant any time soon; in case you hadn't noticed, the
world has moved on from ns32k to vax by now.
PR 57881
While here, delete #ifdef to handle ns32k -- I don't think that's
gonna be relevant any time soon; in case you hadn't noticed, the
world has moved on from ns32k to vax by now.
PR 57881
MAIN commitmail json YAML
libm: ldbl_dummy.c is no longer needed -- nix it.
MAIN commitmail json YAML
src/lib/libm/m.aarch64.expsym@1.3
/
diff
/
nxr@1.3
src/lib/libm/m.riscv.expsym@1.3 / diff / nxr@1.3
src/lib/libm/m.sparc64.expsym@1.3 / diff / nxr@1.3
src/lib/libm/src/s_cosl.c@1.3 / diff / nxr@1.3
src/lib/libm/m.riscv.expsym@1.3 / diff / nxr@1.3
src/lib/libm/m.sparc64.expsym@1.3 / diff / nxr@1.3
src/lib/libm/src/s_cosl.c@1.3 / diff / nxr@1.3
libm: Don't export symbol `pio4' from s_cosl.c.
This appears to have been added unintentionally in the recent FreeBSD
long double update, and never went out in a release.
This appears to have been added unintentionally in the recent FreeBSD
long double update, and never went out in a release.
MAIN commitmail json YAML
src/lib/libm/m.aarch64.expsym@1.2
/
diff
/
nxr@1.2
src/lib/libm/m.alpha.expsym@1.2 / diff / nxr@1.2
src/lib/libm/m.arm.expsym@1.2 / diff / nxr@1.2
src/lib/libm/m.hppa.expsym@1.2 / diff / nxr@1.2
src/lib/libm/m.i386.expsym@1.3 / diff / nxr@1.3
src/lib/libm/m.ia64.expsym@1.2 / diff / nxr@1.2
src/lib/libm/m.m68k.expsym@1.4 / diff / nxr@1.4
src/lib/libm/m.mips.expsym@1.2 / diff / nxr@1.2
src/lib/libm/m.powerpc.expsym@1.2 / diff / nxr@1.2
src/lib/libm/m.riscv.expsym@1.2 / diff / nxr@1.2
src/lib/libm/m.sparc.expsym@1.2 / diff / nxr@1.2
src/lib/libm/m.sparc64.expsym@1.2 / diff / nxr@1.2
src/lib/libm/m.x86_64.expsym@1.3 / diff / nxr@1.3
src/lib/libm/noieee_src/n_sincos.c@1.10 / diff / nxr@1.10
src/lib/libm/src/namespace.h@1.20 / diff / nxr@1.20
src/lib/libm/src/s_cos.c@1.12 / diff / nxr@1.12
src/lib/libm/src/s_cosf.c@1.10 / diff / nxr@1.10
src/lib/libm/src/s_finite.c@1.13 / diff / nxr@1.13
src/lib/libm/src/s_finitef.c@1.9 / diff / nxr@1.9
src/lib/libm/src/s_sin.c@1.12 / diff / nxr@1.12
:
(more 3 files)
src/lib/libm/m.alpha.expsym@1.2 / diff / nxr@1.2
src/lib/libm/m.arm.expsym@1.2 / diff / nxr@1.2
src/lib/libm/m.hppa.expsym@1.2 / diff / nxr@1.2
src/lib/libm/m.i386.expsym@1.3 / diff / nxr@1.3
src/lib/libm/m.ia64.expsym@1.2 / diff / nxr@1.2
src/lib/libm/m.m68k.expsym@1.4 / diff / nxr@1.4
src/lib/libm/m.mips.expsym@1.2 / diff / nxr@1.2
src/lib/libm/m.powerpc.expsym@1.2 / diff / nxr@1.2
src/lib/libm/m.riscv.expsym@1.2 / diff / nxr@1.2
src/lib/libm/m.sparc.expsym@1.2 / diff / nxr@1.2
src/lib/libm/m.sparc64.expsym@1.2 / diff / nxr@1.2
src/lib/libm/m.x86_64.expsym@1.3 / diff / nxr@1.3
src/lib/libm/noieee_src/n_sincos.c@1.10 / diff / nxr@1.10
src/lib/libm/src/namespace.h@1.20 / diff / nxr@1.20
src/lib/libm/src/s_cos.c@1.12 / diff / nxr@1.12
src/lib/libm/src/s_cosf.c@1.10 / diff / nxr@1.10
src/lib/libm/src/s_finite.c@1.13 / diff / nxr@1.13
src/lib/libm/src/s_finitef.c@1.9 / diff / nxr@1.9
src/lib/libm/src/s_sin.c@1.12 / diff / nxr@1.12
:
(more 3 files)
libm: Do the weak alias dance for sin/cos/tan/finite{,f}.
tan isn't used internally, but it's confusing for it to be treated
differently from sin and cos, and there's no harm in doing the dance
unnecessarily.
tan isn't used internally, but it's confusing for it to be treated
differently from sin and cos, and there's no harm in doing the dance
unnecessarily.
MAIN commitmail json YAML
src/lib/libm/arch/m68k/s_finite.S@1.8
/
diff
/
nxr@1.8
src/lib/libm/m.m68k.expsym@1.3 / diff / nxr@1.3
src/lib/libm/m.m68k.expsym@1.3 / diff / nxr@1.3
libm/arch/m68k: Do the weak alias dance for finite.
This is used internally.
This is used internally.
MAIN commitmail json YAML
src/lib/libm/arch/mc68881/s_cos.S@1.7
/
diff
/
nxr@1.7
src/lib/libm/arch/mc68881/s_sin.S@1.7 / diff / nxr@1.7
src/lib/libm/arch/mc68881/s_tan.S@1.7 / diff / nxr@1.7
src/lib/libm/m.m68k.expsym@1.2 / diff / nxr@1.2
src/lib/libm/arch/mc68881/s_sin.S@1.7 / diff / nxr@1.7
src/lib/libm/arch/mc68881/s_tan.S@1.7 / diff / nxr@1.7
src/lib/libm/m.m68k.expsym@1.2 / diff / nxr@1.2
libm/arch/mc68881: Do the weak alias dance for sin, cos, tan.
These are used internally.
These are used internally.
MAIN commitmail json YAML
src/lib/libm/arch/vax/n_support.S@1.12
/
diff
/
nxr@1.12
src/lib/libm/m.vax.expsym@1.2 / diff / nxr@1.2
src/lib/libm/m.vax.expsym@1.2 / diff / nxr@1.2
libm/arch/vax: Do the weak alias dance for finite, finitef.
These are used internally.
These are used internally.
MAIN commitmail json YAML
src/lib/libm/arch/i387/s_finite.S@1.8
/
diff
/
nxr@1.8
src/lib/libm/arch/i387/s_finitef.S@1.7 / diff / nxr@1.7
src/lib/libm/m.i386.expsym@1.2 / diff / nxr@1.2
src/lib/libm/m.x86_64.expsym@1.2 / diff / nxr@1.2
src/lib/libm/arch/i387/s_finitef.S@1.7 / diff / nxr@1.7
src/lib/libm/m.i386.expsym@1.2 / diff / nxr@1.2
src/lib/libm/m.x86_64.expsym@1.2 / diff / nxr@1.2
libm/arch/i387: Do the weak alias dance for finite and finitef.
These are used internally by some things.
These are used internally by some things.
MAIN commitmail json YAML
libm: Add expected symbols for m68k.
Not sure if this'll work for all ports -- we might need to split it
up finer-grained by different m68k flavours -- but let's give it a
try and see what breaks.
Not sure if this'll work for all ports -- we might need to split it
up finer-grained by different m68k flavours -- but let's give it a
try and see what breaks.
MAIN commitmail json YAML
src/lib/libm/arch/m68060/Makefile.list@1.8
/
diff
/
nxr@1.8
src/lib/libm/arch/m68060/e_acos.S@1.8 / diff / nxr@1.8
src/lib/libm/arch/m68060/e_acosf.S@1.8 / diff / nxr@1.8
src/lib/libm/arch/m68060/e_asin.S@1.8 / diff / nxr@1.8
src/lib/libm/arch/m68060/e_asinf.S@1.8 / diff / nxr@1.8
src/lib/libm/arch/m68060/e_atanh.S@1.8 / diff / nxr@1.8
src/lib/libm/arch/m68060/e_atanhf.S@1.8 / diff / nxr@1.8
src/lib/libm/arch/m68060/e_cosh.S@1.8 / diff / nxr@1.8
src/lib/libm/arch/m68060/e_coshf.S@1.8 / diff / nxr@1.8
src/lib/libm/arch/m68060/e_exp.S@1.8 / diff / nxr@1.8
src/lib/libm/arch/m68060/e_expf.S@1.8 / diff / nxr@1.8
src/lib/libm/arch/m68060/e_log.S@1.8 / diff / nxr@1.8
src/lib/libm/arch/m68060/e_log10.S@1.8 / diff / nxr@1.8
src/lib/libm/arch/m68060/e_log10f.S@1.8 / diff / nxr@1.8
src/lib/libm/arch/m68060/e_logf.S@1.8 / diff / nxr@1.8
src/lib/libm/arch/m68060/e_sinh.S@1.8 / diff / nxr@1.8
src/lib/libm/arch/m68060/e_sinhf.S@1.8 / diff / nxr@1.8
src/lib/libm/arch/m68060/e_sqrt.S@1.8 / diff / nxr@1.8
src/lib/libm/arch/m68060/e_sqrtf.S@1.8 / diff / nxr@1.8
src/lib/libm/arch/m68060/fplsp_wrap.S@1.9 / diff / nxr@1.9
:
(more 18 files)
src/lib/libm/arch/m68060/e_acos.S@1.8 / diff / nxr@1.8
src/lib/libm/arch/m68060/e_acosf.S@1.8 / diff / nxr@1.8
src/lib/libm/arch/m68060/e_asin.S@1.8 / diff / nxr@1.8
src/lib/libm/arch/m68060/e_asinf.S@1.8 / diff / nxr@1.8
src/lib/libm/arch/m68060/e_atanh.S@1.8 / diff / nxr@1.8
src/lib/libm/arch/m68060/e_atanhf.S@1.8 / diff / nxr@1.8
src/lib/libm/arch/m68060/e_cosh.S@1.8 / diff / nxr@1.8
src/lib/libm/arch/m68060/e_coshf.S@1.8 / diff / nxr@1.8
src/lib/libm/arch/m68060/e_exp.S@1.8 / diff / nxr@1.8
src/lib/libm/arch/m68060/e_expf.S@1.8 / diff / nxr@1.8
src/lib/libm/arch/m68060/e_log.S@1.8 / diff / nxr@1.8
src/lib/libm/arch/m68060/e_log10.S@1.8 / diff / nxr@1.8
src/lib/libm/arch/m68060/e_log10f.S@1.8 / diff / nxr@1.8
src/lib/libm/arch/m68060/e_logf.S@1.8 / diff / nxr@1.8
src/lib/libm/arch/m68060/e_sinh.S@1.8 / diff / nxr@1.8
src/lib/libm/arch/m68060/e_sinhf.S@1.8 / diff / nxr@1.8
src/lib/libm/arch/m68060/e_sqrt.S@1.8 / diff / nxr@1.8
src/lib/libm/arch/m68060/e_sqrtf.S@1.8 / diff / nxr@1.8
src/lib/libm/arch/m68060/fplsp_wrap.S@1.9 / diff / nxr@1.9
:
(more 18 files)
lib/libm/arch/m68060: regen
MAIN commitmail json YAML
lib/libm/m68060/makeas.sh: Delimit symbols with END.
This way we get symbol sizes in the ELF output.
This way we get symbol sizes in the ELF output.
MAIN commitmail json YAML
lib/libm/arch/m68060/makeas.sh: Create public weak aliases.
Use _foo for internal names, and weak alias foo when it's public like
sin/cos/tan.
Use _foo for internal names, and weak alias foo when it's public like
sin/cos/tan.
MAIN commitmail json YAML
lib/libm/m68060/makeas.sh: Use `set -eu' to detect script mistakes.
No functional change intended.
No functional change intended.
MAIN commitmail json YAML
lib/libm/m68060/makeas.sh: Pass arguments to dummy more idiomatically.
No functional change intended.
No functional change intended.
MAIN commitmail json YAML
lib/libm/m68060/makeas.sh: Use local for shell functions.
No functional change intended.
No functional change intended.
MAIN commitmail json YAML
lib/libm/arch/m68060/makeas.sh: Indent sh blocks.
No functional change intended.
No functional change intended.
MAIN commitmail json YAML
src/lib/libm/arch/m68060/Makefile.list@1.7
/
diff
/
nxr@1.7
src/lib/libm/arch/m68060/e_acos.S@1.7 / diff / nxr@1.7
src/lib/libm/arch/m68060/e_acosf.S@1.7 / diff / nxr@1.7
src/lib/libm/arch/m68060/e_asin.S@1.7 / diff / nxr@1.7
src/lib/libm/arch/m68060/e_asinf.S@1.7 / diff / nxr@1.7
src/lib/libm/arch/m68060/e_atanh.S@1.7 / diff / nxr@1.7
src/lib/libm/arch/m68060/e_atanhf.S@1.7 / diff / nxr@1.7
src/lib/libm/arch/m68060/e_cosh.S@1.7 / diff / nxr@1.7
src/lib/libm/arch/m68060/e_coshf.S@1.7 / diff / nxr@1.7
src/lib/libm/arch/m68060/e_exp.S@1.7 / diff / nxr@1.7
src/lib/libm/arch/m68060/e_expf.S@1.7 / diff / nxr@1.7
src/lib/libm/arch/m68060/e_log.S@1.7 / diff / nxr@1.7
src/lib/libm/arch/m68060/e_log10.S@1.7 / diff / nxr@1.7
src/lib/libm/arch/m68060/e_log10f.S@1.7 / diff / nxr@1.7
src/lib/libm/arch/m68060/e_logf.S@1.7 / diff / nxr@1.7
src/lib/libm/arch/m68060/e_sinh.S@1.7 / diff / nxr@1.7
src/lib/libm/arch/m68060/e_sinhf.S@1.7 / diff / nxr@1.7
src/lib/libm/arch/m68060/e_sqrt.S@1.7 / diff / nxr@1.7
src/lib/libm/arch/m68060/e_sqrtf.S@1.7 / diff / nxr@1.7
src/lib/libm/arch/m68060/fplsp_wrap.S@1.8 / diff / nxr@1.8
:
(more 18 files)
src/lib/libm/arch/m68060/e_acos.S@1.7 / diff / nxr@1.7
src/lib/libm/arch/m68060/e_acosf.S@1.7 / diff / nxr@1.7
src/lib/libm/arch/m68060/e_asin.S@1.7 / diff / nxr@1.7
src/lib/libm/arch/m68060/e_asinf.S@1.7 / diff / nxr@1.7
src/lib/libm/arch/m68060/e_atanh.S@1.7 / diff / nxr@1.7
src/lib/libm/arch/m68060/e_atanhf.S@1.7 / diff / nxr@1.7
src/lib/libm/arch/m68060/e_cosh.S@1.7 / diff / nxr@1.7
src/lib/libm/arch/m68060/e_coshf.S@1.7 / diff / nxr@1.7
src/lib/libm/arch/m68060/e_exp.S@1.7 / diff / nxr@1.7
src/lib/libm/arch/m68060/e_expf.S@1.7 / diff / nxr@1.7
src/lib/libm/arch/m68060/e_log.S@1.7 / diff / nxr@1.7
src/lib/libm/arch/m68060/e_log10.S@1.7 / diff / nxr@1.7
src/lib/libm/arch/m68060/e_log10f.S@1.7 / diff / nxr@1.7
src/lib/libm/arch/m68060/e_logf.S@1.7 / diff / nxr@1.7
src/lib/libm/arch/m68060/e_sinh.S@1.7 / diff / nxr@1.7
src/lib/libm/arch/m68060/e_sinhf.S@1.7 / diff / nxr@1.7
src/lib/libm/arch/m68060/e_sqrt.S@1.7 / diff / nxr@1.7
src/lib/libm/arch/m68060/e_sqrtf.S@1.7 / diff / nxr@1.7
src/lib/libm/arch/m68060/fplsp_wrap.S@1.8 / diff / nxr@1.8
:
(more 18 files)
lib/libm/arch/m68060: regen
MAIN commitmail json YAML
lib/libm/arch/m68060/makeas.sh: Strip the $ when emitting RCS id.
MAIN commitmail json YAML
libm/arch/m68060/Makefile: bsd.sys.mk -> bsd.host.mk
Somewhat belatedly, after bsd.sys.mk was forbidden to use directly
from Makefiles back in 2014.
Somewhat belatedly, after bsd.sys.mk was forbidden to use directly
from Makefiles back in 2014.
MAIN commitmail json YAML
libm/arch/m68060/makeas.sh: Tag output with makeas.sh RCS id.
No functional change intended to the output -- only changes are to
comments.
No functional change intended to the output -- only changes are to
comments.
MAIN commitmail json YAML
tests/lib/libc/gen/t_fpclassify: Enable long double tests.
The necessary long double symbols should all be available now. If
there are any architectures where they're not, we can fix those
architectures.
The necessary long double symbols should all be available now. If
there are any architectures where they're not, we can fix those
architectures.
MAIN commitmail json YAML
src/lib/libm/m.aarch64.expsym@1.1
/
diff
/
nxr@1.1
src/lib/libm/m.alpha.expsym@1.1 / diff / nxr@1.1
src/lib/libm/m.arm.expsym@1.1 / diff / nxr@1.1
src/lib/libm/m.hppa.expsym@1.1 / diff / nxr@1.1
src/lib/libm/m.i386.expsym@1.1 / diff / nxr@1.1
src/lib/libm/m.ia64.expsym@1.1 / diff / nxr@1.1
src/lib/libm/m.mips.expsym@1.1 / diff / nxr@1.1
src/lib/libm/m.powerpc.expsym@1.1 / diff / nxr@1.1
src/lib/libm/m.riscv.expsym@1.1 / diff / nxr@1.1
src/lib/libm/m.sparc.expsym@1.1 / diff / nxr@1.1
src/lib/libm/m.sparc64.expsym@1.1 / diff / nxr@1.1
src/lib/libm/m.vax.expsym@1.1 / diff / nxr@1.1
src/lib/libm/m.x86_64.expsym@1.1 / diff / nxr@1.1
src/lib/libm/m.alpha.expsym@1.1 / diff / nxr@1.1
src/lib/libm/m.arm.expsym@1.1 / diff / nxr@1.1
src/lib/libm/m.hppa.expsym@1.1 / diff / nxr@1.1
src/lib/libm/m.i386.expsym@1.1 / diff / nxr@1.1
src/lib/libm/m.ia64.expsym@1.1 / diff / nxr@1.1
src/lib/libm/m.mips.expsym@1.1 / diff / nxr@1.1
src/lib/libm/m.powerpc.expsym@1.1 / diff / nxr@1.1
src/lib/libm/m.riscv.expsym@1.1 / diff / nxr@1.1
src/lib/libm/m.sparc.expsym@1.1 / diff / nxr@1.1
src/lib/libm/m.sparc64.expsym@1.1 / diff / nxr@1.1
src/lib/libm/m.vax.expsym@1.1 / diff / nxr@1.1
src/lib/libm/m.x86_64.expsym@1.1 / diff / nxr@1.1
libm: Memorialize expected symbols on various architectures.
This will reduce the risk of accidentally adding or deleting the
wrong symbols while fixing the aliases.
(This is all the architectures I have a build tree for handy; can add
other architectures like m68k later.)
This will reduce the risk of accidentally adding or deleting the
wrong symbols while fixing the aliases.
(This is all the architectures I have a build tree for handy; can add
other architectures like m68k later.)
MAIN commitmail json YAML
bsd.lib.mk: Allow MACHINE_CPU for default expsym file.
MAIN commitmail json YAML
math.h: Move declarations under appropriate namespace tests.
Not sure about _REENTRANT, but if gamma_r and lgamma_r go under that
(even if _NETBSD_SOURCE isn't defined), then lgammal_r probably
should too.
Not sure about _REENTRANT, but if gamma_r and lgamma_r go under that
(even if _NETBSD_SOURCE isn't defined), then lgammal_r probably
should too.
MAIN commitmail json YAML
src/lib/libm/arch/vax/n_cabs.S@1.9
/
diff
/
nxr@1.9
src/lib/libm/arch/vax/n_cbrt.S@1.9 / diff / nxr@1.9
src/lib/libm/arch/vax/n_scalbn.S@1.8 / diff / nxr@1.8
src/lib/libm/arch/vax/n_cbrt.S@1.9 / diff / nxr@1.9
src/lib/libm/arch/vax/n_scalbn.S@1.8 / diff / nxr@1.8
libm/arch/vax: Use STRONG_ALIAS, not ALTENTRY.
STRONG_ALIAS copies the symbol size and type, so it avoids warnings
like this:
/home/riastradh/netbsd/10/obj.vax/tooldir/bin/../lib/gcc/vax--netbsdelf/10.5.0/../../../../vax--netbsdelf/bin/ld: warning: type and size of dynamic symbol `ldexpl' are not defined
STRONG_ALIAS copies the symbol size and type, so it avoids warnings
like this:
/home/riastradh/netbsd/10/obj.vax/tooldir/bin/../lib/gcc/vax--netbsdelf/10.5.0/../../../../vax--netbsdelf/bin/ld: warning: type and size of dynamic symbol `ldexpl' are not defined
MAIN commitmail json YAML
src/lib/libm/arch/vax/n_argred.S@1.10
/
diff
/
nxr@1.10
src/lib/libm/arch/vax/n_atan2.S@1.10 / diff / nxr@1.10
src/lib/libm/arch/vax/n_cabs.S@1.8 / diff / nxr@1.8
src/lib/libm/arch/vax/n_cbrt.S@1.8 / diff / nxr@1.8
src/lib/libm/arch/vax/n_infnan.S@1.7 / diff / nxr@1.7
src/lib/libm/arch/vax/n_scalbn.S@1.7 / diff / nxr@1.7
src/lib/libm/arch/vax/n_sqrt.S@1.12 / diff / nxr@1.12
src/lib/libm/arch/vax/n_support.S@1.11 / diff / nxr@1.11
src/lib/libm/arch/vax/n_atan2.S@1.10 / diff / nxr@1.10
src/lib/libm/arch/vax/n_cabs.S@1.8 / diff / nxr@1.8
src/lib/libm/arch/vax/n_cbrt.S@1.8 / diff / nxr@1.8
src/lib/libm/arch/vax/n_infnan.S@1.7 / diff / nxr@1.7
src/lib/libm/arch/vax/n_scalbn.S@1.7 / diff / nxr@1.7
src/lib/libm/arch/vax/n_sqrt.S@1.12 / diff / nxr@1.12
src/lib/libm/arch/vax/n_support.S@1.11 / diff / nxr@1.11
libm/arch/vax: Use END to delimit symbol definitions.
This way we get sizes and, likely, slightly better debug info about
PCs inside these symbols.
This way we get sizes and, likely, slightly better debug info about
PCs inside these symbols.
MAIN commitmail json YAML
tests/lib/libm/t_bit: Expand and tidy.
1. Instead of calling out VAX by name, use #ifdef NAN.
2. Verify signbit works on long double on all architectures, not just
those with __HAVE_LONG_DOUBLE which means long double is _larger_
than double.
3. Minor formatting tidying.
1. Instead of calling out VAX by name, use #ifdef NAN.
2. Verify signbit works on long double on all architectures, not just
those with __HAVE_LONG_DOUBLE which means long double is _larger_
than double.
3. Minor formatting tidying.
MAIN commitmail json YAML
tests/lib/libc/stdlib/t_strtod: Spruce up and nix needless #ifdefs.
MAIN commitmail json YAML
tests/lib/libm/t_modf: Use isinf(INFINITY) to detect inf support.
Apparently VAX defines the INFINITY macro even though it's not
actually an infinity and isinf returns zero for it.
Apparently VAX defines the INFINITY macro even though it's not
actually an infinity and isinf returns zero for it.
MAIN commitmail json YAML
tests/lib/libc/gen/t_floatunditf: Nix __HAVE_LONG_DOUBLE conditional.
Conversion from uint64_t to long double should work on all ports,
including those where long double is the same as double, i.e., where
__HAVE_LONG_DOUBLE is undefined.
Instead, conditionalize the test cases on how many bits of precision
long double has in the significand, according to LDBL_MANT_DIG. The
conditionals here should handle binary128, powerpc double-dekker
(~106-bit precision), x86 extended precision (80-bit), m68k extended
precision (80-bit), and VAX D (56-bit).
Conversion from uint64_t to long double should work on all ports,
including those where long double is the same as double, i.e., where
__HAVE_LONG_DOUBLE is undefined.
Instead, conditionalize the test cases on how many bits of precision
long double has in the significand, according to LDBL_MANT_DIG. The
conditionals here should handle binary128, powerpc double-dekker
(~106-bit precision), x86 extended precision (80-bit), m68k extended
precision (80-bit), and VAX D (56-bit).
MAIN commitmail json YAML
tests/lib/libm/t_sincos: Nix __HAVE_LONG_DOUBLE conditionals.
sincosl is supposed to be there even if long double is double, as is
the case when __HAVE_LONG_DOUBLE is undefined.
sincosl is supposed to be there even if long double is double, as is
the case when __HAVE_LONG_DOUBLE is undefined.
MAIN commitmail json YAML
tests/lib/libm/t_scalbn: Nix __HAVE_LONG_DOUBLE conditionals.
If long double is the same as double, i.e., __HAVE_LONG_DOUBLE is
undefined, these tests should still pass, since they don't rely on
extra precision beyond double.
If long double is the same as double, i.e., __HAVE_LONG_DOUBLE is
undefined, these tests should still pass, since they don't rely on
extra precision beyond double.
MAIN commitmail json YAML
tests/lib/libm/t_precision: Nix __HAVE_LONG_DOUBLE conditionals.
long double and LDBL_EPSILON work even on architectures where long
double is the same as double, i.e., where the confusingly named
__HAVE_LONG_DOUBLE is not defined.
long double and LDBL_EPSILON work even on architectures where long
double is the same as double, i.e., where the confusingly named
__HAVE_LONG_DOUBLE is not defined.
MAIN commitmail json YAML
tests/lib/libm/t_cos: Fix comment about necessity of volatile.
MAIN commitmail json YAML
tests/lib/libm/t_cos: Nix __HAVE_LONG_DOUBLE.
cosl should always be defined even on architectures where long double
is the same as double so the confusingly named __HAVE_LONG_DOUBLE is
not defined.
cosl should always be defined even on architectures where long double
is the same as double so the confusingly named __HAVE_LONG_DOUBLE is
not defined.
MAIN commitmail json YAML
tests/lib/libm/t_cabsl: Nix __HAVE_LONG_DOUBLE conditionals.
__HAVE_LONG_DOUBLE just means long double is different from double.
This test should always pass on all ports, even if long double is the
same as double; it doesn't test any additional precision.
__HAVE_LONG_DOUBLE just means long double is different from double.
This test should always pass on all ports, even if long double is the
same as double; it doesn't test any additional precision.
MAIN commitmail json YAML
tests/usr.bin/mtree/t_sets.sh: atf_fail, not atf_tc_fail
MAIN commitmail json YAML
tests/lib/libm/t_modf: Check sign of modf on infinities too.
Normally I don't like CHECK(A && B) and favour CHECK(A); CHECK(B)
instead, so you can see which one failed, but in this case the inputs
are displayed anyway so we don't lose anything unless the
floating-point printer is broken.
Normally I don't like CHECK(A && B) and favour CHECK(A); CHECK(B)
instead, so you can see which one failed, but in this case the inputs
are displayed anyway so we don't lose anything unless the
floating-point printer is broken.
MAIN commitmail json YAML
tests/lib/libm/t_modf.c: Expand modf/modff/modfl tests.
1. Exercise more edge cases around the largest exponent that can
represent non-integers.
2. - Verify modf can handle all cases modff can.
- Veriy modf can handle some cases modff can't.
- Verify modfl can handle all cases modf or modff can.
- If long double isn't just double, verify modfl can handle some
cases modf and modff can't.
3. Check infinities and NaN.
4. Verify oddness, i.e., modf(-x) = -modf(x).
5. Display more useful diagnostics in case any of this goes wrong.
1. Exercise more edge cases around the largest exponent that can
represent non-integers.
2. - Verify modf can handle all cases modff can.
- Veriy modf can handle some cases modff can't.
- Verify modfl can handle all cases modf or modff can.
- If long double isn't just double, verify modfl can handle some
cases modf and modff can't.
3. Check infinities and NaN.
4. Verify oddness, i.e., modf(-x) = -modf(x).
5. Display more useful diagnostics in case any of this goes wrong.
MAIN commitmail json YAML
tests/lib/libm/t_fe_round.c: Work around likely ia64 bug in gcc.
MAIN commitmail json YAML
libm: If long double is double, nexttowardl is nextafter.
long double nexttowardl(long double, long double);
double nextafter(double, double);
long double nexttowardl(long double, long double);
double nextafter(double, double);
MAIN commitmail json YAML
makeinfo: Avoid ambiguous bracelessness.
/home/source/ab/HEAD-llvm/src/external/gpl2/texinfo/dist/makeinfo/index.c:526:5: error: add explicit braces to avoid dangling else [-Werror,-Wdangling-else]
else if ((*elt1)->defining_line > (*elt2)->defining_line)
^
/home/source/ab/HEAD-llvm/src/external/gpl2/texinfo/dist/makeinfo/index.c:531:5: error: add explicit braces to avoid dangling else [-Werror,-Wdangling-else]
else if ((*elt1)->entry_number > (*elt2)->entry_number)
^
/home/source/ab/HEAD-llvm/src/external/gpl2/texinfo/dist/makeinfo/index.c:526:5: error: add explicit braces to avoid dangling else [-Werror,-Wdangling-else]
else if ((*elt1)->defining_line > (*elt2)->defining_line)
^
/home/source/ab/HEAD-llvm/src/external/gpl2/texinfo/dist/makeinfo/index.c:531:5: error: add explicit braces to avoid dangling else [-Werror,-Wdangling-else]
else if ((*elt1)->entry_number > (*elt2)->entry_number)
^
MAIN commitmail json YAML
src/external/mit/xorg/lib/dri.old/Makefile@1.9
/
diff
/
nxr@1.9
src/external/mit/xorg/lib/dri/Makefile@1.42 / diff / nxr@1.42
src/external/mit/xorg/lib/dri/Makefile@1.42 / diff / nxr@1.42
mesa: Build with -Wno-error=typedef-redefinition.
While here, use CWARNFLAGS.clang instead of an explicit conditional.
In file included from 110_blorp_exec.c:33:
In file included from /home/source/ab/HEAD-llvm/xsrc/external/mit/MesaLib/dist/src/intel/blorp/blorp_genX_exec.h:27:
In file included from /home/source/ab/HEAD-llvm/xsrc/external/mit/MesaLib/dist/src/intel/blorp/blorp_priv.h:30:
/home/source/ab/HEAD-llvm/xsrc/external/mit/MesaLib/dist/src/compiler/nir/nir.h:3840:3: error: redefinition of typedef 'nir_shader' is a C11 feature [-Werror,-Wtypedef-redefinition]
} nir_shader;
^
/home/source/ab/HEAD-llvm/xsrc/external/mit/MesaLib/dist/src/intel/compiler/brw_compiler.h:41:27: note: previous definition is here
typedef struct nir_shader nir_shader;
^
While here, use CWARNFLAGS.clang instead of an explicit conditional.
In file included from 110_blorp_exec.c:33:
In file included from /home/source/ab/HEAD-llvm/xsrc/external/mit/MesaLib/dist/src/intel/blorp/blorp_genX_exec.h:27:
In file included from /home/source/ab/HEAD-llvm/xsrc/external/mit/MesaLib/dist/src/intel/blorp/blorp_priv.h:30:
/home/source/ab/HEAD-llvm/xsrc/external/mit/MesaLib/dist/src/compiler/nir/nir.h:3840:3: error: redefinition of typedef 'nir_shader' is a C11 feature [-Werror,-Wtypedef-redefinition]
} nir_shader;
^
/home/source/ab/HEAD-llvm/xsrc/external/mit/MesaLib/dist/src/intel/compiler/brw_compiler.h:41:27: note: previous definition is here
typedef struct nir_shader nir_shader;
^
MAIN commitmail json YAML
aarch64/sljit_machdep.h: Make this work in compat32 context.
Should fix clang build of compat32 eabi libsljit:
dependall ===> compat/arm/eabi/../../../lib/../external/bsd/sljit/lib
In file included from /home/source/ab/HEAD-llvm/src/sys/external/bsd/sljit/dist/sljit_src/sljitLir.c:1678:
/home/source/ab/HEAD-llvm/src/sys/external/bsd/sljit/dist/sljit_src/sljitNativeARM_64.c:142:54: error: shift count >= width of type [-Werror,-Wshift-count-overflow]
FAIL_IF(push_inst(compiler, MOVK | RD(dst) | (((imm >> 32) & 0xffff) << 5) | (2 << 21)));
^ ~~
Should fix clang build of compat32 eabi libsljit:
dependall ===> compat/arm/eabi/../../../lib/../external/bsd/sljit/lib
In file included from /home/source/ab/HEAD-llvm/src/sys/external/bsd/sljit/dist/sljit_src/sljitLir.c:1678:
/home/source/ab/HEAD-llvm/src/sys/external/bsd/sljit/dist/sljit_src/sljitNativeARM_64.c:142:54: error: shift count >= width of type [-Werror,-Wshift-count-overflow]
FAIL_IF(push_inst(compiler, MOVK | RD(dst) | (((imm >> 32) & 0xffff) << 5) | (2 << 21)));
^ ~~
MAIN commitmail json YAML
libm: No s_rintl.c on mips32.
This is only for machines where long double is not double.
Not 100% sure this is the right criterion, but there's a good chance
it is.
This is only for machines where long double is not double.
Not 100% sure this is the right criterion, but there's a good chance
it is.
MAIN commitmail json YAML
tests/lib/libm/t_next: Fix stub on VAX.
Tested building the wrong tree, oops.
Tested building the wrong tree, oops.
MAIN commitmail json YAML
libm/s_nexttowardf.c: Handle __HAVE_LONG_DOUBLE, LDBL_IMPLICIT_NBIT.
We should arrange to just have LDBL_NBIT unconditionally defined in the
appropriate MD header file, and make LDBL_IMPLICIT_NBIT an alias for
LDBL_NBIT==0. But for now this will do.
We should arrange to just have LDBL_NBIT unconditionally defined in the
appropriate MD header file, and make LDBL_IMPLICIT_NBIT an alias for
LDBL_NBIT==0. But for now this will do.
MAIN commitmail json YAML
libm: Make s_nexttowardf.c work when long double is double.
Seems likely that there are other parts of libm which would benefit
from being defined unconditionally in terms of ieee_ext_u, with
ieee_ext_u as an alias for ieee_double_u, in this scenario. But I
haven't gone looking yet.
Seems likely that there are other parts of libm which would benefit
from being defined unconditionally in terms of ieee_ext_u, with
ieee_ext_u as an alias for ieee_double_u, in this scenario. But I
haven't gone looking yet.
MAIN commitmail json YAML
src/distrib/sets/lists/debug/mi@1.435
/
diff
/
nxr@1.435
src/distrib/sets/lists/tests/mi@1.1315 / diff / nxr@1.1315
src/tests/lib/libm/Makefile@1.49 / diff / nxr@1.49
src/tests/lib/libm/t_next.c@1.1 / diff / nxr@1.1
src/distrib/sets/lists/tests/mi@1.1315 / diff / nxr@1.1315
src/tests/lib/libm/Makefile@1.49 / diff / nxr@1.49
src/tests/lib/libm/t_next.c@1.1 / diff / nxr@1.1
tests/lib/libm: Test nextafter/nexttoward and variants.
The tests are fairly trivial but should work without any conditionals
about floating-point formats.
The tests are fairly trivial but should work without any conditionals
about floating-point formats.
MAIN commitmail json YAML
MAIN commitmail json YAML
tests/usr.bin/mtree: Fail gracefully with unknown sets.
Rather than `bogus test program', make a test fail.
PR misc/57877
Rather than `bogus test program', make a test fail.
PR misc/57877
MAIN commitmail json YAML
s_rintl.c: Reduce FreeBSD diff and fix on ld128 platforms.
EXT_FRACBITS, the number of bits in the _binary encoding_ that stores
the trailing significand field, is never 113. In IEEE 754 binary128,
it is 112, even though there are 113 bits of precision in the set of
floating-point numbers -- the leading 1 bit is implicit in binary128.
So ld128 platforms like aarch64 and sparc64 were skipping the real
definition and just defining rintl as an alias for rint, which is
wrong.
In contrast, LDBL_MANT_DIG, the number of bits of precision in the set
of floating-point numbers (p, in IEEE 754 parlance), is 113 in IEEE 754
binary128. This is also the constant used in FreeBSD libm anyway. So
let's just use that instead of trying to translate it to our private
EXT_FRACBITS (not defined in FreeBSD) with a fencepos terror. And
delete the buggy rintl=rint alias.
PR lib/58054
EXT_FRACBITS, the number of bits in the _binary encoding_ that stores
the trailing significand field, is never 113. In IEEE 754 binary128,
it is 112, even though there are 113 bits of precision in the set of
floating-point numbers -- the leading 1 bit is implicit in binary128.
So ld128 platforms like aarch64 and sparc64 were skipping the real
definition and just defining rintl as an alias for rint, which is
wrong.
In contrast, LDBL_MANT_DIG, the number of bits of precision in the set
of floating-point numbers (p, in IEEE 754 parlance), is 113 in IEEE 754
binary128. This is also the constant used in FreeBSD libm anyway. So
let's just use that instead of trying to translate it to our private
EXT_FRACBITS (not defined in FreeBSD) with a fencepos terror. And
delete the buggy rintl=rint alias.
PR lib/58054
MAIN commitmail json YAML
tests/lib/libm/t_fe_round: Fix a missed cast.
Need long long or intmax_t, not long, on LP32.
PR lib/58054
Need long long or intmax_t, not long, on LP32.
PR lib/58054
MAIN commitmail json YAML
tests/lib/libm/t_fe_round.c: Simplify previous.
There is never any need to write casts to type T in integer constant
initializers for type T.
PR lib/58054
There is never any need to write casts to type T in integer constant
initializers for type T.
PR lib/58054
MAIN commitmail json YAML
tests/lib/libm/t_fe_round: Test nearbyintl.
This uses inputs that can't be distinguished with only 53 bits of
precision, so it should work in essentially all long double formats
to detect when nearbyintl is incorrectly implemented in terms of
nearbyint.
PR lib/58054
This uses inputs that can't be distinguished with only 53 bits of
precision, so it should work in essentially all long double formats
to detect when nearbyintl is incorrectly implemented in terms of
nearbyint.
PR lib/58054
MAIN commitmail json YAML
cgdconfig(8): KNF in cgdconfig.c.
No functional change intended.
No functional change intended.
MAIN commitmail json YAML
tests/lib/Makefile: Hook up libstdc++.
MAIN commitmail json YAML
src/distrib/sets/lists/debug/mi@1.433
/
diff
/
nxr@1.433
src/distrib/sets/lists/tests/mi@1.1313 / diff / nxr@1.1313
src/etc/mtree/NetBSD.dist.tests@1.204 / diff / nxr@1.204
src/tests/lib/libstdc++/Makefile@1.1 / diff / nxr@1.1
src/tests/lib/libstdc++/h_cin_nosync.cc@1.1 / diff / nxr@1.1
src/tests/lib/libstdc++/t_sync_with_stdio.sh@1.1 / diff / nxr@1.1
src/distrib/sets/lists/tests/mi@1.1313 / diff / nxr@1.1313
src/etc/mtree/NetBSD.dist.tests@1.204 / diff / nxr@1.204
src/tests/lib/libstdc++/Makefile@1.1 / diff / nxr@1.1
src/tests/lib/libstdc++/h_cin_nosync.cc@1.1 / diff / nxr@1.1
src/tests/lib/libstdc++/t_sync_with_stdio.sh@1.1 / diff / nxr@1.1
MAIN commitmail json YAML
src/sys/arch/amd64/conf/GENERIC@1.611
/
diff
/
nxr@1.611
src/sys/arch/i386/conf/GENERIC@1.1255 / diff / nxr@1.1255
src/sys/arch/i386/conf/GENERIC@1.1255 / diff / nxr@1.1255
apei(4), acpihed(4): Enable in x86 GENERIC.
Let's just see how this works out in practice. Might need to reduce
the overhead of each GHES on machines with thousands of them, but
we'll see.
PR kern/58046
Let's just see how this works out in practice. Might need to reduce
the overhead of each GHES on machines with thousands of them, but
we'll see.
PR kern/58046
MAIN commitmail json YAML
drm: Allow DRM_IOCTL_GET_UNIQUE on render nodes.
On NetBSD, libdrm uses this to discover what kind of bus the device
is on, without which it refuses to expose the render node at all,
rendering it useless. With this change, libdrm is able to use render
nodes on NetBSD.
Since this is just reading out information about the bus type and
bus/dev/func numbers, I don't think it's problematic to expose to
render nodes.
This requires tweaking the access path to the master.
PR kern/58180
On NetBSD, libdrm uses this to discover what kind of bus the device
is on, without which it refuses to expose the render node at all,
rendering it useless. With this change, libdrm is able to use render
nodes on NetBSD.
Since this is just reading out information about the bus type and
bus/dev/func numbers, I don't think it's problematic to expose to
render nodes.
This requires tweaking the access path to the master.
PR kern/58180
MAIN commitmail json YAML
drm(4): Fix st_rdev in stat.
dminor->index already has the 64*type adjustment, as allocated in
drm_minor_alloc.
PR kern/58180
dminor->index already has the 64*type adjustment, as allocated in
drm_minor_alloc.
PR kern/58180
MAIN commitmail json YAML
ip6_output: Initialize plen for ip6_hopopts_input.
This funny little block in ip6_process_hopopts assumes it is
initialized as and behaves differently depending on whether it's zero
or not:
https://nxr.netbsd.org/xref/src/sys/netinet6/ip6_input.c?r=1.227#976
In the other call site, it is initialized to ip6->ip6_plen:
https://nxr.netbsd.org/xref/src/sys/netinet6/ip6_input.c?r=1.227#561
Reported-by: syzbot+587e3b707bdfe533283f@syzkaller.appspotmail.com
https://syzkaller.appspot.com/bug?extid=587e3b707bdfe533283f
This funny little block in ip6_process_hopopts assumes it is
initialized as and behaves differently depending on whether it's zero
or not:
https://nxr.netbsd.org/xref/src/sys/netinet6/ip6_input.c?r=1.227#976
In the other call site, it is initialized to ip6->ip6_plen:
https://nxr.netbsd.org/xref/src/sys/netinet6/ip6_input.c?r=1.227#561
Reported-by: syzbot+587e3b707bdfe533283f@syzkaller.appspotmail.com
https://syzkaller.appspot.com/bug?extid=587e3b707bdfe533283f
MAIN commitmail json YAML
dounmount: Avoid &((struct vnode_impl *)NULL)->vi_vnode.
Member access of a null pointer is undefined, even if the result
should also be null because vi_vnode is at the start of vnode_impl.
Reported-by: syzbot+a4b2d13c0d6d4dac2d07@syzkaller.appspotmail.com
https://syzkaller.appspot.com/bug?extid=a4b2d13c0d6d4dac2d07
Member access of a null pointer is undefined, even if the result
should also be null because vi_vnode is at the start of vnode_impl.
Reported-by: syzbot+a4b2d13c0d6d4dac2d07@syzkaller.appspotmail.com
https://syzkaller.appspot.com/bug?extid=a4b2d13c0d6d4dac2d07
MAIN commitmail json YAML
radeon_acpi.c: ifdef out unused function on NetBSD.
Should fix syzkaller build.
Should fix syzkaller build.
MAIN commitmail json YAML
tap(4): Use DETACH_FORCE with config_detach.
It doesn't make a difference here, because tap_detach never fails,
but let's make it more obvious at the call site that failure is
forbidden here.
No functional change intended.
PR kern/58166
It doesn't make a difference here, because tap_detach never fails,
but let's make it more obvious at the call site that failure is
forbidden here.
No functional change intended.
PR kern/58166
MAIN commitmail json YAML
src/sys/modules/examples/fopsmapper/cmd_mapper.c@1.3
/
diff
/
nxr@1.3
src/sys/modules/examples/fopsmapper/fopsmapper.c@1.3 / diff / nxr@1.3
src/sys/modules/examples/fopsmapper/fopsmapper.c@1.3 / diff / nxr@1.3
modules/examples/fopsmapper: KNF, sprinkle comments
Missing: MP-safety; this is a kind of broken example.
Missing: MP-safety; this is a kind of broken example.
MAIN commitmail json YAML
sys/conf.h: Need sys/types.h for dev_t, devmajor_t.
MAIN commitmail json YAML
src/sys/external/bsd/drm2/amdgpu/files.amdgpu@1.31
/
diff
/
nxr@1.31
src/sys/external/bsd/drm2/dist/drm/amd/amdgpu/amdgpu.h@1.9 / diff / nxr@1.9
src/sys/external/bsd/drm2/dist/drm/amd/amdgpu/amdgpu_acpi.c@1.6 / diff / nxr@1.6
src/sys/external/bsd/drm2/dist/drm/amd/powerplay/hwmgr/amdgpu_hwmgr.c@1.3 / diff / nxr@1.3
src/sys/external/bsd/drm2/dist/drm/amd/powerplay/hwmgr/amdgpu_smu7_hwmgr.c@1.5 / diff / nxr@1.5
src/sys/external/bsd/drm2/dist/drm/i915/display/intel_acpi.h@1.5 / diff / nxr@1.5
src/sys/external/bsd/drm2/dist/drm/i915/display/intel_opregion.h@1.6 / diff / nxr@1.6
src/sys/external/bsd/drm2/dist/drm/i915/i915_drv.h@1.49 / diff / nxr@1.49
src/sys/external/bsd/drm2/dist/drm/nouveau/include/nvkm/core/device.h@1.10 / diff / nxr@1.10
src/sys/external/bsd/drm2/dist/drm/nouveau/nouveau_acpi.c@1.5 / diff / nxr@1.5
src/sys/external/bsd/drm2/dist/drm/nouveau/nouveau_acpi.h@1.4 / diff / nxr@1.4
src/sys/external/bsd/drm2/dist/drm/nouveau/nouveau_display.c@1.6 / diff / nxr@1.6
src/sys/external/bsd/drm2/dist/drm/nouveau/nouveau_drv.h@1.5 / diff / nxr@1.5
src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/engine/device/nouveau_nvkm_engine_device_acpi.c@1.4 / diff / nxr@1.4
src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/engine/device/nouveau_nvkm_engine_device_base.c@1.13 / diff / nxr@1.13
src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/engine/device/nouveau_nvkm_engine_device_pci.c@1.12 / diff / nxr@1.12
src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/engine/device/nouveau_nvkm_engine_device_tegra.c@1.4 / diff / nxr@1.4
src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/engine/device/priv.h@1.4 / diff / nxr@1.4
src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/bios/nouveau_nvkm_subdev_bios_shadowacpi.c@1.4 / diff / nxr@1.4
src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/mxm/nouveau_nvkm_subdev_mxm_base.c@1.5 / diff / nxr@1.5
:
(more 12 files)
src/sys/external/bsd/drm2/dist/drm/amd/amdgpu/amdgpu.h@1.9 / diff / nxr@1.9
src/sys/external/bsd/drm2/dist/drm/amd/amdgpu/amdgpu_acpi.c@1.6 / diff / nxr@1.6
src/sys/external/bsd/drm2/dist/drm/amd/powerplay/hwmgr/amdgpu_hwmgr.c@1.3 / diff / nxr@1.3
src/sys/external/bsd/drm2/dist/drm/amd/powerplay/hwmgr/amdgpu_smu7_hwmgr.c@1.5 / diff / nxr@1.5
src/sys/external/bsd/drm2/dist/drm/i915/display/intel_acpi.h@1.5 / diff / nxr@1.5
src/sys/external/bsd/drm2/dist/drm/i915/display/intel_opregion.h@1.6 / diff / nxr@1.6
src/sys/external/bsd/drm2/dist/drm/i915/i915_drv.h@1.49 / diff / nxr@1.49
src/sys/external/bsd/drm2/dist/drm/nouveau/include/nvkm/core/device.h@1.10 / diff / nxr@1.10
src/sys/external/bsd/drm2/dist/drm/nouveau/nouveau_acpi.c@1.5 / diff / nxr@1.5
src/sys/external/bsd/drm2/dist/drm/nouveau/nouveau_acpi.h@1.4 / diff / nxr@1.4
src/sys/external/bsd/drm2/dist/drm/nouveau/nouveau_display.c@1.6 / diff / nxr@1.6
src/sys/external/bsd/drm2/dist/drm/nouveau/nouveau_drv.h@1.5 / diff / nxr@1.5
src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/engine/device/nouveau_nvkm_engine_device_acpi.c@1.4 / diff / nxr@1.4
src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/engine/device/nouveau_nvkm_engine_device_base.c@1.13 / diff / nxr@1.13
src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/engine/device/nouveau_nvkm_engine_device_pci.c@1.12 / diff / nxr@1.12
src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/engine/device/nouveau_nvkm_engine_device_tegra.c@1.4 / diff / nxr@1.4
src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/engine/device/priv.h@1.4 / diff / nxr@1.4
src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/bios/nouveau_nvkm_subdev_bios_shadowacpi.c@1.4 / diff / nxr@1.4
src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/mxm/nouveau_nvkm_subdev_mxm_base.c@1.5 / diff / nxr@1.5
:
(more 12 files)
drm: Set CONFIG_ACPI in linux/acpi.h and make it build.
Leave a little ACPI-related functionality disabled for now, like
getting EDID out of ACPI -- needs a bit more work to make this work,
and I don't have hardware to work on that.
Should help with failures of the forms:
- unable to locate a BIOS ROM
- bios: unable to locate usable image
on various machines.
Leave a little ACPI-related functionality disabled for now, like
getting EDID out of ACPI -- needs a bit more work to make this work,
and I don't have hardware to work on that.
Should help with failures of the forms:
- unable to locate a BIOS ROM
- bios: unable to locate usable image
on various machines.
MAIN commitmail json YAML
opensolaris/sys/sys/elf.h: Omit needless __ELF_WORD_SIZE.
MAIN commitmail json YAML
nouveau: Rework nouveau2netbsd hack to get ACPI stuff.
MAIN commitmail json YAML
sys_futex.c: Fix illustration of futex(2).
In this illustration, we need to _set_ bit 1 to claim ownership, not
_clear_ bit 1 to claim ownership.
No functional change intended -- comment only.
In this illustration, we need to _set_ bit 1 to claim ownership, not
_clear_ bit 1 to claim ownership.
No functional change intended -- comment only.
MAIN commitmail json YAML
Nix /var/run/named entry from set lists.
Normally we don't do this, but /var/run/named is
(a) used by running daemons, so postinstall should not delete it, and
(b) deleted at boot-time anyway by /etc/rc.d/mountcritlocal, so
there's no sense in having it checked by mtree.
However, this means that update builds need manual intervention to
delete $DESTDIR/var/run/named or else checkflist will fail, so add a
note to UPDATING about this.
Do the same with /var/run/lwresd just in case.
PR misc/57877
Normally we don't do this, but /var/run/named is
(a) used by running daemons, so postinstall should not delete it, and
(b) deleted at boot-time anyway by /etc/rc.d/mountcritlocal, so
there's no sense in having it checked by mtree.
However, this means that update builds need manual intervention to
delete $DESTDIR/var/run/named or else checkflist will fail, so add a
note to UPDATING about this.
Do the same with /var/run/lwresd just in case.
PR misc/57877
MAIN commitmail json YAML
doc/3RDPARTY: Tidy up am-utils entry.
Add vendor branch and release branch pattern.
Add vendor branch and release branch pattern.
MAIN commitmail json YAML
riscv: Schedule next hardclock tick in the future, not the past.
If we have missed hardclock ticks, schedule up to one tick interval
in the future anyway; don't try to play hardclock catchup by
scheduling for when the next hardclock tick _should_ have been, in
the past, leading to ticking as fast as possible until we've caught
up. as fast as possible until we've caught up.
Playing hardclock catchup triggers heartbeat panics when continuing
from ddb, if you've been in ddb for >15sec. Other hardclock drivers
like x86 lapic don't play hardclock catchup either.
PR kern/57920
If we have missed hardclock ticks, schedule up to one tick interval
in the future anyway; don't try to play hardclock catchup by
scheduling for when the next hardclock tick _should_ have been, in
the past, leading to ticking as fast as possible until we've caught
up. as fast as possible until we've caught up.
Playing hardclock catchup triggers heartbeat panics when continuing
from ddb, if you've been in ddb for >15sec. Other hardclock drivers
like x86 lapic don't play hardclock catchup either.
PR kern/57920