Commit Graph

1953 Commits

Author SHA1 Message Date
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
Dmitry Babokin
5a16b3eb10 Merge pull request #773 from ifilippov/alias_new
Adding functions' inline attribute when we generate DebugInfo
2014-03-26 15:37:01 +03:00
Ilia Filippov
61ac03fc08 Adding functions' inline attribute when we generate DebugInfo 2014-03-26 16:27:47 +04:00
Dmitry Babokin
84073b9bf1 Merge pull request #772 from ifilippov/alias_new
Changing overload rules to match C++ behavior
2014-03-25 13:19:06 +03:00
Ilia Filippov
ecdc695b22 Changing overload rules to match C++ behavior: Emit a warning when the best overload match has some number of no-best matching parameters. 2014-03-25 12:41:09 +04:00
Dmitry Babokin
809a8f065c Merge pull request #771 from jbrodman/nomosoa3
Fix exported varying bug & backwards compatibility.
2014-03-24 18:19:48 +03:00
Dmitry Babokin
a8aabd78d2 Merge pull request #770 from ifilippov/alias_new
Fix in overloaded function selection logic.
2014-03-24 15:01:41 +03:00
Ilia Filippov
6f44d5b55f correction of overload issues 2014-03-24 15:47:21 +04:00
jbrodman
2c0a6d7f69 Fix exported varying bug & backwards compatibility. 2014-03-24 00:01:37 -07:00
Dmitry Babokin
792f04881c Merge pull request #769 from dbabokin/fails
fail_db.txt update on Linux
2014-03-18 22:08:22 +03:00
Dmitry Babokin
96fe6e4fb6 fail_db.txt update on Linux 2014-03-18 23:01:31 +04:00
Dmitry Babokin
f337401484 Merge pull request #768 from ifilippov/alias_new
Adding "const" attribute to "Atomic::Void" type
2014-03-17 14:22:39 +03:00
Ilia Filippov
02d55f24f6 adding const to Atomic::Void type 2014-03-17 14:42:55 +04:00
Dmitry Babokin
11f17ce0cd Merge pull request #767 from jbrodman/nomosoa2
Fix bugs with exported varyings.
2014-03-14 09:00:36 +03:00
jbrodman
43db682c6d Fix bugs with exported varyings. 2014-03-13 06:07:56 -07:00
Dmitry Babokin
2e5b0b7c07 Merge pull request #766 from dbabokin/saturated
Some editorial changes: copyright, etc.
2014-03-12 19:28:37 +03:00
Dmitry Babokin
ad9a0ac3df Merge pull request #765 from ifilippov/max_min
Resolving an issue with Debug Info metadata after LLVM_3_4
2014-03-12 19:24:32 +03:00
Dmitry Babokin
31b95b665b Copyright update 2014-03-12 20:19:16 +04:00
Ilia Filippov
27132e42e9 resolving an issue with Debug Info metadata after LLVM_3_4 2014-03-12 19:56:05 +04:00
Dmitry Babokin
8f8a9d89ef Removing trailing spaces in stdlib.ispc 2014-03-12 19:43:30 +04:00
Dmitry Babokin
f0ce2acc4f Copyright update, VS2010->VS2012 update, small fix in saturated arithmetic description 2014-03-12 19:42:08 +04:00