| 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 "float32down_sort.h" |
|
5
|
|
|
|
|
|
|
#include "crypto_int32.h" |
|
6
|
|
|
|
|
|
|
|
|
7
|
0
|
|
|
|
|
|
void float32down_sort(float *x,long long n) |
|
8
|
|
|
|
|
|
|
{ |
|
9
|
0
|
|
|
|
|
|
int32_t *y = (int32_t *) x; |
|
10
|
|
|
|
|
|
|
long long j; |
|
11
|
|
|
|
|
|
|
|
|
12
|
0
|
0
|
|
|
|
|
for (j = 0;j < n;++j) { |
|
13
|
0
|
|
|
|
|
|
int32_t yj = y[j]; |
|
14
|
0
|
|
|
|
|
|
yj ^= ((uint32_t) crypto_int32_negative_mask(yj)) >> 1; |
|
15
|
0
|
|
|
|
|
|
y[j] = yj ^ -1; |
|
16
|
|
|
|
|
|
|
} |
|
17
|
0
|
|
|
|
|
|
djbsort_int32(y,n); |
|
18
|
0
|
0
|
|
|
|
|
for (j = 0;j < n;++j) { |
|
19
|
0
|
|
|
|
|
|
int32_t yj = y[j] ^ -1; |
|
20
|
0
|
|
|
|
|
|
yj ^= ((uint32_t) crypto_int32_negative_mask(yj)) >> 1; |
|
21
|
0
|
|
|
|
|
|
y[j] = yj; |
|
22
|
|
|
|
|
|
|
} |
|
23
|
0
|
|
|
|
|
|
} |