regressions: Additional changes for 32-bit targets.

ck_pring
Samy Al Bahra 14 years ago
parent 69e5c56acb
commit 5fd2de18bf

@ -36,6 +36,7 @@
#include "../../common.h"
#if defined(CK_F_PR_INC_64) && defined(CK_F_PR_LOAD_64)
static int done = 0;
static struct affinity a;
static int nthr;
@ -128,4 +129,13 @@ main(int argc, char *argv[])
return (0);
}
#else
int
main(void)
{
fputs("Unsupported.", stderr);
return 0;
}
#endif

@ -9,7 +9,7 @@
#include <stdlib.h>
int
main(int void)
main(void)
{
exit(EXIT_FAILURE);
}

@ -38,9 +38,9 @@
#endif
struct example {
uint64_t a;
uint64_t b;
uint64_t c;
unsigned int a;
unsigned int b;
unsigned int c;
};
static struct example global CK_CC_CACHELINE;
@ -136,8 +136,8 @@ main(int argc, char *argv[])
*/
ck_sequence_write_begin(&seqlock);
global.a = counter++;
ck_pr_store_64(&global.b, global.a + 1000);
ck_pr_store_64(&global.c, global.b + global.a);
ck_pr_store_uint(&global.b, global.a + 1000);
ck_pr_store_uint(&global.c, global.b + global.a);
ck_sequence_write_end(&seqlock);
if (counter == 1)

Loading…
Cancel
Save