Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:26434 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 20741 invoked by uid 1010); 9 Nov 2006 16:56:57 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 20726 invoked from network); 9 Nov 2006 16:56:57 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 9 Nov 2006 16:56:57 -0000 Authentication-Results: pb1.pair.com header.from=iliaal@gmail.com; sender-id=pass; domainkeys=good Authentication-Results: pb1.pair.com smtp.mail=iliaal@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 64.233.162.198 as permitted sender) DomainKey-Status: good X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: iliaal@gmail.com X-Host-Fingerprint: 64.233.162.198 nz-out-0102.google.com Linux 2.4/2.6 Received: from [64.233.162.198] ([64.233.162.198:60493] helo=nz-out-0102.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 6B/90-12290-4DD53554 for ; Thu, 09 Nov 2006 11:56:54 -0500 Received: by nz-out-0102.google.com with SMTP id o37so203583nzf for ; Thu, 09 Nov 2006 08:56:50 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:in-reply-to:references:mime-version:x-priority:content-type:message-id:cc:content-transfer-encoding:from:subject:date:to:x-mailer:sender; b=dann5cV0YHRg1tj9AluwBuhzFVfj1O4ERS0NY/2D4k1dbidvP5i+KYdAmVhIMSk/zzVJSmYIaYdJLf52WoESthDAI4S2zIzkTkEyyR8wYYVfGwqnLd5ZwX7bgS+g6VeCgIoHLeiu2i8C5zySeNFu1ghHkYNqFa1JdDp09TvnTjg= Received: by 10.65.240.5 with SMTP id s5mr1573386qbr.1163091410100; Thu, 09 Nov 2006 08:56:50 -0800 (PST) Received: from ?192.168.1.6? ( [74.108.69.82]) by mx.google.com with ESMTP id q19sm947695qbq.2006.11.09.08.56.49; Thu, 09 Nov 2006 08:56:49 -0800 (PST) In-Reply-To: <008601c703ba$0a9f4940$0201a8c0@pc1> References: <008601c703ba$0a9f4940$0201a8c0@pc1> Mime-Version: 1.0 (Apple Message framework v752.3) X-Priority: 3 Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-ID: Cc: Content-Transfer-Encoding: 7bit Date: Thu, 9 Nov 2006 11:56:40 -0500 To: Matt Wilmas X-Mailer: Apple Mail (2.752.3) Sender: Ilia Alshanetsky Subject: Re: [PHP-DEV] Optimization for ..._MULTIPLY_LONG on more systems From: ilia@prohost.org (Ilia Alshanetsky) Matt, Looks like a good patch to me. On 8-Nov-06, at 11:46 PM, Matt Wilmas wrote: > Hi, > > Here's an additional ZEND_SIGNED_MULTIPLY_LONG() for platforms with > 32-bit > longs that don't use the assembly version (so all Windows systems at > least?). On my Windows system, mul_function() is 40% faster with this > version (no overflow), which makes PHP's * operator 20% faster; with > overflow mul_function() is 20% faster (though I don't see any > difference > with the * operator). The macro is also used in safe_emalloc()... > > Patch just against 5_2 as the file versions are the only difference. > > > Matt > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php Ilia Alshanetsky