Commit 89cbfb08 by Matt Wala

Subzero: Fix a debugging string in the test_icmp crosstest.

STR(inst) should be STR(cmp). BUG=none R=jvoung@chromium.org Review URL: https://codereview.chromium.org/466543002
parent 1bd2fce4
...@@ -46,7 +46,7 @@ void testsInt(size_t &TotalTests, size_t &Passes, size_t &Failures) { ...@@ -46,7 +46,7 @@ void testsInt(size_t &TotalTests, size_t &Passes, size_t &Failures) {
} Funcs[] = { } Funcs[] = {
#define X(cmp, op) \ #define X(cmp, op) \
{ \ { \
STR(inst), (FuncTypeUnsigned)icmp##cmp, \ STR(cmp), (FuncTypeUnsigned)icmp##cmp, \
(FuncTypeUnsigned)Subzero_::icmp##cmp \ (FuncTypeUnsigned)Subzero_::icmp##cmp \
} \ } \
, ,
...@@ -54,7 +54,7 @@ void testsInt(size_t &TotalTests, size_t &Passes, size_t &Failures) { ...@@ -54,7 +54,7 @@ void testsInt(size_t &TotalTests, size_t &Passes, size_t &Failures) {
#undef X #undef X
#define X(cmp, op) \ #define X(cmp, op) \
{ \ { \
STR(inst), (FuncTypeUnsigned)(FuncTypeSigned)icmp##cmp, \ STR(cmp), (FuncTypeUnsigned)(FuncTypeSigned)icmp##cmp, \
(FuncTypeUnsigned)(FuncTypeSigned)Subzero_::icmp##cmp \ (FuncTypeUnsigned)(FuncTypeSigned)Subzero_::icmp##cmp \
} \ } \
, ,
...@@ -133,7 +133,7 @@ void testsVecInt(size_t &TotalTests, size_t &Passes, size_t &Failures) { ...@@ -133,7 +133,7 @@ void testsVecInt(size_t &TotalTests, size_t &Passes, size_t &Failures) {
} Funcs[] = { } Funcs[] = {
#define X(cmp, op) \ #define X(cmp, op) \
{ \ { \
STR(inst), (FuncTypeUnsigned)icmp##cmp, \ STR(cmp), (FuncTypeUnsigned)icmp##cmp, \
(FuncTypeUnsigned)Subzero_::icmp##cmp \ (FuncTypeUnsigned)Subzero_::icmp##cmp \
} \ } \
, ,
...@@ -141,7 +141,7 @@ void testsVecInt(size_t &TotalTests, size_t &Passes, size_t &Failures) { ...@@ -141,7 +141,7 @@ void testsVecInt(size_t &TotalTests, size_t &Passes, size_t &Failures) {
#undef X #undef X
#define X(cmp, op) \ #define X(cmp, op) \
{ \ { \
STR(inst), (FuncTypeUnsigned)(FuncTypeSigned)icmp##cmp, \ STR(cmp), (FuncTypeUnsigned)(FuncTypeSigned)icmp##cmp, \
(FuncTypeUnsigned)(FuncTypeSigned)Subzero_::icmp##cmp \ (FuncTypeUnsigned)(FuncTypeSigned)Subzero_::icmp##cmp \
} \ } \
, ,
...@@ -204,7 +204,7 @@ void testsVecI1(size_t &TotalTests, size_t &Passes, size_t &Failures) { ...@@ -204,7 +204,7 @@ void testsVecI1(size_t &TotalTests, size_t &Passes, size_t &Failures) {
FuncType FuncSz; FuncType FuncSz;
} Funcs[] = { } Funcs[] = {
#define X(cmp, op) \ #define X(cmp, op) \
{ STR(inst), (FuncType)icmpi1##cmp, (FuncType)Subzero_::icmpi1##cmp } \ { STR(cmp), (FuncType)icmpi1##cmp, (FuncType)Subzero_::icmpi1##cmp } \
, ,
ICMP_U_TABLE ICMP_U_TABLE
ICMP_S_TABLE ICMP_S_TABLE
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment