Skip to content

Commit

Permalink
fix: corrected some comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaskowicz1 committed Dec 3, 2023
1 parent 64afcfe commit 91a41a5
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
5 changes: 4 additions & 1 deletion include/dpp/isa/avx.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,10 @@
************************************************************************************/
#pragma once

// If the user is using clang-cl, both _MSC_VER and __clang__ are defined. However, clang-cl breaks using this as it knows nothing above __m128.
/*
* If the user is using clang-cl, both _MSC_VER and __clang__ are defined. However, clang-cl breaks using this as it knows nothing above __m128.
* So, we make sure that both aren't defined, and only do this if _MSC_VER, __GNUC__, or __clang__, is defined.
*/
#if (!defined _MSC_VER && !defined __clang__) && (defined _MSC_VER || defined __GNUC__ || defined __clang__)

#include <immintrin.h>
Expand Down
5 changes: 4 additions & 1 deletion include/dpp/isa/avx2.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,10 @@
************************************************************************************/
#pragma once

// If the user is using clang-cl, both _MSC_VER and __clang__ are defined. However, clang-cl breaks using this as it knows nothing above __m128.
/*
* If the user is using clang-cl, both _MSC_VER and __clang__ are defined. However, clang-cl breaks using this as it knows nothing above __m128.
* So, we make sure that both aren't defined, and only do this if _MSC_VER, __GNUC__, or __clang__, is defined.
*/
#if (!defined _MSC_VER && !defined __clang__) && (defined _MSC_VER || defined __GNUC__ || defined __clang__)

#include <immintrin.h>
Expand Down
5 changes: 4 additions & 1 deletion include/dpp/isa/avx512.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,10 @@
************************************************************************************/
#pragma once

// If the user is using clang-cl, both _MSC_VER and __clang__ are defined. However, clang-cl breaks using this as it knows nothing above __m128.
/*
* If the user is using clang-cl, both _MSC_VER and __clang__ are defined. However, clang-cl breaks using this as it knows nothing above __m128.
* So, we make sure that both aren't defined, and only do this if _MSC_VER, __GNUC__, or __clang__, is defined.
*/
#if (!defined _MSC_VER && !defined __clang__) && (defined _MSC_VER || defined __GNUC__ || defined __clang__)

#include <immintrin.h>
Expand Down

0 comments on commit 91a41a5

Please sign in to comment.