11590Srgrimes/* 21590SrgrimesCopyright (c) 2014, Intel Corporation 31590SrgrimesAll rights reserved. 41590Srgrimes 51590SrgrimesRedistribution and use in source and binary forms, with or without 61590Srgrimesmodification, are permitted provided that the following conditions are met: 71590Srgrimes 81590Srgrimes * Redistributions of source code must retain the above copyright notice, 91590Srgrimes * this list of conditions and the following disclaimer. 101590Srgrimes 111590Srgrimes * Redistributions in binary form must reproduce the above copyright notice, 121590Srgrimes * this list of conditions and the following disclaimer in the documentation 131590Srgrimes * and/or other materials provided with the distribution. 141590Srgrimes 151590Srgrimes * Neither the name of Intel Corporation nor the names of its contributors 161590Srgrimes * may be used to endorse or promote products derived from this software 171590Srgrimes * without specific prior written permission. 181590Srgrimes 191590SrgrimesTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 201590SrgrimesANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 211590SrgrimesWARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 221590SrgrimesDISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR 231590SrgrimesANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 241590Srgrimes(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 251590SrgrimesLOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON 261590SrgrimesANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 271590Srgrimes(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 281590SrgrimesSOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 291590Srgrimes*/ 301590Srgrimes 311590Srgrimes#define USE_AS_STRNCPY 321590Srgrimes#define STRCPY strncpy 3394609Sdwmalone#include "sse2-strcpy-slm.S" 3494609Sdwmalone