summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Release 0.4.22orc-0.4.22Sebastian Dröge2014-08-272-2/+13
|
* Add fallback CPU feature detection for AndroidJan Schmidt2014-08-261-67/+76
| | | | | | | | | | On Android, /proc/self/auxv might not be readable (except when debuggable=true in the build, annoyingly), so do what the android cpufeatures detection code does and fall back to /proc/cpuinfo string matching. Without this, release builds run really slowly, due to ORC always doing emulation.
* Remove declarations for deleted functions from orcutils.hJan Schmidt2014-08-261-3/+0
|
* Detect android liblog and use android's log functions for debug outputJan Schmidt2014-08-263-1/+53
|
* orccompiler: free error messageThiago Santos2014-06-271-0/+1
|
* orcarray: Use size_t for pointer arithmeticsEdward Hervey2014-06-271-1/+1
| | | | | | | Fixes these warnings on windows x86_64: orcarray.c:80:33: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast] orcarray.c:80:22: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
* orccompiler: If compiling a program twice, first free the results of the ↵Sebastian Dröge2014-06-231-0/+10
| | | | previous compilation
* orcc: Fix some memory leaks in the compilerSebastian Dröge2014-06-231-0/+7
|
* autogen: Honor NOCONFIGURE=1Colin Walters2014-06-231-1/+3
| | | | See https://github.com/cgwalters/build-api
* Back to developmentSebastian Dröge2014-06-231-1/+1
|
* Release 0.4.21orc-0.4.21Sebastian Dröge2014-06-232-2/+12
|
* configure: Pass -version-info to libtool againSebastian Dröge2014-06-231-1/+1
|
* Back to developmentSebastian Dröge2014-06-231-1/+1
|
* Release 0.4.20orc-0.4.20Sebastian Dröge2014-06-232-2/+15
|
* build: Modernize autotools build systemSebastian Dröge2014-06-2312-203/+392
|
* Add some checks on the number of variables per typeVincent Penquerc'h2014-06-066-4/+174
| | | | | | | | | | | | We want to ensure no more than, say, 8 constants are added to a program. Adding more will violate pervasive assumptions in the code, and may lead to various buffer overflows. By trapping these add creation time, we prevent these issues without cluttering the code with range checks. The user is assumed non malicious here. Add a test to check we can add up to and including the limit for a type, but no more.
* Update .gitignoreTim-Philipp Müller2014-06-051-0/+9
|
* orccodemem: fix list corruption when splitting memory chunks in twoTim-Philipp Müller2014-06-041-1/+1
| | | | | | | | When splitting orc memory chunks in two, the 'prev' pointer of the new memory chunk to be inserted was wrong, causing invalid memory access and double frees later down the line. https://bugzilla.gnome.org/show_bug.cgi?id=731227
* orc: Close file after usage in the copied around file reading functionSebastian Dröge2014-05-208-0/+16
| | | | CID 1147011.
* orcarray: Use fabs() instead of abs(), the latter is for integersSebastian Dröge2014-05-191-1/+1
| | | | | | orcarray.c:254:15: error: using integer absolute value function 'abs' when argument is of floating point type [-Werror,-Wabsolute-value] if (abs(a[i] - b[i]) < MIN_NONDENORMAL_D) continue;
* orcprogram-c: Convert shifts in swap opcodes to operations on unsigned integersSebastian Dröge2014-04-253-8/+8
| | | | Shifting into the sign bit is undefined, so let's stop doing that.
* memcpy_speed: Use unsigned integers, overflows are undefined for signed integersSebastian Dröge2014-04-221-1/+1
|
* Back to developmentSebastian Dröge2014-04-181-1/+1
|
* Release 0.4.19orc-0.4.19Sebastian Dröge2014-04-184-17/+23
|
* orccodemem: mask group/other bits for temporary fileVincent Penquerc'h2014-04-171-0/+3
| | | | | | | Ensures another user can't inject code into your process when winning a race with the ORC temp file code. Coverity 1147013
* orcprogam-{mips,mmx,sse}: bail out if get_align_var failsVincent Penquerc'h2014-04-163-0/+19
| | | | Coverity 1146979, 1146980, 1146977, 1146978, 1146973
* orcprogram: bail out on errorVincent Penquerc'h2014-04-161-0/+1
| | | | Coverity 1146972
* orcbytecode: Don't replace program name without freeing the old name if anySebastian Dröge2014-04-151-0/+3
|
* orcc: Fix indention of generated codeSebastian Dröge2014-04-151-6/+6
|
* orc: Update autogenerated filesSebastian Dröge2014-04-153-3/+47
|
* orcprogram-c: Fix swaplq C implementationSebastian Dröge2014-04-151-1/+1
|
* orcbytecodes: Fix filename of generated fileSebastian Dröge2014-04-141-1/+1
| | | | We don't want to override orcbytecode.h but orcbytecodes.h
* orcarray: Fix compiler warning with gcc 4.9Sebastian Dröge2014-04-141-1/+2
| | | | | | | | | | | | In file included from ../orc/orcprogram.h:5:0, from ../orc/orc.h:5, from ../orc-test/orctest.h:5, from orcarray.c:6: ../orc/orcutils.h:124:37: error: 'data' may be used uninitialized in this function [-Werror=maybe-uninitialized] #define ORC_PTR_OFFSET(ptr,offset) ((void *)(((unsigned char *)(ptr)) + (offset))) ^ orcarray.c:42:9: note: 'data' was declared here void *data;
* memcpy_speed: Properly define ALIGN macro and fix memory leaksSebastian Dröge2014-04-141-2/+5
| | | | | With the previous definition we would use memory *before* our allocated memory area.
* bench10: Fix syntax errorsSebastian Dröge2014-04-131-31/+31
|
* test.orc: Fix syntax errorsSebastian Dröge2014-04-131-3/+3
|
* benchmorc: Fix memory leaks in testSebastian Dröge2014-04-131-0/+3
|
* orcparse: Guard against unknown tokensSebastian Dröge2014-04-131-3/+12
|
* orcprogram: Free init function nameSebastian Dröge2014-04-131-0/+4
|
* tests: Fix various memory leaks in testsSebastian Dröge2014-04-134-1/+12
|
* orcprogram: Free OrcCode together with the programSebastian Dröge2014-04-131-0/+4
|
* orcprogram: Free type names of variables when freeing a programSebastian Dröge2014-04-131-0/+4
|
* bytecode_parse: Fix memory leaks in testSebastian Dröge2014-04-131-0/+4
|
* orcmips: Fix register range checkEdward Hervey2014-04-111-1/+1
| | | | | | There are 32 possible registers and not 33 CID #1146987
* orcexecutor: Don't use negative values on arraysEdward Hervey2014-04-111-3/+7
| | | | | | | | | orc_program_find_var_by_name() can return -1 on errors, if that happens, don't try to read/write in random memory :) CID #1146974 CID #1146975 CID #1146976
* orc: Remove unused variableEdward Hervey2014-04-112-8/+0
| | | | | | | | include_file was never used in these variants since they were added. CID #1146970 CID #1146969
* testsuite: file leak fixVincent Penquerc'h2014-04-101-0/+2
| | | | Coverity 1147011
* Fix FILE leakVincent Penquerc'h2014-04-071-0/+1
| | | | Coverity 1147011
* orcrules-neon: Remove unused variableSebastian Dröge2014-02-081-4/+0
|
* docs: mulhsw, mulhsw shifts by 16, not 8William Manley2014-01-291-2/+2
| | | | | | | | | | The documentation said that mulhsw and mulsuw was equivalent to: (a * b) >> 8 when the implementation actually shifts by 16 bits. https://bugzilla.gnome.org/show_bug.cgi?id=723170