diff options
author | Attilio Rao <attilio@FreeBSD.org> | 2009-05-25 14:37:10 +0000 |
---|---|---|
committer | Attilio Rao <attilio@FreeBSD.org> | 2009-05-25 14:37:10 +0000 |
commit | 9235ed71993ec615fd4675e2b0e37afc1c346f48 (patch) | |
tree | 24ca73670f3ea12fd920051e3a590fb895db2b52 /lib/msun | |
parent | 5265bc60138160bd8ac706a89335a79167e5d4b4 (diff) | |
download | src-9235ed71993ec615fd4675e2b0e37afc1c346f48.tar.gz src-9235ed71993ec615fd4675e2b0e37afc1c346f48.zip |
Use, in uncovered part, the END() macro in order to improve debugging.
In this specific case, Valgrind won't get confused when analyzing such
functions.
Sponsored by: Sandvine Incorporated
Tested by: emaste
MFC: 3 days
Notes
Notes:
svn path=/head/; revision=192760
Diffstat (limited to 'lib/msun')
52 files changed, 52 insertions, 0 deletions
diff --git a/lib/msun/amd64/e_sqrt.S b/lib/msun/amd64/e_sqrt.S index f4b4f62b5ce0..41293204feaf 100644 --- a/lib/msun/amd64/e_sqrt.S +++ b/lib/msun/amd64/e_sqrt.S @@ -30,4 +30,5 @@ __FBSDID("$FreeBSD$") ENTRY(sqrt) sqrtsd %xmm0, %xmm0 ret +END(sqrt) diff --git a/lib/msun/amd64/e_sqrtf.S b/lib/msun/amd64/e_sqrtf.S index 25f4dfc5bf84..4dc2eb39ba05 100644 --- a/lib/msun/amd64/e_sqrtf.S +++ b/lib/msun/amd64/e_sqrtf.S @@ -30,3 +30,4 @@ __FBSDID("$FreeBSD$") ENTRY(sqrtf) sqrtss %xmm0, %xmm0 ret +END(sqrtf) diff --git a/lib/msun/amd64/s_lrint.S b/lib/msun/amd64/s_lrint.S index 9059a38f84de..975ab9e15d6b 100644 --- a/lib/msun/amd64/s_lrint.S +++ b/lib/msun/amd64/s_lrint.S @@ -34,3 +34,4 @@ __FBSDID("$FreeBSD$") ENTRY(fn) cvtsd2si %xmm0, %rax ret +END(fn) diff --git a/lib/msun/amd64/s_lrintf.S b/lib/msun/amd64/s_lrintf.S index cc27d208ae4a..f55126ceb60f 100644 --- a/lib/msun/amd64/s_lrintf.S +++ b/lib/msun/amd64/s_lrintf.S @@ -34,3 +34,4 @@ __FBSDID("$FreeBSD$") ENTRY(fn) cvtss2si %xmm0, %rax ret +END(fn) diff --git a/lib/msun/amd64/s_remquo.S b/lib/msun/amd64/s_remquo.S index eb113d718e86..6d821d9a9873 100644 --- a/lib/msun/amd64/s_remquo.S +++ b/lib/msun/amd64/s_remquo.S @@ -63,3 +63,4 @@ ENTRY(remquo) fstpl -8(%rsp) movsd -8(%rsp),%xmm0 ret +END(remquo) diff --git a/lib/msun/amd64/s_remquof.S b/lib/msun/amd64/s_remquof.S index 0833f5b984b5..24d728cc4101 100644 --- a/lib/msun/amd64/s_remquof.S +++ b/lib/msun/amd64/s_remquof.S @@ -63,3 +63,4 @@ ENTRY(remquof) fstps -4(%rsp) movss -4(%rsp),%xmm0 ret +END(remquof) diff --git a/lib/msun/amd64/s_scalbn.S b/lib/msun/amd64/s_scalbn.S index c9ac808b9b03..5275ba719ba8 100644 --- a/lib/msun/amd64/s_scalbn.S +++ b/lib/msun/amd64/s_scalbn.S @@ -37,3 +37,4 @@ ENTRY(scalbn) fstpl -8(%rsp) movsd -8(%rsp),%xmm0 ret +END(scalbn) diff --git a/lib/msun/amd64/s_scalbnf.S b/lib/msun/amd64/s_scalbnf.S index a9b9f803bdaf..2a794da7c802 100644 --- a/lib/msun/amd64/s_scalbnf.S +++ b/lib/msun/amd64/s_scalbnf.S @@ -37,6 +37,7 @@ ENTRY(scalbnf) fstps -8(%rsp) movss -8(%rsp),%xmm0 ret +END(scalbnf) .globl CNAME(ldexpf) .set CNAME(ldexpf),CNAME(scalbnf) diff --git a/lib/msun/amd64/s_scalbnl.S b/lib/msun/amd64/s_scalbnl.S index 8dfa810757af..95bbe9f08b30 100644 --- a/lib/msun/amd64/s_scalbnl.S +++ b/lib/msun/amd64/s_scalbnl.S @@ -14,6 +14,7 @@ ENTRY(scalbnl) fscale fstp %st(1) ret +END(scalbnl) .globl CNAME(ldexpl) .set CNAME(ldexpl),CNAME(scalbnl) diff --git a/lib/msun/i387/e_exp.S b/lib/msun/i387/e_exp.S index 9c8740700d36..7aeb0c314ec7 100644 --- a/lib/msun/i387/e_exp.S +++ b/lib/msun/i387/e_exp.S @@ -96,3 +96,4 @@ x_Inf_or_NaN: x_not_minus_Inf: fldl 4(%esp) ret +END(exp) diff --git a/lib/msun/i387/e_fmod.S b/lib/msun/i387/e_fmod.S index 71c4c3062ee5..ffa1300e6fe5 100644 --- a/lib/msun/i387/e_fmod.S +++ b/lib/msun/i387/e_fmod.S @@ -46,3 +46,4 @@ ENTRY(fmod) jp 1b fstp %st(1) ret +END(fmod) diff --git a/lib/msun/i387/e_log.S b/lib/msun/i387/e_log.S index 0d06940a670b..3fac5eed4982 100644 --- a/lib/msun/i387/e_log.S +++ b/lib/msun/i387/e_log.S @@ -42,3 +42,4 @@ ENTRY(log) fldl 4(%esp) fyl2x ret +END(log) diff --git a/lib/msun/i387/e_log10.S b/lib/msun/i387/e_log10.S index edc13ffb8bd2..2688fe921f96 100644 --- a/lib/msun/i387/e_log10.S +++ b/lib/msun/i387/e_log10.S @@ -42,3 +42,4 @@ ENTRY(log10) fldl 4(%esp) fyl2x ret +END(log10) diff --git a/lib/msun/i387/e_log10f.S b/lib/msun/i387/e_log10f.S index 44410bc2b8ec..3c3271f0bef3 100644 --- a/lib/msun/i387/e_log10f.S +++ b/lib/msun/i387/e_log10f.S @@ -13,3 +13,4 @@ ENTRY(log10f) flds 4(%esp) fyl2x ret +END(log10f) diff --git a/lib/msun/i387/e_remainder.S b/lib/msun/i387/e_remainder.S index ff2f1426ec14..b8a5409506f4 100644 --- a/lib/msun/i387/e_remainder.S +++ b/lib/msun/i387/e_remainder.S @@ -46,3 +46,4 @@ ENTRY(remainder) jp 1b fstp %st(1) ret +END(remainder) diff --git a/lib/msun/i387/e_remainderf.S b/lib/msun/i387/e_remainderf.S index 4093c8a289b5..9d760d54e73d 100644 --- a/lib/msun/i387/e_remainderf.S +++ b/lib/msun/i387/e_remainderf.S @@ -17,3 +17,4 @@ ENTRY(remainderf) jp 1b fstp %st(1) ret +END(remainderf) diff --git a/lib/msun/i387/e_sqrt.S b/lib/msun/i387/e_sqrt.S index 554beb706eb1..1c1bf6b33b43 100644 --- a/lib/msun/i387/e_sqrt.S +++ b/lib/msun/i387/e_sqrt.S @@ -41,3 +41,4 @@ ENTRY(sqrt) fldl 4(%esp) fsqrt ret +END(sqrt) diff --git a/lib/msun/i387/e_sqrtf.S b/lib/msun/i387/e_sqrtf.S index 9d78725030cd..dbb64f687a4d 100644 --- a/lib/msun/i387/e_sqrtf.S +++ b/lib/msun/i387/e_sqrtf.S @@ -12,3 +12,4 @@ ENTRY(sqrtf) flds 4(%esp) fsqrt ret +END(sqrtf) diff --git a/lib/msun/i387/s_ceil.S b/lib/msun/i387/s_ceil.S index e805d8524bb9..32fcf9ce634c 100644 --- a/lib/msun/i387/s_ceil.S +++ b/lib/msun/i387/s_ceil.S @@ -56,3 +56,4 @@ ENTRY(ceil) leave ret +END(ceil) diff --git a/lib/msun/i387/s_ceilf.S b/lib/msun/i387/s_ceilf.S index 473d30951d2b..846028f6e37d 100644 --- a/lib/msun/i387/s_ceilf.S +++ b/lib/msun/i387/s_ceilf.S @@ -27,3 +27,4 @@ ENTRY(ceilf) leave ret +END(ceilf) diff --git a/lib/msun/i387/s_ceill.S b/lib/msun/i387/s_ceill.S index ae64abfecaf8..9466a3ebe09f 100644 --- a/lib/msun/i387/s_ceill.S +++ b/lib/msun/i387/s_ceill.S @@ -25,3 +25,4 @@ ENTRY(ceill) leave ret +END(ceill) diff --git a/lib/msun/i387/s_copysign.S b/lib/msun/i387/s_copysign.S index ec28b452bfa7..4842c532867e 100644 --- a/lib/msun/i387/s_copysign.S +++ b/lib/msun/i387/s_copysign.S @@ -46,3 +46,4 @@ ENTRY(copysign) movl %eax,8(%esp) fldl 4(%esp) ret +END(copysign) diff --git a/lib/msun/i387/s_copysignf.S b/lib/msun/i387/s_copysignf.S index e78ad24b71d3..0be7a6560870 100644 --- a/lib/msun/i387/s_copysignf.S +++ b/lib/msun/i387/s_copysignf.S @@ -17,3 +17,4 @@ ENTRY(copysignf) movl %eax,4(%esp) flds 4(%esp) ret +END(copysignf) diff --git a/lib/msun/i387/s_copysignl.S b/lib/msun/i387/s_copysignl.S index 7878591d387e..5256628e0032 100644 --- a/lib/msun/i387/s_copysignl.S +++ b/lib/msun/i387/s_copysignl.S @@ -15,3 +15,4 @@ ENTRY(copysignl) movl %eax,12(%esp) fldt 4(%esp) ret +END(copysignl) diff --git a/lib/msun/i387/s_cos.S b/lib/msun/i387/s_cos.S index a73ba0621229..900a987ff8d6 100644 --- a/lib/msun/i387/s_cos.S +++ b/lib/msun/i387/s_cos.S @@ -54,3 +54,4 @@ ENTRY(cos) fstp %st(1) fcos ret +END(cos) diff --git a/lib/msun/i387/s_finite.S b/lib/msun/i387/s_finite.S index b27b7d1149df..a2e407f4a3f9 100644 --- a/lib/msun/i387/s_finite.S +++ b/lib/msun/i387/s_finite.S @@ -44,3 +44,4 @@ ENTRY(finite) setneb %al andl $0x000000ff, %eax ret +END(finite) diff --git a/lib/msun/i387/s_floor.S b/lib/msun/i387/s_floor.S index 66c1d9f9d0f5..005f873578cd 100644 --- a/lib/msun/i387/s_floor.S +++ b/lib/msun/i387/s_floor.S @@ -56,3 +56,4 @@ ENTRY(floor) leave ret +END(floor) diff --git a/lib/msun/i387/s_floorf.S b/lib/msun/i387/s_floorf.S index f1000fef7659..14d3b85d2a53 100644 --- a/lib/msun/i387/s_floorf.S +++ b/lib/msun/i387/s_floorf.S @@ -27,3 +27,4 @@ ENTRY(floorf) leave ret +END(floorf) diff --git a/lib/msun/i387/s_floorl.S b/lib/msun/i387/s_floorl.S index a0bb048e4a7d..bec03a7a3e49 100644 --- a/lib/msun/i387/s_floorl.S +++ b/lib/msun/i387/s_floorl.S @@ -25,3 +25,4 @@ ENTRY(floorl) leave ret +END(floorl) diff --git a/lib/msun/i387/s_llrint.S b/lib/msun/i387/s_llrint.S index 1b8a63826679..2bf1342a0a0a 100644 --- a/lib/msun/i387/s_llrint.S +++ b/lib/msun/i387/s_llrint.S @@ -34,3 +34,4 @@ ENTRY(llrint) popl %eax popl %edx ret +END(llrint) diff --git a/lib/msun/i387/s_llrintf.S b/lib/msun/i387/s_llrintf.S index 4f398b6dd1b8..465e4079f07d 100644 --- a/lib/msun/i387/s_llrintf.S +++ b/lib/msun/i387/s_llrintf.S @@ -34,3 +34,4 @@ ENTRY(llrintf) popl %eax popl %edx ret +END(llrintf) diff --git a/lib/msun/i387/s_logb.S b/lib/msun/i387/s_logb.S index 9e09f840c40c..7156f952a33d 100644 --- a/lib/msun/i387/s_logb.S +++ b/lib/msun/i387/s_logb.S @@ -42,3 +42,4 @@ ENTRY(logb) fxtract fstp %st ret +END(logb) diff --git a/lib/msun/i387/s_logbf.S b/lib/msun/i387/s_logbf.S index 4cfa02b86f7d..ddd5eba8cc62 100644 --- a/lib/msun/i387/s_logbf.S +++ b/lib/msun/i387/s_logbf.S @@ -13,3 +13,4 @@ ENTRY(logbf) fxtract fstp %st ret +END(logbf) diff --git a/lib/msun/i387/s_lrint.S b/lib/msun/i387/s_lrint.S index 82269c884d53..10db3333033d 100644 --- a/lib/msun/i387/s_lrint.S +++ b/lib/msun/i387/s_lrint.S @@ -33,3 +33,4 @@ ENTRY(lrint) fistpl (%esp) popl %eax ret +END(lrint) diff --git a/lib/msun/i387/s_lrintf.S b/lib/msun/i387/s_lrintf.S index b9915fa5d071..ee97206f99e4 100644 --- a/lib/msun/i387/s_lrintf.S +++ b/lib/msun/i387/s_lrintf.S @@ -33,3 +33,4 @@ ENTRY(lrintf) fistpl (%esp) popl %eax ret +END(lrintf) diff --git a/lib/msun/i387/s_remquo.S b/lib/msun/i387/s_remquo.S index fd8af5ef8b3c..b71dd6f0b525 100644 --- a/lib/msun/i387/s_remquo.S +++ b/lib/msun/i387/s_remquo.S @@ -60,3 +60,4 @@ ENTRY(remquo) movl 20(%esp),%ecx movl %eax,(%ecx) ret +END(remquo) diff --git a/lib/msun/i387/s_remquof.S b/lib/msun/i387/s_remquof.S index 70a43f4b4b39..c0b37fc6ce61 100644 --- a/lib/msun/i387/s_remquof.S +++ b/lib/msun/i387/s_remquof.S @@ -60,3 +60,4 @@ ENTRY(remquof) movl 12(%esp),%ecx movl %eax,(%ecx) ret +END(remquof) diff --git a/lib/msun/i387/s_rint.S b/lib/msun/i387/s_rint.S index 79da080d7110..70532e7fd3bf 100644 --- a/lib/msun/i387/s_rint.S +++ b/lib/msun/i387/s_rint.S @@ -41,3 +41,4 @@ ENTRY(rint) fldl 4(%esp) frndint ret +END(rint) diff --git a/lib/msun/i387/s_rintf.S b/lib/msun/i387/s_rintf.S index 646dcb516cee..2f175200d945 100644 --- a/lib/msun/i387/s_rintf.S +++ b/lib/msun/i387/s_rintf.S @@ -12,3 +12,4 @@ ENTRY(rintf) flds 4(%esp) frndint ret +END(rintf) diff --git a/lib/msun/i387/s_scalbn.S b/lib/msun/i387/s_scalbn.S index c00e1fb137e0..5e87159cc436 100644 --- a/lib/msun/i387/s_scalbn.S +++ b/lib/msun/i387/s_scalbn.S @@ -43,3 +43,4 @@ ENTRY(scalbn) fscale fstp %st(1) ret +END(scalbn) diff --git a/lib/msun/i387/s_scalbnf.S b/lib/msun/i387/s_scalbnf.S index 3c84749b6c42..df21521520e1 100644 --- a/lib/msun/i387/s_scalbnf.S +++ b/lib/msun/i387/s_scalbnf.S @@ -14,6 +14,7 @@ ENTRY(scalbnf) fscale fstp %st(1) /* bug fix for fp stack overflow */ ret +END(scalbnf) .globl CNAME(ldexpf) .set CNAME(ldexpf),CNAME(scalbnf) diff --git a/lib/msun/i387/s_scalbnl.S b/lib/msun/i387/s_scalbnl.S index c166326b6d16..4ac6877c891a 100644 --- a/lib/msun/i387/s_scalbnl.S +++ b/lib/msun/i387/s_scalbnl.S @@ -14,6 +14,7 @@ ENTRY(scalbnl) fscale fstp %st(1) ret +END(scalbnl) .globl CNAME(ldexpl) .set CNAME(ldexpl),CNAME(scalbnl) diff --git a/lib/msun/i387/s_significand.S b/lib/msun/i387/s_significand.S index 13f1f3e76282..1427924e5e8b 100644 --- a/lib/msun/i387/s_significand.S +++ b/lib/msun/i387/s_significand.S @@ -42,3 +42,4 @@ ENTRY(significand) fxtract fstp %st(1) ret +END(significand) diff --git a/lib/msun/i387/s_significandf.S b/lib/msun/i387/s_significandf.S index 99299814353b..e8f8b9ad8b9a 100644 --- a/lib/msun/i387/s_significandf.S +++ b/lib/msun/i387/s_significandf.S @@ -13,3 +13,4 @@ ENTRY(significandf) fxtract fstp %st(1) ret +END(significandf) diff --git a/lib/msun/i387/s_sin.S b/lib/msun/i387/s_sin.S index d152352abf2f..250327e90614 100644 --- a/lib/msun/i387/s_sin.S +++ b/lib/msun/i387/s_sin.S @@ -54,3 +54,4 @@ ENTRY(sin) fstp %st(1) fsin ret +END(sin) diff --git a/lib/msun/i387/s_tan.S b/lib/msun/i387/s_tan.S index d0cbc0aabd97..e6fc90ab9582 100644 --- a/lib/msun/i387/s_tan.S +++ b/lib/msun/i387/s_tan.S @@ -56,3 +56,4 @@ ENTRY(tan) fptan fstp %st(0) ret +END(tan) diff --git a/lib/msun/i387/s_trunc.S b/lib/msun/i387/s_trunc.S index 91926d7373c4..ac16e696d064 100644 --- a/lib/msun/i387/s_trunc.S +++ b/lib/msun/i387/s_trunc.S @@ -24,3 +24,4 @@ ENTRY(trunc) leave ret +END(trunc) diff --git a/lib/msun/i387/s_truncf.S b/lib/msun/i387/s_truncf.S index 000136738dfc..ccc84ae02fae 100644 --- a/lib/msun/i387/s_truncf.S +++ b/lib/msun/i387/s_truncf.S @@ -24,3 +24,4 @@ ENTRY(truncf) leave ret +END(truncf) diff --git a/lib/msun/i387/s_truncl.S b/lib/msun/i387/s_truncl.S index b20b06ebcfc4..abbca8f80a81 100644 --- a/lib/msun/i387/s_truncl.S +++ b/lib/msun/i387/s_truncl.S @@ -24,3 +24,4 @@ ENTRY(truncl) leave ret +END(truncl) diff --git a/lib/msun/ia64/s_fma.S b/lib/msun/ia64/s_fma.S index 3e693592fce8..3fed3868bbe1 100644 --- a/lib/msun/ia64/s_fma.S +++ b/lib/msun/ia64/s_fma.S @@ -32,3 +32,4 @@ ENTRY(fma, 3) fma.d f8 = f8, f9, f10 br.ret.sptk b0 } +END(fma) diff --git a/lib/msun/ia64/s_fmaf.S b/lib/msun/ia64/s_fmaf.S index 1e122bb525eb..c12fb03e87ed 100644 --- a/lib/msun/ia64/s_fmaf.S +++ b/lib/msun/ia64/s_fmaf.S @@ -32,3 +32,4 @@ ENTRY(fmaf, 3) fma.s f8 = f8, f9, f10 br.ret.sptk b0 } +END(fmaf) diff --git a/lib/msun/ia64/s_fmal.S b/lib/msun/ia64/s_fmal.S index c24a1dee62a0..4ae01cc00cac 100644 --- a/lib/msun/ia64/s_fmal.S +++ b/lib/msun/ia64/s_fmal.S @@ -32,3 +32,4 @@ ENTRY(fmal, 3) fma f8 = f8, f9, f10 br.ret.sptk b0 } +END(fmal) |