mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-17 17:44:40 +02:00
8244224: Implementation of JEP 381: Remove the Solaris and SPARC Ports
Reviewed-by: alanb, bchristi, dcubed, dfuchs, eosterlund, erikj, glaubitz, ihse, iignatyev, jjiang, kbarrett, ksrini, kvn, naoto, prr, rriggs, serb, sspitsyn, stefank, tschatzl, valeriep, weijun, weijun
This commit is contained in:
parent
9fe4b69c1a
commit
071bd521bc
954 changed files with 1093 additions and 127816 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 1998, 2019, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1998, 2020, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
|
@ -1043,11 +1043,7 @@ uint InstructForm::reloc(FormDict &globals) {
|
|||
const char *opType = NULL;
|
||||
while (_matrule->base_operand(position, globals, result, name, opType)) {
|
||||
if ( strcmp(opType,"ConP") == 0 ) {
|
||||
#ifdef SPARC
|
||||
reloc_entries += 2; // 1 for sethi + 1 for setlo
|
||||
#else
|
||||
++reloc_entries;
|
||||
#endif
|
||||
}
|
||||
++position;
|
||||
}
|
||||
|
@ -1081,13 +1077,7 @@ uint InstructForm::reloc(FormDict &globals) {
|
|||
// Check for any component being an immediate float or double.
|
||||
Form::DataType data_type = is_chain_of_constant(globals);
|
||||
if( data_type==idealD || data_type==idealF ) {
|
||||
#ifdef SPARC
|
||||
// sparc required more relocation entries for floating constants
|
||||
// (expires 9/98)
|
||||
reloc_entries += 6;
|
||||
#else
|
||||
reloc_entries++;
|
||||
#endif
|
||||
}
|
||||
|
||||
return reloc_entries;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue