Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(43)

Side by Side Diff: crosstest/mem_intrin.h

Issue 1273153002: Subzero. Native 64-bit int arithmetic on x86-64. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Removes the x8664-specific xtest target. Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Simple sanity test of memcpy, memmove, and memset intrinsics. 2 * Simple sanity test of memcpy, memmove, and memset intrinsics.
3 * (fixed length buffers, variable length buffers, etc.). 3 * (fixed length buffers, variable length buffers, etc.).
4 * There is no include guard since this will be included multiple times, 4 * There is no include guard since this will be included multiple times,
5 * under different namespaces. 5 * under different namespaces.
6 */ 6 */
7 #include "xdefs.h"
7 8
8 int memcpy_test(uint8_t *buf, uint8_t *buf2, uint8_t init, size_t length); 9 int memcpy_test(uint8_t *buf, uint8_t *buf2, uint8_t init, SizeT length);
9 int memmove_test(uint8_t *buf, uint8_t *buf2, uint8_t init, size_t length); 10 int memmove_test(uint8_t *buf, uint8_t *buf2, uint8_t init, SizeT length);
10 int memset_test(uint8_t *buf, uint8_t *buf2, uint8_t init, size_t length); 11 int memset_test(uint8_t *buf, uint8_t *buf2, uint8_t init, SizeT length);
11 12
12 int memcpy_test_fixed_len(uint8_t init); 13 int memcpy_test_fixed_len(uint8_t init);
13 int memmove_test_fixed_len(uint8_t init); 14 int memmove_test_fixed_len(uint8_t init);
14 int memset_test_fixed_len(uint8_t init); 15 int memset_test_fixed_len(uint8_t init);
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698