RFR(L): 8031321 Support Intel bit manipulation instructions
igor.veresov at oracle.com
Sat Feb 8 14:55:23 PST 2014
No, since it just pattern-matches most of them there is not. One approach would be to do -XX:+PrintOptoAssembly and then analyze the output (that’s how I basically did it). If you want to automate it then may be you can just "grep | wc -l" the assembly output for the instructions that should be there.
On Feb 8, 2014, at 2:19 AM, Igor Ignatyev <igor.ignatyev at oracle.com> wrote:
> Are there any diagnostic flags which allow to verify that these instructions were used, like PrintIntrinsics?
> On 02/07/2014 02:10 AM, Igor Veresov wrote:
>> This change adds support for BMI1 instructions on x86 (supported on AMD Piledriver and Intel Haswell).
>> The changes in the matcher.cpp are kind of a temporary hack to workaround the inability to describe DAGs in ADL. I’ll address that problem properly a bit later (we need this change to land in 8u20).
>> I’m also using Rickard’s changes in type.hpp that are not quite in the repo yet.
>> Webrev: http://cr.openjdk.java.net/~iveresov/8031321/webrev.00/
>> Testing: jprt, jtreg, ctw, the new regtest (verified that the instructions are generated and all).
More information about the hotspot-compiler-dev