freevec.org

  • about
  • benchmarks
Home › libfreevec 1.0.4 benchmarks updated!

mempcpy()

markos — Tue, 29/01/2008 - 17:44

Description

According to the man page, mempcpy() is nearly identical to the memcpy(3) function. It copies n bytes from the object beginning at src into the object pointed to by dest. But instead of returning the value of dest it returns a pointer to the byte following the last written byte. This function is useful in situations where a number of objects shall be copied to consecutive memory positions.function copies n bytes from memory area src to memory area dest.. It returns dest + n.

Due to the similarities with memcpy(), the functions operate nearly identical -in fact the code is usually the same, with only the return value changing.

Each CPU in detail:

And for comparison here is the result of the same benchmark run on an Athlon X2 5000 (2.5Ghz), running 32-bit code:

Results/Comments

The same comments done in memcpy() apply here.

SIMD

  • AltiVec
  • libfreevec
  • Memory
‹ memmove() up memrchr() ›
  • Login to post comments

Primary links

  • About
    • History of libfreevec
  • Benchmarks
    • libfreevec

Search

User login

  • Request new password

Popular tags

Addition Algorithms AltiVec ARM Benchmarking float Inverse libfreevec Matrix Memory Multiply NEON reference Scale SSE String searching Subtraction Translate Transpose Tutorial
more tags

Please donate to libfreevec to ensure its continuing development! Donations are done via Paypal.





  • about
  • benchmarks

Copyright (c)2008 by CODEX.
Powered by Drupal. Using theme Deco.
All Google charts have been created by the CSV Chart and Chart API Drupal modules.