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

Side by Side Diff: crosstest/test_bitmanip.def

Issue 401533002: Lower byte swap intrinsic. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: rebased Created 6 years, 5 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
« no previous file with comments | « crosstest/test_bitmanip.cpp ('k') | crosstest/test_bitmanip_main.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 //===- subzero/crosstest/test_bitmanip.def - macros for tests -*- C++ -*---===// 1 //===- subzero/crosstest/test_bitmanip.def - macros for tests -*- C++ -*---===//
2 // 2 //
3 // The Subzero Code Generator 3 // The Subzero Code Generator
4 // 4 //
5 // This file is distributed under the University of Illinois Open Source 5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details. 6 // License. See LICENSE.TXT for details.
7 // 7 //
8 //===----------------------------------------------------------------------===// 8 //===----------------------------------------------------------------------===//
9 // 9 //
10 // This file defines macros for testing bit manipulation intrinsics. 10 // This file defines macros for testing bit manipulation intrinsics.
(...skipping 21 matching lines...) Expand all
32 #define FOR_ALL_BMI_TYPES_INST(F, inst) \ 32 #define FOR_ALL_BMI_TYPES_INST(F, inst) \
33 F(inst, uint32_t) \ 33 F(inst, uint32_t) \
34 F(inst, uint64_t) 34 F(inst, uint64_t)
35 35
36 #define FOR_ALL_BMI_OP_TYPES(X) \ 36 #define FOR_ALL_BMI_OP_TYPES(X) \
37 FOR_ALL_BMI_TYPES_INST(X, ctlz) \ 37 FOR_ALL_BMI_TYPES_INST(X, ctlz) \
38 FOR_ALL_BMI_TYPES_INST(X, cttz) \ 38 FOR_ALL_BMI_TYPES_INST(X, cttz) \
39 FOR_ALL_BMI_TYPES_INST(X, ctpop) 39 FOR_ALL_BMI_TYPES_INST(X, ctpop)
40 //#define X(inst, type) 40 //#define X(inst, type)
41 41
42 #define BSWAP_TABLE \
43 /* type, builtin_name */ \
44 X(uint16_t, __builtin_bswap16) \
45 X(uint32_t, __builtin_bswap32) \
46 X(uint64_t, __builtin_bswap64)
47
42 #endif // TEST_BIT_MANIP_DEF 48 #endif // TEST_BIT_MANIP_DEF
OLDNEW
« no previous file with comments | « crosstest/test_bitmanip.cpp ('k') | crosstest/test_bitmanip_main.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698