Changeset 128 for trunk/orca
- Timestamp:
- 04/29/06 01:43:30 (3 years ago)
- Location:
- trunk/orca
- Files:
-
- 2 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/orca/TODO
r31 r128 25 25 Thune Backport 26 26 27 * Parse 27 28 * UCell union 28 29 * Value structure hidden more using macros (ur_int(), etc.) -
trunk/orca/series.c
r95 r128 338 338 static void copyV( OValue* src, OValue* srcEnd, OValue* dest ) 339 339 { 340 #if __WORDSIZE == 64 341 uint64_t* it = (uint64_t*) src; 342 uint64_t* end = (uint64_t*) srcEnd; 343 uint64_t* dst = (uint64_t*) dest; 344 while( it != end ) 345 { 346 *dst++ = *it++; 347 *dst++ = *it++; 348 } 349 #else 340 350 uint32_t* it = (uint32_t*) src; 341 351 uint32_t* end = (uint32_t*) srcEnd; … … 348 358 *dst++ = *it++; 349 359 } 360 #endif 350 361 } 351 362 … … 353 364 static void copyReverseV( OValue* src, OValue* srcEnd, OValue* dest ) 354 365 { 366 #if __WORDSIZE == 64 367 uint64_t* it = (uint64_t*) src; 368 uint64_t* end = (uint64_t*) srcEnd; 369 uint64_t* dst = (uint64_t*) dest; 370 it += 1; 371 dst += 1; 372 end += 1; 373 while( it != end ) 374 { 375 *dst-- = *it--; 376 *dst-- = *it--; 377 } 378 #else 355 379 uint32_t* it = (uint32_t*) src; 356 380 uint32_t* end = (uint32_t*) srcEnd; … … 366 390 *dst-- = *it--; 367 391 } 392 #endif 368 393 } 369 394
