You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
836 B
41 lines
836 B
//===- subzero/crosstest/test_fcmp.def - macros for tests -----*- C++ -*---===//
|
|
//
|
|
// The Subzero Code Generator
|
|
//
|
|
// This file is distributed under the University of Illinois Open Source
|
|
// License. See LICENSE.TXT for details.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
//
|
|
// This file defines macros for crosstesting the fcmp instruction.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#ifndef TEST_FCMP_DEF
|
|
#define TEST_FCMP_DEF
|
|
|
|
#define XSTR(s) STR(s)
|
|
#define STR(s) #s
|
|
|
|
#define FCMP_TABLE \
|
|
/* cmp */ \
|
|
X(False) \
|
|
X(Oeq) \
|
|
X(Ogt) \
|
|
X(Oge) \
|
|
X(Olt) \
|
|
X(Ole) \
|
|
X(One) \
|
|
X(Ord) \
|
|
X(Ueq) \
|
|
X(Ugt) \
|
|
X(Uge) \
|
|
X(Ult) \
|
|
X(Ule) \
|
|
X(Une) \
|
|
X(Uno) \
|
|
X(True) \
|
|
//#define X(cmp)
|
|
|
|
#endif // TEST_FCMP_DEF
|