Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 41473 invoked from network); 9 Oct 2007 21:46:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 Oct 2007 21:46:41 -0000 Received: (qmail 75101 invoked by uid 500); 9 Oct 2007 21:46:29 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 75084 invoked by uid 500); 9 Oct 2007 21:46:29 -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 75075 invoked by uid 99); 9 Oct 2007 21:46:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Oct 2007 14:46:29 -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, 09 Oct 2007 21:46:40 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 976B57141FE for ; Tue, 9 Oct 2007 14:45:50 -0700 (PDT) Message-ID: <9357085.1191966350616.JavaMail.jira@brutus> Date: Tue, 9 Oct 2007 14:45:50 -0700 (PDT) From: "Aleksey Shipilev (JIRA)" To: commits@harmony.apache.org Subject: [jira] Commented: (HARMONY-4723) [drlvm][thread] hythread_self_helper wastes edx register on Linux/ia32 In-Reply-To: <6764796.1188816319736.JavaMail.jira@brutus> 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-4723?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12533523 ] Aleksey Shipilev commented on HARMONY-4723: ------------------------------------------- This is not the improvement, this is the bugfix. Method comment says that only eax must be preserved in this code, my patch changes the code to fulfill that requirement. This change makes helper usage to be correct on Linux, please see dependent issue for benchmark details. > [drlvm][thread] hythread_self_helper wastes edx register on Linux/ia32 > ---------------------------------------------------------------------- > > Key: HARMONY-4723 > URL: https://issues.apache.org/jira/browse/HARMONY-4723 > Project: Harmony > Issue Type: Bug > Components: DRLVM > Environment: Linux/ia32 > Reporter: Aleksey Shipilev > Attachments: HARMONY-4723.patch > > > Using gen_hythread_self_helper() from vm/vmcore/src/thread/helpers/thread_helpers_ia32.cpp wastes edx register on Linux/ia32. > Attached patch constraints register usage to eax only, that's how it going to be judging on method comment. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.