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

Side by Side Diff: crosstest/test_fcmp_main.cpp

Issue 1706883003: Subzero. Removes X8664_STACK_HACK from the crosstests. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: removes code setting the stack size Created 4 years, 10 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/test_cast_main.cpp ('k') | crosstest/test_icmp_main.cpp » ('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_fcmp_main.cpp - Driver for tests ------------===// 1 //===- subzero/crosstest/test_fcmp_main.cpp - Driver for tests ------------===//
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 // Driver for cross testing the fcmp bitcode instruction 10 // Driver for cross testing the fcmp bitcode instruction
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
197 std::cout << Funcs[f].Name << "Vector(" << vectAsString<v4f32>(Value1) 197 std::cout << Funcs[f].Name << "Vector(" << vectAsString<v4f32>(Value1)
198 << ", " << vectAsString<v4f32>(Value2) 198 << ", " << vectAsString<v4f32>(Value2)
199 << "): sz=" << vectAsString<v4si32>(ResultSz) 199 << "): sz=" << vectAsString<v4si32>(ResultSz)
200 << " llc=" << vectAsString<v4si32>(ResultLlc) << "\n"; 200 << " llc=" << vectAsString<v4si32>(ResultLlc) << "\n";
201 } 201 }
202 } 202 }
203 } 203 }
204 #endif // ARM32 204 #endif // ARM32
205 } 205 }
206 206
207 #ifdef X8664_STACK_HACK
208 extern "C" int wrapped_main(int argc, char *argv[]) {
209 #else // !defined(X8664_STACK_HACK)
210 int main(int argc, char *argv[]) { 207 int main(int argc, char *argv[]) {
211 #endif // X8664_STACK_HACK
212 size_t TotalTests = 0; 208 size_t TotalTests = 0;
213 size_t Passes = 0; 209 size_t Passes = 0;
214 size_t Failures = 0; 210 size_t Failures = 0;
215 211
216 initializeValues(); 212 initializeValues();
217 213
218 testsScalar(TotalTests, Passes, Failures); 214 testsScalar(TotalTests, Passes, Failures);
219 testsVector(TotalTests, Passes, Failures); 215 testsVector(TotalTests, Passes, Failures);
220 216
221 std::cout << "TotalTests=" << TotalTests << " Passes=" << Passes 217 std::cout << "TotalTests=" << TotalTests << " Passes=" << Passes
222 << " Failures=" << Failures << "\n"; 218 << " Failures=" << Failures << "\n";
223 return Failures; 219 return Failures;
224 } 220 }
OLDNEW
« no previous file with comments | « crosstest/test_cast_main.cpp ('k') | crosstest/test_icmp_main.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698