Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
39 Views

RFE: OpenCL 2.x CPU Platform SSSE3/AVX2 instruction "[v]pmulhrsw"

Request for enhancement,

I'd like the OpenCL CPU compiler to generate a pmulhrsw instruction when the proper idiom/sequence is detected.

It's an exotic but useful instruction.

The sequence that you would need to detect would be something like:

c = ((a * b) >> 14) + 1) >> 1;

Where a,b,c are all OpenCL shorts

0 Kudos
1 Reply
Highlighted
39 Views

Thanks for the request.  It is filed and we will take it from here.

(However, just to set expectations, prioritization is complex and I can't make any guarantees about when or if implementation will occur at this time.) 

 

 

0 Kudos