-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Some changes required as per build document
- Loading branch information
Nishidha Panpaliya
committed
May 11, 2016
1 parent
17cff0b
commit 478f753
Showing
57 changed files
with
2,820 additions
and
3,913 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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,20 +1,20 @@ | ||
#ifndef _H_VECLIB_HEADERS | ||
#define _H_VECLIB_HEADERS | ||
|
||
|
||
#ifdef __ALTIVEC__ | ||
#define VECLIB_VSX | ||
#include <altivec.h> | ||
#include "util/veclib_types.h" | ||
#include "util/vec128str.h" | ||
#include "util/vecmisc.h" | ||
#include "util/vec128int.h" | ||
|
||
#define _mm_crc32_u8 vec_crc321ub | ||
#define _mm_crc32_u32 vec_crc324ub | ||
//#define POPCNT_popcnt_u64 vec_popcount1uw | ||
#define _mm_loadu_si128 vec_load1q | ||
#define _mm_loadl_epi64 vec_loadlower1sd | ||
#define _mm_extract_epi16 vec_extract8sh | ||
#endif | ||
#endif | ||
#ifndef _H_VECLIB_HEADERS | ||
#define _H_VECLIB_HEADERS | ||
|
||
|
||
#ifdef __ALTIVEC__ | ||
#define VECLIB_VSX | ||
#include <altivec.h> | ||
#include "util/veclib_types.h" | ||
#include "util/vec128str.h" | ||
#include "util/vecmisc.h" | ||
#include "util/vec128int.h" | ||
|
||
#define _mm_crc32_u8 vec_crc321ub | ||
#define _mm_crc32_u32 vec_crc324ub | ||
//#define POPCNT_popcnt_u64 vec_popcount1uw | ||
#define _mm_loadu_si128 vec_load1q | ||
#define _mm_loadl_epi64 vec_loadlower1sd | ||
#define _mm_extract_epi16 vec_extract8sh | ||
#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
Oops, something went wrong.