• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1//===- subzero/crosstest/test_fcmp.def - macros for tests -----*- 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 the fcmp instruction.
11//
12//===----------------------------------------------------------------------===//
13
14#ifndef TEST_FCMP_DEF
15#define TEST_FCMP_DEF
16
17#define XSTR(s) STR(s)
18#define STR(s) #s
19
20#define FCMP_TABLE \
21  /* cmp */ \
22  X(False) \
23  X(Oeq) \
24  X(Ogt) \
25  X(Oge) \
26  X(Olt) \
27  X(Ole) \
28  X(One) \
29  X(Ord) \
30  X(Ueq) \
31  X(Ugt) \
32  X(Uge) \
33  X(Ult) \
34  X(Ule) \
35  X(Une) \
36  X(Uno) \
37  X(True) \
38//#define X(cmp)
39
40#endif // TEST_FCMP_DEF
41