Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Friday, October 16, 2026

Diff for libplaton/platon/str/strmmx.c between version 1.2 and 1.3

version 1.2, 2002/07/12 21:07:16 version 1.3, 2002/07/14 15:24:44
Line 5 
Line 5 
 #include <string.h>  #include <string.h>
 #include <unistd.h>  #include <unistd.h>
 #include "strmmx.h"  #include "strmmx.h"
   
 char *strcpymmx(void *dest, const void *src)  char *strcpymmx(void *dest, const void *src)
 {  {
     return (char *) memcpymmx(dest, src, strlen(src));      return (char *) memcpymmx(dest, src, strlen(src));
Line 13  char *strncpymmx(void *dest, const void
Line 14  char *strncpymmx(void *dest, const void
 {  {
     return (char *) memcpymmx(dest, src, n);      return (char *) memcpymmx(dest, src, n);
 }  }
 int align(const int n)  
   static int align(const int n)
 {  {
     return ((n >> 3) + (n % 8 != 0)) << 3;      return ((n >> 3) + (n % 8 != 0)) << 3;
 }  }
Line 76  int memcmpmmx(const void *s1, const void
Line 78  int memcmpmmx(const void *s1, const void
 }  }
   
 #if defined(SELF) || defined(SELFTEST) || defined(SELF_MMX)  #if defined(SELF) || defined(SELFTEST) || defined(SELF_MMX)
   
 /* testujeme memcpymmx */  /* testujeme memcpymmx */
 int main(int argc, char *argv[])  int main(int argc, char *argv[])
 {  {
Line 95  int main(int argc, char *argv[])
Line 98  int main(int argc, char *argv[])
         memcpymmx(pole2, pole1, bsize);          memcpymmx(pole2, pole1, bsize);
     exit(0);      exit(0);
 }  }
   
 #endif  #endif
   

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

Platon Group <platon@platon.org> http://platon.org/
Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top