summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2014-05-19orcarray: Use fabs() instead of abs(), the latter is for integersSebastian Dröge1-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;
2014-04-25orcprogram-c: Convert shifts in swap opcodes to operations on unsigned integersSebastian Dröge3-8/+8
Shifting into the sign bit is undefined, so let's stop doing that.
2014-04-22memcpy_speed: Use unsigned integers, overflows are undefined for signed integersSebastian Dröge1-1/+1
2014-04-18Back to developmentSebastian Dröge1-1/+1
2014-04-18Release 0.4.19Sebastian Dröge4-17/+23
2014-04-17orccodemem: mask group/other bits for temporary fileVincent Penquerc'h1-0/+3
Ensures another user can't inject code into your process when winning a race with the ORC temp file code. Coverity 1147013
2014-04-16orcprogam-{mips,mmx,sse}: bail out if get_align_var failsVincent Penquerc'h3-0/+19
Coverity 1146979, 1146980, 1146977, 1146978, 1146973
2014-04-16orcprogram: bail out on errorVincent Penquerc'h1-0/+1
Coverity 1146972
2014-04-15orcbytecode: Don't replace program name without freeing the old name if anySebastian Dröge1-0/+3
2014-04-15orcc: Fix indention of generated codeSebastian Dröge1-6/+6
2014-04-15orc: Update autogenerated filesSebastian Dröge3-3/+47
2014-04-15orcprogram-c: Fix swaplq C implementationSebastian Dröge1-1/+1
2014-04-14orcbytecodes: Fix filename of generated fileSebastian Dröge1-1/+1
We don't want to override orcbytecode.h but orcbytecodes.h
2014-04-14orcarray: Fix compiler warning with gcc 4.9Sebastian Dröge1-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;
2014-04-14memcpy_speed: Properly define ALIGN macro and fix memory leaksSebastian Dröge1-2/+5
With the previous definition we would use memory *before* our allocated memory area.
2014-04-13bench10: Fix syntax errorsSebastian Dröge1-31/+31
2014-04-13test.orc: Fix syntax errorsSebastian Dröge1-3/+3
2014-04-13benchmorc: Fix memory leaks in testSebastian Dröge1-0/+3
2014-04-13orcparse: Guard against unknown tokensSebastian Dröge1-3/+12
2014-04-13orcprogram: Free init function nameSebastian Dröge1-0/+4
2014-04-13tests: Fix various memory leaks in testsSebastian Dröge4-1/+12
2014-04-13orcprogram: Free OrcCode together with the programSebastian Dröge1-0/+4
2014-04-13orcprogram: Free type names of variables when freeing a programSebastian Dröge1-0/+4
2014-04-13bytecode_parse: Fix memory leaks in testSebastian Dröge1-0/+4
2014-04-11orcmips: Fix register range checkEdward Hervey1-1/+1
There are 32 possible registers and not 33 CID #1146987
2014-04-11orcexecutor: Don't use negative values on arraysEdward Hervey1-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
2014-04-11orc: Remove unused variableEdward Hervey2-8/+0
include_file was never used in these variants since they were added. CID #1146970 CID #1146969
2014-04-10testsuite: file leak fixVincent Penquerc'h1-0/+2
Coverity 1147011
2014-04-07Fix FILE leakVincent Penquerc'h1-0/+1
Coverity 1147011
2014-02-08orcrules-neon: Remove unused variableSebastian Dröge1-4/+0
2014-01-29docs: mulhsw, mulhsw shifts by 16, not 8William Manley1-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
2014-01-02orcarm: OSX doesn't like comparisons against enum and int.Todd Agulnick1-1/+1
2013-12-30tools: fix memory leak in orccTim-Philipp Müller1-0/+2
Coverity CID 1147542
2013-12-30testsuite: fix file descriptor leak in benchmorcTim-Philipp Müller1-0/+1
Coverity CID 1147543
2013-10-14Make it ANSI-COlivier Crête28-246/+248
Use /* */ instead of // Define _GNU_SOURCE in the ORC_CFLAGS
2013-09-20autogen.sh: Allow calling from out of treeEdward Hervey1-2/+13
This is similar to the fix that was done for gstreamer https://bugzilla.gnome.org/show_bug.cgi?id=667664
2013-09-20configure: version back to unreleasedEdward Hervey1-1/+1
2013-08-24Release 0.4.18f20David Schleef2-2/+13
2013-08-19orcbytecode: Fix parsing of 32 bit values from bytecode as wellTim-Philipp Müller1-3/+3
The shift by 24 bits has to be casted as well, otherwise we shift into the sign bit which causes undefined behaviour. See https://bugzilla.gnome.org/show_bug.cgi?id=698520
2013-08-19orcbytecode: Fix parsing of 64 bit values from bytecodeSebastian Dröge1-8/+10
The shift by 24 bits has to be casted already, otherwise we shift into the sign bit which causes undefined behaviour. Thanks to Edward Hervey for debugging this. https://bugzilla.gnome.org/show_bug.cgi?id=698520
2013-06-06docs: add more opcode descriptionsStefan Sauer1-3/+40
2013-06-06docs: hook up generate_table toolsStefan Sauer3-15/+27
Add a makefile-target in docs to update the tables (for a release). Emit a comment at the top of the generated files which tool produces them so that people don't edit them manually.
2013-06-05accumulator: use the local variable 'var'Stefan Sauer2-14/+14
The code already had the local var, but barely used it.
2013-06-05tests: use the ORC_STATIC_OPCODE_FLOAT flag to simplify the testsStefan Sauer2-16/+8
2013-06-03orcparse: fix copy and paste of error messageStefan Sauer1-2/+2
2013-06-03docs: add docs for the program directivesStefan Sauer3-1/+132
2013-06-03orcprogram-c: fix indent for 2 opcodesStefan Sauer1-2/+2
2013-05-29generate-*: cosmetic changesStefan Sauer2-4/+6
Print the file name if we use the default. Consider the header_flag for the default name. Correct the help() desc for the --header flag (it takes no arg).
2013-05-28generate-*: add missing flag to help()Stefan Sauer2-0/+2
2013-05-28generate-bytecode: add ORC_BC_INSTRUCTION_FLAGS to generatorStefan Sauer1-2/+4
The checked in orcbytecodes.h already uses the flag.