Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Nedeľa, 25. október 2026

Rozdiely pre libplaton/platon/str/strmmx.c medzi verziami 1.2 a 1.3

verzia 1.2, 2002/07/12 21:07:16 verzia 1.3, 2002/07/14 15:24:44
Riadok 5 
Riadok 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));
Riadok 13  char *strncpymmx(void *dest, const void
Riadok 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;
 }  }
Riadok 76  int memcmpmmx(const void *s1, const void
Riadok 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[])
 {  {
Riadok 95  int main(int argc, char *argv[])
Riadok 98  int main(int argc, char *argv[])
         memcpymmx(pole2, pole1, bsize);          memcpymmx(pole2, pole1, bsize);
     exit(0);      exit(0);
 }  }
   
 #endif  #endif
   

Legend:
Odstranené z verzie1.2  
zmenené riadky
  Pridané vo verzii1.3

Platon Group <platon@platon.sk> http://platon.sk/
Copyright © 2002-2006 Platon Group
Stránka používa redakčný systém Metafox
Na začiatok