summaryrefslogtreecommitdiff
path: root/orc/orcutils.h
Commit message (Collapse)AuthorAgeFilesLines
* utils: add utility dynamic arrayFrancesco Romani2023-04-121-0/+20
| | | | | | | | | | | | | | | Add utility code to handle a dynamic array. Supported operations: * append an item * grow the array * get an item * get the length of the array * check if the array has any data on it. There are clear use cases for this utility in the OrcParser, but may be useful elsewhere as well. Part-of: <https://gitlab.freedesktop.org/gstreamer/orc/-/merge_requests/30>
* aarch64: make some setups for aarch64 supportDongju Chae2020-09-161-1/+1
| | | | | | This commit adds the setup codes for aarch64 support including meson build and aarch64 selection. Signed-off-by: Dongju Chae <dongju.chae@samsung.com>
* orc: Add ORC_LIKELY/ORC_UNLIKELY macrosDoug Nazar2019-08-181-0/+8
|
* Fix warnings with Cerbero's mingw (gcc 4.7)Nirbheek Chauhan2019-02-051-1/+1
| | | | orcutils.h:59:38: error: "__STDC_VERSION__" is not defined [-Werror=undef]
* orc: fix static build on windowsTim-Philipp Müller2018-05-181-1/+1
| | | | | Orc users mustn't use __declspec(dllimport) when linking against a static liborc.
* orc: move unusable orc_code_chunk_free() declaration to internal headerTim-Philipp Müller2018-04-281-1/+0
| | | | Nothing in any public header ever returned or used an OrcCodeChunk.
* meson: fix symbol export with MSVC and use -fvisibility elsewhereTim-Philipp Müller2018-04-281-6/+11
| | | | | | | Use newly-added ORC_API decorators to export symbols explicitly. Get rid of orc.map file and the ORC_EXPORT stuff that never did anything anyway (define was unused).
* orc: decorate public symbols with ORC_APITim-Philipp Müller2018-04-281-2/+4
| | | | | We'll use that later to control symbol visibility and exported symbols.
* orcutils: refactor /proc/cpuinfo reading code from orccpu-arm.cJames Cowgill2018-04-221-0/+4
| | | | | | | This code will later be used by mips target, so it makes sense to use a common function instead of duplicating the code. https://bugzilla.gnome.org/show_bug.cgi?id=760834
* orcutils: Use compiler offsetof() when availableEdward Hervey2017-11-201-2/+9
| | | | | | | The way we were calculating the offset of a structure entry was undefined behaviour. Instead, use 'offsetof()' (defined in C89) when available
* utils: convert to uin32 before doing |Wim Taymans2014-09-171-5/+4
| | | | | In ORC_READ_UINT32_LE, convert each byte to uint32 before or-ing them together. This avoids | with signed ints.
* Remove declarations for deleted functions from orcutils.hJan Schmidt2014-08-261-3/+0
|
* Make it ANSI-COlivier Crête2013-10-141-5/+5
| | | | | Use /* */ instead of // Define _GNU_SOURCE in the ORC_CFLAGS
* orcc: add --internal option to mark symbols with internal visibilityTim-Phillip Müller2013-02-191-2/+8
| | | | Fixes: #52184
* Split headers out of orcprogram.hDavid Schleef2012-03-261-0/+26
|
* Protect codemem globals with mutexDavid Schleef2011-08-271-0/+3
|
* Move ORC_GNUC_UNUSED to orcutils.h and use itDavid Schleef2011-07-091-0/+6
|
* Build fixes for win64David Schleef2010-12-221-3/+17
|
* Convert usage of ULL to ORC_UINT64_C()David Schleef2010-09-161-0/+4
|
* c: Fix x2 used with float opcodesDavid Schleef2010-09-141-1/+1
|
* Implement strtoll() for 64 bit integer constantsSebastian Dröge2010-09-061-0/+2
|
* c: implement x2/x4 prefixDavid Schleef2010-08-111-2/+3
|
* Add handling of ORC_CODE environment variableDavid Schleef2010-06-141-1/+1
| | | | | | | | A comma delimited string of values that control how the compiler works. Possible values are "backup", which causes backup functions to be used instead of compiling, and "debug", which causes the SSE backend to create frame pointers, which produces slower code, but allows backtraces in a debugger.
* convert from stdint types to orc typesDavid Schleef2010-06-091-10/+49
|
* preliminary 2-D supportDavid Schleef2009-07-251-0/+1
|
* Fix up documentationDavid Schleef2009-05-281-7/+0
|
* Fixes for x86-64David Schleef2009-04-271-0/+1
|
* Use printf attribute on orc_compiler_add_codeDavid Schleef2009-03-311-0/+6
|
* lots of hackingDavid Schleef2009-03-281-2/+2
|
* Various fixes to execute all the new codeDavid Schleef2009-03-031-0/+15
|
* Split x86 into mmx and sse targetsDavid Schleef2009-03-011-0/+111
And some other random changes in the tree