hg: panama/dev: Summary: [vector] Fix for failing MinShort64Test unit test.

jatin.bhateja at intel.com jatin.bhateja at intel.com
Fri Dec 6 13:34:01 UTC 2019


Changeset: ff163dc979f5
Author:    jbhateja
Date:      2019-12-06 19:09 +0530
URL:       https://hg.openjdk.java.net/panama/dev/rev/ff163dc979f5

Summary: [vector] Fix for failing MinShort64Test unit test.
Register class of  temporary operand for rsmin4S_reduction_reg pattern was vecS, hence was allocated from a vector registers. It's user instructions expected a scalar register,  there is an encoding overlap b/w encodings of vector and scalar registers. Scalar register having same enoding as RA's allocated a vector register was already allocated, thus a write over it corrupted its contents and resulted into a segment violation in subsequent memory write where this register was used in register-indirect addressing mode.

Contributed-by: jatin.bhateja at intel.com, sandhya.viswanathan at intel.com
Reviewed-by: paul.sandoz at oracle.com

! src/hotspot/cpu/x86/x86.ad



More information about the panama-dev mailing list