mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
6703890: Compressed Oops: add LoadNKlass node to generate narrow oops (32-bits) compare instructions
Add LoadNKlass and CMoveN nodes, use CmpN and ConN nodes to generate narrow oops compare instructions. Reviewed-by: never, rasbold
This commit is contained in:
parent
757229db71
commit
76035424de
29 changed files with 428 additions and 128 deletions
|
@ -252,6 +252,7 @@ Form::DataType Form::is_load_from_memory(const char *opType) const {
|
|||
if( strcmp(opType,"LoadF")==0 ) return Form::idealF;
|
||||
if( strcmp(opType,"LoadI")==0 ) return Form::idealI;
|
||||
if( strcmp(opType,"LoadKlass")==0 ) return Form::idealP;
|
||||
if( strcmp(opType,"LoadNKlass")==0 ) return Form::idealN;
|
||||
if( strcmp(opType,"LoadL")==0 ) return Form::idealL;
|
||||
if( strcmp(opType,"LoadL_unaligned")==0 ) return Form::idealL;
|
||||
if( strcmp(opType,"LoadPLocked")==0 ) return Form::idealP;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue