[vector] generic operand infrastructure support.
Viswanathan, Sandhya
sandhya.viswanathan at intel.com
Fri Aug 30 22:08:22 UTC 2019
Hi Jatin,
The patch looks good to me.
Best Regards,
Sandhya
From: Bhateja, Jatin
Sent: Friday, August 30, 2019 5:07 AM
To: panama-dev at openjdk.java.net
Cc: Viswanathan, Sandhya <sandhya.viswanathan at intel.com>
Subject: [vector] generic operand infrastructure support.
Hi All,
We have been working over reducing the AD file and libjvm.so size by reducing the number of vector instruction patterns whose operands differ meagerly in vector lengths.
As of now we have several vector operand for X86 target like vecS , vecD, vecX , vecY, vecZ and their legacy variants. This patch adds an infrastructure to support generic
operands[1] and a post-selection pass to remove them from machine graph so that there is minimal impact on the downstream passes.
Complete patch using generic operands which reduces the number of vector patterns from 510 to 222 is already posted over mainline
https://mail.openjdk.java.net/piperail/hotspot-compiler-dev/2019-August/034822.html
Since vectorIntrinsics branch has bulk of the vector instruction patterns hence we plan to introduce the support in stages.
Following patch contains the infrastructure changes for generic operands, using it we can collapse the different vector length instructions for same operation
without making any changes in the ideal graph.
CR : http://cr.openjdk.java.net/~jbhateja/vectorIntrinsics/GEN_OPERS/webrev.00/
Common JBS for jdk/mainline and panama/vectorIntrinsics : https://bugs.openjdk.java.net/browse/JDK-8230015
Kindly review it provide your feedback.
Best Regards,
Jatin Bhateja
PS : All the changes are currently enabled only for X86 target.
[1] http://cr.openjdk.java.net/~jbhateja/genericVectorOperands/generic_operands_support_v1.0.pdf
More information about the panama-dev
mailing list