From 19517cc6f39871abf4a0705b49cfed9049ca6033 Mon Sep 17 00:00:00 2001 From: Joshua Haberman Date: Mon, 28 Mar 2011 16:03:22 -0700 Subject: Switch to non-branching varint decoder. --- tests/test_varint.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'tests/test_varint.c') diff --git a/tests/test_varint.c b/tests/test_varint.c index ef74fa6..efe9418 100644 --- a/tests/test_varint.c +++ b/tests/test_varint.c @@ -50,16 +50,14 @@ static void test_varint_decoder(upb_decoderet (*decoder)(const char*)) { TEST_VARINT_DECODER(branch32); TEST_VARINT_DECODER(branch64); -#ifdef __SSE__ -TEST_VARINT_DECODER(nobranch); -#endif +TEST_VARINT_DECODER(nobranch1); +TEST_VARINT_DECODER(nobranch2); int main() { test_branch32(); test_branch64(); -#ifdef __SSE__ - test_nobranch(); -#endif + test_nobranch1(); + test_nobranch2(); } #if 0 -- cgit v1.2.3