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 39