Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 54371 invoked from network); 8 Nov 2007 11:18:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Nov 2007 11:18:11 -0000 Received: (qmail 97601 invoked by uid 500); 8 Nov 2007 11:17:59 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 97508 invoked by uid 500); 8 Nov 2007 11:17:59 -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 97494 invoked by uid 99); 8 Nov 2007 11:17:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Nov 2007 03:17:59 -0800 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; Thu, 08 Nov 2007 11:18:10 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id A28B771422E for ; Thu, 8 Nov 2007 03:17:50 -0800 (PST) Message-ID: <14376019.1194520670630.JavaMail.jira@brutus> Date: Thu, 8 Nov 2007 03:17:50 -0800 (PST) From: "Alexey Varlamov (JIRA)" To: commits@harmony.apache.org Subject: [jira] Commented: (HARMONY-4621) [drlvm][jit] Stack misalignment when using SSE instructions In-Reply-To: <4182933.1186924423470.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-4621?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12541026 ] Alexey Varlamov commented on HARMONY-4621: ------------------------------------------ Oh, another king-size patch. Generally looks good, I only spotted mistyped define in jit_runtime_support_common.h: #define STACK_ALIGN4 (0x00000008) BTW, related defines are duplicated thrice, in both JITs and in VM stubs. Moreover, seems there appears conceptual binding, i.e. alignment should be coherent in VM and JIT. Indeed this may worth explicit and more articulated interface, need to think about this? > [drlvm][jit] Stack misalignment when using SSE instructions > ----------------------------------------------------------- > > Key: HARMONY-4621 > URL: https://issues.apache.org/jira/browse/HARMONY-4621 > Project: Harmony > Issue Type: Improvement > Components: DRLVM > Reporter: Naumova Natalya > Assignee: Alexey Varlamov > Attachments: stackalign_part1.patch > > > This issue is related with stack misalignment: data must be 16-bytes aligned when loading and storing on 128bit xmm registers, it increases the performance of SSE usage. Now we have misalign local variables, and stack register (esp). Then we have a penalty from using xmm registers. Can we do some optimization for better SSE using, e.g. 16-bytes allignment of esp and all local variables? -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.