src/cpu/x86/vm/stubRoutines_x86_64.cpp

Tue, 02 Jul 2013 20:42:12 -0400

author
drchase
date
Tue, 02 Jul 2013 20:42:12 -0400
changeset 5353
b800986664f4
parent 4299
f34d701e952e
child 5439
0f57ccdb9084
permissions
-rw-r--r--

7088419: Use x86 Hardware CRC32 Instruction with java.util.zip.CRC32
Summary: add intrinsics using new instruction to interpreter, C1, C2, for suitable x86; add test
Reviewed-by: kvn, twisti

duke@435 1 /*
drchase@5353 2 * Copyright (c) 2003, 2013, Oracle and/or its affiliates. All rights reserved.
duke@435 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
duke@435 4 *
duke@435 5 * This code is free software; you can redistribute it and/or modify it
duke@435 6 * under the terms of the GNU General Public License version 2 only, as
duke@435 7 * published by the Free Software Foundation.
duke@435 8 *
duke@435 9 * This code is distributed in the hope that it will be useful, but WITHOUT
duke@435 10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
duke@435 11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
duke@435 12 * version 2 for more details (a copy is included in the LICENSE file that
duke@435 13 * accompanied this code).
duke@435 14 *
duke@435 15 * You should have received a copy of the GNU General Public License version
duke@435 16 * 2 along with this work; if not, write to the Free Software Foundation,
duke@435 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
duke@435 18 *
trims@1907 19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
trims@1907 20 * or visit www.oracle.com if you need additional information or have any
trims@1907 21 * questions.
duke@435 22 *
duke@435 23 */
duke@435 24
stefank@2314 25 #include "precompiled.hpp"
stefank@2314 26 #include "runtime/deoptimization.hpp"
stefank@2314 27 #include "runtime/frame.inline.hpp"
stefank@2314 28 #include "runtime/stubRoutines.hpp"
stefank@4299 29 #include "runtime/thread.inline.hpp"
duke@435 30
duke@435 31 // Implementation of the platform-specific part of StubRoutines - for
duke@435 32 // a description of how to extend it, see the stubRoutines.hpp file.
duke@435 33
never@739 34 address StubRoutines::x86::_get_previous_fp_entry = NULL;
roland@3606 35 address StubRoutines::x86::_get_previous_sp_entry = NULL;
duke@435 36
never@739 37 address StubRoutines::x86::_f2i_fixup = NULL;
never@739 38 address StubRoutines::x86::_f2l_fixup = NULL;
never@739 39 address StubRoutines::x86::_d2i_fixup = NULL;
never@739 40 address StubRoutines::x86::_d2l_fixup = NULL;
never@739 41 address StubRoutines::x86::_float_sign_mask = NULL;
never@739 42 address StubRoutines::x86::_float_sign_flip = NULL;
never@739 43 address StubRoutines::x86::_double_sign_mask = NULL;
never@739 44 address StubRoutines::x86::_double_sign_flip = NULL;
never@739 45 address StubRoutines::x86::_mxcsr_std = NULL;

mercurial