< prev index next >

src/hotspot/cpu/s390/assembler_s390.cpp

Print this page




  15  *
  16  * You should have received a copy of the GNU General Public License version
  17  * 2 along with this work; if not, write to the Free Software Foundation,
  18  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  19  *
  20  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  21  * or visit www.oracle.com if you need additional information or have any
  22  * questions.
  23  *
  24  */
  25 
  26 #include "precompiled.hpp"
  27 #include "asm/assembler.inline.hpp"
  28 #include "compiler/disassembler.hpp"
  29 #include "gc/shared/collectedHeap.inline.hpp"
  30 #include "interpreter/interpreter.hpp"
  31 #include "gc/shared/cardTableModRefBS.hpp"
  32 #include "memory/resourceArea.hpp"
  33 #include "prims/methodHandles.hpp"
  34 #include "runtime/biasedLocking.hpp"
  35 #include "runtime/interfaceSupport.hpp"
  36 #include "runtime/objectMonitor.hpp"
  37 #include "runtime/os.hpp"
  38 #include "runtime/sharedRuntime.hpp"
  39 #include "runtime/stubRoutines.hpp"
  40 #include "utilities/macros.hpp"
  41 #if INCLUDE_ALL_GCS
  42 #include "gc/g1/g1BarrierSet.hpp"
  43 #include "gc/g1/g1CollectedHeap.inline.hpp"
  44 #include "gc/g1/heapRegion.hpp"
  45 #endif
  46 
  47 // Convention: Use Z_R0 and Z_R1 instead of Z_scratch_* in all
  48 // assembler_s390.* files.
  49 
  50 // Convert the raw encoding form into the form expected by the
  51 // constructor for Address. This is called by adlc generated code.
  52 Address Address::make_raw(int base, int index, int scale, int disp, relocInfo::relocType disp_reloc) {
  53   assert(scale == 0, "Scale should not be used on z/Architecture. The call to make_raw is "
  54          "generated by adlc and this must mirror all features of Operands from machnode.hpp.");
  55   assert(disp_reloc == relocInfo::none, "not implemented on z/Architecture.");




  15  *
  16  * You should have received a copy of the GNU General Public License version
  17  * 2 along with this work; if not, write to the Free Software Foundation,
  18  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  19  *
  20  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  21  * or visit www.oracle.com if you need additional information or have any
  22  * questions.
  23  *
  24  */
  25 
  26 #include "precompiled.hpp"
  27 #include "asm/assembler.inline.hpp"
  28 #include "compiler/disassembler.hpp"
  29 #include "gc/shared/collectedHeap.inline.hpp"
  30 #include "interpreter/interpreter.hpp"
  31 #include "gc/shared/cardTableModRefBS.hpp"
  32 #include "memory/resourceArea.hpp"
  33 #include "prims/methodHandles.hpp"
  34 #include "runtime/biasedLocking.hpp"
  35 #include "runtime/interfaceSupport.inline.hpp"
  36 #include "runtime/objectMonitor.hpp"
  37 #include "runtime/os.hpp"
  38 #include "runtime/sharedRuntime.hpp"
  39 #include "runtime/stubRoutines.hpp"
  40 #include "utilities/macros.hpp"
  41 #if INCLUDE_ALL_GCS
  42 #include "gc/g1/g1BarrierSet.hpp"
  43 #include "gc/g1/g1CollectedHeap.inline.hpp"
  44 #include "gc/g1/heapRegion.hpp"
  45 #endif
  46 
  47 // Convention: Use Z_R0 and Z_R1 instead of Z_scratch_* in all
  48 // assembler_s390.* files.
  49 
  50 // Convert the raw encoding form into the form expected by the
  51 // constructor for Address. This is called by adlc generated code.
  52 Address Address::make_raw(int base, int index, int scale, int disp, relocInfo::relocType disp_reloc) {
  53   assert(scale == 0, "Scale should not be used on z/Architecture. The call to make_raw is "
  54          "generated by adlc and this must mirror all features of Operands from machnode.hpp.");
  55   assert(disp_reloc == relocInfo::none, "not implemented on z/Architecture.");


< prev index next >