RFR: 8282528: AArch64: Incorrect replicate2L_zero rule
    Andrew Haley 
    aph at openjdk.java.net
       
    Thu Mar 24 09:50:49 UTC 2022
    
    
  
On Thu, 24 Mar 2022 09:46:12 GMT, Andrew Haley <aph at openjdk.org> wrote:
>> src/hotspot/cpu/aarch64/macroAssembler_aarch64.cpp line 1363:
>> 
>>> 1361:       tmp = tmp >> 8;
>>> 1362:     }
>>> 1363: 
>> 
>> This logic should be in a separate function.
>
> I think we need a `can_encode(imm, arrangement)` function.
And then another function that actually does the arranging, and the generation of instructions calls those functions.
-------------
PR: https://git.openjdk.java.net/jdk/pull/7939
    
    
More information about the hotspot-dev
mailing list