Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 72007 invoked from network); 22 Nov 2006 12:59:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 22 Nov 2006 12:59:27 -0000 Received: (qmail 77517 invoked by uid 500); 22 Nov 2006 12:59:36 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 77497 invoked by uid 500); 22 Nov 2006 12:59:36 -0000 Mailing-List: contact commits-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list commits@harmony.apache.org Received: (qmail 77488 invoked by uid 99); 22 Nov 2006 12:59:36 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Nov 2006 04:59:36 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Nov 2006 04:59:23 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 4FAA17142C1 for ; Wed, 22 Nov 2006 04:59:03 -0800 (PST) Message-ID: <28368886.1164200343323.JavaMail.jira@brutus> Date: Wed, 22 Nov 2006 04:59:03 -0800 (PST) From: "Alex Astapchuk (JIRA)" To: commits@harmony.apache.org Subject: [jira] Updated: (HARMONY-2223) [drlvm][jit][performance]Inlined int64 arithmetic routines - speedup of 64 arithmetics MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ http://issues.apache.org/jira/browse/HARMONY-2223?page=all ] Alex Astapchuk updated HARMONY-2223: ------------------------------------ Attachment: jitrino_codegen.patch Everything's ok, restoring the patch. > [drlvm][jit][performance]Inlined int64 arithmetic routines - speedup of 64 arithmetics > -------------------------------------------------------------------------------------- > > Key: HARMONY-2223 > URL: http://issues.apache.org/jira/browse/HARMONY-2223 > Project: Harmony > Issue Type: Improvement > Components: DRLVM > Reporter: Alex Astapchuk > Attachments: jitrino_codegen.patch, jitrino_codegen.patch, jitrino_codegen.patch, test_longmuldiv_speed.class, test_longmuldiv_speed.java, vm_port_encoder.patch, vm_port_encoder.patch, vm_port_encoder.patch > > > The attached 2 patches contain IA-32 codegenerator fixes that generate inlined long 64 bit arithmetics > code instead of currently used internal or VM helper. > One of the patches contains Encoder fixes and new instructions (so the whole VM must be rebuild), and the > second one exploits them in Jitrino CG. > The proposed code generates routines for 64bit multiplications, division and remainder. > The attached test case shows nearly 20% speedup with the fix. > I got from 2954ms to 2344ms on WinXP/Pentium4 on the provided test. > YMMV: this is a microbenchmark, and results on real apps may vary depending on workload. > Please, run the test as follows: > ===== run_measure.sh ===== > #!/bin/bash > NOINLINE_ARGS="-Djit.arg.inline_mul64=false -Djit.arg.inline_mul64_checks=false -Djit.arg.inline_div64=false -Djit.arg.inline_rem64=false" > echo "*** No inlining" > java ${NOINLINE_ARGS} test_longmuldiv_speed > echo "*** With inlining" > java test_longmuldiv_speed > ========================== -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira