mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-18 18:14:38 +02:00
8292638: x86: Improve scratch register handling in VM stubs
Co-authored-by: Aleksey Shipilev <shade@openjdk.org> Reviewed-by: kvn, shade
This commit is contained in:
parent
d24b7b7026
commit
f3be6731d3
14 changed files with 371 additions and 507 deletions
|
@ -802,16 +802,18 @@ private:
|
|||
void emit_arith_operand(int op1, Register rm, Address adr, int32_t imm32);
|
||||
|
||||
protected:
|
||||
#ifdef ASSERT
|
||||
#ifdef ASSERT
|
||||
void check_relocation(RelocationHolder const& rspec, int format);
|
||||
#endif
|
||||
#endif
|
||||
|
||||
void emit_data(jint data, relocInfo::relocType rtype, int format);
|
||||
void emit_data(jint data, RelocationHolder const& rspec, int format);
|
||||
void emit_data64(jlong data, relocInfo::relocType rtype, int format = 0);
|
||||
void emit_data64(jlong data, RelocationHolder const& rspec, int format = 0);
|
||||
|
||||
bool reachable(AddressLiteral adr) NOT_LP64({ return true;});
|
||||
bool always_reachable(AddressLiteral adr) NOT_LP64( { return true; } );
|
||||
bool reachable(AddressLiteral adr) NOT_LP64( { return true; } );
|
||||
|
||||
|
||||
// These are all easily abused and hence protected
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue