mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-23 04:24:49 +02:00
8290137: riscv: small refactoring for add_memory_int32/64
Reviewed-by: yadongwang, fjiang, shade
This commit is contained in:
parent
87340fd540
commit
92067e2003
8 changed files with 87 additions and 47 deletions
|
@ -3066,11 +3066,12 @@ public:
|
|||
void wrap_label(Register r, Label &L, Register t, load_insn_by_temp insn);
|
||||
void wrap_label(Register r, Label &L, jal_jalr_insn insn);
|
||||
|
||||
// calculate pseudoinstruction
|
||||
// Computational pseudo instructions
|
||||
void add(Register Rd, Register Rn, int64_t increment, Register temp = t0);
|
||||
void addw(Register Rd, Register Rn, int64_t increment, Register temp = t0);
|
||||
void addw(Register Rd, Register Rn, int32_t increment, Register temp = t0);
|
||||
|
||||
void sub(Register Rd, Register Rn, int64_t decrement, Register temp = t0);
|
||||
void subw(Register Rd, Register Rn, int64_t decrement, Register temp = t0);
|
||||
void subw(Register Rd, Register Rn, int32_t decrement, Register temp = t0);
|
||||
|
||||
// RVB pseudo instructions
|
||||
// zero extend word
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue