Dmitry Babokin
f802164cce
Fixing some typos in docs and adding operators to language description
2013-12-19 20:38:21 +04:00
Dmitry Babokin
bdeaf7e88c
Documentation update for overloaded operators and packed_store_active2()
2013-12-19 16:53:21 +04:00
Dmitry Babokin
6d51987e67
Merge pull request #642 from egaburov/launch3d
...
concept of 3d tasking
2013-12-17 08:40:07 -08:00
evghenii
c06ec92d0d
added commas, added multi-dimensional tasking to mandelbrot_tasks & removed mandelbrot_task3d. Also adjusted documentaiton a bit
2013-12-13 11:49:11 +01:00
evghenii
2951cad365
added description for multi-dimensional tasking
2013-12-09 13:10:26 +01:00
jbrodman
9004f090c5
Merge pull request #646 from dbabokin/docs
...
Docs fix in memory management section
2013-10-28 14:26:17 -07:00
Dmitry Babokin
103ef25f12
Docs fix in memory management section
2013-10-27 23:01:20 +04:00
james.brodman
c4ad8f6ed4
Add docs/generic impls
2013-10-23 15:51:59 -04:00
Dmitry Babokin
7942bdb728
Typo fix and copyright update
2013-09-30 18:09:59 +04:00
Dmitry Babokin
f45f6cb32a
Test, documentation and vim support for double precision constants
2013-09-19 12:49:45 +04:00
james.brodman
8db378b265
Revert "Remove support for using SVML for math lib routines."
...
This reverts commit d9c38b5c1f .
2013-09-04 16:01:58 -04:00
Dmitry Babokin
501a23ad20
Typos fixes in docs
2013-08-29 14:48:09 +04:00
Dmitry Babokin
443987f536
fixing ispc.rst file properties (should not be executable)
2013-08-27 15:33:44 +04:00
Matt Pharr
0c5742b6f8
Implement new naming scheme for --target.
...
Now targets are named like "<isa>-i<mask size>x<gang size>", e.g.
"sse4-i8x16", or "avx2-i32x16".
The old target names are still supported.
2013-08-08 19:23:44 -07:00
Matt Pharr
5b20b06bd9
Add avg_{up,down}_int{8,16} routines to stdlib
...
These compute the average of two given values, rounding up and down,
respectively, if the result isn't exact. When possible, these are
mapped to target-specific intrinsics (PADD[BW] on IA and VH[R]ADD[US]
on NEON.)
A subsequent commit will add pattern-matching to generate calls to
these intrinsincs when the corresponding patterns are detected in the
IR.)
2013-08-06 08:41:12 -07:00
Matt Pharr
4f48d3258a
Documentation updates for NEON
2013-07-31 20:06:04 -07:00
Matt Pharr
d9c38b5c1f
Remove support for using SVML for math lib routines.
...
This path was poorly maintained and wasn't actually available on most
targets.
2013-07-31 06:56:48 -07:00
Matt Pharr
b6df447b55
Add reduce_add() for int8 and int16 types.
...
This maps to specialized instructions (e.g. PSADBW) when available.
2013-07-25 09:46:01 -07:00
Dmitry Babokin
de7ba7a55b
Bringing docs/ispc.rst in sync with ispc.html at web site (some changes were done there directly)
2013-05-21 16:44:46 +04:00
Dmitry Babokin
3cb827ac56
Fix for some typos in User's Guide
2013-03-04 03:04:46 +04:00
Jean-Luc Duprat
24087ff3cc
Expose none() in the ISPC standard library.
...
On KNC: all(), any() and none() do not generate a redundant movmsk instruction.
2012-11-27 13:38:28 -08:00
Matt Pharr
360cc8044e
Improve RNG documentation.
...
Issue #390 .
2012-10-03 08:33:43 -07:00
Matt Pharr
ec2e9b5e79
Fix typo in assert() documentation.
...
Issue #388 .
2012-10-03 08:26:38 -07:00
Jean-Luc Duprat
f928bbb53c
Updated usage of Initial Many Core Instructions (Intel® IMCI) instructions.
2012-09-04 10:57:25 -07:00
Jean-Luc Duprat
1ab7500dbb
Updated user's guide to comply with Intel® Xeon Phi™ brand usage guidelines
2012-09-04 10:53:01 -07:00
Jean-Luc Duprat
52836aae87
Minor documentation clarrification on the impact of ICC -fp-model except option.
2012-08-01 10:24:35 -07:00
Jean-Luc Duprat
63ed90b0fd
docs/build.sh runs rst2html rather than rst2html.py
...
Explicitly documented that fact that ICC needs the -mmic flag to compile for KNC.
Updated ISPC User Guide with details on ICC compiler options that impact FP performance in generated code.
2012-07-30 11:47:25 -07:00
Matt Pharr
2c640f7e52
Add support for RDRAND in IvyBridge.
...
The standard library now provides a variety of rdrand() functions
that call out to RDRAND, when available.
Issue #263 .
2012-07-12 06:07:07 -07:00
Matt Pharr
2bacebb1fb
Doc fixes (Crystal Lemire).
2012-07-11 19:51:28 -07:00
Matt Pharr
57f0cf30c0
Fix small typos in documentation.
2012-07-07 11:19:57 -07:00
Matt Pharr
b7bc76d3cc
Documentation updates for 1.3.0.
2012-06-29 08:35:29 -07:00
Matt Pharr
54459255d4
Add unmasked { } statement.
...
This reestablishes an "all on" execution mask for the gang, which can
be useful for nested parallelism..
2012-06-22 14:30:58 -07:00
Matt Pharr
b4a078e2f6
Add foreach_active iteration statement.
...
Issue #298 .
2012-06-22 10:35:43 -07:00
Matt Pharr
46716aada3
Switch to unordered floating point compares.
...
In particular, this gives us desired behavior for NaNs (all compares
involving a NaN evaluate to true). This in turn allows writing the
canonical isnan() function as "v != v".
Added isnan() to the standard library as well.
2012-06-20 13:25:53 -07:00
Matt Pharr
3bc66136b2
Add foreach_unique iteration construct.
...
Idea via Ingo Wald / IVL compiler.
2012-06-20 10:04:24 -07:00
Matt Pharr
8fd9b84a80
Update seed_rng() in stdlib to take a varying seed.
...
Previously, we were trying to take a uniform seed and then shuffle that
around to initialize the state for each of the program instances. This
was becoming increasingly untenable and brittle.
Now a varying seed is expected and used.
2012-05-30 10:35:41 -07:00
Matt Pharr
0c5d7ff8f2
Add rygorous's float->srgb8 conversion routine to the stdlib.
...
Issue #230
2012-04-27 10:03:19 -10:00
Matt Pharr
3e74d1c544
Fix documentation bug with typedef.
2012-04-25 17:15:20 -10:00
Matt Pharr
491fa239bd
Add atomic swap and cmpxchg for void * as well.
...
Issue #232 .
2012-04-11 06:12:31 -07:00
Matt Pharr
70a5348f43
Add size_t, ptrdiff_t, and [u]intptr_t types.
2012-04-11 05:32:53 -07:00
Matt Pharr
2aa61007c6
Remove memory_barrier() calls from atomics.
...
This was unnecessary overhead to impose on all callers; the user
should handle these as needed on their own.
Also added some explanatory text to the documentation that highlights
that memory_barrier() is only needed across HW threads/cores, not
across program instances in a gang.
2012-04-10 19:37:03 -07:00
Matt Pharr
0ad8dbbfc9
Fix documentation bug: atan2 arguments were reversed.
...
Issue #203 .
2012-03-27 08:03:02 -07:00
Matt Pharr
e15a1946c6
Documentation: add ISPC_TARGET_AVX2 as a possible target #define
2012-03-27 08:02:39 -07:00
Matt Pharr
8878826661
Add non-short-circuiting and(), or(), select() to stdlib.
2012-03-26 09:37:59 -07:00
Matt Pharr
ddfe4932ac
Fix parsing of 'launch' so that angle brackets can be removed.
...
Issue #6 .
2012-03-19 11:27:32 -07:00
Matt Pharr
3b95452481
Add memcpy(), memmove() and memset() to the standard library.
...
Issue #183 .
2012-03-05 16:09:00 -08:00
Matt Pharr
c152ae3c32
Add single-precision asin() and acos() to stdlib.
...
Issue #184 .
2012-03-05 13:32:13 -08:00
Matt Pharr
f6cbaa78e8
Update stdlib documentation to match recent pointed-to default variability changes
2012-03-05 13:32:12 -08:00
Matt Pharr
7adb250b59
Added tests and documentation for soa<> rate qualifier.
2012-03-05 09:58:10 -08:00
Matt Pharr
55b81e35a7
Modify rules for default variability of pointed-to types.
...
Now, the pointed-to type is always uniform by default (if an explicit
rate qualifier isn't provided). This rule is easier to remember and
seems to work well in more cases than the previous rule from 6d7ff7eba2 .
2012-02-29 14:27:53 -08:00