Skip to content

Commit

Permalink
Merge pull request #612 from Cuda-Chen/Fix-_mm_cmplt_sd-and-_mm_cmpnl…
Browse files Browse the repository at this point in the history
…t_sd-test-cases

Fix `_mm_cmplt_sd` and `_mm_cmpnlt_sd` test cases
  • Loading branch information
jserv authored Sep 23, 2023
2 parents bbe1b6f + 2465ec8 commit 8371b36
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/impl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4052,7 +4052,7 @@ result_t test_mm_cmplt_sd(const SSE2NEONTestImpl &impl, uint32_t iter)
{
double *_a = (double *) impl.mTestFloatPointer1;
double *_b = (double *) impl.mTestFloatPointer2;
uint64_t d0 = (_a[0] <= _b[0]) ? ~UINT64_C(0) : 0;
uint64_t d0 = (_a[0] < _b[0]) ? ~UINT64_C(0) : 0;
uint64_t d1 = ((uint64_t *) _a)[1];

__m128d a = load_m128d(_a);
Expand Down Expand Up @@ -4194,7 +4194,7 @@ result_t test_mm_cmpnlt_sd(const SSE2NEONTestImpl &impl, uint32_t iter)
{
double *_a = (double *) impl.mTestFloatPointer1;
double *_b = (double *) impl.mTestFloatPointer2;
uint64_t d0 = !(_a[0] <= _b[0]) ? ~UINT64_C(0) : 0;
uint64_t d0 = !(_a[0] < _b[0]) ? ~UINT64_C(0) : 0;
uint64_t d1 = ((uint64_t *) _a)[1];

__m128d a = load_m128d(_a);
Expand Down

0 comments on commit 8371b36

Please sign in to comment.