From 8951e0798276343fd1a266fa7f10d604ebff80ce Mon Sep 17 00:00:00 2001 From: Andreas Beckmann Date: Wed, 6 Dec 2023 19:33:46 +0100 Subject: [PATCH] [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 --- lib/CL/pocl_llvm_utils.cc | 2 +- lib/kernel/host/CMakeLists.txt | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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") -- 2.30.2