You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Nikolay Sidelnikov (JIRA)" <ji...@apache.org> on 2007/02/27 11:31:05 UTC

[jira] Created: (HARMONY-3246) [drlvm][jit][opt] Jitted code can not be executed on non-SSE2 platforms

[drlvm][jit][opt] Jitted code can not be executed on non-SSE2 platforms
-----------------------------------------------------------------------

                 Key: HARMONY-3246
                 URL: https://issues.apache.org/jira/browse/HARMONY-3246
             Project: Harmony
          Issue Type: Improvement
          Components: DRLVM
            Reporter: Nikolay Sidelnikov


Jitrino generates code with SSE and SSE2 instructions which can not be executed on processors older than Pentium 4.

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


[jira] Updated: (HARMONY-3246) [drlvm][jit][opt] Jitted code can not be executed on non-SSE2 platforms

Posted by "Nikolay Sidelnikov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-3246?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nikolay Sidelnikov updated HARMONY-3246:
----------------------------------------

    Attachment: p5_fixed.patch

New patch was attached.
Some problems were fixed (FISTTP instruction was replaced, CMOVcc replacing was fixed, compilation warnings were removed)

> [drlvm][jit][opt] Jitted code can not be executed on non-SSE2 platforms
> -----------------------------------------------------------------------
>
>                 Key: HARMONY-3246
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3246
>             Project: Harmony
>          Issue Type: Improvement
>          Components: DRLVM
>            Reporter: Nikolay Sidelnikov
>         Attachments: p5_fixed.patch
>
>
> Jitrino generates code with SSE and SSE2 instructions which can not be executed on processors older than Pentium 4.

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


[jira] Commented: (HARMONY-3246) [drlvm][jit][opt] Jitted code can not be executed on non-SSE2 platforms

Posted by "Alexey Varlamov (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-3246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12490259 ] 

Alexey Varlamov commented on HARMONY-3246:
------------------------------------------

Nathan,
AFAIU OPT has only limited support for jvmti, so the error in your log might be expected result actually.
Try running tests with -Drun.all.tests=true to see if there are any other problems.

> [drlvm][jit][opt] Jitted code can not be executed on non-SSE2 platforms
> -----------------------------------------------------------------------
>
>                 Key: HARMONY-3246
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3246
>             Project: Harmony
>          Issue Type: Improvement
>          Components: DRLVM
>            Reporter: Nikolay Sidelnikov
>         Assigned To: Nathan Beyer
>         Attachments: p5_fixed_commented.patch, test-log.zip, update1.diff
>
>
> Jitrino generates code with SSE and SSE2 instructions which can not be executed on processors older than Pentium 4.

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


[jira] Updated: (HARMONY-3246) [drlvm][jit][opt] Jitted code can not be executed on non-SSE2 platforms

Posted by "Nathan Beyer (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-3246?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nathan Beyer updated HARMONY-3246:
----------------------------------

    Attachment: test-log.zip

The attachment 'test-log.zip' is the log from running "./build.sh test" on a Quad P3 running Ubuntu(Linux).

> [drlvm][jit][opt] Jitted code can not be executed on non-SSE2 platforms
> -----------------------------------------------------------------------
>
>                 Key: HARMONY-3246
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3246
>             Project: Harmony
>          Issue Type: Improvement
>          Components: DRLVM
>            Reporter: Nikolay Sidelnikov
>         Assigned To: Nathan Beyer
>         Attachments: p5_fixed_commented.patch, test-log.zip, update1.diff
>
>
> Jitrino generates code with SSE and SSE2 instructions which can not be executed on processors older than Pentium 4.

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


[jira] Commented: (HARMONY-3246) [drlvm][jit][opt] Jitted code can not be executed on non-SSE2 platforms

Posted by "Nathan Beyer (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-3246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12490466 ] 

Nathan Beyer commented on HARMONY-3246:
---------------------------------------

Is everything else in the latest patch okay, then? I'm planning on committing it soon.

> [drlvm][jit][opt] Jitted code can not be executed on non-SSE2 platforms
> -----------------------------------------------------------------------
>
>                 Key: HARMONY-3246
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3246
>             Project: Harmony
>          Issue Type: Improvement
>          Components: DRLVM
>            Reporter: Nikolay Sidelnikov
>         Assigned To: Nathan Beyer
>         Attachments: p5_fixed_commented.patch, test-log.zip, update1.diff, update2.diff
>
>
> Jitrino generates code with SSE and SSE2 instructions which can not be executed on processors older than Pentium 4.

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


[jira] Commented: (HARMONY-3246) [drlvm][jit][opt] Jitted code can not be executed on non-SSE2 platforms

Posted by "Nathan Beyer (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-3246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12490120 ] 

Nathan Beyer commented on HARMONY-3246:
---------------------------------------

Would something like "i586" be more appropriate than P3/P5?

> [drlvm][jit][opt] Jitted code can not be executed on non-SSE2 platforms
> -----------------------------------------------------------------------
>
>                 Key: HARMONY-3246
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3246
>             Project: Harmony
>          Issue Type: Improvement
>          Components: DRLVM
>            Reporter: Nikolay Sidelnikov
>         Assigned To: Nathan Beyer
>         Attachments: p5_fixed_commented.patch, update1.diff
>
>
> Jitrino generates code with SSE and SSE2 instructions which can not be executed on processors older than Pentium 4.

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


[jira] Resolved: (HARMONY-3246) [drlvm][jit][opt] Jitted code can not be executed on non-SSE2 platforms

Posted by "Nathan Beyer (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-3246?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nathan Beyer resolved HARMONY-3246.
-----------------------------------

    Resolution: Fixed

I've committed the last patch. Please verify when you can.

Thanks.

> [drlvm][jit][opt] Jitted code can not be executed on non-SSE2 platforms
> -----------------------------------------------------------------------
>
>                 Key: HARMONY-3246
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3246
>             Project: Harmony
>          Issue Type: Improvement
>          Components: DRLVM
>            Reporter: Nikolay Sidelnikov
>         Assigned To: Nathan Beyer
>         Attachments: p5_fixed_commented.patch, test-log.zip, update1.diff, update2.diff
>
>
> Jitrino generates code with SSE and SSE2 instructions which can not be executed on processors older than Pentium 4.

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


[jira] Commented: (HARMONY-3246) [drlvm][jit][opt] Jitted code can not be executed on non-SSE2 platforms

Posted by "Nathan Beyer (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-3246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12487300 ] 

Nathan Beyer commented on HARMONY-3246:
---------------------------------------

I can test that these changes are passive on P4 platforms, but I can't test these changes on P3 platforms at all since there are lingering 'mfence' assembly instructions being inserted that prevent the VM from starting at all. It would seem that we need to eliminate those changes first before we can do this.

> [drlvm][jit][opt] Jitted code can not be executed on non-SSE2 platforms
> -----------------------------------------------------------------------
>
>                 Key: HARMONY-3246
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3246
>             Project: Harmony
>          Issue Type: Improvement
>          Components: DRLVM
>            Reporter: Nikolay Sidelnikov
>         Attachments: p5_fixed.patch
>
>
> Jitrino generates code with SSE and SSE2 instructions which can not be executed on processors older than Pentium 4.

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


[jira] Updated: (HARMONY-3246) [drlvm][jit][opt] Jitted code can not be executed on non-SSE2 platforms

Posted by "Nikolay Sidelnikov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-3246?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nikolay Sidelnikov updated HARMONY-3246:
----------------------------------------

    Attachment:     (was: p5.diff)

> [drlvm][jit][opt] Jitted code can not be executed on non-SSE2 platforms
> -----------------------------------------------------------------------
>
>                 Key: HARMONY-3246
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3246
>             Project: Harmony
>          Issue Type: Improvement
>          Components: DRLVM
>            Reporter: Nikolay Sidelnikov
>         Attachments: p5_fixed.patch
>
>
> Jitrino generates code with SSE and SSE2 instructions which can not be executed on processors older than Pentium 4.

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


[jira] Commented: (HARMONY-3246) [drlvm][jit][opt] Jitted code can not be executed on non-SSE2 platforms

Posted by "Nathan Beyer (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-3246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12490200 ] 

Nathan Beyer commented on HARMONY-3246:
---------------------------------------

BTW - I uploaded the test log because the last patch is blowing up for me.

> [drlvm][jit][opt] Jitted code can not be executed on non-SSE2 platforms
> -----------------------------------------------------------------------
>
>                 Key: HARMONY-3246
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3246
>             Project: Harmony
>          Issue Type: Improvement
>          Components: DRLVM
>            Reporter: Nikolay Sidelnikov
>         Assigned To: Nathan Beyer
>         Attachments: p5_fixed_commented.patch, test-log.zip, update1.diff
>
>
> Jitrino generates code with SSE and SSE2 instructions which can not be executed on processors older than Pentium 4.

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


[jira] Commented: (HARMONY-3246) [drlvm][jit][opt] Jitted code can not be executed on non-SSE2 platforms

Posted by "Mikhail Fursov (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-3246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12490254 ] 

Mikhail Fursov commented on HARMONY-3246:
-----------------------------------------

I have a brief talk with Nikolay (he has no email access now) and he said that x87 is not completely correct because of his patch translates every SSE/SSE2 inst to pentium1 instruction set. So i586 looks the closest possible name and not as misleading as P5.

> [drlvm][jit][opt] Jitted code can not be executed on non-SSE2 platforms
> -----------------------------------------------------------------------
>
>                 Key: HARMONY-3246
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3246
>             Project: Harmony
>          Issue Type: Improvement
>          Components: DRLVM
>            Reporter: Nikolay Sidelnikov
>         Assigned To: Nathan Beyer
>         Attachments: p5_fixed_commented.patch, test-log.zip, update1.diff
>
>
> Jitrino generates code with SSE and SSE2 instructions which can not be executed on processors older than Pentium 4.

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


[jira] Commented: (HARMONY-3246) [drlvm][jit][opt] Jitted code can not be executed on non-SSE2 platforms

Posted by "Alexey Varlamov (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-3246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12490247 ] 

Alexey Varlamov commented on HARMONY-3246:
------------------------------------------

I thought of "d2x87 " or just "x87" - though "i586" would do as well.

> [drlvm][jit][opt] Jitted code can not be executed on non-SSE2 platforms
> -----------------------------------------------------------------------
>
>                 Key: HARMONY-3246
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3246
>             Project: Harmony
>          Issue Type: Improvement
>          Components: DRLVM
>            Reporter: Nikolay Sidelnikov
>         Assigned To: Nathan Beyer
>         Attachments: p5_fixed_commented.patch, test-log.zip, update1.diff
>
>
> Jitrino generates code with SSE and SSE2 instructions which can not be executed on processors older than Pentium 4.

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


[jira] Commented: (HARMONY-3246) [drlvm][jit][opt] Jitted code can not be executed on non-SSE2 platforms

Posted by "Nathan Beyer (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-3246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12489613 ] 

Nathan Beyer commented on HARMONY-3246:
---------------------------------------

Ignore the last comment. That should be fixed with this commit - http://svn.apache.org/viewvc?view=rev&rev=529880.

> [drlvm][jit][opt] Jitted code can not be executed on non-SSE2 platforms
> -----------------------------------------------------------------------
>
>                 Key: HARMONY-3246
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3246
>             Project: Harmony
>          Issue Type: Improvement
>          Components: DRLVM
>            Reporter: Nikolay Sidelnikov
>         Assigned To: Nathan Beyer
>         Attachments: p5_fixed_commented.patch
>
>
> Jitrino generates code with SSE and SSE2 instructions which can not be executed on processors older than Pentium 4.

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


[jira] Commented: (HARMONY-3246) [drlvm][jit][opt] Jitted code can not be executed on non-SSE2 platforms

Posted by "Mikhail Fursov (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-3246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12490461 ] 

Mikhail Fursov commented on HARMONY-3246:
-----------------------------------------

>There's a compile error (on GCC at least). It's minor, but I thought I'd let you know.
it was actually fixed in update1.diff. Looks likes update2.diff was based on the fix without this variable removed.

> [drlvm][jit][opt] Jitted code can not be executed on non-SSE2 platforms
> -----------------------------------------------------------------------
>
>                 Key: HARMONY-3246
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3246
>             Project: Harmony
>          Issue Type: Improvement
>          Components: DRLVM
>            Reporter: Nikolay Sidelnikov
>         Assigned To: Nathan Beyer
>         Attachments: p5_fixed_commented.patch, test-log.zip, update1.diff, update2.diff
>
>
> Jitrino generates code with SSE and SSE2 instructions which can not be executed on processors older than Pentium 4.

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


[jira] Commented: (HARMONY-3246) [drlvm][jit][opt] Jitted code can not be executed on non-SSE2 platforms

Posted by "Nathan Beyer (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-3246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12489606 ] 

Nathan Beyer commented on HARMONY-3246:
---------------------------------------

The latest patch seems to work fine on a P4/WinXP, but I tried running on a Quad P3 Xeon/Ubuntu and I ran into a mfence instruction in the hythr library.

nathan@pants:~/harmony/drlvm-trunk/build/lnx_ia32_gcc_debug/deploy/jdk/jre/bin$ ./java -Xint -cp /home/nathan/workspace/helloworld/bin HelloWorld
Illegal instruction
nathan@pants:~/harmony/drlvm-trunk/build/lnx_ia32_gcc_debug/deploy/jdk/jre/bin$ gdb --args ./java -Xint -cp /home/nathan/workspace/helloworld/bin HelloWorld
GNU gdb 6.6-debian
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
(gdb) run
Starting program: /home/nathan/harmony/drlvm-trunk/build/lnx_ia32_gcc_debug/deploy/jdk/jre/bin/java -Xint -cp /home/nathan/workspace/helloworld/bin HelloWorld
[Thread debugging using libthread_db enabled]
[New Thread -1214834000 (LWP 32414)]
[New Thread -1215992944 (LWP 32417)]
[New process 32414]
[New LWP 32414]

Program received signal SIGILL, Illegal instruction.
0xb7bc543f in fast_thread_array ()
   from /home/nathan/harmony/drlvm-trunk/build/lnx_ia32_gcc_debug/deploy/jdk/jre/bin/libhythr.so
(gdb) x/1i $eip
0xb7bc543f <fast_thread_array+510367>:  mfence
(gdb)


> [drlvm][jit][opt] Jitted code can not be executed on non-SSE2 platforms
> -----------------------------------------------------------------------
>
>                 Key: HARMONY-3246
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3246
>             Project: Harmony
>          Issue Type: Improvement
>          Components: DRLVM
>            Reporter: Nikolay Sidelnikov
>         Assigned To: Nathan Beyer
>         Attachments: p5_fixed_commented.patch
>
>
> Jitrino generates code with SSE and SSE2 instructions which can not be executed on processors older than Pentium 4.

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


[jira] Commented: (HARMONY-3246) [drlvm][jit][opt] Jitted code can not be executed on non-SSE2 platforms

Posted by "Nathan Beyer (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-3246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12489614 ] 

Nathan Beyer commented on HARMONY-3246:
---------------------------------------

I've test this on a Linux P3 and it seems to work. I'm now able to run a simple hello world. Additionally, everything seems to work as it did on a P4/WinXP.

Let's see if we can get a few more people to review the code.

> [drlvm][jit][opt] Jitted code can not be executed on non-SSE2 platforms
> -----------------------------------------------------------------------
>
>                 Key: HARMONY-3246
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3246
>             Project: Harmony
>          Issue Type: Improvement
>          Components: DRLVM
>            Reporter: Nikolay Sidelnikov
>         Assigned To: Nathan Beyer
>         Attachments: p5_fixed_commented.patch
>
>
> Jitrino generates code with SSE and SSE2 instructions which can not be executed on processors older than Pentium 4.

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


[jira] Commented: (HARMONY-3246) [drlvm][jit][opt] Jitted code can not be executed on non-SSE2 platforms

Posted by "Nathan Beyer (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-3246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12490457 ] 

Nathan Beyer commented on HARMONY-3246:
---------------------------------------

There's a compile error (on GCC at least). It's minor, but I thought I'd let you know.


build.native.cpp:
       [cc] 145 total files to be compiled.
       [cc] cc1plus: warnings being treated as errors
       [cc] /home/nathan/harmony/drlvm-trunk/vm/jitrino/src/codegenerator/ia32/Ia32i586InstsExpansion.cpp: In member function 'virtual void Jitrino::Ia32::I586InstsExpansion::runImpl()':
       [cc] /home/nathan/harmony/drlvm-trunk/vm/jitrino/src/codegenerator/ia32/Ia32i586InstsExpansion.cpp:140: warning: unused variable 'found'


> [drlvm][jit][opt] Jitted code can not be executed on non-SSE2 platforms
> -----------------------------------------------------------------------
>
>                 Key: HARMONY-3246
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3246
>             Project: Harmony
>          Issue Type: Improvement
>          Components: DRLVM
>            Reporter: Nikolay Sidelnikov
>         Assigned To: Nathan Beyer
>         Attachments: p5_fixed_commented.patch, test-log.zip, update1.diff, update2.diff
>
>
> Jitrino generates code with SSE and SSE2 instructions which can not be executed on processors older than Pentium 4.

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


[jira] Updated: (HARMONY-3246) [drlvm][jit][opt] Jitted code can not be executed on non-SSE2 platforms

Posted by "Mikhail Fursov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-3246?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mikhail Fursov updated HARMONY-3246:
------------------------------------

    Attachment: update1.diff

update1.diff

changes:
1) automatic X87 support & SSE2 availability detection integrated into all JIT modes
2) Fixed some Linux issues
3) p5 JIT pass renamed to p3

> [drlvm][jit][opt] Jitted code can not be executed on non-SSE2 platforms
> -----------------------------------------------------------------------
>
>                 Key: HARMONY-3246
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3246
>             Project: Harmony
>          Issue Type: Improvement
>          Components: DRLVM
>            Reporter: Nikolay Sidelnikov
>         Assigned To: Nathan Beyer
>         Attachments: p5_fixed_commented.patch, update1.diff
>
>
> Jitrino generates code with SSE and SSE2 instructions which can not be executed on processors older than Pentium 4.

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


[jira] Updated: (HARMONY-3246) [drlvm][jit][opt] Jitted code can not be executed on non-SSE2 platforms

Posted by "Nikolay Sidelnikov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-3246?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nikolay Sidelnikov updated HARMONY-3246:
----------------------------------------

    Attachment: p5.diff

Special action was added to convert all SSE and SSE2 to x87 instructions and SETcc and CMOVcc instructions to branches.
Also, p5.emconf file was added.

> [drlvm][jit][opt] Jitted code can not be executed on non-SSE2 platforms
> -----------------------------------------------------------------------
>
>                 Key: HARMONY-3246
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3246
>             Project: Harmony
>          Issue Type: Improvement
>          Components: DRLVM
>            Reporter: Nikolay Sidelnikov
>         Attachments: p5.diff
>
>
> Jitrino generates code with SSE and SSE2 instructions which can not be executed on processors older than Pentium 4.

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


[jira] Updated: (HARMONY-3246) [drlvm][jit][opt] Jitted code can not be executed on non-SSE2 platforms

Posted by "Nikolay Sidelnikov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-3246?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nikolay Sidelnikov updated HARMONY-3246:
----------------------------------------

    Attachment:     (was: p5_fixed.patch)

> [drlvm][jit][opt] Jitted code can not be executed on non-SSE2 platforms
> -----------------------------------------------------------------------
>
>                 Key: HARMONY-3246
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3246
>             Project: Harmony
>          Issue Type: Improvement
>          Components: DRLVM
>            Reporter: Nikolay Sidelnikov
>         Attachments: p5_fixed_commented.patch
>
>
> Jitrino generates code with SSE and SSE2 instructions which can not be executed on processors older than Pentium 4.

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


[jira] Commented: (HARMONY-3246) [drlvm][jit][opt] Jitted code can not be executed on non-SSE2 platforms

Posted by "Mikhail Fursov (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-3246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12490221 ] 

Mikhail Fursov commented on HARMONY-3246:
-----------------------------------------

>Would something like "i586" be more appropriate than P3/P5?
I'm OK.
If anyone have other ideas please speak up or I'll redo the patch today.

> [drlvm][jit][opt] Jitted code can not be executed on non-SSE2 platforms
> -----------------------------------------------------------------------
>
>                 Key: HARMONY-3246
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3246
>             Project: Harmony
>          Issue Type: Improvement
>          Components: DRLVM
>            Reporter: Nikolay Sidelnikov
>         Assigned To: Nathan Beyer
>         Attachments: p5_fixed_commented.patch, test-log.zip, update1.diff
>
>
> Jitrino generates code with SSE and SSE2 instructions which can not be executed on processors older than Pentium 4.

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


[jira] Commented: (HARMONY-3246) [drlvm][jit][opt] Jitted code can not be executed on non-SSE2 platforms

Posted by "Mikhail Fursov (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-3246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12489973 ] 

Mikhail Fursov commented on HARMONY-3246:
-----------------------------------------

BTW, AFAIK this patch allows code to be executed not only on Pentium3  but on Pentium1 also.

What is the best name would be?
P5 looks really confused, P3 is not very precise. Are there any other ideas? 

> [drlvm][jit][opt] Jitted code can not be executed on non-SSE2 platforms
> -----------------------------------------------------------------------
>
>                 Key: HARMONY-3246
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3246
>             Project: Harmony
>          Issue Type: Improvement
>          Components: DRLVM
>            Reporter: Nikolay Sidelnikov
>         Assigned To: Nathan Beyer
>         Attachments: p5_fixed_commented.patch, update1.diff
>
>
> Jitrino generates code with SSE and SSE2 instructions which can not be executed on processors older than Pentium 4.

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


[jira] Updated: (HARMONY-3246) [drlvm][jit][opt] Jitted code can not be executed on non-SSE2 platforms

Posted by "Nikolay Sidelnikov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-3246?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nikolay Sidelnikov updated HARMONY-3246:
----------------------------------------

    Attachment: p5_fixed_commented.patch

Comments were added to the source code

> [drlvm][jit][opt] Jitted code can not be executed on non-SSE2 platforms
> -----------------------------------------------------------------------
>
>                 Key: HARMONY-3246
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3246
>             Project: Harmony
>          Issue Type: Improvement
>          Components: DRLVM
>            Reporter: Nikolay Sidelnikov
>         Attachments: p5_fixed_commented.patch
>
>
> Jitrino generates code with SSE and SSE2 instructions which can not be executed on processors older than Pentium 4.

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


[jira] Updated: (HARMONY-3246) [drlvm][jit][opt] Jitted code can not be executed on non-SSE2 platforms

Posted by "Mikhail Fursov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-3246?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mikhail Fursov updated HARMONY-3246:
------------------------------------

    Attachment: update2.diff

update2.diff - 'p3/p5' renamed to 'i586'

Nathan,
AFAIK jvmti tests work with JET only. With this patch you can't run them on i586 platform.


> [drlvm][jit][opt] Jitted code can not be executed on non-SSE2 platforms
> -----------------------------------------------------------------------
>
>                 Key: HARMONY-3246
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3246
>             Project: Harmony
>          Issue Type: Improvement
>          Components: DRLVM
>            Reporter: Nikolay Sidelnikov
>         Assigned To: Nathan Beyer
>         Attachments: p5_fixed_commented.patch, test-log.zip, update1.diff, update2.diff
>
>
> Jitrino generates code with SSE and SSE2 instructions which can not be executed on processors older than Pentium 4.

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


[jira] Closed: (HARMONY-3246) [drlvm][jit][opt] Jitted code can not be executed on non-SSE2 platforms

Posted by "Nathan Beyer (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-3246?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nathan Beyer closed HARMONY-3246.
---------------------------------


> [drlvm][jit][opt] Jitted code can not be executed on non-SSE2 platforms
> -----------------------------------------------------------------------
>
>                 Key: HARMONY-3246
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3246
>             Project: Harmony
>          Issue Type: Improvement
>          Components: DRLVM
>            Reporter: Nikolay Sidelnikov
>            Assignee: Nathan Beyer
>         Attachments: p5_fixed_commented.patch, test-log.zip, update1.diff, update2.diff
>
>
> Jitrino generates code with SSE and SSE2 instructions which can not be executed on processors older than Pentium 4.

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


[jira] Assigned: (HARMONY-3246) [drlvm][jit][opt] Jitted code can not be executed on non-SSE2 platforms

Posted by "Nathan Beyer (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-3246?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nathan Beyer reassigned HARMONY-3246:
-------------------------------------

    Assignee: Nathan Beyer

> [drlvm][jit][opt] Jitted code can not be executed on non-SSE2 platforms
> -----------------------------------------------------------------------
>
>                 Key: HARMONY-3246
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3246
>             Project: Harmony
>          Issue Type: Improvement
>          Components: DRLVM
>            Reporter: Nikolay Sidelnikov
>         Assigned To: Nathan Beyer
>         Attachments: p5_fixed_commented.patch
>
>
> Jitrino generates code with SSE and SSE2 instructions which can not be executed on processors older than Pentium 4.

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