Commit Graph

  • 7a2561c429 Add count_{leading,trailing}_zeros() functions to stdlib. Matt Pharr 2011-11-30 10:12:16 -08:00
  • 1703f2717c Add some new tests Matt Pharr 2011-11-30 09:43:25 -08:00
  • 92c46a2fc7 Add ISPC_{MAJOR,MINOR}_VERSION macros Matt Pharr 2011-11-30 08:32:17 -08:00
  • c995902796 Add --werror flag to treat warnings as errors. Matt Pharr 2011-11-30 05:51:53 -08:00
  • 6b9b7437ed Parse and then mostly ignore "signed" qualifier. Matt Pharr 2011-11-29 21:41:04 -08:00
  • a3641d7691 Convert arrays to pointers in expressions like (a+5) Matt Pharr 2011-11-29 17:41:00 -08:00
  • e780662a3f Issue error if unsupported version of LLVM is used. Matt Pharr 2011-11-29 17:25:35 -08:00
  • d65c02f323 Allow '0' to convert to a NULL pointer value. Matt Pharr 2011-11-29 17:22:22 -08:00
  • 11547cb950 stdlib updates to take advantage of pointers Matt Pharr 2011-11-29 15:41:38 -08:00
  • bbb32c0c5d Fix a bug where uniform/varying pointers aren't mangled differently Matt Pharr 2011-11-29 15:41:01 -08:00
  • b1ae307163 Fix bug in FunctionEmitContext::SyncInst() Matt Pharr 2011-11-29 13:26:48 -08:00
  • e52104ff55 Pointer fixes/improvements. Matt Pharr 2011-11-29 13:22:36 -08:00
  • 4ca90272ba Fixes to build with LLVM 3.1 top of tree Matt Pharr 2011-11-28 20:25:33 -08:00
  • 2a6e3e5fea Fix bug in ptr+offset decomposition in GatherScatterFlattenOpt Matt Pharr 2011-11-28 15:00:41 -08:00
  • 867efc2bce Multiple small fixes for better C conformance. Matt Pharr 2011-11-25 17:52:23 -08:00
  • 975db80ef6 Add support for pointers to the language. Matt Pharr 2011-11-21 09:16:29 -08:00
  • 15a7d353ab Fix bug where freed std::string memory would sometimes still be accessed. Matt Pharr 2011-11-24 20:45:51 -08:00
  • 5828f7da07 Fix bugs in ArrayType::GetString() and GetCDeclaration() Matt Pharr 2011-11-22 15:34:03 -08:00
  • d3e6879223 Improve error checking for unsized arrays. Matt Pharr 2011-11-21 09:16:29 -08:00
  • 068ea3e4c4 Better SourcePos reporting for gathers/scatters Matt Pharr 2011-11-16 16:22:51 -08:00
  • f5a21d96a1 Fix malformed program crasher Matt Pharr 2011-11-16 16:22:38 -08:00
  • 7290f7b16b Generalize/improve parsing of pointer declarations. Matt Pharr 2011-11-07 17:46:59 -08:00
  • 79684a0bed Add support for running tests that are expected to fail Matt Pharr 2011-11-08 17:19:26 -08:00
  • 6c8a064a5a Remove debugging dump() call Matt Pharr 2011-11-07 14:57:28 -08:00
  • e5327a0f5a Update debug prints Matt Pharr 2011-11-07 06:27:45 -08:00
  • f8eb100c60 Use llvm TargetData to find object sizes, offsets. Matt Pharr 2011-11-06 19:31:19 -08:00
  • 7a1ce558e9 Small code refactoring. Matt Pharr 2011-11-06 16:47:45 -08:00
  • cabe358c0a Workaround change to linker behavior in LLVM 3.1 Matt Pharr 2011-11-05 16:57:26 -07:00
  • b0d476fcdc Stop zero-initializing memory used to store return values. Matt Pharr 2011-11-05 09:49:44 -07:00
  • 51ccfffbd0 Fix crash due to trying to type convert ExprLists in DeclStmt. Matt Pharr 2011-11-05 09:35:43 -07:00
  • 5fc8df3e55 Fix build with LLVM ToT Matt Pharr 2011-11-04 07:06:15 -07:00
  • ba9bb3338f Add tests for function pointers. Matt Pharr 2011-11-03 15:59:06 -07:00
  • afcd42028f Add support for function pointers. Matt Pharr 2011-11-03 16:13:27 -07:00
  • f1d8ff96ce Remove (unused) IfStmt::doAnyCheck. Matt Pharr 2011-11-03 16:08:19 -07:00
  • d528533fba Add FunctionEmitContext::SmearScalar() method (and use it). Matt Pharr 2011-11-03 16:07:36 -07:00
  • 7d6f89c8d2 Improvements to source file position tracking. Matt Pharr 2011-11-03 16:04:01 -07:00
  • 43a2d510bf Incorporate per-lane offsets for varying data in the front-end. Matt Pharr 2011-11-03 13:15:07 -07:00
  • 6084d6aeaf Added disable-handle-pseudo-memory-ops option. Matt Pharr 2011-10-23 13:35:23 -07:00
  • d224252b5d Fix bug where multiplying varying array offset by zero would cause crash in optimization passes. Matt Pharr 2011-10-31 08:28:51 -07:00
  • e009c0a61d Be able to determine if two types can be converted without requiring an Expr *. Matt Pharr 2011-10-30 14:12:12 -07:00
  • d5a8538192 Move logic for resolving function call overloads. Matt Pharr 2011-10-29 10:46:59 -07:00
  • cc298cd5fe Remove out-of-date comments about AVX being untested Matt Pharr 2011-10-28 11:10:33 -07:00
  • 8b719e4c4e Fix warnings reported by doxygen Matt Pharr 2011-10-20 11:49:54 -07:00
  • a7dff17b35 Release notes and doxygen bump for v1.0.12 v1.0.12 Matt Pharr 2011-10-20 11:45:58 -07:00
  • 074cbc2716 Fix #ifdefs to catch LLVM 3.1svn now as well Matt Pharr 2011-10-19 14:01:19 -07:00
  • 114cb5b5c7 Add documentation about efficient reductions. Issue #110 Matt Pharr 2011-10-18 18:04:46 -07:00
  • f45ab0744e Significantly reduce the tendrils of DeclSpecs/Declarator/Declaration code Matt Pharr 2011-10-18 15:33:18 -07:00
  • 9b8ea3d500 Fix parser/lexer to more carefully check the "C" part of 'extern "C"' declarations. Matt Pharr 2011-10-18 16:44:14 -04:00
  • 290032f4f5 Be more careful about using the right mask when emitting gathers. Matt Pharr 2011-10-17 20:25:52 -04:00
  • 19087e4761 When casting pointers to ints, choose int32/64 based on target pointer size. Matt Pharr 2011-10-17 06:57:04 -04:00
  • 70047fbf5f Disable warnings about type conversions that may lose precision. Matt Pharr 2011-10-17 06:36:42 -04:00
  • 39ed7e14b2 Various improvements to function overload resolution. Matt Pharr 2011-10-16 20:46:56 -04:00
  • 209d093720 Update calls to setup clang::DiagnosticsEngine properly before running preprocessor. Matt Pharr 2011-10-16 07:59:55 -04:00
  • fc2954419d Update cost model to include "if" overhead in "if" statement calculation. Matt Pharr 2011-10-15 13:52:08 -07:00
  • 422b8268a9 Add assert() statement support. Issue #106. Matt Pharr 2011-10-15 13:22:38 -07:00
  • 1ab05c0351 Set a preprocessor #define based on the target ISA. Matt Pharr 2011-10-15 11:56:18 -07:00
  • c21e704a5c Fix LLVM 2.9 build. Issue #114 Matt Pharr 2011-10-15 06:48:20 -07:00
  • 9f2aa8d92a Handle ConstantExpressions when computing address+offset vectors for scatter/gather. Matt Pharr 2011-10-14 11:20:08 -07:00
  • 2460fa5c83 Improve gather/scatter optimization passes to handle loops better. Matt Pharr 2011-10-13 17:01:25 -07:00
  • dce25249ce Use the "avoid masked assignments when possible" tricks for pre/post decrement exprs. Matt Pharr 2011-10-13 16:46:30 -07:00
  • 61adc74072 Add missing builtins-sse4-common.ll file Matt Pharr 2011-10-11 19:40:37 -07:00
  • 88e317f1a9 These tests now pass with LLVM ToT Matt Pharr 2011-10-11 16:17:50 -07:00
  • 49454bc207 Fix silly bug in 16-wide AOS-SOA 3-vector routine Matt Pharr 2011-10-11 16:16:56 -07:00
  • 286c23426e Add "double-wide" sse2-x2 target. Matt Pharr 2011-10-11 15:17:31 -07:00
  • 1198520029 Improve gather->vector load optimization to detect <linear sequence>-<uniform> case. Matt Pharr 2011-10-11 13:24:40 -07:00
  • 06d70376ea Fix to build with LLVM TOT after LLVM API change Matt Pharr 2011-10-11 09:26:45 -07:00
  • 7cd7ca82d6 Fix some crashes from malformed programs Matt Pharr 2011-10-11 08:28:50 -07:00
  • ecda4561bd Move some tests that now pass with LLVM 3.0 from failing_tests to tests/ Matt Pharr 2011-10-10 11:51:47 -07:00
  • a89e26d725 Improvements to mask management code; removes a number of unnecessary blends. Matt Pharr 2011-10-10 11:47:19 -07:00
  • 3cb0115dce Add routines to standard library to do efficient AOS/SOA conversions. Matt Pharr 2011-10-10 10:56:06 -07:00
  • f5391747b9 Remove suggestions from parser that we support "char" Matt Pharr 2011-10-07 16:20:55 -07:00
  • b8768ffdfa Merge branch 'master' of github.com:ispc/ispc Matt Pharr 2011-10-07 20:39:44 -07:00
  • 6009608bc6 Mark inlined functions as having static linkage Matt Pharr 2011-10-07 16:06:14 -07:00
  • 790dba2558 Doxygen bump and release notes for v1.0.11 v1.0.11 Matt Pharr 2011-10-07 09:57:46 -07:00
  • ce7355f9ed Windows: fix examples build to look for ispc.exe in ../.. as well Matt Pharr 2011-10-09 07:35:22 -07:00
  • 6b4459d402 Windows: fix some compiler warnings during build Matt Pharr 2011-10-09 07:32:51 -07:00
  • 4a2cbf2c4e Fix regression from AST checkin that caused perf. warnings to be issued for stdlib code. Matt Pharr 2011-10-06 19:42:18 -07:00
  • 53dd65fa2e Add ispc_test to buildall.bat script Matt Pharr 2011-10-08 17:17:05 -07:00
  • f5afa52fd9 Add missing header Matt Pharr 2011-10-06 17:10:30 -07:00
  • f9c67ff806 Explicit representation of ASTs for all the functions in a compile unit. Matt Pharr 2011-10-06 15:18:42 -07:00
  • ec5e627e56 Mark internal stdlib functions as "internal" linkage, not "private". Matt Pharr 2011-10-06 13:32:20 -07:00
  • ff2a43ac19 Run the CFG simplification pass even when optimization is disabled. Matt Pharr 2011-10-06 09:20:50 -07:00
  • 9feea32471 Fix errors in documentation for some of the reduce_* stdlib functions Matt Pharr 2011-10-06 07:52:10 -07:00
  • bedaec2295 Update examples for multi-target compilation. Matt Pharr 2011-10-04 15:56:34 -07:00
  • a68d137df6 Documentation update for multi-target compilation. Matt Pharr 2011-10-04 15:50:02 -07:00
  • 59caa3d4e1 Various small Windows fixes. Matt Pharr 2011-10-04 15:49:50 -07:00
  • 06975bc7ab Add support for compiling to multiple targets. Matt Pharr 2011-10-04 15:48:37 -07:00
  • 880cbb18cc Remove checks to see if system's processor matches the target the code was compiled for. Matt Pharr 2011-10-04 15:52:46 -07:00
  • 686d9975b6 Add Symbol::exportedFunction member to hold llvm::Function * for app-callable version of function. Matt Pharr 2011-10-04 15:46:17 -07:00
  • 9b7f55a28e Add buildall.bat script for Windows. Also various example build fixes for Windows Matt Pharr 2011-10-04 11:41:13 -07:00
  • e4d224a0f1 Use __cilk to detect Cilk support Matt Pharr 2011-10-04 11:16:42 -07:00
  • 0933a77c1b Improve task decomposition in ray tracing example. Matt Pharr 2011-10-04 09:33:59 -07:00
  • 5f78edf07a Fix bug with screen decomposition in volume rendering example Matt Pharr 2011-10-04 09:30:02 -07:00
  • a6fc657b40 Remove 'externGlobals' member from Module; instead find them when needed via new SymbolTable::GetMatchingVariables method. Matt Pharr 2011-10-04 06:36:31 -07:00
  • fa5050d5c7 Error reporting improvements. Matt Pharr 2011-10-03 21:09:04 -07:00
  • d5a48d9a1e Fix incorrect LLVM_3_0svn #ifdefs Matt Pharr 2011-10-03 08:29:19 -07:00
  • 2df9da2524 Be careful to not inadvertently match NULL functions in optimization passes. Matt Pharr 2011-10-01 08:29:50 -07:00
  • 0b02f94988 Task system performance tweaks. Matt Pharr 2011-10-01 08:04:09 -07:00
  • 65c50b60fc Cleanups to deferred shading workload Matt Pharr 2011-09-30 20:35:42 -07:00
  • 9de34eb22c Release notes and doxygen bump for v1.0.10 Matt Pharr 2011-09-30 15:09:19 -07:00