platform/upstream/orc.git
14 years agoRelease 0.4.3 orc-0.4.3
David Schleef [Mon, 14 Dec 2009 01:44:58 +0000 (17:44 -0800)]
Release 0.4.3

14 years agotests: Fix distcheck
David Schleef [Mon, 14 Dec 2009 01:44:37 +0000 (17:44 -0800)]
tests: Fix distcheck

14 years agoCompile fixes
David Schleef [Sat, 12 Dec 2009 00:42:27 +0000 (16:42 -0800)]
Compile fixes

14 years agoAdd constant loading system
David Schleef [Tue, 24 Nov 2009 00:15:28 +0000 (16:15 -0800)]
Add constant loading system

14 years agoorcc: fix missing const in src params
David Schleef [Mon, 23 Nov 2009 21:37:05 +0000 (13:37 -0800)]
orcc: fix missing const in src params

14 years agoAdd splitlw and splitwb opcodes
David Schleef [Mon, 23 Nov 2009 02:11:20 +0000 (03:11 +0100)]
Add splitlw and splitwb opcodes

14 years agosse: fix load/store with offset
David Schleef [Mon, 23 Nov 2009 02:09:26 +0000 (03:09 +0100)]
sse: fix load/store with offset

14 years agobetter handling for 2-dest opcodes
David Schleef [Mon, 23 Nov 2009 02:08:16 +0000 (03:08 +0100)]
better handling for 2-dest opcodes

14 years agoquiet debugging
David Schleef [Mon, 23 Nov 2009 02:05:48 +0000 (03:05 +0100)]
quiet debugging

14 years agocompiler: don't chain regs if more than one dest
David Schleef [Mon, 23 Nov 2009 02:05:15 +0000 (03:05 +0100)]
compiler: don't chain regs if more than one dest

14 years agotest: convert unsigned and hex printing to new api
David Schleef [Mon, 23 Nov 2009 02:04:21 +0000 (03:04 +0100)]
test: convert unsigned and hex printing to new api

14 years agoBuild fixes due to MSVC
David Schleef [Wed, 2 Dec 2009 23:04:39 +0000 (15:04 -0800)]
Build fixes due to MSVC

14 years agotest: add compile_parse_c merge-base
David Schleef [Fri, 20 Nov 2009 18:22:39 +0000 (19:22 +0100)]
test: add compile_parse_c

14 years agotest: fix printf format for 64-bit types
David Schleef [Fri, 20 Nov 2009 17:51:27 +0000 (18:51 +0100)]
test: fix printf format for 64-bit types

14 years agoaltivec: add merge and select rules
David Schleef [Thu, 19 Nov 2009 16:18:45 +0000 (17:18 +0100)]
altivec: add merge and select rules

14 years agoorcc: Add --target flag
David Schleef [Thu, 19 Nov 2009 11:09:35 +0000 (12:09 +0100)]
orcc: Add --target flag

14 years agosse: load/store at an offset for constant width
David Schleef [Wed, 18 Nov 2009 17:56:21 +0000 (18:56 +0100)]
sse: load/store at an offset for constant width

14 years agoc: Clean up how arrays are loaded/stored
David Schleef [Wed, 18 Nov 2009 12:56:57 +0000 (13:56 +0100)]
c: Clean up how arrays are loaded/stored

14 years agoc: Fix strict aliasing issues
David Schleef [Wed, 18 Nov 2009 12:52:54 +0000 (13:52 +0100)]
c: Fix strict aliasing issues

14 years agoc: remove parts of preamble that duplicate orc.h
David Schleef [Wed, 18 Nov 2009 12:50:58 +0000 (13:50 +0100)]
c: remove parts of preamble that duplicate orc.h

14 years agoAdd source array sampling type
David Schleef [Wed, 18 Nov 2009 10:50:08 +0000 (11:50 +0100)]
Add source array sampling type

14 years agoc64x-c: hacking
David Schleef [Wed, 18 Nov 2009 05:49:59 +0000 (21:49 -0800)]
c64x-c: hacking

14 years agoAdd c64x-c target
David Schleef [Mon, 16 Nov 2009 19:43:13 +0000 (11:43 -0800)]
Add c64x-c target

14 years agosse: split compile function into parts
David Schleef [Sat, 24 Oct 2009 00:15:08 +0000 (17:15 -0700)]
sse: split compile function into parts

14 years agoorcc: exit with error code on error
David Schleef [Mon, 19 Oct 2009 19:02:32 +0000 (12:02 -0700)]
orcc: exit with error code on error

14 years agosse: minor improvement in m counting
David Schleef [Mon, 19 Oct 2009 18:59:09 +0000 (11:59 -0700)]
sse: minor improvement in m counting

14 years agotest: handle testing of float opcodes better
David Schleef [Mon, 19 Oct 2009 18:58:23 +0000 (11:58 -0700)]
test: handle testing of float opcodes better

14 years agofloat: remove some sse rules
David Schleef [Mon, 19 Oct 2009 18:30:06 +0000 (11:30 -0700)]
float: remove some sse rules

These were moved to the main library

14 years agoorcc: implement --assembly for asm output
David Schleef [Mon, 19 Oct 2009 17:39:58 +0000 (10:39 -0700)]
orcc: implement --assembly for asm output

Probably not useful yet.

14 years agosse: some optimizations for constant n,m
David Schleef [Mon, 19 Oct 2009 17:39:36 +0000 (10:39 -0700)]
sse: some optimizations for constant n,m

14 years agosse: Special case for constant n programs
David Schleef [Mon, 19 Oct 2009 04:02:30 +0000 (21:02 -0700)]
sse: Special case for constant n programs

14 years agotests: handle float opcodes
David Schleef [Thu, 15 Oct 2009 19:32:44 +0000 (12:32 -0700)]
tests: handle float opcodes

14 years agoAdd C rules for float opcodes
David Schleef [Thu, 15 Oct 2009 19:29:05 +0000 (12:29 -0700)]
Add C rules for float opcodes

14 years agoarm: another compile fix
David Schleef [Tue, 6 Oct 2009 21:26:22 +0000 (14:26 -0700)]
arm: another compile fix

14 years agoarm: fix compile
David Schleef [Tue, 6 Oct 2009 20:08:40 +0000 (13:08 -0700)]
arm: fix compile

14 years agoarm: Fix minor code generation bugs
David Schleef [Tue, 6 Oct 2009 19:45:15 +0000 (12:45 -0700)]
arm: Fix minor code generation bugs

14 years agofloat: remove float ops moved to main lib
David Schleef [Tue, 6 Oct 2009 18:34:16 +0000 (11:34 -0700)]
float: remove float ops moved to main lib

14 years agoDon't install orc tests.
David Schleef [Tue, 6 Oct 2009 17:43:06 +0000 (10:43 -0700)]
Don't install orc tests.

14 years agotest: fix profiling code
David Schleef [Tue, 6 Oct 2009 01:56:20 +0000 (18:56 -0700)]
test: fix profiling code

14 years agoorc-test: change OrcRandom to OrcRandomContext
David Schleef [Thu, 1 Oct 2009 17:31:23 +0000 (10:31 -0700)]
orc-test: change OrcRandom to OrcRandomContext

14 years agoorc-test: add profiling from liboil
David Schleef [Thu, 1 Oct 2009 17:29:35 +0000 (10:29 -0700)]
orc-test: add profiling from liboil

14 years agoc: fix bug outputting accumulators incorrectly
David Schleef [Thu, 1 Oct 2009 17:27:06 +0000 (10:27 -0700)]
c: fix bug outputting accumulators incorrectly

14 years agoorcc: Fix output for 2d
David Schleef [Wed, 30 Sep 2009 20:46:34 +0000 (13:46 -0700)]
orcc: Fix output for 2d

14 years agoMove 32-bit float ops to core library
David Schleef [Wed, 30 Sep 2009 03:15:34 +0000 (20:15 -0700)]
Move 32-bit float ops to core library

14 years agoarm: readd some deleted functions
David Schleef [Sun, 20 Sep 2009 06:26:58 +0000 (23:26 -0700)]
arm: readd some deleted functions

14 years agoarm: add arm code from neon branch
David Schleef [Sun, 20 Sep 2009 05:50:19 +0000 (22:50 -0700)]
arm: add arm code from neon branch

14 years agoarm: add orc_arm_flush_cache()
David Schleef [Sun, 20 Sep 2009 05:33:31 +0000 (22:33 -0700)]
arm: add orc_arm_flush_cache()

14 years agoarm: rename to orc_arm_emit_load_imm()
David Schleef [Sun, 20 Sep 2009 05:29:51 +0000 (22:29 -0700)]
arm: rename to orc_arm_emit_load_imm()

14 years agoarm: remove orc_arm_exec_ptr
David Schleef [Sun, 20 Sep 2009 05:28:25 +0000 (22:28 -0700)]
arm: remove orc_arm_exec_ptr

14 years agoarm: cleanuos and fixes
Wim Taymans [Sat, 19 Sep 2009 18:07:20 +0000 (20:07 +0200)]
arm: cleanuos and fixes

14 years agorules-arm: fix compilation
Wim Taymans [Sat, 19 Sep 2009 11:37:58 +0000 (13:37 +0200)]
rules-arm: fix compilation

14 years agorules-arm: implement remaining opcodes
Wim Taymans [Sat, 19 Sep 2009 11:09:39 +0000 (13:09 +0200)]
rules-arm: implement remaining opcodes

14 years agoarm: cleanups and fixes
Wim Taymans [Fri, 18 Sep 2009 21:10:51 +0000 (23:10 +0200)]
arm: cleanups and fixes

14 years agorules-arm: don't thrash inputs
Wim Taymans [Thu, 17 Sep 2009 23:02:55 +0000 (01:02 +0200)]
rules-arm: don't thrash inputs

14 years agorules-arm: make parallel sign function
Wim Taymans [Thu, 17 Sep 2009 22:35:37 +0000 (00:35 +0200)]
rules-arm: make parallel sign function

14 years agorules-arm: more opcodes, more fixes
Wim Taymans [Thu, 17 Sep 2009 21:07:18 +0000 (23:07 +0200)]
rules-arm: more opcodes, more fixes

14 years agorules-arm: fix avgu instruction
Wim Taymans [Wed, 16 Sep 2009 20:28:59 +0000 (22:28 +0200)]
rules-arm: fix avgu instruction

14 years agorules-arm: more rules
Wim Taymans [Tue, 15 Sep 2009 18:00:54 +0000 (20:00 +0200)]
rules-arm: more rules

14 years agorules-arm: add more instructions
Wim Taymans [Tue, 15 Sep 2009 17:20:26 +0000 (19:20 +0200)]
rules-arm: add more instructions

14 years agorules-arm: add some more instructions
Wim Taymans [Tue, 15 Sep 2009 15:47:19 +0000 (17:47 +0200)]
rules-arm: add some more instructions

14 years agorules-arm: add some more instructions
Wim Taymans [Tue, 15 Sep 2009 13:10:51 +0000 (15:10 +0200)]
rules-arm: add some more instructions

14 years agoprogram: add some convenience macros
Wim Taymans [Tue, 15 Sep 2009 17:20:07 +0000 (19:20 +0200)]
program: add some convenience macros

14 years agovolscale: refer to variables with their enum
Wim Taymans [Mon, 14 Sep 2009 17:29:20 +0000 (19:29 +0200)]
volscale: refer to variables with their enum

Try to refer to variables with their enum instead of their string names as this
saves some lookup overhead.

14 years agovolscale: use right array indexes
Wim Taymans [Mon, 14 Sep 2009 16:57:49 +0000 (18:57 +0200)]
volscale: use right array indexes

14 years agovolscale: improve example
Wim Taymans [Mon, 14 Sep 2009 16:14:44 +0000 (18:14 +0200)]
volscale: improve example

14 years agovolscale: add volume scaling example
Wim Taymans [Mon, 14 Sep 2009 15:28:48 +0000 (17:28 +0200)]
volscale: add volume scaling example

Add an example for adding a new instruction.

14 years agorenames _instr_ to _emit_ in the convenience macros
Wim Taymans [Mon, 14 Sep 2009 15:10:26 +0000 (17:10 +0200)]
renames _instr_ to _emit_ in the convenience macros

Use _emit_ for the convenience function names to stay consistent with the other
emit functions.

14 years agorules-altivec: use convenience macros
Wim Taymans [Mon, 14 Sep 2009 11:46:58 +0000 (13:46 +0200)]
rules-altivec: use convenience macros

14 years agopowerpc: add convenience macros
Wim Taymans [Mon, 14 Sep 2009 11:46:03 +0000 (13:46 +0200)]
powerpc: add convenience macros

14 years agorules-altivec: fix compilation
Wim Taymans [Mon, 14 Sep 2009 09:36:52 +0000 (11:36 +0200)]
rules-altivec: fix compilation

14 years agorules-altivec: cleanups
Wim Taymans [Sun, 13 Sep 2009 17:34:25 +0000 (19:34 +0200)]
rules-altivec: cleanups

Make code more readable.

14 years agorules-arm: cleanups
Wim Taymans [Sun, 13 Sep 2009 17:33:53 +0000 (19:33 +0200)]
rules-arm: cleanups

Use variables for args to make code more readable.

14 years agommx: cleamups, add some more instructions
Wim Taymans [Sun, 13 Sep 2009 17:33:19 +0000 (19:33 +0200)]
mmx: cleamups, add some more instructions

14 years agosse: fix indentation
Wim Taymans [Sun, 13 Sep 2009 17:33:03 +0000 (19:33 +0200)]
sse: fix indentation

14 years agorules-sse: use convenience macros and cleanups
Wim Taymans [Sun, 13 Sep 2009 13:28:34 +0000 (15:28 +0200)]
rules-sse: use convenience macros and cleanups

14 years agosse: fix movdqa
Wim Taymans [Sun, 13 Sep 2009 13:27:49 +0000 (15:27 +0200)]
sse: fix movdqa

14 years agorules-sse: small cleanup
Wim Taymans [Sun, 13 Sep 2009 12:48:12 +0000 (14:48 +0200)]
rules-sse: small cleanup

14 years agommx/sse: add more convenience macros
Wim Taymans [Sun, 13 Sep 2009 12:47:44 +0000 (14:47 +0200)]
mmx/sse: add more convenience macros

14 years agommx: add some more missing instructions
Wim Taymans [Sun, 13 Sep 2009 10:12:46 +0000 (12:12 +0200)]
mmx: add some more missing instructions

14 years agommx: fix some opcode names
Wim Taymans [Sun, 13 Sep 2009 10:02:14 +0000 (12:02 +0200)]
mmx: fix some opcode names

14 years agoruleset: fix registration of opcode sets
Wim Taymans [Sun, 13 Sep 2009 09:49:32 +0000 (11:49 +0200)]
ruleset: fix registration of opcode sets

When we register a RuleSet for an OpcodeSet, don't keep a pointer from the
RuleSet to the OpcodeSet because the OpcodeSet pointer can change (due to
realloc) when we register new OpcodeSets.

Instead, keep the opcode_major and use this to get the right index in the
OpcodeSet.

14 years agorules-mmx: fix typo
Wim Taymans [Sun, 13 Sep 2009 09:45:28 +0000 (11:45 +0200)]
rules-mmx: fix typo

14 years agorules-mmx: convert to convenience macros
Wim Taymans [Sat, 12 Sep 2009 12:57:27 +0000 (14:57 +0200)]
rules-mmx: convert to convenience macros

14 years agommx: add convenience macros
Wim Taymans [Sat, 12 Sep 2009 12:15:27 +0000 (14:15 +0200)]
mmx: add convenience macros

14 years agocodemem: use symbol name in filename
David Schleef [Sun, 20 Sep 2009 04:45:08 +0000 (21:45 -0700)]
codemem: use symbol name in filename

14 years agoadd orc_program_get_max_accumulator_size()
David Schleef [Sun, 20 Sep 2009 04:42:55 +0000 (21:42 -0700)]
add orc_program_get_max_accumulator_size()

14 years agoarm: Fix compiling on arm
David Schleef [Sun, 20 Sep 2009 04:40:59 +0000 (21:40 -0700)]
arm: Fix compiling on arm

14 years agoorcc: Add custom header barrier
David Schleef [Sun, 20 Sep 2009 00:53:59 +0000 (17:53 -0700)]
orcc: Add custom header barrier

14 years agoAdd orc_memset() and orc_memcpy()
David Schleef [Sun, 20 Sep 2009 00:46:06 +0000 (17:46 -0700)]
Add orc_memset() and orc_memcpy()

14 years agoorcc: fix warning in generated code
David Schleef [Sat, 19 Sep 2009 23:04:36 +0000 (16:04 -0700)]
orcc: fix warning in generated code

14 years agoorcc: Add --include option
David Schleef [Sat, 19 Sep 2009 22:56:45 +0000 (15:56 -0700)]
orcc: Add --include option

14 years agoorcc: Add handling of command line options
David Schleef [Sat, 19 Sep 2009 18:53:39 +0000 (11:53 -0700)]
orcc: Add handling of command line options

14 years agoAdd orcc to pkg-config files
David Schleef [Sat, 19 Sep 2009 17:34:37 +0000 (10:34 -0700)]
Add orcc to pkg-config files

14 years agoFix cross building
David Schleef [Wed, 12 Aug 2009 19:23:34 +0000 (12:23 -0700)]
Fix cross building

15 years agoc: create code for bypassing OrcExecutor structure
David Schleef [Sat, 1 Aug 2009 05:49:11 +0000 (22:49 -0700)]
c: create code for bypassing OrcExecutor structure

15 years agoFix memleak
David Schleef [Sat, 1 Aug 2009 05:39:44 +0000 (22:39 -0700)]
Fix memleak

15 years agoorcc: Add code to use backup function if no Orc lib
David Schleef [Wed, 29 Jul 2009 07:08:31 +0000 (00:08 -0700)]
orcc: Add code to use backup function if no Orc lib

15 years agoorcc: code cleanup
David Schleef [Wed, 29 Jul 2009 06:48:11 +0000 (23:48 -0700)]
orcc: code cleanup

15 years agoFix memory leaks
David Schleef [Mon, 27 Jul 2009 19:51:12 +0000 (12:51 -0700)]
Fix memory leaks

15 years agomore 2d hacking
David Schleef [Mon, 27 Jul 2009 19:50:46 +0000 (12:50 -0700)]
more 2d hacking