OLD | NEW |
1 //===- subzero/crosstest/test_arith.h - Test prototypes ---------*- C++ -*-===// | 1 //===- subzero/crosstest/test_arith.h - Test prototypes ---------*- 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 declares the function prototypes used for crosstesting arithmetic | 10 // This file declares the function prototypes used for crosstesting arithmetic |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 #define X(inst, op, func) \ | 48 #define X(inst, op, func) \ |
49 float test##inst(float a, float b); \ | 49 float test##inst(float a, float b); \ |
50 double test##inst(double a, double b); \ | 50 double test##inst(double a, double b); \ |
51 v4f32 test##inst(v4f32 a, v4f32 b); | 51 v4f32 test##inst(v4f32 a, v4f32 b); |
52 FPOP_TABLE | 52 FPOP_TABLE |
53 #undef X | 53 #undef X |
54 | 54 |
55 float mySqrt(float a); | 55 float mySqrt(float a); |
56 double mySqrt(double a); | 56 double mySqrt(double a); |
57 // mySqrt for v4f32 is currently unsupported. | 57 // mySqrt for v4f32 is currently unsupported. |
| 58 |
| 59 float myFabs(float a); |
| 60 double myFabs(double a); |
| 61 v4f32 myFabs(v4f32 a); |
OLD | NEW |