Commit Graph

2412 Commits

Author SHA1 Message Date
evghenii
0a2aede9ab added notes from April 22 2014-07-08 08:13:29 +02:00
evghenii
6f3e6f368a added cpuFromIsa to nvptx target 2014-07-08 07:53:50 +02:00
evghenii
69f3898a61 Merge branch 'master' into nvptx_merge 2014-07-07 16:30:12 +02:00
Dmitry Babokin
699674a054 Merge pull request #811 from ncos/master
Some minor fixes in alloy.py and exception handling in run_tests.py
2014-07-04 15:40:41 +04:00
Anton Mitrokhin
4dacd7e7a2 Added some basic test subprocess exception handling and remapped error messages to the e-mail 2014-07-04 15:19:45 +04:00
Anton Mitrokhin
c2d65f7ad2 Fixed multiple message sending and added more verbouse warning regarding inconsistent ISPC_HOME 2014-07-04 15:10:36 +04:00
Dmitry Babokin
6348ca8da9 Merge pull request #807 from ottxor/master
fix LLVM_VERSION for minor versions != 0
2014-06-26 11:52:41 +04:00
Christoph Junghans
1a8002cf65 fix LLVM_VERSION for minor versions != 0
llvm version 3.4.2 got converted to 3_4.2 and not 3_4 as intended.

see https://bugs.gentoo.org/show_bug.cgi?id=515114
2014-06-25 23:44:00 -06:00
Dmitry Babokin
8d510fd82c Merge pull request #804 from ifilippov/master
support LLVM build
2014-06-18 18:30:40 +04:00
Ilia Filippov
76ea59b40b support LLVM build 2014-06-18 17:53:42 +04:00
Dmitry Babokin
5e14469ea6 Merge pull request #802 from ifilippov/avx2
Changing +/-feature regulation to CPU regulation
2014-06-11 13:05:51 +04:00
Ilia Filippov
425540922c changing +/-feature regulation to CPU regulation 2014-06-11 10:25:31 +04:00
jbrodman
11fcaa20ae Merge pull request #799 from motiz88/patch-1
Small fixes for TBB on Windows
2014-06-09 09:52:08 -07:00
Dmitry Babokin
daae225887 Merge pull request #801 from ifilippov/master
support LLVM trunk
2014-06-09 17:15:13 +04:00
Ilia Filippov
4ed72335bd support LLVM 2014-06-09 16:53:26 +04:00
motiz88
5da05b365f Small fixes for TBB on windows
Changed an #ifdef ISPC_IS_WINDOWS in the definition of TaskInfo to #ifdef ISPC_USE_CONCRT, and fixed two calls to taskCount() that were missing parentheses.
2014-06-05 22:06:09 +03:00
Dmitry Babokin
3f183cfd06 Merge pull request #795 from jbrodman/undefinedmemberstructs
Add error messages for structs containing nested undefined structs
2014-05-28 14:03:34 +04:00
jbrodman
d3144da5eb Add error messages for structs containing nested undefined structs 2014-05-27 15:50:53 -07:00
Dmitry Babokin
e6b6766c33 Merge pull request #794 from ifilippov/master
Deleting print from 'safe_for_all_mask_off' functions
2014-05-27 19:34:48 +04:00
Ilia Filippov
2b064b272a deleting print from 'safe_for_all_mask_off' functions 2014-05-27 19:24:21 +04:00
Dmitry Babokin
5ec6c81d38 Merge pull request #793 from ifilippov/master
Support LLVM trunk (build and errors)
2014-05-27 12:39:16 +04:00
Ilia Filippov
e6131bd6a9 fixing error for LLVM trunk 2014-05-22 18:51:25 +04:00
Ilia Filippov
5f55a9b9e2 support of LLVM trunk 2014-05-22 18:50:57 +04:00
Dmitry Babokin
68f62b1fc3 Merge pull request #786 from dbabokin/copyright
Template copyright update (for html generation)
2014-04-22 19:07:48 +04:00
Dmitry Babokin
0173d60790 Template copyright update (for html generation) 2014-04-18 22:50:53 +04:00
jbrodman
39cb13a2e4 Merge pull request #785 from dbabokin/version
Bumping version to 1.7.1dev
2014-04-18 10:06:37 -07:00
Dmitry Babokin
eb8e94627d Bumping version to 1.7.1dev 2014-04-18 20:44:00 +04:00
Dmitry Babokin
0eb9c2b576 Merge pull request #784 from dbabokin/v1.7.0
v1.7.0
v1.7.0
2014-04-18 18:24:18 +04:00
Dmitry Babokin
77de0ac342 News update 2014-04-18 18:20:22 +04:00
Dmitry Babokin
a2774f2cf5 Release notes, docs update 2014-04-18 18:19:47 +04:00
Dmitry Babokin
118542badd Merge pull request #783 from dbabokin/alias
Removing alias phases causing segfaults (second instance of the phases).
2014-04-18 00:12:02 +04:00
Dmitry Babokin
d63a94300c v1.7.0 2014-04-18 00:11:44 +04:00
Dmitry Babokin
dcc37451e5 Removing alias phases causing segfaults 2014-04-17 23:52:32 +04:00
Dmitry Babokin
fce4ba64a1 Merge pull request #782 from dbabokin/mic_perf
Fixing MIC performance issue (generate <2,2,2,2> as 2 in cpp).
2014-04-17 21:24:40 +04:00
Dmitry Babokin
096546f888 Fixing MIC performance issue, which showed up when we switched to
LLVM 3.4 (due to more aggressive optimizations): vector of *the same*
constants should be generated as scalar value in cpp file, instead of
__extract_element(splat(value), 0).
I.e. <2,2,2,2> should appear in cpp as 2, but not
__extract_element(splat(2), 0);
2014-04-17 21:03:42 +04:00
Dmitry Babokin
94467fdb70 Merge pull request #781 from dbabokin/master
Revert trigonometry to stdlib implementation on MIC
2014-04-14 19:37:53 +04:00
Dmitry Babokin
141ea81ba5 Revert trigonometry to stdlib implementation on MIC 2014-04-14 19:33:52 +04:00
Dmitry Babokin
d9c09e1b81 Merge pull request #779 from jbrodman/master
Guard for single inclusion
2014-04-10 20:17:24 +04:00
jbrodman
a8b03e768c 2014. 2014-04-10 01:13:46 -07:00
jbrodman
0cd53444a4 Merge branch 'master' of https://github.com/jbrodman/ispc
Conflicts:
	examples/util/util.isph
2014-04-10 01:11:14 -07:00
jbrodman
61970e1500 guard for single inclusion 2014-04-10 01:10:16 -07:00
jbrodman
1705b5a65e guard for single inclusion 2014-04-10 01:08:12 -07:00
Dmitry Babokin
c7281ef532 Merge pull request #777 from ifilippov/debug_info
Fix of debug_info
2014-04-02 16:04:50 +04:00
Ilia Filippov
7ebea86a44 These changes fix problem with debug info in LLVM 3.4 with structs and enums.
The reason of problem is that ISPC generates debugInfo type of struct (or enum)
in the scope, where the variable of this type appears.

Ctx.cpp:1586
llvm::DIScope scope = GetDIScope();
llvm::DIType diType = sym->type->GetDIType(scope);

It is always Lexical_Block in some function. It is not right because type can
be declared global or in some function or in some namespace. Struct and enums
are failing because they don't reduce to atomic types. The "Big" fix is to save
declaration place in Type class. But now ISPC doesn't know about it,
for example this doesn't emit an error:

void function_1() { struct Foo {float x;}; uniform Foo myFoo;}
void function_2() {                        uniform Foo myFoo;}

So now all type declarations are global and we can simply change scope
parameter to the current file.

The "Big" fix will be after integration with clang.
2014-04-02 15:49:57 +04:00
Dmitry Babokin
9bc9a5aa00 Merge pull request #776 from ifilippov/master
Removing winstuff include folder
2014-04-02 13:10:17 +04:00
Ilia Filippov
b1bf08c0d9 removing winstuff 2014-04-02 13:01:25 +04:00
Dmitry Babokin
372e7d42f9 Merge pull request #775 from ifilippov/alias_new
Support LLVM trunk after r204934 and zlib commits
2014-04-01 19:27:18 +04:00
Ilia Filippov
114f58bb0b support LLVM trunk after r204934 and zlib commits 2014-04-01 18:51:05 +04:00
Dmitry Babokin
f7d0158bac Merge pull request #774 from ifilippov/alias_new
Adding warning about LLVM_HOME in Makefile
2014-04-01 17:06:37 +04:00
Ilia Filippov
cc8bae2f2c Adding warning about LLVM_HOME in Makefile 2014-04-01 16:46:26 +04:00