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

Side by Side Diff: crosstest/test_calling_conv.h

Issue 1273153002: Subzero. Native 64-bit int arithmetic on x86-64. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Fixes tests & make format Created 5 years, 4 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_bitmanip_main.cpp ('k') | crosstest/test_calling_conv.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_calling_conv.h - Test prototypes --*- C++ -*-===// 1 //===- subzero/crosstest/test_calling_conv.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 for crosstesting the calling 10 // This file declares the function prototypes for crosstesting the calling
11 // convention. 11 // convention.
12 // 12 //
13 //===----------------------------------------------------------------------===// 13 //===----------------------------------------------------------------------===//
14 14
15 #include "test_calling_conv.def" 15 #include "test_calling_conv.def"
16 #include "vectors.h" 16 #include "vectors.h"
17 #include "xdefs.h"
17 18
18 typedef void (*CalleePtrTy)(); 19 typedef void (*CalleePtrTy)();
19 extern CalleePtrTy Callee; 20 extern CalleePtrTy Callee;
20 extern size_t ArgNum; 21 extern size_t ArgNum;
21 extern char *Buf; 22 extern char *Buf;
22 23
23 void caller_i(); 24 void caller_i();
24 void caller_alloca_i(); 25 void caller_alloca_i();
25 typedef void callee_i_Ty(int); 26 typedef void callee_i_Ty(int);
26 callee_i_Ty callee_i; 27 callee_i_Ty callee_i;
27 callee_i_Ty callee_alloca_i; 28 callee_i_Ty callee_alloca_i;
28 29
29 void caller_vvvvv(); 30 void caller_vvvvv();
30 typedef void(callee_vvvvv_Ty)(v4si32, v4si32, v4si32, v4si32, v4si32); 31 typedef void(callee_vvvvv_Ty)(v4si32, v4si32, v4si32, v4si32, v4si32);
31 callee_vvvvv_Ty callee_vvvvv; 32 callee_vvvvv_Ty callee_vvvvv;
32 33
33 void caller_vlvlivfvdviv(); 34 void caller_vlvlivfvdviv();
34 typedef void(callee_vlvlivfvdviv_Ty)(v4f32, int64_t, v4f32, int64_t, int, v4f32, 35 typedef void(callee_vlvlivfvdviv_Ty)(v4f32, int64, v4f32, int64, int, v4f32,
35 float, v4f32, double, v4f32, int, v4f32); 36 float, v4f32, double, v4f32, int, v4f32);
36 callee_vlvlivfvdviv_Ty callee_vlvlivfvdviv; 37 callee_vlvlivfvdviv_Ty callee_vlvlivfvdviv;
OLDNEW
« no previous file with comments | « crosstest/test_bitmanip_main.cpp ('k') | crosstest/test_calling_conv.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698