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

Side by Side Diff: crosstest/test_arith.h

Issue 1022573004: Subzero: Add fabs intrinsic support. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Code review changes Created 5 years, 9 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/crosstest.cfg ('k') | crosstest/test_arith_fabs.ll » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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);
OLDNEW
« no previous file with comments | « crosstest/crosstest.cfg ('k') | crosstest/test_arith_fabs.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698