diff options
author | Ted Yin <ted.sybil@gmail.com> | 2015-08-14 17:42:26 +0800 |
---|---|---|
committer | Ted Yin <ted.sybil@gmail.com> | 2015-08-14 17:42:26 +0800 |
commit | c3cffb58b9921d78753336421b52b9ffdaa5515c (patch) | |
tree | bfea20e97c200cf734021e3756d749c892e658a4 /kaldi_io/src/tools/ATLAS/include/atlas_altivec.h | |
parent | 10cce5f6a5c9e2f8e00d5a2a4d87c9cb7c26bf4c (diff) | |
parent | dfdd17afc2e984ec6c32ea01290f5c76309a456a (diff) |
Merge pull request #2 from yimmon/master
remove needless files
Diffstat (limited to 'kaldi_io/src/tools/ATLAS/include/atlas_altivec.h')
-rw-r--r-- | kaldi_io/src/tools/ATLAS/include/atlas_altivec.h | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/kaldi_io/src/tools/ATLAS/include/atlas_altivec.h b/kaldi_io/src/tools/ATLAS/include/atlas_altivec.h deleted file mode 100644 index a772448..0000000 --- a/kaldi_io/src/tools/ATLAS/include/atlas_altivec.h +++ /dev/null @@ -1,27 +0,0 @@ -#ifndef ATLAS_ALTIVEC_H - #define ATLAS_ALTIVEC_H - -#ifdef ATL_AltiVec - #ifdef ATL_AVgcc - #include <altivec.h> - - #define VECTOR_INIT(v0_,v1_,v2_,v3_) (vector float) {v0_,v1_,v2_,v3_} - #define VECTOR_INITI(v0_,v1_,v2_,v3_) (vector int) {v0_,v1_,v2_,v3_} - #else - #define VECTOR_INIT(v0_,v1_,v2_,v3_) (vector float)(v0_,v1_,v2_,v3_) - #define VECTOR_INITI(v0_,v1_,v2_,v3_) (vector int)(v0_,v1_,v2_,v3_) - #define VECTOR_INITL(v0_,v1_,v2_,v3_) (vector long)(v0_,v1_,v2_,v3_) - #endif - #define ATL_GetCtrl(stride, count, size) \ - (int)((stride) | ((count)<<16) | ((size)<<24)) - #define ATL_pfavR(ptr, cwrd, stream) \ - vec_dst((vector float *)(ptr), (cwrd), (stream)) - #define ATL_pfavW(ptr, cwrd, stream) \ - vec_dstst((vector float *)(ptr), (cwrd), (stream)) -#else - #define ATL_GetCtrl(stride, count, size) - #define ATL_pfavR(ptr, cwrd, stream) - #define ATL_pfavW(ptr, cwrd, stream) -#endif - -#endif |