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

Unified Diff: crosstest/test_arith.h

Issue 407543003: Factor out common vector crosstesting code. (Closed) Base URL: https://gerrit.chromium.org/gerrit/p/native_client/pnacl-subzero.git@master
Patch Set: Created 6 years, 5 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 | « no previous file | crosstest/test_arith.cpp » ('j') | crosstest/test_arith.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: crosstest/test_arith.h
diff --git a/crosstest/test_arith.h b/crosstest/test_arith.h
index a12ea242c304ef15a11ccfbd9ee1ab754a154cef..13f100b8cc5d3d88a1a528c8b5e4b25a64052cf3 100644
--- a/crosstest/test_arith.h
+++ b/crosstest/test_arith.h
@@ -1,15 +1,6 @@
#include <stdint.h>
#include "test_arith.def"
-// Vector types
-typedef int32_t v4si32 __attribute__((vector_size(16)));
-typedef uint32_t v4ui32 __attribute__((vector_size(16)));
-typedef int16_t v8si16 __attribute__((vector_size(16)));
-typedef uint16_t v8ui16 __attribute__((vector_size(16)));
-typedef int8_t v16si8 __attribute__((vector_size(16)));
-typedef uint8_t v16ui8 __attribute__((vector_size(16)));
-typedef float v4f32 __attribute__((vector_size(16)));
-
#define X(inst, op, isdiv) \
bool test##inst(bool a, bool b); \
uint8_t test##inst(uint8_t a, uint8_t b); \
« no previous file with comments | « no previous file | crosstest/test_arith.cpp » ('j') | crosstest/test_arith.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698