develooper Front page | perl.perl5.porters | Postings from March 2003

Re: [PATCH] glibc _moddi3

Thread Previous | Thread Next
From:
Tels
Date:
March 2, 2003 09:45
Subject:
Re: [PATCH] glibc _moddi3
Message ID:
perl.perl5.porters-72645@nntp.perl.org
-----BEGIN PGP SIGNED MESSAGE-----

Moin,

On 02-Mar-03 Jarkko Hietaniemi carved into stone:
> On Sun, Mar 02, 2003 at 06:32:08PM +0100, Tels wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> 
>> Moin,
>> 
>> On 02-Mar-03 Jarkko Hietaniemi carved into stone:
>> > Awwwright.  Maybe I give in and implement Configure scan for llabs().
>> > (And then use that for the Abs() macro if HAS_LLABS && IVSIZE == 8 &&
>> > QUADKIND == QUAD_IS_LONG_LONG).
>> 
>> My question was: is abs() or llabs() ever used or is this optimized away
>> in
>> any case anyway?
> 
> I dunno how gcc decides to optimise the few uses of abs() in the sources.

gcc -O3 optimizes it away to "compare and negate if negativ".

Cheers,

Tels

- -- 
 Signed on Sun Mar  2 18:45:05 2003 with http://bloodgate.com/tels.asc

 perl -MDev::Bollocks -le'print Dev::Bollocks->rand()'
 adaptively industrialize customized infrastructures

 http://www.notcpa.org/          You have the freedom to run any code. Yet.
 http://bloodgate.com/perl       My current Perl projects

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: When cryptography is outlawed, bayl bhgynjf jvyy unir cevinpl.

iQEVAwUBPmJDKHcLPEOTuEwVAQGKYwf/QPLchq6hMsOPMPkV6BAk7t3qC7zoKvVr
cfNAlbzK47o22xU97STmxcEy0tX3rLBaEn+j7FW539X4VKcCUZHujrJ2eROX6IXP
05grOGYSSD6HkEqNztvHJRjL8dfq7rHAhUXTZ3aLAaNbSPxhkpkS+ImACna8nSzO
ihnwtI2fCWKGZ0SrcNvtULK/Pityi/d0dzZUBy7TH2w2dhPWw/aqWQGR6FHGk8AX
2/2EGaFq4pizlEjgxM/5xe4eoewLwn2BNiXTReUv27eSV0ITVb1INyFPlVr87tu8
nv8aWlKG+mO1dKnjhqJBhOUZ5is1RU+e4ljJJqssdS4W70SNim27lQ==
=vHG1
-----END PGP SIGNATURE-----

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About