Skip to content

Commit

Permalink
Merge pull request OpenMathLib#4287 from martin-frbg/issue4282
Browse files Browse the repository at this point in the history
Use SkylakeX ?ASUM microkernel for Cooperlake/Sapphirerapids as well
  • Loading branch information
martin-frbg authored Nov 4, 2023
2 parents 4c6ee3f + 9019bc4 commit 25096e5
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion kernel/x86_64/casum.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#define ABS_K(a) ((a) > 0 ? (a) : (-(a)))
#endif

#if defined(SKYLAKEX)
#if defined(SKYLAKEX) || defined(COOPERLAKE) || defined(SAPPHIRERAPIDS)
#include "casum_microk_skylakex-2.c"
#endif

Expand Down
2 changes: 1 addition & 1 deletion kernel/x86_64/dasum.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#define ABS_K(a) ((a) > 0 ? (a) : (-(a)))
#endif

#if defined(SKYLAKEX)
#if defined(SKYLAKEX) || defined(COOPERLAKE) || defined(SAPPHIRERAPIDS)
#include "dasum_microk_skylakex-2.c"
#elif defined(HASWELL) || defined(ZEN)
#include "dasum_microk_haswell-2.c"
Expand Down
2 changes: 1 addition & 1 deletion kernel/x86_64/sasum.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

#endif

#if defined(SKYLAKEX)
#if defined(SKYLAKEX) || defined(COOPERLAKE) || defined(SAPPHIRERAPIDS)
#include "sasum_microk_skylakex-2.c"
#elif defined(HASWELL) || defined(ZEN)
#include "sasum_microk_haswell-2.c"
Expand Down
2 changes: 1 addition & 1 deletion kernel/x86_64/zasum.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#define ABS_K(a) ((a) > 0 ? (a) : (-(a)))
#endif

#if defined(SKYLAKEX)
#if defined(SKYLAKEX) || defined(COOPERLAKE) || defined(SAPPHIRERAPIDS)
#include "zasum_microk_skylakex-2.c"
#endif

Expand Down

0 comments on commit 25096e5

Please sign in to comment.