Commit Graph

  • b50f6f1730 Fix RNG seed code in stdlib for scalar target. Matt Pharr 2012-01-29 13:46:57 -08:00
  • f8a7120d9c Detect division by 0 during constant folding and issue a sensible error. Matt Pharr 2012-01-29 13:46:38 -08:00
  • 20dbf59420 Don't lose source position when returning values of constant symbols. Matt Pharr 2012-01-29 13:46:17 -08:00
  • c67a286aa6 Add support for 1-wide scalar target. Gabe Weisz 2012-01-28 15:31:42 -05:00
  • c96fef6bc8 Fix silly error in generic-16.h example C++ bindings. Matt Pharr 2012-01-27 17:04:57 -08:00
  • bba02f87ea Improve implementations of unsigned <=, >= in sse4 intrinsics file. Matt Pharr 2012-01-27 16:49:41 -08:00
  • 12dc3f5c28 Fixes to c++ backend for new and delete Matt Pharr 2012-01-27 16:49:09 -08:00
  • 0f01a5dcbe Handle undef values in LLVMVectorValuesAllEqual() Matt Pharr 2012-01-27 16:48:14 -08:00
  • 664dc3bdda Add support for "new" and "delete" to the language. Matt Pharr 2012-01-27 14:47:06 -08:00
  • bdba3cd97d Bugfix: add per-lane offsets when accessing varying data through a pointer! Matt Pharr 2012-01-27 13:37:18 -08:00
  • d9c0f9315a Fix generic targets: half conversion functions weren't declared. Matt Pharr 2012-01-27 13:02:03 -08:00
  • b7f17d435f Fix crash in gather/scatter optimization pass. Matt Pharr 2012-01-27 12:59:18 -08:00
  • 37cdc18639 Issue error instead of crashing given attempted function call through non-function. Matt Pharr 2012-01-27 10:01:06 -08:00
  • 5893a9c49d Remove incorrect assert Matt Pharr 2012-01-27 09:14:45 -08:00
  • 24f58fa16a Update per_lane macro to not use ID for lane number in macro expansion Matt Pharr 2012-01-26 14:15:58 -08:00
  • 56ffc78fa4 Require semicolons after sync, assert, and print statements. Matt Pharr 2012-01-26 12:08:07 -08:00
  • 061e68bc77 Fix compiler crash from malformed program. Matt Pharr 2012-01-26 09:57:13 -08:00
  • 177e6312b4 Fix build with LLVM ToT (ConstantVector::getVectorElements() is gone now). Matt Pharr 2012-01-27 09:07:58 -08:00
  • 1acf4032c2 Merge branch 'master' of https://github.com/jduprat/ispc Matt Pharr 2012-01-26 14:18:25 -08:00
  • 0db752f3a2 Merge branch 'master' of github.com:jduprat/ispc Jean-Luc Duprat 2012-01-26 13:43:15 -08:00
  • 9c5444698e run_tests.py fixes: - Python 3 fixes (can't use print) - Fixed for running tests on Windows Jean-Luc Duprat 2012-01-26 13:39:54 -08:00
  • 65f3252760 Various fixes to test running script for Windows. Matt Pharr 2012-01-26 10:55:27 -08:00
  • e612abe4ba Fix parsing of 64-bit integer constants on Windows. Matt Pharr 2012-01-26 10:53:56 -08:00
  • ee8b6ebbf6 Merge remote-tracking branch 'matt/master' Jean-Luc Duprat 2012-01-26 10:41:13 -08:00
  • 34352e4e0e beefed up stdin.h on Windows so it compiles ispc 1.1.3 Jean-Luc Duprat 2012-01-25 15:04:19 -08:00
  • 1867b5b317 Use native float/half conversion instructions with the AVX2 target. Matt Pharr 2012-01-24 15:33:38 -08:00
  • a5b7fca7e0 Extract constant offsets from gather/scatter base+offsets offset vectors. Matt Pharr 2012-01-24 14:41:15 -08:00
  • 7be2c399b1 Rename various optimization passes to have more descriptive names. Matt Pharr 2012-01-23 14:49:48 -08:00
  • d6337b3b22 Code cleanups in opt.cpp; no functional change Matt Pharr 2012-01-23 14:33:25 -08:00
  • d2f8b0ace5 Add __clock to list of symbols to make internal from builtins. Matt Pharr 2012-01-23 06:19:16 -08:00
  • d805e8b183 Add clock() function to standard library. Matt Pharr 2012-01-22 13:05:27 -08:00
  • 1f0f2ec05f Include AVX2 in supported ISAs Matt Pharr 2012-01-22 07:05:47 -08:00
  • 91ac3b9d7c Back out WIP changes to opt.cpp that were inadvertently checked in. Matt Pharr 2012-01-21 07:34:53 -08:00
  • d65bf2eb2f Doxygen number bump and release notes for 1.1.3 v1.1.3 Matt Pharr 2012-01-20 17:04:10 -08:00
  • 1bba9d4307 Improve atomic_swap_global() to take advantage of associativity. Matt Pharr 2012-01-20 10:37:33 -08:00
  • 4388338dad Fix performance regression introduced in be0c77d556 Matt Pharr 2012-01-19 17:54:21 -08:00
  • 2fb59c90cf Fix C++ backend bug introduced in d14a2de168. Matt Pharr 2012-01-19 11:35:02 -07:00
  • 68f6ea8def For << and >> with C++, detect when all instances are shifting by the same amount. Matt Pharr 2012-01-19 10:04:32 -07:00
  • 3f89295d10 Update RNG code in stdlib to use -> operator where appropriate. Matt Pharr 2012-01-19 10:02:47 -07:00
  • 748b292e77 Improve code for uniform switches with a 'break' under varying control flow. Matt Pharr 2012-01-19 08:41:19 -07:00
  • 6451c3d99d Fix bug with code for initializers for static arrays in generated C++ code. Matt Pharr 2012-01-18 06:42:26 -07:00
  • d14a2de168 Fix generic code emission when building with LLVM3.0/2.9. Matt Pharr 2012-01-17 18:52:56 -08:00
  • 642150095d Include LLVM version used to build in version info printed out. Matt Pharr 2012-01-17 18:33:23 -08:00
  • 3bf3ac7922 Be more conservative about using blending in place of masked store. Matt Pharr 2012-01-17 18:28:55 -08:00
  • c6d1cebad4 Update masked_load/store implementations for generic targets to take void *s Matt Pharr 2012-01-17 18:11:26 -08:00
  • 08189ce08c Update "inline" qualifiers in a few examples. Matt Pharr 2012-01-17 18:10:48 -08:00
  • 7013d7d52f Small documentation updates and cleanups Matt Pharr 2012-01-14 07:24:56 -08:00
  • 7045b76f84 Improvements to code generation for "foreach" Matt Pharr 2012-01-17 11:34:00 -08:00
  • 58a0b4a20d Add separate set of builtins for AVX2. Matt Pharr 2012-01-13 14:39:33 -08:00
  • 0f8eee9809 Fix cases in optimization code to not inadvertently match calls to func ptrs. Matt Pharr 2012-01-12 10:33:06 -08:00
  • 0740299860 Fix switch test Matt Pharr 2012-01-12 09:45:31 -08:00
  • 652215861e Update dynamic target dispatch code to support AVX2. Matt Pharr 2012-01-12 08:37:18 -08:00
  • 602209e5a8 Tiny updates to documentation, comment for switch stuff. Matt Pharr 2012-01-12 05:55:42 -08:00
  • b60f8b4f70 Fix merge conflicts Matt Pharr 2012-01-11 17:13:51 -08:00
  • f2b99ccb08 Made run_tests.py executable Jean-Luc Duprat 2012-01-11 10:06:41 -08:00
  • b67446d998 Add support for "switch" statements. Matt Pharr 2012-01-11 09:15:05 -08:00
  • 9670ab0887 Add missing cases to watch out for in lCheckAllOffSafety() Matt Pharr 2012-01-11 09:09:40 -08:00
  • 0223bb85ee Fix bug in StmtList::EmitCode() Matt Pharr 2012-01-11 09:14:39 -08:00
  • fd81255db1 Removed mutex support for OSX 10.5 Allow to run from the build directory even if it is not on the path properly decode subprocess stdout/stderr as UTF-8 Added newlines that were mistakenly left out of print->sys.stdout.wriote() conversion in previous CL Python 3: - fixed error message comparison - explicit list creation Windows: - forward/back slash annoyances - added stdint.h with definitions for int32_t, int64_t - compile_error_files and run_error_files were being appended to improperly Jean-Luc Duprat 2012-01-10 16:55:00 -08:00
  • 8a8e1a7f73 Fix bug with multiple EmitCode() calls due to missing braces. Matt Pharr 2012-01-10 16:50:13 -08:00
  • ef05fbf424 run_tests.py more compatible with python 3.x except for the mutex class... Jean-Luc Duprat 2012-01-10 13:12:38 -08:00
  • fa01b63fa5 Remove assumption that . is in the PATH in run_tests.py Jean-Luc Duprat 2012-01-10 11:41:08 -08:00
  • 63d3d25030 Fixed off by one error in array size generated by bitcode2cpp.py Jean-Luc Duprat 2012-01-10 11:22:13 -08:00
  • a8db866228 Python build compatible on both python 2 and 3 Jean-Luc Duprat 2012-01-10 10:42:15 -08:00
  • 0519eea951 Makefile does not hardcode link paths on Linux Link statically for both x86 and x86-64 Jean-Luc Duprat 2012-01-10 10:34:57 -08:00
  • f4653ecd11 Release notes for 1.1.2 and doxygen version number bump v1.1.2 Matt Pharr 2012-01-09 16:05:40 -08:00
  • 5d67252ed0 Python scripts now compatible with both 2.x and 3.x releases of python Jean-Luc Duprat 2012-01-09 13:56:05 -08:00
  • 5134de71c0 Fix Windows build (inttypes.h not available) Matt Pharr 2012-01-09 09:05:20 -08:00
  • 2be1251c70 Fix Makefile on OSX (uname -o not supported) Matt Pharr 2012-01-09 07:40:47 -08:00
  • c0161aa17f Merge pull request #154 from palacaze/mingw Matt Pharr 2012-01-09 07:37:02 -08:00
  • b683aa11b1 Fix linking under mingw, libdl is Linux only. Pierre-Antoine Lacaze 2012-01-09 10:52:46 +01:00
  • 2654bb0112 Handle python installations in non-standards locations. Pierre-Antoine Lacaze 2012-01-09 10:29:54 +01:00
  • d8728104b4 Handle the case whereby BUILD_DATE is already defined. Pierre-Antoine Lacaze 2012-01-09 10:29:16 +01:00
  • 0be1b70fba Mingw has strtoull, make use of it. Pierre-Antoine Lacaze 2012-01-09 10:28:52 +01:00
  • a0e9793de3 Shut up warning wrt CONSOLE_SCREEN_BUFFER_INFO initialization Pierre-Antoine Lacaze 2012-01-09 10:19:46 +01:00
  • da9200fcee Fix alloca use on mingw. Pierre-Antoine Lacaze 2012-01-09 10:19:09 +01:00
  • 54e8e8022b suppress warnings about long long arguments Pierre-Antoine Lacaze 2012-01-09 10:18:39 +01:00
  • d84cf781da Mingw does not have sysconf, use the msc way of finding processors. Pierre-Antoine Lacaze 2012-01-09 09:45:40 +01:00
  • 002f27a30f Implement vasprintf and asprintf for platforms lacking them. Pierre-Antoine Lacaze 2012-01-09 09:44:58 +01:00
  • 86d88e9773 run_tests.py: fix to use multiple cores on windows, ignore non ispc inputs Matt Pharr 2012-01-08 15:29:20 -08:00
  • fda00afe6e Rename .txt files in docs to .rst (which is what they actually are). Matt Pharr 2012-01-08 14:11:04 -08:00
  • be0c77d556 Detect more gather/scatter cases that are actually base+offsets. Matt Pharr 2012-01-08 14:06:12 -08:00
  • 0ed11a7832 Compute SizeOf() and OffsetOf() at compile time in more cases with the generic target. Matt Pharr 2012-01-08 14:01:14 -08:00
  • ff6971fb15 Use Assert() rather than assert() Matt Pharr 2012-01-08 13:30:45 -08:00
  • 5b4dbc8167 Fix build of aobench_instrumented example on OSX/Linux Matt Pharr 2012-01-08 10:02:43 -08:00
  • 59f4c9985e Python files compatible with python 3 Jean-Luc Duprat 2012-01-06 16:56:09 -08:00
  • 8da9be1a09 Add support for 'k', 'M', and 'G' suffixes to integer constants. Matt Pharr 2012-01-06 14:47:47 -08:00
  • 11033e108e Fix bug that prohibited assignments with pointer expressions on the LHS Matt Pharr 2012-01-06 14:21:03 -08:00
  • 4f97262cf2 Support function declarations in the definitions of other functions. Matt Pharr 2012-01-06 13:50:10 -08:00
  • 9b68b9087a Fix crash with anonymous function parameters in function definitions. Matt Pharr 2012-01-06 13:28:06 -08:00
  • 15cc812e37 Add notion of "unbound" variability to the type system. Matt Pharr 2012-01-06 11:52:58 -08:00
  • 71317e6aa6 Fix bug in gather/scatter optimization passes. Matt Pharr 2012-01-06 09:19:18 -08:00
  • 1abaaee73e Fix bug where we'd sometimes inadvertently lose cv-qualifiers on pointers. Matt Pharr 2012-01-06 08:41:01 -08:00
  • 78c6d3c02f Add initial support for 'goto' statements. Matt Pharr 2012-01-05 12:20:44 -08:00
  • 48e9d4af39 Emit code for #includes in emitted C++ code all at the start of the file. Matt Pharr 2012-01-05 12:21:11 -08:00
  • cb7ad371c6 Run tests using -O2. Matt Pharr 2012-01-05 12:22:05 -08:00
  • 2951589825 Redo readme in better-looking rst form Matt Pharr 2012-01-04 15:32:29 -08:00
  • f23dc5366a Updates to run_tests.py script. Matt Pharr 2012-01-04 12:40:29 -08:00
  • e3341176c5 Redo makefiles for the examples. Matt Pharr 2012-01-04 12:39:21 -08:00
  • 8938e14442 Add support for emitting ~generic vectorized C++ code. Matt Pharr 2012-01-04 12:37:26 -08:00