| Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build | 
|---|---|---|---|---|---|---|
| JDK-8311718 | 17.0.9 | Fei Yang | P4 | Resolved | Fixed | b01 | 
                    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);
```
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);
```
- backported by
 - 
                    
JDK-8311718 RISC-V: Clean up push and pop registers
-         
     - Resolved
 
 -         
 
- links to
 - 
                    
        
        Commit
        openjdk/jdk17u-dev/966fc82d
    
 - 
                    
        
        Commit
        openjdk/jdk/68645ebf
    
 - 
                    
        
        Commit
        openjdk/riscv-port-jdk17u/82ab9107
    
 - 
                    
        
        Commit(riscv-port)
        openjdk/riscv-port-jdk11u/ef970d4c
    
 - 
                    
        
        Review
        openjdk/jdk17u-dev/1427
    
 - 
                    
        
        Review
        openjdk/jdk/10227
    
 - 
                    
        
        Review
        openjdk/riscv-port-jdk17u/45
    
 - 
                    
        
        Review(riscv-port)
        openjdk/riscv-port-jdk11u/36
    
 
             (4 links to)