Commit Graph

339 Commits

Author SHA1 Message Date
Vsevolod Livinskiy
9a8782d122 Fix for load/store i16 2014-10-30 18:37:38 +04:00
Anton Mitrokhin
8b34fb853e Commented out the faulty functions. Our code generator does not provide the necessary alligning to use them. 2014-10-21 15:42:14 +04:00
Anton Mitrokhin
09b8f65246 changed the names of 'reduce' functions (ixx -> intxx) to match the names generated by code generator 2014-10-21 15:26:07 +04:00
Anton Mitrokhin
da281a99ec Merge branch 'master' of https://github.com/ncos/ispc into knc-backend-merge 2014-10-21 12:37:18 +04:00
Dmitry Babokin
30270584aa Merge pull request #749 from egaburov/nvptx_clean
Experimental support for PTX with examples
2014-10-16 15:56:02 +04:00
evghenii
92377426bd changed progress bar implementation 2014-10-16 11:53:05 +02:00
Anton Mitrokhin
3d71932ca6 knc.h: added [] overloads to type defenitions 2014-10-16 12:57:55 +04:00
Dmitry Babokin
3f24c8dedc KNC prefetch:
- make L3 prefetch to hit L2$, instead of being nop.
- fix vector prefetch to use single intrinsic, instead of two (this is
  caused by bug in Composer 14.0 documentation).
2014-10-14 20:24:16 +04:00
Anton Mitrokhin
7ac8a9ea04 changed vec16_i1 type definition in knc.h from typedef to struct 2014-10-14 18:52:03 +04:00
evghenii
9238c72e08 Merge branch 'master' into nvptx_clean_master 2014-10-14 14:27:00 +02:00
James Brodman
3aa2cce504 Fix warnings in knc.h with appropriate casting 2014-10-08 17:21:36 -07:00
Dmitry Babokin
b8a9139f8e Merge pull request #864 from Vsevolod-Livinskij/opt_prefetch
Optimized prefetch
2014-10-02 17:16:51 +04:00
Vsevolod Livinskiy
eb61d5df72 Support for cache 2/3 and all targets 2014-10-02 16:25:23 +04:00
Vsevolod Livinskiy
0a6eb61ad0 Extend gather-scatter optimization with prefetch optimization 2014-10-02 15:21:43 +04:00
Anton Mitrokhin
700fe244e7 removed debug macros 2014-10-02 13:08:47 +04:00
Anton Mitrokhin
c934a68bc4 changed 'const int' to 'const int8_t' in '__vec16_i8' constructor 2014-10-02 13:00:55 +04:00
Anton Mitrokhin
8295df5a1e fixed header in 'knc.h' 2014-09-25 22:54:29 +04:00
Anton Mitrokhin
3b16cd8c56 fixed 'knc-i1x16.h' to compile with icc v.15 beta 2014-09-25 21:29:49 +04:00
Anton Mitrokhin
4560df284b changed codestyle to 2 spaces in 'knc.h' 2014-09-25 21:29:49 +04:00
Anton Mitrokhin
832aff5d76 commented out '__vec16_i1' type as there is no '__cast_uitofp' which produces compfails 2014-09-25 21:29:49 +04:00
Anton Mitrokhin
46bd353027 fixed 'INT_MIN' bug in '__gather64_i64' 2014-09-25 21:29:49 +04:00
Anton Mitrokhin
1a2979aa7f start fixing gather/scatter functions (INT_MIN fix) 2014-09-25 21:29:49 +04:00
Anton Mitrokhin
8b8e313dc6 starded work on gather/scatter instructions 2014-09-25 21:29:48 +04:00
Anton Mitrokhin
0881463d69 changed '__vec16_i1 __equal_i64(const __vec16_i64 &a, const __vec16_i6_i64 &b, __vec16_i1 mask)' function 2014-09-25 21:29:48 +04:00
Anton Mitrokhin
2e92989101 changed '__vec16_i64 __load(const __vec16_i64 *p)' 2014-09-25 21:29:48 +04:00
Anton Mitrokhin
1d69b954bd added several memory functions for i8 2014-09-25 21:29:48 +04:00
Anton Mitrokhin
90843b3bff changed a constructor of '__vec16_i8' 2014-09-25 21:29:48 +04:00
Anton Mitrokhin
78a7ef9fc5 added several math functions, new runfails: gather-int8-2/4; ldexp-double (previously compfailed) 2014-09-25 21:29:47 +04:00
Anton Mitrokhin
efa0ea01f3 add 'void __masked_store_i64(void *p, const __vec16_i64 &v, __vec16_i1 mask)' function. now 450 compfails and 12 runfails 2014-09-25 21:29:47 +04:00
Anton Mitrokhin
ddf5df6193 made 'int64_t __extract_element(const __vec16_i64 &v, uint32_t index)' function 2014-09-25 21:29:47 +04:00
Anton Mitrokhin
4fff0ab571 added __vec16_i32 __cast_trunc(__vec16_i32, const __vec16_i64 i64) function. ptr-diff-3/5/6 tests are apparently runfailing because of it 2014-09-25 21:29:47 +04:00
Anton Mitrokhin
85b703981d added several helper functions 2014-09-25 21:29:46 +04:00
Anton Mitrokhin
45114d3283 No actual code change: changed the code style for '__vec16_i8' struct in 'knc.h' 2014-09-25 21:29:46 +04:00
Anton Mitrokhin
723baca4c2 added several useful defines and a warning that '__vec16_i1' might not be working with embree 2014-09-25 21:29:46 +04:00
Vsevolod Livinskiy
0a5b16dbe6 some minor fixes for knc.h 2014-09-25 21:29:46 +04:00
Vsevolod Livinskiy
57f29e5035 Fix to support icc v.15 beta 2014-08-26 15:20:10 +04:00
Anton Mitrokhin
77dc94ab22 undefined printf functions in knc-i1x16.h 2014-08-15 16:18:40 +04:00
Anton Mitrokhin
bd8d02527b removed ugly INT32_MIN define (included limits.h) and updated the copyright 2014-08-15 16:18:29 +04:00
Anton Mitrokhin
7adacf5a7b 64 bit gather/scatter fix for knc.h 2014-08-15 16:04:31 +04:00
Anton Mitrokhin
6b5b547e2f modified all gather/scatter instructions in 'knc-i1x16.h' 2014-08-15 16:04:31 +04:00
Anton Mitrokhin
9c9c77d2db changes in __scatter_base_offsets64_float 2014-08-15 16:04:31 +04:00
Andrey Guskov
c2a75231d6 changed examples` debug flags for Windows: added -g, -O2 switched to -O0 2014-08-13 15:11:20 +04:00
evghenii
8745888ce9 merged with master 2014-08-11 10:04:54 +02:00
jbrodman
d049746585 Add proper cast to eliminate size mismatch warning 2014-07-10 03:11:46 -07:00
evghenii
1290e8c4cf added copyright to examples 2014-07-09 08:26:54 +02:00
evghenii
28c5326711 replaced the rest with symlink 2014-07-09 07:50:55 +02:00
evghenii
38a35dfb9a replaced with symlinks first attempt 2014-07-09 07:47:44 +02:00
Dmitry Babokin
d8e2fdf913 White space and copyright fixes in examples. 2014-07-08 20:08:34 +04:00
evghenii
2dbb4d9890 remove dependenace on llvm-dis from 3.2 2014-07-08 15:11:13 +02:00
evghenii
69f3898a61 Merge branch 'master' into nvptx_merge 2014-07-07 16:30:12 +02:00