harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "George Timoshenko (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-3063) [drlvm][jit] ArrayCopyRepMove does not work on EM64T
Date Wed, 31 Jan 2007 10:30:05 GMT

     [ https://issues.apache.org/jira/browse/HARMONY-3063?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

George Timoshenko updated HARMONY-3063:
---------------------------------------

    Attachment: arraycopy_rep_move_em64t_enabling.patch

The patch was renewed. This fragment was appended:


Index: vm/jitrino/src/codegenerator/ia32/Ia32IRManager.cpp
===================================================================
--- vm/jitrino/src/codegenerator/ia32/Ia32IRManager.cpp (revision 500229)
+++ vm/jitrino/src/codegenerator/ia32/Ia32IRManager.cpp (working copy)
@@ -1752,9 +1752,9 @@
                         } else if (inst->getMnemonic() == Mnemonic_POP) {
                             stackDepth-=getByteSize(inst->getOpnd(it)->getSize());
                         } else if (inst->getMnemonic() == Mnemonic_PUSHFD) {
-                            stackDepth+=4;
+                            stackDepth+=sizeof(POINTER_SIZE_INT);
                         } else if (inst->getMnemonic() == Mnemonic_POPFD) {
-                            stackDepth-=4;
+                            stackDepth-=sizeof(POINTER_SIZE_INT);
                         } else if (inst->getMnemonic() == Mnemonic_CALL && ((CallInst
*)inst)->getCallingConventionClient().getCallingConvention()->calleeRestoresStack())
{
                             stackDepth -= ((CallInst *)inst)->getArgStackDepth();
                         }


> [drlvm][jit] ArrayCopyRepMove does not work on EM64T
> ----------------------------------------------------
>
>                 Key: HARMONY-3063
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3063
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: EM64T
>            Reporter: George Timoshenko
>         Assigned To: Alexey Varlamov
>         Attachments: arraycopy_rep_move_em64t_enabling.patch, arraycopy_rep_move_em64t_enabling.patch,
arraycopy_rep_move_em64t_enabling.patch
>
>
> The optimisation crashes on EM64T. In particular SPECjbb2005 fils with enabled genArrayCopyRepMove
switch.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message