-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New tiling variants, do_tile wrapper in easypap. New tracking mode in…
… easyview.
- Loading branch information
Showing
38 changed files
with
975 additions
and
568 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,34 @@ | ||
#ifndef ARCH_FLAGS_IS_DEF | ||
#define ARCH_FLAGS_IS_DEF | ||
|
||
#ifdef ENABLE_VECTO | ||
#include <stdint.h> | ||
|
||
#if __AVX2__ == 1 | ||
#define IS_LITTLE_ENDIAN \ | ||
((union { \ | ||
uint32_t u; \ | ||
uint8_t c; \ | ||
}){.u = 1} \ | ||
.c) | ||
#define IS_BIG_ENDIAN (!IS_LITTLE_ENDIAN) | ||
|
||
#define VEC_SIZE_CHAR 32 | ||
#define VEC_SIZE_INT 8 | ||
#define VEC_SIZE_FLOAT 8 | ||
#define VEC_SIZE_DOUBLE 4 | ||
#ifdef ENABLE_VECTO | ||
|
||
#define AVX2 1 | ||
#define AVX_VEC_SIZE_CHAR 32 | ||
#define AVX_VEC_SIZE_INT 8 | ||
#define AVX_VEC_SIZE_FLOAT 8 | ||
#define AVX_VEC_SIZE_DOUBLE 4 | ||
|
||
#elif __SSE__ == 1 | ||
#define AVX_WIDTH AVX_VEC_SIZE_CHAR | ||
|
||
#define VEC_SIZE_CHAR 16 | ||
#define VEC_SIZE_INT 4 | ||
#define VEC_SIZE_FLOAT 4 | ||
#define VEC_SIZE_DOUBLE 2 | ||
#define SSE_VEC_SIZE_CHAR 16 | ||
#define SSE_VEC_SIZE_INT 4 | ||
#define SSE_VEC_SIZE_FLOAT 4 | ||
#define SSE_VEC_SIZE_DOUBLE 2 | ||
|
||
#define SSE 1 | ||
|
||
#endif | ||
#define SSE_WIDTH SSE_VEC_SIZE_CHAR | ||
|
||
#endif | ||
|
||
void arch_flags_print (void); | ||
|
||
#endif | ||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.