hg: ppc-aix-port/jdk7u/hotspot: Opto: hook to postprocess matcher output platform dependent.

goetz.lindenmaier at sap.com goetz.lindenmaier at sap.com
Wed Sep 26 08:00:07 PDT 2012


Changeset: 50fbe70b4f3f
Author:    Goetz Lindenmaier
Date:      2012-09-26 16:54 +0200
URL:       http://hg.openjdk.java.net/ppc-aix-port/jdk7u/hotspot/rev/50fbe70b4f3f

Opto: hook to postprocess matcher output platform dependent.

On Power we need to add a special input, the toc, to
nodes loading constants. This must happen after matching,
but before register allocation.
This change adds a class PdCompile which contains a method
pd_post_matching_hook() on each platform. The method is
- so far - empty everywhere. It's called in compile() after
matching.

+ src/cpu/ppc/vm/compile_ppc.hpp
+ src/cpu/sparc/vm/compile_sparc.hpp
+ src/cpu/x86/vm/compile_x86.hpp
+ src/cpu/zero/vm/compile_zero.hpp
! src/share/vm/opto/compile.cpp
! src/share/vm/opto/compile.hpp



More information about the ppc-aix-port-dev mailing list