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

[jira] Created: (HARMONY-3183) [drlvm][jit] HelloWorld app fails in -Xem:opt mode with verification level=2

[drlvm][jit] HelloWorld app fails in -Xem:opt mode with verification level=2
----------------------------------------------------------------------------

                 Key: HARMONY-3183
                 URL: https://issues.apache.org/jira/browse/HARMONY-3183
             Project: Harmony
          Issue Type: Bug
          Components: DRLVM
            Reporter: Mikhail Fursov


HelloWorld app fails in -Xem:opt mode with verification level=2

To reproduce use this params:
-Xem:opt  -verbose:em  -XDjit.arg.verify=2

output:
EM: compile done:[CS_OPT n=227: OK] com/ibm/icu4jni/common/ErrorCode::isSuccess(I)Z
EM: compile start:[CS_OPT n=228] com/ibm/icu4jni/charset/CharsetEncoderICU::<init>(Ljava/nio/charset/Charset;J[B)V
EM: compile done:[CS_OPT n=228: OK] com/ibm/icu4jni/charset/CharsetEncoderICU::<init>(Ljava/nio/charset/Charset;J[B)V
EM: compile start:[CS_OPT n=229] java/nio/charset/CharsetEncoder::<init>(Ljava/nio/charset/Charset;FF[B)V
Operand live at entry: t63(XMM1S):single
This means there is a use of the operand when it is not yet defined
Operand live at entry: o85(XMM1D):double
This means there is a use of the operand when it is not yet defined
Operand live at entry: o86(XMM1D):double
This means there is a use of the operand when it is not yet defined

Liveness verification failure

Verification failure after peephole



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


[jira] Assigned: (HARMONY-3183) [drlvm][jit] HelloWorld app fails in -Xem:opt mode with verification level=2

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

Alexey Varlamov reassigned HARMONY-3183:
----------------------------------------

    Assignee: Alexey Varlamov

> [drlvm][jit] HelloWorld app fails in -Xem:opt mode with verification level=2
> ----------------------------------------------------------------------------
>
>                 Key: HARMONY-3183
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3183
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Mikhail Fursov
>         Assigned To: Alexey Varlamov
>         Attachments: peephole.diff
>
>
> HelloWorld app fails in -Xem:opt mode with verification level=2
> To reproduce use this params:
> -Xem:opt  -verbose:em  -XDjit.arg.verify=2
> output:
> EM: compile done:[CS_OPT n=227: OK] com/ibm/icu4jni/common/ErrorCode::isSuccess(I)Z
> EM: compile start:[CS_OPT n=228] com/ibm/icu4jni/charset/CharsetEncoderICU::<init>(Ljava/nio/charset/Charset;J[B)V
> EM: compile done:[CS_OPT n=228: OK] com/ibm/icu4jni/charset/CharsetEncoderICU::<init>(Ljava/nio/charset/Charset;J[B)V
> EM: compile start:[CS_OPT n=229] java/nio/charset/CharsetEncoder::<init>(Ljava/nio/charset/Charset;FF[B)V
> Operand live at entry: t63(XMM1S):single
> This means there is a use of the operand when it is not yet defined
> Operand live at entry: o85(XMM1D):double
> This means there is a use of the operand when it is not yet defined
> Operand live at entry: o86(XMM1D):double
> This means there is a use of the operand when it is not yet defined
> Liveness verification failure
> Verification failure after peephole

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


[jira] Commented: (HARMONY-3183) [drlvm][jit] HelloWorld app fails in -Xem:opt mode with verification level=2

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

Mikhail Fursov commented on HARMONY-3183:
-----------------------------------------

>BTW, don't we have potentially the same problem in PeepHoleOpt::handleInst_SSEMov() ?
Ok I'm adding it to my TODO list and will check it next week.

> [drlvm][jit] HelloWorld app fails in -Xem:opt mode with verification level=2
> ----------------------------------------------------------------------------
>
>                 Key: HARMONY-3183
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3183
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Mikhail Fursov
>         Assigned To: Alexey Varlamov
>         Attachments: peephole.diff
>
>
> HelloWorld app fails in -Xem:opt mode with verification level=2
> To reproduce use this params:
> -Xem:opt  -verbose:em  -XDjit.arg.verify=2
> output:
> EM: compile done:[CS_OPT n=227: OK] com/ibm/icu4jni/common/ErrorCode::isSuccess(I)Z
> EM: compile start:[CS_OPT n=228] com/ibm/icu4jni/charset/CharsetEncoderICU::<init>(Ljava/nio/charset/Charset;J[B)V
> EM: compile done:[CS_OPT n=228: OK] com/ibm/icu4jni/charset/CharsetEncoderICU::<init>(Ljava/nio/charset/Charset;J[B)V
> EM: compile start:[CS_OPT n=229] java/nio/charset/CharsetEncoder::<init>(Ljava/nio/charset/Charset;FF[B)V
> Operand live at entry: t63(XMM1S):single
> This means there is a use of the operand when it is not yet defined
> Operand live at entry: o85(XMM1D):double
> This means there is a use of the operand when it is not yet defined
> Operand live at entry: o86(XMM1D):double
> This means there is a use of the operand when it is not yet defined
> Liveness verification failure
> Verification failure after peephole

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


[jira] Updated: (HARMONY-3183) [drlvm][jit] HelloWorld app fails in -Xem:opt mode with verification level=2

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

Alexey Varlamov updated HARMONY-3183:
-------------------------------------

    Priority: Minor  (was: Major)

Commented out at r528397, lowering priority.

> [drlvm][jit] HelloWorld app fails in -Xem:opt mode with verification level=2
> ----------------------------------------------------------------------------
>
>                 Key: HARMONY-3183
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3183
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Mikhail Fursov
>         Assigned To: Alexey Varlamov
>            Priority: Minor
>         Attachments: peephole.diff
>
>
> HelloWorld app fails in -Xem:opt mode with verification level=2
> To reproduce use this params:
> -Xem:opt  -verbose:em  -XDjit.arg.verify=2
> output:
> EM: compile done:[CS_OPT n=227: OK] com/ibm/icu4jni/common/ErrorCode::isSuccess(I)Z
> EM: compile start:[CS_OPT n=228] com/ibm/icu4jni/charset/CharsetEncoderICU::<init>(Ljava/nio/charset/Charset;J[B)V
> EM: compile done:[CS_OPT n=228: OK] com/ibm/icu4jni/charset/CharsetEncoderICU::<init>(Ljava/nio/charset/Charset;J[B)V
> EM: compile start:[CS_OPT n=229] java/nio/charset/CharsetEncoder::<init>(Ljava/nio/charset/Charset;FF[B)V
> Operand live at entry: t63(XMM1S):single
> This means there is a use of the operand when it is not yet defined
> Operand live at entry: o85(XMM1D):double
> This means there is a use of the operand when it is not yet defined
> Operand live at entry: o86(XMM1D):double
> This means there is a use of the operand when it is not yet defined
> Liveness verification failure
> Verification failure after peephole

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


[jira] Commented: (HARMONY-3183) [drlvm][jit] HelloWorld app fails in -Xem:opt mode with verification level=2

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

Mikhail Fursov commented on HARMONY-3183:
-----------------------------------------

Problem source:
Peephole XORPS optimization created incorrect LIR: opnds without defs.

Solution: The optimization by itself (XORPS to PXOR replacement) is useless. The fix removes this optimization.

> [drlvm][jit] HelloWorld app fails in -Xem:opt mode with verification level=2
> ----------------------------------------------------------------------------
>
>                 Key: HARMONY-3183
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3183
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Mikhail Fursov
>         Assigned To: Alexey Varlamov
>         Attachments: peephole.diff
>
>
> HelloWorld app fails in -Xem:opt mode with verification level=2
> To reproduce use this params:
> -Xem:opt  -verbose:em  -XDjit.arg.verify=2
> output:
> EM: compile done:[CS_OPT n=227: OK] com/ibm/icu4jni/common/ErrorCode::isSuccess(I)Z
> EM: compile start:[CS_OPT n=228] com/ibm/icu4jni/charset/CharsetEncoderICU::<init>(Ljava/nio/charset/Charset;J[B)V
> EM: compile done:[CS_OPT n=228: OK] com/ibm/icu4jni/charset/CharsetEncoderICU::<init>(Ljava/nio/charset/Charset;J[B)V
> EM: compile start:[CS_OPT n=229] java/nio/charset/CharsetEncoder::<init>(Ljava/nio/charset/Charset;FF[B)V
> Operand live at entry: t63(XMM1S):single
> This means there is a use of the operand when it is not yet defined
> Operand live at entry: o85(XMM1D):double
> This means there is a use of the operand when it is not yet defined
> Operand live at entry: o86(XMM1D):double
> This means there is a use of the operand when it is not yet defined
> Liveness verification failure
> Verification failure after peephole

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


[jira] Updated: (HARMONY-3183) [drlvm][jit] HelloWorld app fails in -Xem:opt mode with verification level=2

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

Mikhail Fursov updated HARMONY-3183:
------------------------------------

    Attachment: peephole.diff

The fix.


> [drlvm][jit] HelloWorld app fails in -Xem:opt mode with verification level=2
> ----------------------------------------------------------------------------
>
>                 Key: HARMONY-3183
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3183
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Mikhail Fursov
>         Attachments: peephole.diff
>
>
> HelloWorld app fails in -Xem:opt mode with verification level=2
> To reproduce use this params:
> -Xem:opt  -verbose:em  -XDjit.arg.verify=2
> output:
> EM: compile done:[CS_OPT n=227: OK] com/ibm/icu4jni/common/ErrorCode::isSuccess(I)Z
> EM: compile start:[CS_OPT n=228] com/ibm/icu4jni/charset/CharsetEncoderICU::<init>(Ljava/nio/charset/Charset;J[B)V
> EM: compile done:[CS_OPT n=228: OK] com/ibm/icu4jni/charset/CharsetEncoderICU::<init>(Ljava/nio/charset/Charset;J[B)V
> EM: compile start:[CS_OPT n=229] java/nio/charset/CharsetEncoder::<init>(Ljava/nio/charset/Charset;FF[B)V
> Operand live at entry: t63(XMM1S):single
> This means there is a use of the operand when it is not yet defined
> Operand live at entry: o85(XMM1D):double
> This means there is a use of the operand when it is not yet defined
> Operand live at entry: o86(XMM1D):double
> This means there is a use of the operand when it is not yet defined
> Liveness verification failure
> Verification failure after peephole

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


[jira] Resolved: (HARMONY-3183) [drlvm][jit] HelloWorld app fails in -Xem:opt mode with verification level=2

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

Mikhail Fursov resolved HARMONY-3183.
-------------------------------------

    Resolution: Fixed

handleInst_SSEMov was commented some time ago by performance reasons.  EHWA passes in -Xem:opt debug mode now with -XX:jit.arg.verify=2

> [drlvm][jit] HelloWorld app fails in -Xem:opt mode with verification level=2
> ----------------------------------------------------------------------------
>
>                 Key: HARMONY-3183
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3183
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Mikhail Fursov
>            Assignee: Alexey Varlamov
>            Priority: Minor
>         Attachments: peephole.diff
>
>
> HelloWorld app fails in -Xem:opt mode with verification level=2
> To reproduce use this params:
> -Xem:opt  -verbose:em  -XDjit.arg.verify=2
> output:
> EM: compile done:[CS_OPT n=227: OK] com/ibm/icu4jni/common/ErrorCode::isSuccess(I)Z
> EM: compile start:[CS_OPT n=228] com/ibm/icu4jni/charset/CharsetEncoderICU::<init>(Ljava/nio/charset/Charset;J[B)V
> EM: compile done:[CS_OPT n=228: OK] com/ibm/icu4jni/charset/CharsetEncoderICU::<init>(Ljava/nio/charset/Charset;J[B)V
> EM: compile start:[CS_OPT n=229] java/nio/charset/CharsetEncoder::<init>(Ljava/nio/charset/Charset;FF[B)V
> Operand live at entry: t63(XMM1S):single
> This means there is a use of the operand when it is not yet defined
> Operand live at entry: o85(XMM1D):double
> This means there is a use of the operand when it is not yet defined
> Operand live at entry: o86(XMM1D):double
> This means there is a use of the operand when it is not yet defined
> Liveness verification failure
> Verification failure after peephole

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


[jira] Commented: (HARMONY-3183) [drlvm][jit] HelloWorld app fails in -Xem:opt mode with verification level=2

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

Mikhail Fursov commented on HARMONY-3183:
-----------------------------------------

No,
The optimization has a bug with operands handling. Instead of fixing this bug I had just removed this useless optimization.

> [drlvm][jit] HelloWorld app fails in -Xem:opt mode with verification level=2
> ----------------------------------------------------------------------------
>
>                 Key: HARMONY-3183
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3183
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Mikhail Fursov
>         Assigned To: Alexey Varlamov
>         Attachments: peephole.diff
>
>
> HelloWorld app fails in -Xem:opt mode with verification level=2
> To reproduce use this params:
> -Xem:opt  -verbose:em  -XDjit.arg.verify=2
> output:
> EM: compile done:[CS_OPT n=227: OK] com/ibm/icu4jni/common/ErrorCode::isSuccess(I)Z
> EM: compile start:[CS_OPT n=228] com/ibm/icu4jni/charset/CharsetEncoderICU::<init>(Ljava/nio/charset/Charset;J[B)V
> EM: compile done:[CS_OPT n=228: OK] com/ibm/icu4jni/charset/CharsetEncoderICU::<init>(Ljava/nio/charset/Charset;J[B)V
> EM: compile start:[CS_OPT n=229] java/nio/charset/CharsetEncoder::<init>(Ljava/nio/charset/Charset;FF[B)V
> Operand live at entry: t63(XMM1S):single
> This means there is a use of the operand when it is not yet defined
> Operand live at entry: o85(XMM1D):double
> This means there is a use of the operand when it is not yet defined
> Operand live at entry: o86(XMM1D):double
> This means there is a use of the operand when it is not yet defined
> Liveness verification failure
> Verification failure after peephole

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


[jira] Commented: (HARMONY-3183) [drlvm][jit] HelloWorld app fails in -Xem:opt mode with verification level=2

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

Alexey Varlamov commented on HARMONY-3183:
------------------------------------------

BTW, don't we have potentially the same problem in PeepHoleOpt::handleInst_SSEMov() ?

> [drlvm][jit] HelloWorld app fails in -Xem:opt mode with verification level=2
> ----------------------------------------------------------------------------
>
>                 Key: HARMONY-3183
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3183
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Mikhail Fursov
>         Assigned To: Alexey Varlamov
>         Attachments: peephole.diff
>
>
> HelloWorld app fails in -Xem:opt mode with verification level=2
> To reproduce use this params:
> -Xem:opt  -verbose:em  -XDjit.arg.verify=2
> output:
> EM: compile done:[CS_OPT n=227: OK] com/ibm/icu4jni/common/ErrorCode::isSuccess(I)Z
> EM: compile start:[CS_OPT n=228] com/ibm/icu4jni/charset/CharsetEncoderICU::<init>(Ljava/nio/charset/Charset;J[B)V
> EM: compile done:[CS_OPT n=228: OK] com/ibm/icu4jni/charset/CharsetEncoderICU::<init>(Ljava/nio/charset/Charset;J[B)V
> EM: compile start:[CS_OPT n=229] java/nio/charset/CharsetEncoder::<init>(Ljava/nio/charset/Charset;FF[B)V
> Operand live at entry: t63(XMM1S):single
> This means there is a use of the operand when it is not yet defined
> Operand live at entry: o85(XMM1D):double
> This means there is a use of the operand when it is not yet defined
> Operand live at entry: o86(XMM1D):double
> This means there is a use of the operand when it is not yet defined
> Liveness verification failure
> Verification failure after peephole

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


[jira] Commented: (HARMONY-3183) [drlvm][jit] HelloWorld app fails in -Xem:opt mode with verification level=2

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

Mikhail Fursov commented on HARMONY-3183:
-----------------------------------------

>I'm going to comment out the optimization until better solution is found. Does this work for you?
I do not think commenting out  useless code with errors will help us to create good source.

I have another suggestion: create a TODO comment with a single line  "XORPS to PXOR conversion has shown itself as useless"

It's not a question how to write IR. The only loss of removal this code I see is the loss of knowledge that we already tried this out.

> [drlvm][jit] HelloWorld app fails in -Xem:opt mode with verification level=2
> ----------------------------------------------------------------------------
>
>                 Key: HARMONY-3183
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3183
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Mikhail Fursov
>         Assigned To: Alexey Varlamov
>         Attachments: peephole.diff
>
>
> HelloWorld app fails in -Xem:opt mode with verification level=2
> To reproduce use this params:
> -Xem:opt  -verbose:em  -XDjit.arg.verify=2
> output:
> EM: compile done:[CS_OPT n=227: OK] com/ibm/icu4jni/common/ErrorCode::isSuccess(I)Z
> EM: compile start:[CS_OPT n=228] com/ibm/icu4jni/charset/CharsetEncoderICU::<init>(Ljava/nio/charset/Charset;J[B)V
> EM: compile done:[CS_OPT n=228: OK] com/ibm/icu4jni/charset/CharsetEncoderICU::<init>(Ljava/nio/charset/Charset;J[B)V
> EM: compile start:[CS_OPT n=229] java/nio/charset/CharsetEncoder::<init>(Ljava/nio/charset/Charset;FF[B)V
> Operand live at entry: t63(XMM1S):single
> This means there is a use of the operand when it is not yet defined
> Operand live at entry: o85(XMM1D):double
> This means there is a use of the operand when it is not yet defined
> Operand live at entry: o86(XMM1D):double
> This means there is a use of the operand when it is not yet defined
> Liveness verification failure
> Verification failure after peephole

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


[jira] Commented: (HARMONY-3183) [drlvm][jit] HelloWorld app fails in -Xem:opt mode with verification level=2

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

Alexey Varlamov commented on HARMONY-3183:
------------------------------------------

I'm going to comment out the optimization until better solution is found. Does this work for you?

> [drlvm][jit] HelloWorld app fails in -Xem:opt mode with verification level=2
> ----------------------------------------------------------------------------
>
>                 Key: HARMONY-3183
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3183
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Mikhail Fursov
>         Assigned To: Alexey Varlamov
>         Attachments: peephole.diff
>
>
> HelloWorld app fails in -Xem:opt mode with verification level=2
> To reproduce use this params:
> -Xem:opt  -verbose:em  -XDjit.arg.verify=2
> output:
> EM: compile done:[CS_OPT n=227: OK] com/ibm/icu4jni/common/ErrorCode::isSuccess(I)Z
> EM: compile start:[CS_OPT n=228] com/ibm/icu4jni/charset/CharsetEncoderICU::<init>(Ljava/nio/charset/Charset;J[B)V
> EM: compile done:[CS_OPT n=228: OK] com/ibm/icu4jni/charset/CharsetEncoderICU::<init>(Ljava/nio/charset/Charset;J[B)V
> EM: compile start:[CS_OPT n=229] java/nio/charset/CharsetEncoder::<init>(Ljava/nio/charset/Charset;FF[B)V
> Operand live at entry: t63(XMM1S):single
> This means there is a use of the operand when it is not yet defined
> Operand live at entry: o85(XMM1D):double
> This means there is a use of the operand when it is not yet defined
> Operand live at entry: o86(XMM1D):double
> This means there is a use of the operand when it is not yet defined
> Liveness verification failure
> Verification failure after peephole

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


[jira] Commented: (HARMONY-3183) [drlvm][jit] HelloWorld app fails in -Xem:opt mode with verification level=2

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

Mikhail Fursov commented on HARMONY-3183:
-----------------------------------------

Alexey,
Do you have any plans on commiting this issue?


> [drlvm][jit] HelloWorld app fails in -Xem:opt mode with verification level=2
> ----------------------------------------------------------------------------
>
>                 Key: HARMONY-3183
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3183
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Mikhail Fursov
>         Assigned To: Alexey Varlamov
>         Attachments: peephole.diff
>
>
> HelloWorld app fails in -Xem:opt mode with verification level=2
> To reproduce use this params:
> -Xem:opt  -verbose:em  -XDjit.arg.verify=2
> output:
> EM: compile done:[CS_OPT n=227: OK] com/ibm/icu4jni/common/ErrorCode::isSuccess(I)Z
> EM: compile start:[CS_OPT n=228] com/ibm/icu4jni/charset/CharsetEncoderICU::<init>(Ljava/nio/charset/Charset;J[B)V
> EM: compile done:[CS_OPT n=228: OK] com/ibm/icu4jni/charset/CharsetEncoderICU::<init>(Ljava/nio/charset/Charset;J[B)V
> EM: compile start:[CS_OPT n=229] java/nio/charset/CharsetEncoder::<init>(Ljava/nio/charset/Charset;FF[B)V
> Operand live at entry: t63(XMM1S):single
> This means there is a use of the operand when it is not yet defined
> Operand live at entry: o85(XMM1D):double
> This means there is a use of the operand when it is not yet defined
> Operand live at entry: o86(XMM1D):double
> This means there is a use of the operand when it is not yet defined
> Liveness verification failure
> Verification failure after peephole

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


[jira] Commented: (HARMONY-3183) [drlvm][jit] HelloWorld app fails in -Xem:opt mode with verification level=2

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

Alexey Varlamov commented on HARMONY-3183:
------------------------------------------

Mikhail, while I can admit that the optimization gives no practical boost thus is useless, I suspect the rootcause of failure resides deeper and suggested fix just hides it?

> [drlvm][jit] HelloWorld app fails in -Xem:opt mode with verification level=2
> ----------------------------------------------------------------------------
>
>                 Key: HARMONY-3183
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3183
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Mikhail Fursov
>         Assigned To: Alexey Varlamov
>         Attachments: peephole.diff
>
>
> HelloWorld app fails in -Xem:opt mode with verification level=2
> To reproduce use this params:
> -Xem:opt  -verbose:em  -XDjit.arg.verify=2
> output:
> EM: compile done:[CS_OPT n=227: OK] com/ibm/icu4jni/common/ErrorCode::isSuccess(I)Z
> EM: compile start:[CS_OPT n=228] com/ibm/icu4jni/charset/CharsetEncoderICU::<init>(Ljava/nio/charset/Charset;J[B)V
> EM: compile done:[CS_OPT n=228: OK] com/ibm/icu4jni/charset/CharsetEncoderICU::<init>(Ljava/nio/charset/Charset;J[B)V
> EM: compile start:[CS_OPT n=229] java/nio/charset/CharsetEncoder::<init>(Ljava/nio/charset/Charset;FF[B)V
> Operand live at entry: t63(XMM1S):single
> This means there is a use of the operand when it is not yet defined
> Operand live at entry: o85(XMM1D):double
> This means there is a use of the operand when it is not yet defined
> Operand live at entry: o86(XMM1D):double
> This means there is a use of the operand when it is not yet defined
> Liveness verification failure
> Verification failure after peephole

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


[jira] Commented: (HARMONY-3183) [drlvm][jit] HelloWorld app fails in -Xem:opt mode with verification level=2

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

Alexey Varlamov commented on HARMONY-3183:
------------------------------------------

My assumption proves right, EHWA fails if -XDjit.arg.verify=2 and starts working if handleInst_SSEMov() is off.
Commented it out too.

> [drlvm][jit] HelloWorld app fails in -Xem:opt mode with verification level=2
> ----------------------------------------------------------------------------
>
>                 Key: HARMONY-3183
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3183
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Mikhail Fursov
>         Assigned To: Alexey Varlamov
>            Priority: Minor
>         Attachments: peephole.diff
>
>
> HelloWorld app fails in -Xem:opt mode with verification level=2
> To reproduce use this params:
> -Xem:opt  -verbose:em  -XDjit.arg.verify=2
> output:
> EM: compile done:[CS_OPT n=227: OK] com/ibm/icu4jni/common/ErrorCode::isSuccess(I)Z
> EM: compile start:[CS_OPT n=228] com/ibm/icu4jni/charset/CharsetEncoderICU::<init>(Ljava/nio/charset/Charset;J[B)V
> EM: compile done:[CS_OPT n=228: OK] com/ibm/icu4jni/charset/CharsetEncoderICU::<init>(Ljava/nio/charset/Charset;J[B)V
> EM: compile start:[CS_OPT n=229] java/nio/charset/CharsetEncoder::<init>(Ljava/nio/charset/Charset;FF[B)V
> Operand live at entry: t63(XMM1S):single
> This means there is a use of the operand when it is not yet defined
> Operand live at entry: o85(XMM1D):double
> This means there is a use of the operand when it is not yet defined
> Operand live at entry: o86(XMM1D):double
> This means there is a use of the operand when it is not yet defined
> Liveness verification failure
> Verification failure after peephole

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