Commit Graph

124 Commits

Author SHA1 Message Date
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
jbrodman
fbb34b3f3a Merge pull request #747 from dbabokin/knc_extract_element
Knc.h fix
2014-02-27 10:51:17 -08:00
Dmitry Babokin
f0a7baf340 Remove conflicting __extract_element(__vec16_i64 ..., ...) 2014-02-22 01:10:55 +04:00
evghenii
8490efe0ad fix for knc.h. Due to a bug in ICC (tested with 13.1.3 & 14.0.1) ,the resulting .cpp file fails to compile 2014-02-07 16:00:21 +01:00
evghenii
438cee4e21 added support for double precision/native transendentals/trigonometry 2014-02-07 15:43:42 +01:00
Evghenii
70a9b286e5 added support for native and double precision trigonometry/transendentals 2014-02-07 15:28:39 +01:00
evghenii
c59cff396d added {rsqrt,rcp}d support for knc.h. test-147.ispc & test-148.ispc pass. 2014-02-05 13:55:38 +01:00
evghenii
ecc9c88ff8 fix packed_store_active2 for knc-i1x8.h 2014-02-05 13:52:24 +01:00
Evghenii
eb01ffd4e6 first commit for {rsqrt,rcp}d knc support. going to test on other node now 2014-02-05 13:43:07 +01:00
Evghenii
f225b558ec added {rsqrt,rcp}d support for sse4.h 2014-02-05 13:42:45 +01:00
Evghenii
688d9c9a82 added support for rsqrtd/rcpd for generic-*.h 2014-02-05 13:20:44 +01:00
james.brodman
9f933b500b Add missing __cast_sext(__vec16_i32,__vec16_i1) 2013-12-20 16:45:27 -05:00
Ilia Filippov
15816eb07e adding __packed_store_active2 to generic targets 2013-12-19 17:50:18 +04:00
evghenii
32cfdd52d3 Merge branch 'master' into knc-fix 2013-11-05 15:46:54 +01:00
evghenii
015af03bdc changed back to #define ISPC_FORCE_ALIGNED_MEMORY aligned_ld/st #else unaligned ld/st #endif. However load<64>/store<64> will still be unaliged w/o this define because of fails related to the issue #632 2013-11-05 15:41:14 +01:00
Dmitry Babokin
6585a925be Merge pull request #641 from jbrodman/stdlibshift
Add a "shift" operator to the stdlib.
2013-10-28 14:18:31 -07:00
james.brodman
e682b19eda Remove zero initialization for __vec4_i32 2013-10-28 17:13:07 -04:00
james.brodman
02681d531e Minor tweak for interface. 2013-10-28 12:56:43 -04:00
james.brodman
641d882ea6 Add shift support for knc targets. This is not optimized. 2013-10-28 12:43:42 -04:00
james.brodman
1e80b3b0d7 Add shift support for generic-16 target. 2013-10-28 12:20:32 -04:00
james.brodman
d2b89e0e37 Tweak generic target. 2013-10-23 18:01:01 -04:00
james.brodman
c4ad8f6ed4 Add docs/generic impls 2013-10-23 15:51:59 -04:00
evghenii
fb1a2a0a40 __masked_store_* uses vscatter now, and is thread-safe 2013-10-15 17:10:46 +03:00
evghenii
3da152a150 fixed zmm __mul for i64 with icc < 14.0.0, 4 knc::fails lefts, but I doubt these are due to this include.. 2013-10-07 18:30:22 +03:00
evghenii
4222605f87 fixed lshr/ashr/shl shifts. __mul i64 vector version for icc < 14.0.0 works only on signed, so commented it out in favour of sequential 2013-10-07 14:24:27 +03:00
evghenii
1b196520f6 knc-i1x16.h is cleaned: int32,float,double are complete, int64 is partially complete 2013-10-05 22:10:05 +03:00
evghenii
10223cfac3 workong on shuffle/rotate for double, there seems to be a bug in cvt2zmm cvt2hilo 2013-10-05 15:23:55 +03:00
evghenii
8b0fc558cb complete cleaning 2013-10-05 14:15:33 +03:00
evghenii
8a6789ef61 cleaned float added fails info 2013-10-04 14:11:09 +03:00
evghenii
57f019a6e0 cleaned int64 added fails info 2013-10-04 13:39:15 +03:00
evghenii
32c77be2f3 cleaned mask & int32, only test141 fails 2013-10-04 11:42:52 +03:00
james.brodman
dc8895352a Adding missing typecasts and guarding i64 __mul with compiler version check 2013-10-01 11:53:56 -04:00
evghenii
019043f55e patched half2float & float2half to pass the tests. Now only test-141 is failed. but it seems to be test rather than knc-i1x16.h related 2013-09-23 09:55:55 +03:00
evghenii
ddecdeb834 move remaining int64 from knc.h some of fails to pass tests, grep for evghenii::fails to find out which functions fail and on what tests 2013-09-20 14:55:15 +03:00
evghenii
5cabf0bef0 adding int64 support form knc.h, phase 1. bugs: __lshr & __ashr fail idiv.ispc test, __equal_i64 & __equal_i64_and_mask fails reduce_equal_8.ispc test 2013-09-20 14:13:40 +03:00