| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
Similar commit in main:
(cherry picked from commit d0b2dbfa0ecf)
|
|
|
|
|
|
|
| |
Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
Similar commit in main:
(cherry picked from commit 1d386b48a555)
|
|
|
|
|
|
|
| |
Remove /^\s*\*+\s*\$FreeBSD\$.*$\n/
Similar commit in main:
(cherry picked from commit 42b388439bd3)
|
|
|
|
|
|
|
| |
Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/
Similar commit in main:
(cherry picked from commit b3e7694832e8)
|
|
|
|
|
|
|
|
|
|
|
| |
The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch
up to that fact and revert to their recommended match of BSD-2-Clause.
Discussed with: pfg
MFC After: 3 days
Sponsored by: Netflix
(cherry picked from commit 4d846d260e2b9a3d4d0a701462568268cbfe7a5b)
|
|
|
|
|
|
|
|
|
| |
No functional change. Related to D22122.
Reviewed by: emaste, kib (earlier version both)
Notes:
svn path=/head/; revision=353929
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is a follow-up to r321483, which disabled -Wmacro-redefined for
some lib/msun tests.
If an application included both fenv.h and ieeefp.h, several macros such
as __fldcw(), __fldenv() were defined in both headers, with slightly
different arguments, leading to conflicts.
Fix this by putting all the common macros in the machine-specific
versions of ieeefp.h. Where needed, update the arguments in places
where the macros are invoked.
This also slightly reduces the differences between the amd64 and i386
versions of ieeefp.h.
Reviewed by: kib
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D15633
Notes:
svn path=/head/; revision=334445
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Mainly focus on files that use BSD 2-Clause license, however the tool I
was using mis-identified many licenses so this was mostly a manual - error
prone - task.
The Software Package Data Exchange (SPDX) group provides a specification
to make it easier for automated tools to detect and summarize well known
opensource licenses. We are gradually adopting the specification, noting
that the tags are considered only advisory and do not, in any way,
superceed or replace the license texts.
Notes:
svn path=/head/; revision=326219
|
|
|
|
|
|
|
|
|
|
|
|
| |
versions of fmodf() amd fmodl() on i387.
fmod is similar to remainder, and the C versions are 3 to 9 times
slower than the asm versions on x86 for both, but we had the strange
mixture of all 6 variants of remainder in asm and only 1 of 6
variants of fmod in asm.
Notes:
svn path=/head/; revision=305382
|
|
|
|
|
|
|
|
|
|
| |
compilations which use fenv.h work.
Reviewed by: tjil
Sponsored by: The FreeBSD Foundation
Notes:
svn path=/head/; revision=249724
|
|
|
|
|
|
|
|
|
| |
old exception mask, not mask | ~FE_ALL_EXCEPT.
MFC after: 2 weeks
Notes:
svn path=/head/; revision=226594
|
|
|
|
|
|
|
|
|
| |
more convenient to compile the math library by itself.
Requested by: bde
Notes:
svn path=/head/; revision=226415
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
fenv.h that are currently inlined.
The definitions are provided in fenv.c via 'extern inline'
declaractions. This assumes the compiler handles 'extern inline' as
specified in C99, which has been true under FreeBSD since 8.0.
The goal is to eventually remove the 'static' keyword from the inline
definitions in fenv.h, so that non-inlined references all wind up
pointing to the same external definition like they're supposed to.
I am deferring the second step to provide a window where
newly-compiled apps will still link against old math libraries.
(This isn't supported, but there's no need to cause undue breakage.)
Reviewed by: stefanf, bde
Notes:
svn path=/head/; revision=226218
|
|
|
|
|
|
|
| |
Reported by: arundel
Notes:
svn path=/head/; revision=218305
|
|
|
|
| |
Notes:
svn path=/head/; revision=217108
|
|
|
|
|
|
|
|
|
|
|
| |
and one under lib/msun/amd64. This avoids adding the identifiers to the
.text section, and moves them to the .comment section instead.
Suggested by: bde
Approved by: rpaulo (mentor)
Notes:
svn path=/head/; revision=213337
|
|
|
|
|
|
|
|
|
|
|
|
| |
argument for fnstsw. Explicitely specify sizes for the XMM control and
status word and X87 control and status words.
Reviewed by: das
Tested by: avg
MFC after: 2 weeks
Notes:
svn path=/head/; revision=203441
|
|
|
|
|
|
|
|
|
|
|
|
| |
In this specific case, Valgrind won't get confused when analyzing such
functions.
Sponsored by: Sandvine Incorporated
Tested by: emaste
MFC: 3 days
Notes:
svn path=/head/; revision=192760
|
|
|
|
| |
Notes:
svn path=/head/; revision=177768
|
|
|
|
| |
Notes:
svn path=/head/; revision=176722
|
|
|
|
| |
Notes:
svn path=/head/; revision=176721
|
|
|
|
|
|
|
| |
software remainder and is already used for remquo().
Notes:
svn path=/head/; revision=176227
|
|
|
|
|
|
|
| |
Thanks to bde@ for feedback and testing of rintl().
Notes:
svn path=/head/; revision=175309
|
|
|
|
|
|
|
|
|
|
| |
I hope that this and the i386 version of it will not be needed, but
this is currently about 16 cycles or 36% faster than the C version,
and the i386 version is about 8 cycles or 19% faster than the C
version, due to poor optimization of the C version.
Notes:
svn path=/head/; revision=174719
|
|
|
|
| |
Notes:
svn path=/head/; revision=174698
|
|
|
|
| |
Notes:
svn path=/head/; revision=169092
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Details: As a side-effect of restoring a saved FP environment,
fesetenv() overwrites the tag word, which indicates which i387
registers are in use. Normally this isn't a problem because
the calling convention requires the register stack to be empty
on function entry and exit. However, fesetenv() is inlined, so we
need to tell gcc explicitly that the i387 registers get clobbered.
PR: 85101
Notes:
svn path=/head/; revision=165841
|
|
|
|
|
|
|
| |
Noticed by: bde
Notes:
svn path=/head/; revision=165795
|
|
|
|
| |
Notes:
svn path=/head/; revision=157196
|
|
|
|
|
|
|
| |
Noticed by: bz@, tjr@
Notes:
svn path=/head/; revision=150067
|
|
|
|
| |
Notes:
svn path=/head/; revision=145171
|
|
|
|
| |
Notes:
svn path=/head/; revision=144091
|
|
|
|
| |
Notes:
svn path=/head/; revision=143722
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
fedisableexcept(), and fegetexcept(). These two sets of routines
provide the same functionality. I implemented the former as an
undocumented internal interface to make the regression test easier to
write. However, fe(enable|disable|get)except() is already part of
glibc, and I would like to avoid gratuitous differences. The only
major flaw in the glibc API is that there's no good way to report
errors on processors that don't support all the unmasked exceptions.
Notes:
svn path=/head/; revision=143708
|
|
|
|
|
|
|
| |
double's mantissa.
Notes:
svn path=/head/; revision=143208
|
|
|
|
| |
Notes:
svn path=/head/; revision=141281
|
|
|
|
|
|
|
|
|
|
| |
C90, and other arcana. Most of these features were never fully
supported or enabled by default.
Ok: bde, stefanf
Notes:
svn path=/head/; revision=141280
|
|
|
|
| |
Notes:
svn path=/head/; revision=140275
|
|
|
|
|
|
|
|
|
|
| |
registers as volatile. Instructions that *wrote* to FP state were
already marked volatile, but apparently gcc has license to move
non-volatile asms past volatile asms. This broke amd64's feupdateenv
at -O2 due to a WAR conflict between fnstsw and fldenv there.
Notes:
svn path=/head/; revision=140219
|
|
|
|
|
|
|
|
| |
the only way to convince gcc that they read the MXCSR. The volatile
annotation may be needed elsewhere as well.
Notes:
svn path=/head/; revision=140085
|
|
|
|
|
|
|
| |
the exception flags in the mxcsr as well as the x87 FPU.
Notes:
svn path=/head/; revision=130328
|
|
Reviewed by: standards@
Notes:
svn path=/head/; revision=130142
|