From owner-cvs-etc Mon Mar 20 22:06:00 1995 Return-Path: cvs-etc-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id WAA00421 for cvs-etc-outgoing; Mon, 20 Mar 1995 22:06:00 -0800 Received: from time.cdrom.com (time.cdrom.com [192.216.223.46]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id WAA00415; Mon, 20 Mar 1995 22:05:58 -0800 Received: from precipice.Shockwave.COM (precipice.shockwave.com [171.69.108.33]) by time.cdrom.com (8.6.11/8.6.9) with ESMTP id WAA15780; Mon, 20 Mar 1995 22:05:51 -0800 Received: from localhost (localhost [127.0.0.1]) by precipice.Shockwave.COM (8.6.11/8.6.9) with SMTP id WAA06714; Mon, 20 Mar 1995 22:03:31 -0800 Message-Id: <199503210603.WAA06714@precipice.Shockwave.COM> To: Poul-Henning Kamp cc: bde@zeta.org.au (Bruce Evans), rgrimes@gndrsh.aac.dev.com, CVS-commiters@time.cdrom.com, cvs-etc@time.cdrom.com, jkh@freebsd.org Subject: Re: cvs commit: src/etc make.conf In-reply-to: Your message of "Mon, 20 Mar 1995 21:54:29 PST." <199503210554.VAA29561@ref.tfs.com> Date: Mon, 20 Mar 1995 22:03:31 -0800 From: Paul Traina Sender: cvs-etc-owner@freebsd.org Precedence: bulk From: Poul-Henning Kamp Subject: Re: cvs commit: src/etc make.conf > It's hardly worth the trouble of fixing this. msun should become libm. > If you want to support the old library then everything should be > renamed: > > msun -> libm > libm -> libmould (sic) No. I don't care if libm is called msun from now till the national deficit is paid. This is pointless, and it would screw up the cvs-tree. > We also need dynamic support for the i387 functions. -DHAVE_FPU is no > good because it can't be used for the distribution libraries. Something > like > > if (_have_i387) > result = _i387_pow(x, y); > else > result = __ieee754_pow(x, y); > > would add less time overhead than shared linkage. The extra test on every operation is bad. Xonsider the following fragment or high-speed linkages with shared libraries instead (I don't know how fast or slow shared linkages are): static vec_pow = pow_init; pow (base, exp) { return (*vec_pow)(base, exp); } pow_init (base, exp) { vec_pow = _have_i387 ? _i387_pow(base, exp) : __ieee754_pow(base,exp); return (*vec_pow)(base, exp); }