hg: ppc-aix-port/stage/hotspot: 8024342: PPC64 (part 111): Support for C calling conventions that require 64-bit ints.
vladimir.kozlov at oracle.com
vladimir.kozlov at oracle.com
Wed Sep 18 19:09:32 PDT 2013
Changeset: cfd05ec74089
Author: goetz
Date: 2013-09-18 14:34 -0700
URL: http://hg.openjdk.java.net/ppc-aix-port/stage/hotspot/rev/cfd05ec74089
8024342: PPC64 (part 111): Support for C calling conventions that require 64-bit ints.
Summary: Some platforms, as ppc and s390x/zArch require that 32-bit ints are passed as 64-bit values to C functions. This change adds support to adapt the signature and to issue proper casts to c2-compiled stubs. The functions are used in generate_native_wrapper(). Adapt signature used by the compiler as in PhaseIdealLoop::intrinsify_fill().
Reviewed-by: kvn
! src/cpu/ppc/vm/globalDefinitions_ppc.hpp
! src/cpu/ppc/vm/sharedRuntime_ppc.cpp
! src/cpu/sparc/vm/globalDefinitions_sparc.hpp
! src/cpu/x86/vm/globalDefinitions_x86.hpp
! src/cpu/zero/vm/globalDefinitions_zero.hpp
! src/share/vm/opto/generateOptoStub.cpp
! src/share/vm/opto/loopTransform.cpp
! src/share/vm/opto/runtime.cpp
! src/share/vm/runtime/sharedRuntime.cpp
! src/share/vm/runtime/sharedRuntime.hpp
More information about the ppc-aix-port-dev
mailing list