< prev index next >

src/hotspot/cpu/zero/nativeInst_zero.hpp

Print this page




  10  * This code is distributed in the hope that it will be useful, but WITHOUT
  11  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  12  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  13  * version 2 for more details (a copy is included in the LICENSE file that
  14  * accompanied this code).
  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 #ifndef CPU_ZERO_VM_NATIVEINST_ZERO_HPP
  27 #define CPU_ZERO_VM_NATIVEINST_ZERO_HPP
  28 
  29 #include "asm/assembler.hpp"
  30 #include "memory/allocation.hpp"
  31 #include "runtime/icache.hpp"
  32 #include "runtime/os.hpp"
  33 
  34 // We have interfaces for the following instructions:
  35 // - NativeInstruction
  36 // - - NativeCall
  37 // - - NativeMovConstReg
  38 // - - NativeMovConstRegPatching
  39 // - - NativeJump
  40 // - - NativeIllegalOpCode
  41 // - - NativeReturn
  42 // - - NativeReturnX (return with argument)
  43 // - - NativePushConst
  44 // - - NativeTstRegMem
  45 
  46 // The base class for different kinds of native instruction abstractions.
  47 // Provides the primitive operations to manipulate code relative to this.
  48 
  49 class NativeInstruction {
  50  public:




  10  * This code is distributed in the hope that it will be useful, but WITHOUT
  11  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  12  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  13  * version 2 for more details (a copy is included in the LICENSE file that
  14  * accompanied this code).
  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 #ifndef CPU_ZERO_VM_NATIVEINST_ZERO_HPP
  27 #define CPU_ZERO_VM_NATIVEINST_ZERO_HPP
  28 
  29 #include "asm/assembler.hpp"

  30 #include "runtime/icache.hpp"
  31 #include "runtime/os.hpp"
  32 
  33 // We have interfaces for the following instructions:
  34 // - NativeInstruction
  35 // - - NativeCall
  36 // - - NativeMovConstReg
  37 // - - NativeMovConstRegPatching
  38 // - - NativeJump
  39 // - - NativeIllegalOpCode
  40 // - - NativeReturn
  41 // - - NativeReturnX (return with argument)
  42 // - - NativePushConst
  43 // - - NativeTstRegMem
  44 
  45 // The base class for different kinds of native instruction abstractions.
  46 // Provides the primitive operations to manipulate code relative to this.
  47 
  48 class NativeInstruction {
  49  public:


< prev index next >