| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
/* WARNING: auto-generated (by autogen/useint); do not edit */ |
|
2
|
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
#include "djbsort.h" |
|
4
|
|
|
|
|
|
|
#include "float64down_sort.h" |
|
5
|
|
|
|
|
|
|
#include "crypto_int64.h" |
|
6
|
|
|
|
|
|
|
|
|
7
|
1
|
|
|
|
|
|
void float64down_sort(double *x,long long n) |
|
8
|
|
|
|
|
|
|
{ |
|
9
|
1
|
|
|
|
|
|
int64_t *y = (int64_t *) x; |
|
10
|
|
|
|
|
|
|
long long j; |
|
11
|
|
|
|
|
|
|
|
|
12
|
6
|
100
|
|
|
|
|
for (j = 0;j < n;++j) { |
|
13
|
5
|
|
|
|
|
|
int64_t yj = y[j]; |
|
14
|
5
|
|
|
|
|
|
yj ^= ((uint64_t) crypto_int64_negative_mask(yj)) >> 1; |
|
15
|
5
|
|
|
|
|
|
y[j] = yj ^ -1; |
|
16
|
|
|
|
|
|
|
} |
|
17
|
1
|
|
|
|
|
|
djbsort_int64(y,n); |
|
18
|
6
|
100
|
|
|
|
|
for (j = 0;j < n;++j) { |
|
19
|
5
|
|
|
|
|
|
int64_t yj = y[j] ^ -1; |
|
20
|
5
|
|
|
|
|
|
yj ^= ((uint64_t) crypto_int64_negative_mask(yj)) >> 1; |
|
21
|
5
|
|
|
|
|
|
y[j] = yj; |
|
22
|
|
|
|
|
|
|
} |
|
23
|
1
|
|
|
|
|
|
} |