On Wed, 9 Sep 2026 20:44:14 GMT, Chen Liang <[email protected]> wrote:

> The return value of `convert0('X', vspecies().withLanes(laneType))` is 
> polymorphic, making the subsequent call `swapIfNeeded` megamorphic and thus 
> causing allocations. We have the constant species available and should 
> execute code on the species instead.
> 
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

Do have any specific tests in mind which we should run?
Result on AIX (Big Endian) is the same as on linux ppc64le on Power9:

==============================
Test summary
==============================
   TEST                                              TOTAL  PASS  FAIL ERROR  
SKIP   
   jtreg:test/hotspot/jtreg/compiler/vectorapi         116    81     0     0    
35   
==============================

-------------

PR Comment: https://git.openjdk.org/jdk/pull/32803#issuecomment-5616630734

Reply via email to