Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:65003 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 33180 invoked from network); 17 Jan 2013 13:51:52 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 17 Jan 2013 13:51:52 -0000 Authentication-Results: pb1.pair.com smtp.mail=ard.biesheuvel@linaro.org; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=ard.biesheuvel@linaro.org; sender-id=unknown Received-SPF: error (pb1.pair.com: domain linaro.org from 209.85.160.54 cause and error) X-PHP-List-Original-Sender: ard.biesheuvel@linaro.org X-Host-Fingerprint: 209.85.160.54 mail-pb0-f54.google.com Received: from [209.85.160.54] ([209.85.160.54:59807] helo=mail-pb0-f54.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 4E/D0-23329-7F108F05 for ; Thu, 17 Jan 2013 08:51:52 -0500 Received: by mail-pb0-f54.google.com with SMTP id wz12so1425283pbc.41 for ; Thu, 17 Jan 2013 05:51:49 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-received:date:message-id:subject:from:to :content-type:x-gm-message-state; bh=vCJ6qoAhphQSlaOxOWGEG/talWN56JeHqdOyKAiFOkE=; b=Aah9DlIVnCO8eLmJBokVIThBF1hSt+aT1OHgbSZlFkxJ4h3qLUvzDi+DeJTm3lxseT HfH706sCYYnMZ+296N6IaXPsOrBFMns/ynIXG61cmz6jrKq9OZOJc8wNpsNvRff3HgJP KdK4eaH6hfAqqaG7ytEggPnToa1TMhDQ0WPxoQYLfxaxOn/U/0J/FTWGiD6J7ge/CC6R ++8IR8hPugpJ92OV6eY5E/hyzOiuirOymtEOlA9DqnYXkrxvT8HJPhmNhBdtFAWnaaj5 NHRMUL0esa9ED/39UvezyN9/1rPjjTIGPLoq1eYJUCyrOhCjNtPoqRX7f6SW9l37V6YI obOg== MIME-Version: 1.0 X-Received: by 10.68.190.227 with SMTP id gt3mr13857744pbc.5.1358430709204; Thu, 17 Jan 2013 05:51:49 -0800 (PST) Received: by 10.68.59.100 with HTTP; Thu, 17 Jan 2013 05:51:49 -0800 (PST) Date: Thu, 17 Jan 2013 14:51:49 +0100 Message-ID: To: internals@lists.php.net Content-Type: multipart/mixed; boundary=e89a8ff1bf66dfc72304d37c4bf4 X-Gm-Message-State: ALoCoQlJj9cfO5jhYKGxCskDwkb+bMQ0L++b99oUkCQ/BAUFP1qrPux98W7wIShanji6fce1ZtnH Subject: Zend signed multiply for ARM From: ard.biesheuvel@linaro.org (Ard Biesheuvel) --e89a8ff1bf66dfc72304d37c4bf4 Content-Type: text/plain; charset=ISO-8859-1 Hello all, Some of the senior citizens in this community may remember me. I used to be involved in PHP development (and went to some conferences) in 2002-2005. I am now working for Linaro (www.linaro.org), trying to engineer the best LAMP stack possible for ARM servers (32 and 64 bit). I would like to contribute a patch to Zend/zend_multiply.h. I was already co-author of this code, and I would like to contribute ARM accelerated implementations for ZEND_SIGNED_MULTIPLY_LONG(). I have implemented them for both 32 and 64 bit, but the 64-bit one is especially important as it falls back to floating point calculations at the moment. I noticed a speed up of about 10% running Zend/bench.php for the 64-bit version. Patch is attached. Cheers, Ard. --e89a8ff1bf66dfc72304d37c4bf4--