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

Unified Diff: crosstest/test_calling_conv.cpp

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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « crosstest/test_calling_conv.h ('k') | crosstest/test_calling_conv_main.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: crosstest/test_calling_conv.cpp
diff --git a/crosstest/test_calling_conv.cpp b/crosstest/test_calling_conv.cpp
index e7fa6160664c2127cb67ac08f709306c3b0ad0dd..364b0dfb44652f07556198fd2d5ccbbdc600b30b 100644
--- a/crosstest/test_calling_conv.cpp
+++ b/crosstest/test_calling_conv.cpp
@@ -17,6 +17,7 @@
#include <cstring>
#include "test_calling_conv.h"
+#include "xdefs.h"
#define CALL_AS_TYPE(Ty, Func) (reinterpret_cast<Ty *>(Func))
@@ -37,9 +38,9 @@ void caller_vvvvv(void) {
void caller_vlvlivfvdviv(void) {
v4f32 arg1 = {0, 1, 2, 3};
- int64_t arg2 = 4;
+ int64 arg2 = 4;
v4f32 arg3 = {6, 7, 8, 9};
- int64_t arg4 = 10;
+ int64 arg4 = 10;
int arg5 = 11;
v4f32 arg6 = {12, 13, 14, 15};
float arg7 = 16;
@@ -75,8 +76,8 @@ callee_vvvvv(v4si32 arg1, v4si32 arg2, v4si32 arg3, v4si32 arg4, v4si32 arg5) {
}
void __attribute__((noinline))
-callee_vlvlivfvdviv(v4f32 arg1, int64_t arg2, v4f32 arg3, int64_t arg4,
- int arg5, v4f32 arg6, float arg7, v4f32 arg8, double arg9,
+callee_vlvlivfvdviv(v4f32 arg1, int64 arg2, v4f32 arg3, int64 arg4, int arg5,
+ v4f32 arg6, float arg7, v4f32 arg8, double arg9,
v4f32 arg10, int arg11, v4f32 arg12) {
switch (ArgNum) {
HANDLE_ARG(1);
« no previous file with comments | « crosstest/test_calling_conv.h ('k') | crosstest/test_calling_conv_main.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698