1879N/A * Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved. 0N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 0N/A * This code is free software; you can redistribute it and/or modify it 0N/A * under the terms of the GNU General Public License version 2 only, as 0N/A * published by the Free Software Foundation. 0N/A * This code is distributed in the hope that it will be useful, but WITHOUT 0N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 0N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 0N/A * version 2 for more details (a copy is included in the LICENSE file that 0N/A * accompanied this code). 0N/A * You should have received a copy of the GNU General Public License version 0N/A * 2 along with this work; if not, write to the Free Software Foundation, 0N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 1472N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 1523N/A // Includes a zero-count check. 0N/A " leal -4(%4,%6,4),%3;" 0N/A " movl %7,(%5,%4,1) ;" 0N/A " leal -4(%5,%6,4),%1;" 0N/A " movl %7,(%5,%4,1) ;" 0N/A :
"memory",
"flags");
1523N/A // Includes a zero-count check. 0N/A " movl %7,(%5,%4,1);" 0N/A // pd_disjoint_words is word-atomic in this implementation. 1523N/A // Includes a zero-count check. 0N/A " leal -1(%4,%6),%3 ;" 0N/A "3: movl (%4),%%edx ;" 0N/A " movl %%edx,(%5,%4,1);" 0N/A "7: movb (%4,%7,1),%%dl ;" 0N/A " movb %%dl,(%5,%7,1) ;" 0N/A " leal -1(%6,%5),%1 ;" 0N/A " leal -1(%7,%5),%1 ;" 0N/A :
"memory",
"flags",
"%edx");
0N/A // pd_conjoint_words is word-atomic in this implementation. 0N/A // Guarantee use of fild/fistp or xmm regs via some asm code, because compilers won't. 0N/A __asm__ volatile(
"fildll (%0,%2,8); fistpll (%1,%2,8)" 0N/A // pd_conjoint_words is word-atomic in this implementation. 1879N/A#
endif // OS_CPU_LINUX_X86_VM_COPY_LINUX_X86_INLINE_HPP