~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to strings/bmove512.c

  • Committer: Monty Taylor
  • Date: 2008-07-05 22:08:52 UTC
  • mto: This revision was merged to the branch mainline in revision 77.
  • Revision ID: monty@inaugust.com-20080705220852-cqd9t6tfkhvlcf73
Removed HAVE_LONG_LONG, as this is now assumed.

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
 
31
31
#ifndef bmove512
32
32
 
33
 
#ifdef HAVE_LONG_LONG
34
 
#define LONG ulonglong
35
 
#else
36
 
#define LONG ulonglong
37
 
#endif
 
33
#define LONG ulonglong
38
34
 
39
35
void bmove512(uchar *to, const uchar *from, register size_t length)
40
36
{
43
39
  f= (LONG*) from;
44
40
  t= (LONG*) to;
45
41
 
46
 
#if defined(m88k) || defined(sparc) || defined(HAVE_LONG_LONG)
 
42
#if defined(m88k) || defined(sparc) 
47
43
  do {
48
44
    t[0]=f[0];      t[1]=f[1];      t[2]=f[2];      t[3]=f[3];
49
45
    t[4]=f[4];      t[5]=f[5];      t[6]=f[6];      t[7]=f[7];
61
57
    t[52]=f[52];    t[53]=f[53];    t[54]=f[54];    t[55]=f[55];
62
58
    t[56]=f[56];    t[57]=f[57];    t[58]=f[58];    t[59]=f[59];
63
59
    t[60]=f[60];    t[61]=f[61];    t[62]=f[62];    t[63]=f[63];
64
 
#ifdef HAVE_LONG_LONG
65
60
    t+=64; f+=64;
66
 
#else
67
 
    t[64]=f[64];    t[65]=f[65];    t[66]=f[66];    t[67]=f[67];
68
 
    t[68]=f[68];    t[69]=f[69];    t[70]=f[70];    t[71]=f[71];
69
 
    t[72]=f[72];    t[73]=f[73];    t[74]=f[74];    t[75]=f[75];
70
 
    t[76]=f[76];    t[77]=f[77];    t[78]=f[78];    t[79]=f[79];
71
 
    t[80]=f[80];    t[81]=f[81];    t[82]=f[82];    t[83]=f[83];
72
 
    t[84]=f[84];    t[85]=f[85];    t[86]=f[86];    t[87]=f[87];
73
 
    t[88]=f[88];    t[89]=f[89];    t[90]=f[90];    t[91]=f[91];
74
 
    t[92]=f[92];    t[93]=f[93];    t[94]=f[94];    t[95]=f[95];
75
 
    t[96]=f[96];    t[97]=f[97];    t[98]=f[98];    t[99]=f[99];
76
 
    t[100]=f[100];  t[101]=f[101];  t[102]=f[102];  t[103]=f[103];
77
 
    t[104]=f[104];  t[105]=f[105];  t[106]=f[106];  t[107]=f[107];
78
 
    t[108]=f[108];  t[109]=f[109];  t[110]=f[110];  t[111]=f[111];
79
 
    t[112]=f[112];  t[113]=f[113];  t[114]=f[114];  t[115]=f[115];
80
 
    t[116]=f[116];  t[117]=f[117];  t[118]=f[118];  t[119]=f[119];
81
 
    t[120]=f[120];  t[121]=f[121];  t[122]=f[122];  t[123]=f[123];
82
 
    t[124]=f[124];  t[125]=f[125];  t[126]=f[126];  t[127]=f[127];
83
 
    t+=128; f+=128;
84
 
#endif
85
61
  } while (f < end);
86
62
#else
87
63
  do {