802add1f97
Added to the Makefile the ability to point to a custom installation of llvm and clang.
Nipunn Koorapati
2012-04-06 17:54:55 -04:00
95556811fa
Fix linux build
Matt Pharr
2012-04-05 20:39:39 -07:00
581472564d
Print "friendly" ispc message when abort/seg fault signal is thrown.
Matt Pharr
2012-04-05 15:51:44 -07:00
c7dc8862a5
Add FAQs about various language details.
Matt Pharr
2012-04-05 15:24:26 -07:00
4f8cf019ca
Add pass to verify module before starting optimizations.
Matt Pharr
2012-04-05 08:49:39 -07:00
4c9ac7fcf1
Fix build with LLVM 2.9.
Matt Pharr
2012-04-05 08:22:40 -07:00
1dac05960a
Fix build with LLVM 3.1 ToT
Matt Pharr
2012-04-05 08:17:56 -07:00
c27418da77
Add checks about references to non-lvalues.
Matt Pharr
2012-04-04 05:56:22 -07:00
637d076e99
Remove half/float conversion functions from AVX2 output.
Matt Pharr
2012-04-03 12:18:38 -07:00
391678a5b3
Update function overload resolution logic.
Matt Pharr
2012-04-03 10:40:41 -07:00
4cd0cf1650
Revamp handling of function types, conversion to function ptr types.
Matt Pharr
2012-04-03 10:09:07 -07:00
b813452d33
Don't issue a slew of warnings if a bogus cpu type is specified.
Matt Pharr
2012-04-03 06:13:28 -07:00
eb85da81e1
Further improvements to error reporting with function types.
Matt Pharr
2012-04-03 05:55:50 -07:00
920cf63201
Improve error message about incompatible function types.
Matt Pharr
2012-04-03 05:43:23 -07:00
dc09d46bf4
Don't emit type declarations for extern'ed globals in generated header files.
Matt Pharr
2012-04-03 05:36:21 -07:00
05d1b06eeb
Fixes to get the C++ backend more working again.
Matt Pharr
2012-03-30 16:55:36 -07:00
c1661eb06b
Allow calling GetAs{Non}ConstType() for FunctionTypes.
Matt Pharr
2012-03-30 16:55:22 -07:00
e9626a1d10
Added macro PRId64 to opt.cpp for compilation on Windows
Jean-Luc Duprat
2012-03-27 12:46:59 -07:00
560bf5ca09
Updated logic for selecting target ISA when not specified.
Matt Pharr
2012-03-30 16:35:55 -07:00
512f8d8b60
Fixed binary AND to logical AND
Jean-Luc Duprat
2012-03-29 17:03:22 -07:00
87c8a89349
Make 'export' a type qualifier, not a storage class.
Matt Pharr
2012-03-29 13:16:55 -07:00
255791f18e
Fix to get correct variable names for extern globals that are later defined.
Matt Pharr
2012-03-29 11:50:15 -07:00
d5e3416e8e
Fix bug in default argument handling introduced in 540fc6c2f3
Matt Pharr
2012-03-28 14:29:58 -07:00
5b2d43f665
Fix global variable code to correctly handle extern declarations.
Matt Pharr
2012-03-28 14:15:49 -07:00
540fc6c2f3
Fix bugs with default parameter values for pointer-typed function parameters.
Matt Pharr
2012-03-28 11:51:56 -07:00
b3c5043dcc
Don't enable llvm's UnsafeFPMath option when --opt=fast-math is supplied.
Matt Pharr
2012-03-28 10:26:39 -07:00
d0d9aae968
Fix parser so that spaces aren't needed around "..." in foreach statements.
Matt Pharr
2012-03-28 10:10:51 -07:00
3270e2bf5a
Call CPUID to more reliably detect level of SSE/AVX that the host supports.
Matt Pharr
2012-03-28 09:20:06 -07:00
013a3e7567
Support concatenation of adjacent string literals in the parser.
Matt Pharr
2012-03-28 08:52:09 -07:00
8368ba8539
Add missing checks for NULL current basic block in stmt code.
Matt Pharr
2012-03-27 17:01:31 -07:00
ca0310e335
Merge pull request #213 from nipunn1313/master
Matt Pharr
2012-03-28 06:41:00 -07:00
4690a678c1
Added parentheses around a || b && c statement in TypeCastExpr to placate the compiler warning and make the code easier to understand.
Nipunn Koorapati
2012-03-28 02:40:06 -04:00
f8a39402a2
Implement new, simpler function overload resolution algorithm.
Matt Pharr
2012-03-27 13:25:11 -07:00
b923e4daea
Added macro PRId64 to opt.cpp for compilation on Windows
Jean-Luc Duprat
2012-03-27 12:46:59 -07:00
247775d1ec
Fix type conversion to allow array -> void * conversions.
Matt Pharr
2012-03-27 10:07:54 -07:00
6e9fea377d
Type convert NULL to other pointer types for function call arguments.
Matt Pharr
2012-03-27 09:50:21 -07:00
ca5c65d032
Fix bugs where typecasting an expression to void would cause it to disappear.
Matt Pharr
2012-03-27 09:33:43 -07:00
f9dc621ebe
Fix bug when doing pointer math with varying integer offsets.
Matt Pharr
2012-03-27 09:17:40 -07:00
ffe484c31e
Implement simpler approach for header file struct emission.
Matt Pharr
2012-03-27 09:06:10 -07:00
62cd3418ca
Add test for the bug in issue #204.
Matt Pharr
2012-03-27 09:04:45 -07:00
d8a8f3a996
For symbols that are references, return uniform ptr type as lvalue type.
Matt Pharr
2012-03-27 08:52:14 -07:00
0ad8dbbfc9
Fix documentation bug: atan2 arguments were reversed.
Matt Pharr
2012-03-27 08:03:02 -07:00
e15a1946c6
Documentation: add ISPC_TARGET_AVX2 as a possible target #define
Matt Pharr
2012-03-27 08:02:39 -07:00
8878826661
Add non-short-circuiting and(), or(), select() to stdlib.
Matt Pharr
2012-03-26 09:37:59 -07:00
95a8b6e5e8
Fix & vs. && in logical test.
Matt Pharr
2012-03-25 17:38:34 -07:00
388d0d2cfd
Add #include <string.h>
Matt Pharr
2012-03-25 17:38:15 -07:00
d3a374e71c
Fix malformed program crasher.
Matt Pharr
2012-03-25 13:10:23 -07:00
1da2834b1e
Allow the last member of a struct to be an unsized/zero-length array.
Matt Pharr
2012-03-25 13:10:12 -07:00
ca3100874f
Add FAQ about why varying values can't be passed to exported functions.
Matt Pharr
2012-03-25 11:35:28 -07:00
117f48a331
Don't include foreach stmts in cost estimates from EstimateCost().
Matt Pharr
2012-03-25 10:32:44 -07:00
89bbceefee
Make sure that foreach() statements never execute with an "all off" mask.
Matt Pharr
2012-03-25 10:07:12 -07:00
7e18f0e247
Small improvement to float->half function in stdlib.
Matt Pharr
2012-03-23 16:09:32 -07:00