Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 4623 invoked from network); 2 May 2007 04:59:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 May 2007 04:59:36 -0000 Received: (qmail 47457 invoked by uid 500); 2 May 2007 04:59:42 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 47378 invoked by uid 500); 2 May 2007 04:59:42 -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 47369 invoked by uid 99); 2 May 2007 04:59:42 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 May 2007 21:59:42 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED 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; Tue, 01 May 2007 21:59:35 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 7AEE1714062 for ; Tue, 1 May 2007 21:59:15 -0700 (PDT) Message-ID: <24540304.1178081955501.JavaMail.jira@brutus> Date: Tue, 1 May 2007 21:59:15 -0700 (PDT) From: "Pavel Ozhdikhin (JIRA)" To: commits@harmony.apache.org Subject: [jira] Updated: (HARMONY-1788) [drlvm][jit][abcd] Inequality graph generation from HIR MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HARMONY-1788?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Pavel Ozhdikhin updated HARMONY-1788: ------------------------------------- Attachment: assert_logs.zip Attached the compilation log and dot files for classic_abcd pass just before the assert failed. > [drlvm][jit][abcd] Inequality graph generation from HIR > ------------------------------------------------------- > > Key: HARMONY-1788 > URL: https://issues.apache.org/jira/browse/HARMONY-1788 > Project: Harmony > Issue Type: New Feature > Components: DRLVM > Environment: all > Reporter: Egor Pasko > Attachments: abcd_update_1.patch, abcd_update_1_full.patch, assert_logs.zip, enable-inequality-graph-building.patch.txt, full_abcd_updated_20070425.diff, vm.zip > > > new files [vm.zip]: > vm/jitrino/src/optimizer/abcd/AbcdFlags.h > vm/jitrino/src/optimizer/abcd/insertpi.cpp > vm/jitrino/src/optimizer/abcd/classic_abcd.h > vm/jitrino/src/optimizer/abcd/insertpi.h > vm/jitrino/src/optimizer/abcd/classic_abcd.cpp > vm/jitrino/config/ia32/abcd_static.emconf > This issue depends on HARMONY-1564. > Features: > * new optimization pass added (classic_abcd), off by default > * old optimization pass (abcd) is preserved to work with no change > (with bug fixed by Naveen in HARMONY-1564) > the fix should NOT visibly affect anyone (!!!) > * new EM config file for easier ABCD development (abcd_static.emconf) > (use java -Xem:abcd_static Hello) > * Pi instructions are now inserted by the separate class (InsertPi) > that is reused between both old and new ABCD algorithms > * Inequality graph can be printed to a .dot file on request. > Do it like this for method "main": > java -Xem:abcd_static -Djit.p.filter=.main -Djit.p.arg.log=ct,irdump,dotdump > and find inequality.graph.dot > ("dot -Tpng inequality.graph.dot > viewme.png") > * checked on gcc 3.3.3 Linux/ia32 > * HelloWorld passed in the new mode, does not affect other modes > * against r454400 > Instructions on how to apply both contributions. > Suppose you have all files in working_vm/abcd_update: > abcd.patch (Naveen, HARMONY-1564) > abcd-original.tar.gz (Egor, HARMONY-1564) > naveen_2.patch (Naveen, HARMONY-1564) > enable-inequality-graph-building.patch.txt > vm.zip > $ cd working_vm > $ patch -p0 $ tar zxvf abcd_update/abcd-original.tar.gz > $ patch -p0 <../abcd_update/naveen_2.patch > $ mv * ../vm/jitrino/src/optimizer/abcd/ > $ cd .. > $ rm -rf abcd-original/ > $ unzip abcd_update/vm.zip > $ patch -p1 What is left to do for the new ABCD: > * teach the optimization to invoke the solver > (detect array lengths, bounds checking operands) > * acquire not-a-small amount of tests > * fix bugs :) > * improve the algorithm supporting semantics of more more operations > such as Op_Conv, etc. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.