From: Andreas Beckmann Date: Wed, 6 Dec 2023 18:33:46 +0000 (+0100) Subject: [PATCH 236/240] use x86-64 instead of athlon64 as the generic SSE2 64-bit target X-Git-Tag: archive/raspbian/4.0-3+rpi1^2~6 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=8951e0798276343fd1a266fa7f10d604ebff80ce;p=pocl.git [PATCH 236/240] use x86-64 instead of athlon64 as the generic SSE2 64-bit target Gbp-Pq: Name 0236-use-x86-64-instead-of-athlon64-as-the-generic-SSE2-6.patch --- diff --git a/lib/CL/pocl_llvm_utils.cc b/lib/CL/pocl_llvm_utils.cc index 3c85061..7fe324d 100644 --- a/lib/CL/pocl_llvm_utils.cc +++ b/lib/CL/pocl_llvm_utils.cc @@ -183,7 +183,7 @@ const struct kernellib_features { #endif #if defined(__i386__) || defined(__x86_64__) "sse2", - "athlon64", + "x86-64", {"sse2", NULL}, "ssse3", "core2", diff --git a/lib/kernel/host/CMakeLists.txt b/lib/kernel/host/CMakeLists.txt index 3ad332b..c14ec6d 100644 --- a/lib/kernel/host/CMakeLists.txt +++ b/lib/kernel/host/CMakeLists.txt @@ -398,8 +398,8 @@ function(x86_distro_variant_to_flags VARIANT OUT_LLC_FLAGS OUT_CLANG_FLAGS) set(LLC_F "-mcpu=pentium3") elseif("${VARIANT}" STREQUAL "sse2") - set(CLANG_F "${CLANG_MARCH_FLAG}athlon64") - set(LLC_F "-mcpu=athlon64") + set(CLANG_F "${CLANG_MARCH_FLAG}x86-64") + set(LLC_F "-mcpu=x86-64") elseif("${VARIANT}" STREQUAL "ssse3") set(CLANG_F "${CLANG_MARCH_FLAG}core2")