platform/upstream/orc.git
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

15 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

15 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

15 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

15 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

15 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.

15 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

15 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

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

15 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

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

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

15 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

15 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

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

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

15 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

15 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

15 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

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

15 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

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

15 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

15 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()

15 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()

15 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

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

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

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

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

15 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

15 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

15 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

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

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

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

15 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

15 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

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

15 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.

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

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

15 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.

15 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.

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

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

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

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

Make code more readable.

15 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.

15 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

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

15 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

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

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

15 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

15 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

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

15 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.

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

15 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

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

15 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

15 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()

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

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

15 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()

15 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

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

15 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

15 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

15 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

15 years agomore support for 2d
David Schleef [Sun, 26 Jul 2009 07:08:49 +0000 (00:08 -0700)]
more support for 2d

15 years agopreliminary 2-D support
David Schleef [Sun, 26 Jul 2009 05:44:54 +0000 (22:44 -0700)]
preliminary 2-D support

15 years agoFix accw opcode.
David Schleef [Sun, 26 Jul 2009 05:31:15 +0000 (22:31 -0700)]
Fix accw opcode.

15 years agoonce: fix stupid mistake
David Schleef [Mon, 20 Jul 2009 23:58:13 +0000 (16:58 -0700)]
once: fix stupid mistake

15 years agoonce: add win32 threading code
David Schleef [Mon, 20 Jul 2009 23:10:21 +0000 (16:10 -0700)]
once: add win32 threading code

15 years agoadd EXEEXT ending
David Schleef [Mon, 20 Jul 2009 22:54:36 +0000 (15:54 -0700)]
add EXEEXT ending

15 years agoonce: Add orc once mutex and use it in orcc
David Schleef [Wed, 15 Jul 2009 20:54:23 +0000 (13:54 -0700)]
once: Add orc once mutex and use it in orcc

15 years agoorcc: Fix backup code generation
David Schleef [Tue, 14 Jul 2009 19:59:10 +0000 (12:59 -0700)]
orcc: Fix backup code generation

15 years agotests: build tools before tests
David Schleef [Tue, 14 Jul 2009 19:52:59 +0000 (12:52 -0700)]
tests: build tools before tests

15 years agotests: build orc_test.c
David Schleef [Tue, 14 Jul 2009 19:52:08 +0000 (12:52 -0700)]
tests: build orc_test.c

15 years agotests: add test.orc file
David Schleef [Tue, 14 Jul 2009 19:47:57 +0000 (12:47 -0700)]
tests: add test.orc file

15 years agodoc: add version entities, fix URL
David Schleef [Tue, 14 Jul 2009 18:48:48 +0000 (11:48 -0700)]
doc: add version entities, fix URL

15 years agobuild: back to unreleased
David Schleef [Tue, 14 Jul 2009 18:48:24 +0000 (11:48 -0700)]
build: back to unreleased

15 years agorelease 0.4.2 orc-0.4.2
David Schleef [Tue, 14 Jul 2009 18:22:07 +0000 (11:22 -0700)]
release 0.4.2

15 years agocompiler: users don't need to see compiler errors
David Schleef [Tue, 14 Jul 2009 17:53:25 +0000 (10:53 -0700)]
compiler: users don't need to see compiler errors

15 years agoorcc: Check backup function in test code
David Schleef [Thu, 9 Jul 2009 19:17:05 +0000 (12:17 -0700)]
orcc: Check backup function in test code

15 years agotests: add orcc test
David Schleef [Thu, 9 Jul 2009 19:12:39 +0000 (12:12 -0700)]
tests: add orcc test

15 years agoparse: allocate programs array dynamically
David Schleef [Thu, 9 Jul 2009 19:11:10 +0000 (12:11 -0700)]
parse: allocate programs array dynamically

15 years agotest: Add orc_test_compare_output_backup()
David Schleef [Thu, 9 Jul 2009 19:08:48 +0000 (12:08 -0700)]
test: Add orc_test_compare_output_backup()

15 years agoc: Fix some bugs in code generation
David Schleef [Thu, 9 Jul 2009 19:07:36 +0000 (12:07 -0700)]
c: Fix some bugs in code generation

15 years agoc: Fix shruw and mulhuw
David Schleef [Wed, 8 Jul 2009 01:56:37 +0000 (18:56 -0700)]
c: Fix shruw and mulhuw