Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | Update Altivec load/store functions | Erik Schnetter | 2013-04-23 | 1 | -1/+6 | |
|/ | ||||||
* | Merge branch 'master' of bitbucket.org:eschnett/vecmathlib | Erik Schnetter | 2013-04-23 | 8 | -29/+58 | |
|\ | ||||||
| * | Align vec_pseudo as if it was a real vector | Erik Schnetter | 2013-04-22 | 1 | -3/+3 | |
| | | ||||||
| * | Use -1 for true in vec_pseudo | Erik Schnetter | 2013-04-22 | 1 | -24/+29 | |
| | | ||||||
| * | Use -ffast-math | Erik Schnetter | 2013-04-22 | 1 | -2/+2 | |
| | | ||||||
| * | In debug mode, assert that the load/store offset is in range | Erik Schnetter | 2013-04-22 | 6 | -0/+24 | |
| | | ||||||
* | | Correct ilogb for denormalized numbers | Erik Schnetter | 2013-04-23 | 1 | -1/+1 | |
| | | ||||||
* | | Use PPC cycle counter when on PPC | Erik Schnetter | 2013-04-23 | 1 | -0/+10 | |
|/ | ||||||
* | Adapt Altivec vector implementation to GNU syntax | Erik Schnetter | 2013-04-22 | 1 | -18/+30 | |
| | ||||||
* | Handle inf and nan in ilogb | Erik Schnetter | 2013-04-22 | 1 | -1/+7 | |
| | | | | Handle inf and nan. Also change how zeros are handled. | |||||
* | Major work on Altivec support; still fails basic tests | Erik Schnetter | 2013-04-21 | 1 | -77/+59 | |
| | ||||||
* | Provide comparison operators for intpseudovec | Erik Schnetter | 2013-04-20 | 1 | -0/+24 | |
| | ||||||
* | Be flexible about available vector types in example.cc | Erik Schnetter | 2013-04-20 | 1 | -2/+9 | |
| | ||||||
* | Don't use +X asm constraint with gcc; gcc crashes with it | Erik Schnetter | 2013-04-20 | 1 | -0/+5 | |
| | ||||||
* | Use __readcyclecounter when available | Erik Schnetter | 2013-04-20 | 2 | -4/+24 | |
| | ||||||
* | Begin to add Altivec support (work in progress) | Erik Schnetter | 2013-04-20 | 2 | -0/+517 | |
| | ||||||
* | Don't try convert_int for INT_MAX; it would overflow | Erik Schnetter | 2013-04-20 | 1 | -1/+2 | |
| | ||||||
* | Add more test cases for convert_int | Erik Schnetter | 2013-04-20 | 1 | -0/+8 | |
| | ||||||
* | Provide hexadecimal debug output for failing tests | Erik Schnetter | 2013-04-20 | 1 | -15/+36 | |
| | ||||||
* | Output integer representation of failing floating point results as well | Erik Schnetter | 2013-04-19 | 1 | -6/+6 | |
| | ||||||
* | Use architecture-independent +X asm constraint instead of +x | Erik Schnetter | 2013-04-19 | 1 | -1/+1 | |
| | ||||||
* | Use __asm__ instead of asm keyword | Erik Schnetter | 2013-04-19 | 8 | -8/+8 | |
| | ||||||
* | Remove outdated, commented-out code to re-interpret bit patterns | Erik Schnetter | 2013-04-19 | 1 | -12/+0 | |
| | ||||||
* | Use std::ptrdiff_t instead of ptrdiff_t | Erik Schnetter | 2013-04-19 | 1 | -4/+4 | |
| | ||||||
* | Add prefix to fmin() and fmax() | Erik Schnetter | 2013-03-23 | 2 | -0/+8 | |
| | | | | Add _cl_std_ prefix, as required by _kernel.h. | |||||
* | Update list of auto-generated files | Erik Schnetter | 2013-03-23 | 1 | -1/+1 | |
| | ||||||
* | Implement rint() correctly | Erik Schnetter | 2013-03-23 | 1 | -1/+1 | |
| | | | | Implement rint() by calling vecmathlib, not by calling round(). | |||||
* | Add VML_AVOID_LIBM | Erik Schnetter | 2013-03-23 | 1 | -0/+5 | |
| | | | | When VML_AVOID_LIBM is defined when building the pocl library, no libm functions are called. | |||||
* | Handle more generic function signatures when calling libm | Erik Schnetter | 2013-03-23 | 1 | -4/+5 | |
| | | | | ilogb() should now work. | |||||
* | Implement converting bool to int when calling libm | Erik Schnetter | 2013-03-23 | 1 | -2/+30 | |
| | ||||||
* | Implement ilogb_ work-around also for calling libm | Erik Schnetter | 2013-03-23 | 1 | -1/+2 | |
| | ||||||
* | Make names of "pair" structs depend on content | Erik Schnetter | 2013-03-23 | 1 | -6/+13 | |
| | | | | More work-around for the llvm-link bug. | |||||
* | Correct handling Debian 6.0 | Erik Schnetter | 2013-03-23 | 1 | -2/+5 | |
| | | | | Ensure that the tested macros are present before testing them. | |||||
* | Add missing include file | Erik Schnetter | 2013-03-22 | 1 | -0/+1 | |
| | ||||||
* | Do not use "using namespace std" any more | Erik Schnetter | 2013-03-22 | 6 | -24/+23 | |
| | ||||||
* | Don't use typeinfo in vec_test | Erik Schnetter | 2013-03-22 | 1 | -9/+4 | |
| | ||||||
* | Re-enable clamp() implementation | Erik Schnetter | 2013-03-22 | 2 | -4/+3 | |
| | ||||||
* | Re-instate typeinfo work-around for Debian 6.0 | Erik Schnetter | 2013-03-22 | 1 | -0/+10 | |
| | ||||||
* | Explicitly call SSE2 functions for ceil and floor for scalars | Erik Schnetter | 2013-03-22 | 2 | -5/+33 | |
| | ||||||
* | Correct bool/int conversion; correct vector splitting | Erik Schnetter | 2013-03-22 | 1 | -10/+26 | |
| | ||||||
* | Test more corner cases | Erik Schnetter | 2013-03-21 | 1 | -5/+50 | |
| | ||||||
* | Don't test nan/inf if they are not supported | Erik Schnetter | 2013-03-21 | 1 | -0/+8 | |
| | ||||||
* | Improve output for failed tests | Erik Schnetter | 2013-03-21 | 1 | -6/+18 | |
| | ||||||
* | Correct ldexp(0, ...) | Erik Schnetter | 2013-03-21 | 1 | -2/+3 | |
| | ||||||
* | Correct ilogb(0) | Erik Schnetter | 2013-03-21 | 4 | -4/+27 | |
| | ||||||
* | We handle signed zeros correctly | Erik Schnetter | 2013-03-21 | 1 | -1/+1 | |
| | ||||||
* | Handle x=0 in ilogb(x) for pocl | Erik Schnetter | 2013-03-21 | 1 | -1/+1 | |
| | ||||||
* | Handle x=0 in ilogb(x) | Erik Schnetter | 2013-03-21 | 1 | -3/+4 | |
| | ||||||
* | Correct error in pocl function list | Erik Schnetter | 2013-03-21 | 1 | -1/+1 | |
| | ||||||
* | Mark functions as deprecated | Erik Schnetter | 2013-03-21 | 2 | -2/+4 | |
| |