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

Side by Side Diff: crosstest/test_strengthreduce.def

Issue 1146803002: Subzero: Strength-reduce mul by certain constants. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Remove a TODO Created 5 years, 6 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_strengthreduce.cpp ('k') | crosstest/test_strengthreduce_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
(Empty)
1 //===- subzero/crosstest/test_strengthreduce.def - macros -----*- C++ -*---===//
2 //
3 // The Subzero Code Generator
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 //
10 // This file defines macros for crosstesting strength reduction.
11 //
12 //===----------------------------------------------------------------------===//
13
14 #ifndef TEST_STRENGTHREDUCE_DEF
15 #define TEST_STRENGTHREDUCE_DEF
16
17 #define XSTR(s) STR(s)
18 #define STR(s) #s
19
20 #define CONST_TABLE \
21 X( -10, _10) \
22 X( -7, _7) \
23 X( -2, _2) \
24 X( -1, _1) \
25 X( 0, 0) \
26 X( 1, 1) \
27 X( 2, 2) \
28 X( 3, 3) \
29 X( 4, 4) \
30 X( 5, 5) \
31 X( 7, 7) \
32 X( 9, 9) \
33 X( 10, 10) \
34 X( 100, 100) \
35 X(100000, 100000) \
36 //#define X(constant, suffix)
37
38 #endif // !TEST_STRENGTHREDUCE_DEF
OLDNEW
« no previous file with comments | « crosstest/test_strengthreduce.cpp ('k') | crosstest/test_strengthreduce_main.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698