From de0e582eba46b1a60adb7c8b9dcc9d1eb172ad31 Mon Sep 17 00:00:00 2001 From: Marcin Juszkiewicz Date: Wed, 30 Jul 2014 13:10:16 +0200 Subject: [PATCH 1/2] Add ck_pr_fence_acquire/release to generic GCC version Signed-off-by: Marcin Juszkiewicz --- include/gcc/ck_pr.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/gcc/ck_pr.h b/include/gcc/ck_pr.h index 83fdcfe..6ebadd8 100644 --- a/include/gcc/ck_pr.h +++ b/include/gcc/ck_pr.h @@ -128,6 +128,8 @@ CK_PR_FENCE(store) CK_PR_FENCE(store_store) CK_PR_FENCE(store_load) CK_PR_FENCE(memory) +CK_PR_FENCE(acquire) +CK_PR_FENCE(release) #undef CK_PR_FENCE From f2f04412f61149dba6d66630115d2424cd1a3d62 Mon Sep 17 00:00:00 2001 From: Marcin Juszkiewicz Date: Wed, 30 Jul 2014 13:10:42 +0200 Subject: [PATCH 2/2] Add AArch64 (64-bit ARM) support Signed-off-by: Marcin Juszkiewicz --- build/ck.build.aarch64 | 1 + configure | 6 ++++++ 2 files changed, 7 insertions(+) create mode 100644 build/ck.build.aarch64 diff --git a/build/ck.build.aarch64 b/build/ck.build.aarch64 new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/build/ck.build.aarch64 @@ -0,0 +1 @@ + diff --git a/configure b/configure index 6c1a420..537179d 100755 --- a/configure +++ b/configure @@ -427,6 +427,12 @@ case $PLATFORM in PLATFORM=arm ENVIRONMENT=32 ;; + "aarch64") + RTM_ENABLE="CK_MD_RTM_DISABLE" + MM="${MM:-"CK_MD_RMO"}" + PLATFORM=aarch64 + ENVIRONMENT=64 + ;; *) RTM_ENABLE="CK_MD_RTM_DISABLE" PLATFORM=