Skip to content

Commit

Permalink
Second fix to arm64.
Browse files Browse the repository at this point in the history
  • Loading branch information
Wei Dai committed Jun 9, 2021
1 parent 8537dcb commit 7f0b8c3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion native/tests/seal/util/common.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,11 @@ namespace sealtest
ASSERT_TRUE(unsigned_eq(pos_uc, pos_c));
ASSERT_TRUE(unsigned_geq(pos_uc, pos_c));
ASSERT_TRUE(unsigned_leq(pos_uc, pos_c));
ASSERT_TRUE(unsigned_lt(pos_uc_max, neg_c));
#if defined(__aarch64__) || defined(_M_ARM64)
ASSERT_TRUE(unsigned_eq(pos_uc_max, neg_c));
ASSERT_TRUE(unsigned_eq(neg_c, pos_ull_neg_c));
#else
ASSERT_TRUE(unsigned_lt(pos_uc_max, neg_c));
ASSERT_TRUE(unsigned_eq(neg_c, pos_ull_max));
#endif
ASSERT_TRUE(unsigned_eq(neg_ull, pos_ull_max));
Expand Down

0 comments on commit 7f0b8c3

Please sign in to comment.