8295273: Remove unused argument in [load/store]_sized_value on aarch64 and riscv
Reviewed-by: fyang, haosun
This commit is contained in:
parent
b06f1b149c
commit
6553065cab
@ -2058,7 +2058,7 @@ int MacroAssembler::load_signed_byte32(Register dst, Address src) {
|
||||
return off;
|
||||
}
|
||||
|
||||
void MacroAssembler::load_sized_value(Register dst, Address src, size_t size_in_bytes, bool is_signed, Register dst2) {
|
||||
void MacroAssembler::load_sized_value(Register dst, Address src, size_t size_in_bytes, bool is_signed) {
|
||||
switch (size_in_bytes) {
|
||||
case 8: ldr(dst, src); break;
|
||||
case 4: ldrw(dst, src); break;
|
||||
@ -2068,7 +2068,7 @@ void MacroAssembler::load_sized_value(Register dst, Address src, size_t size_in_
|
||||
}
|
||||
}
|
||||
|
||||
void MacroAssembler::store_sized_value(Address dst, Register src, size_t size_in_bytes, Register src2) {
|
||||
void MacroAssembler::store_sized_value(Address dst, Register src, size_t size_in_bytes) {
|
||||
switch (size_in_bytes) {
|
||||
case 8: str(src, dst); break;
|
||||
case 4: strw(src, dst); break;
|
||||
|
@ -650,8 +650,8 @@ public:
|
||||
void extend_sign(Register hi, Register lo);
|
||||
|
||||
// Load and store values by size and signed-ness
|
||||
void load_sized_value(Register dst, Address src, size_t size_in_bytes, bool is_signed, Register dst2 = noreg);
|
||||
void store_sized_value(Address dst, Register src, size_t size_in_bytes, Register src2 = noreg);
|
||||
void load_sized_value(Register dst, Address src, size_t size_in_bytes, bool is_signed);
|
||||
void store_sized_value(Address dst, Register src, size_t size_in_bytes);
|
||||
|
||||
// Support for inc/dec with optimal instruction selection depending on value
|
||||
|
||||
|
@ -1733,7 +1733,7 @@ int MacroAssembler::load_signed_byte(Register dst, Address src) {
|
||||
return off;
|
||||
}
|
||||
|
||||
void MacroAssembler::load_sized_value(Register dst, Address src, size_t size_in_bytes, bool is_signed, Register dst2) {
|
||||
void MacroAssembler::load_sized_value(Register dst, Address src, size_t size_in_bytes, bool is_signed) {
|
||||
switch (size_in_bytes) {
|
||||
case 8: ld(dst, src); break;
|
||||
case 4: is_signed ? lw(dst, src) : lwu(dst, src); break;
|
||||
@ -1743,7 +1743,7 @@ void MacroAssembler::load_sized_value(Register dst, Address src, size_t size_in_
|
||||
}
|
||||
}
|
||||
|
||||
void MacroAssembler::store_sized_value(Address dst, Register src, size_t size_in_bytes, Register src2) {
|
||||
void MacroAssembler::store_sized_value(Address dst, Register src, size_t size_in_bytes) {
|
||||
switch (size_in_bytes) {
|
||||
case 8: sd(src, dst); break;
|
||||
case 4: sw(src, dst); break;
|
||||
|
@ -398,8 +398,8 @@ class MacroAssembler: public Assembler {
|
||||
int load_signed_short(Register dst, Address src);
|
||||
|
||||
// Load and store values by size and signed-ness
|
||||
void load_sized_value(Register dst, Address src, size_t size_in_bytes, bool is_signed, Register dst2 = noreg);
|
||||
void store_sized_value(Address dst, Register src, size_t size_in_bytes, Register src2 = noreg);
|
||||
void load_sized_value(Register dst, Address src, size_t size_in_bytes, bool is_signed);
|
||||
void store_sized_value(Address dst, Register src, size_t size_in_bytes);
|
||||
|
||||
public:
|
||||
// Standard pseudo instructions
|
||||
|
Loading…
x
Reference in New Issue
Block a user