harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mikhail Fursov (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-3257) [drlvm][em64t][win] VM's "invoke_managed_func/compile_get_compile_me_generic/m2n_gen_push_m2n" stubs are not EM64T ready.
Date Tue, 27 Feb 2007 15:53:05 GMT
[drlvm][em64t][win] VM's "invoke_managed_func/compile_get_compile_me_generic/m2n_gen_push_m2n"
stubs are not EM64T ready.
-------------------------------------------------------------------------------------------------------------------------

                 Key: HARMONY-3257
                 URL: https://issues.apache.org/jira/browse/HARMONY-3257
             Project: Harmony
          Issue Type: Bug
          Components: DRLVM
         Environment: Windows,EM64T
            Reporter: Mikhail Fursov


I tried to run simple tests with HARMONY-3196 patch applied on JET and found the following
problem:
before any method is compiled VM generates and executes these stubs:

invoke_managed_func : vm\vmcore\src\util\em64t\base\ini_em64t.cpp 
compile_get_compile_me_generic : vm\vmcore\src\util\em64t\base\compile_em64t.cpp 
m2n_gen_push_m2n: vm\port\src\lil\em64t\pim\m2n_em64t.cpp 

These stubs are not WIN64 EM64T ready.
For example the first stub uses 6 fake regs while on windows it must use only 4. On windows
stack args offset must be adjusted too.

I tried to fix the first stub but found errors in the next ones. 
Can any VM guru who wrote Linux EM64t integration review the stubs above for WIN64 compatbility
and fix them all?


+ If you have problems with jitrino.dll loading during startup try to do the following:
1) remove -Dvm.jitrino.cfg=release from build.bat
2) use my jitrino.xml (attached). This file is not indended to be included: win32 build can
be broken with it.


-- 
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