Integrated: 8293566: RISC-V: Clean up push and pop registers
    Feilong Jiang 
    fjiang at openjdk.org
       
    Tue Sep 13 01:10:17 UTC 2022
    
    
  
On Fri, 9 Sep 2022 08:31:02 GMT, Feilong Jiang <fjiang at openjdk.org> wrote:
> Currently, riscv port has two implementations of `push_reg` and `pop_reg`.
> The bitset version can be replaced with the RegSet version for better readability.
> 
> For example, if we want to push x10 and x11, pushing register with bitset would be like:
> 
> push_reg(0xc00, sp)
> 
> 
> while pushing register with RegSet will be more clear:
> 
> push_reg(RegSet::of(x10, x11), sp);
> 
> 
> Testing:
> 
> - hotspot and jdk ter1 on QEMU without new failures
This pull request has now been integrated.
Changeset: 68645ebf
Author:    Feilong Jiang <fjiang at openjdk.org>
Committer: Fei Yang <fyang at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/68645ebffb28605fa2c6afef11f8265fd350b5cb
Stats:     63 lines in 5 files changed: 13 ins; 18 del; 32 mod
8293566: RISC-V: Clean up push and pop registers
Reviewed-by: fyang, shade
-------------
PR: https://git.openjdk.org/jdk/pull/10227
    
    
More information about the hotspot-dev
mailing list