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

15 years agoremove bits about motovec code in liboil
David Schleef [Thu, 2 Jul 2009 22:36:30 +0000 (15:36 -0700)]
remove bits about motovec code in liboil

15 years agoupdate README and RELEASE
David Schleef [Thu, 2 Jul 2009 22:35:16 +0000 (15:35 -0700)]
update README and RELEASE

15 years agoback to unreleased
David Schleef [Thu, 2 Jul 2009 22:34:58 +0000 (15:34 -0700)]
back to unreleased

15 years agorelease 0.4.1
David Schleef [Thu, 2 Jul 2009 19:21:41 +0000 (12:21 -0700)]
release 0.4.1

15 years agoaltivec: fix detection on mac
David Schleef [Tue, 30 Jun 2009 22:32:06 +0000 (15:32 -0700)]
altivec: fix detection on mac

15 years agotest: fix printf format
David Schleef [Tue, 30 Jun 2009 22:31:53 +0000 (15:31 -0700)]
test: fix printf format

15 years agosse: another rule (absw) for jrosser
David Schleef [Tue, 30 Jun 2009 21:53:09 +0000 (14:53 -0700)]
sse: another rule (absw) for jrosser

15 years agoremove libtool macros
David Schleef [Tue, 30 Jun 2009 20:48:17 +0000 (13:48 -0700)]
remove libtool macros

15 years agosse: a new signw rule for jrosser
David Schleef [Tue, 30 Jun 2009 19:31:17 +0000 (12:31 -0700)]
sse: a new signw rule for jrosser

15 years agoorcc: disable abort(), since there are backup functions
David Schleef [Tue, 30 Jun 2009 18:24:15 +0000 (11:24 -0700)]
orcc: disable abort(), since there are backup functions

15 years agotest: use rand() instead of random()
David Schleef [Mon, 29 Jun 2009 21:00:21 +0000 (14:00 -0700)]
test: use rand() instead of random()

15 years agoAdd some m4 files
David Schleef [Mon, 29 Jun 2009 20:56:33 +0000 (13:56 -0700)]
Add some m4 files

15 years agoc: generate code that makes gcc happy
David Schleef [Mon, 29 Jun 2009 00:13:06 +0000 (17:13 -0700)]
c: generate code that makes gcc happy

15 years agoorcc: output defines for generated code
David Schleef [Mon, 29 Jun 2009 00:12:35 +0000 (17:12 -0700)]
orcc: output defines for generated code

15 years agoorcc: create backup functions
David Schleef [Sun, 28 Jun 2009 23:40:55 +0000 (16:40 -0700)]
orcc: create backup functions

15 years agoAdd backup function
David Schleef [Sun, 28 Jun 2009 23:40:18 +0000 (16:40 -0700)]
Add backup function

15 years agoc: Fix some bugs in generated code
David Schleef [Sun, 28 Jun 2009 23:39:29 +0000 (16:39 -0700)]
c: Fix some bugs in generated code

15 years agoorcc: handle constants
David Schleef [Sun, 28 Jun 2009 07:10:26 +0000 (00:10 -0700)]
orcc: handle constants

15 years agosse: add rule for mulubw
David Schleef [Sun, 28 Jun 2009 07:09:16 +0000 (00:09 -0700)]
sse: add rule for mulubw

15 years agosse: add rule for mulsbw
David Schleef [Sun, 28 Jun 2009 06:23:06 +0000 (23:23 -0700)]
sse: add rule for mulsbw

15 years agoorcc: Add code for gthread mutexes
David Schleef [Sun, 28 Jun 2009 05:30:31 +0000 (22:30 -0700)]
orcc: Add code for gthread mutexes

15 years agoorc: function to get largest array size
David Schleef [Thu, 25 Jun 2009 01:20:56 +0000 (18:20 -0700)]
orc: function to get largest array size

15 years agosse: fix accl for loop_shift==0
David Schleef [Thu, 25 Jun 2009 01:20:20 +0000 (18:20 -0700)]
sse: fix accl for loop_shift==0

15 years agotest: improve test output for accumulators
David Schleef [Thu, 25 Jun 2009 01:11:01 +0000 (18:11 -0700)]
test: improve test output for accumulators

15 years agoorc: fix some accumulator bugs
David Schleef [Thu, 25 Jun 2009 00:43:27 +0000 (17:43 -0700)]
orc: fix some accumulator bugs

15 years agotest: handle accumulators
David Schleef [Thu, 25 Jun 2009 00:43:02 +0000 (17:43 -0700)]
test: handle accumulators

15 years agoorcc: use a separate var to indicate compile status
David Schleef [Wed, 24 Jun 2009 21:53:44 +0000 (14:53 -0700)]
orcc: use a separate var to indicate compile status

15 years agosse: calculate alignment shifts correctly
David Schleef [Wed, 24 Jun 2009 21:53:20 +0000 (14:53 -0700)]
sse: calculate alignment shifts correctly

15 years agoAdd sizes to params in test code
David Schleef [Fri, 19 Jun 2009 14:42:56 +0000 (07:42 -0700)]
Add sizes to params in test code

15 years agoremove extraneous file
David Schleef [Fri, 19 Jun 2009 14:40:28 +0000 (07:40 -0700)]
remove extraneous file

15 years agoAdd need_mask_regs
David Schleef [Fri, 19 Jun 2009 14:35:53 +0000 (07:35 -0700)]
Add need_mask_regs

15 years agosse: improve alignment intro and outtro
David Schleef [Mon, 15 Jun 2009 18:25:20 +0000 (11:25 -0700)]
sse: improve alignment intro and outtro

15 years agocompiler: don't check const sizes
David Schleef [Mon, 15 Jun 2009 18:13:44 +0000 (11:13 -0700)]
compiler: don't check const sizes

15 years agotest: handle multiple destination arrays
David Schleef [Mon, 15 Jun 2009 18:13:16 +0000 (11:13 -0700)]
test: handle multiple destination arrays

15 years agoorcc: Add test output, type names
David Schleef [Mon, 15 Jun 2009 18:10:23 +0000 (11:10 -0700)]
orcc: Add test output, type names

Still has testing crap in it.  Not for master.

15 years agoparse: Add accumulator, support for type names
David Schleef [Mon, 15 Jun 2009 18:06:42 +0000 (11:06 -0700)]
parse: Add accumulator, support for type names

15 years agoAdd debug while compiling
David Schleef [Thu, 11 Jun 2009 22:59:11 +0000 (15:59 -0700)]
Add debug while compiling

15 years agommx: emit emms in epilogue
David Schleef [Mon, 15 Jun 2009 02:44:28 +0000 (19:44 -0700)]
mmx: emit emms in epilogue

15 years agoversion to 0.4.0.1
David Schleef [Mon, 15 Jun 2009 18:11:53 +0000 (11:11 -0700)]
version to 0.4.0.1

15 years agoorcc: hacking
David Schleef [Sat, 6 Jun 2009 18:10:38 +0000 (11:10 -0700)]
orcc: hacking

15 years agosse: long jumps should be default
David Schleef [Sat, 6 Jun 2009 18:09:51 +0000 (11:09 -0700)]
sse: long jumps should be default

15 years agodoc: Add version entities file
David Schleef [Mon, 1 Jun 2009 23:23:26 +0000 (16:23 -0700)]
doc: Add version entities file

15 years agoexample: set the program
David Schleef [Mon, 1 Jun 2009 16:49:33 +0000 (09:49 -0700)]
example: set the program

15 years ago0.3->0.4 fixes, update README orc-0.4.0
David Schleef [Sun, 31 May 2009 23:58:58 +0000 (16:58 -0700)]
0.3->0.4 fixes, update README

15 years agoRelease 0.4.0
David Schleef [Sun, 31 May 2009 21:28:14 +0000 (14:28 -0700)]
Release 0.4.0

15 years agodoc: documentation work
David Schleef [Sun, 31 May 2009 20:29:50 +0000 (13:29 -0700)]
doc: documentation work

15 years agosplit powerpc files
David Schleef [Fri, 29 May 2009 04:35:39 +0000 (21:35 -0700)]
split powerpc files

15 years agodoc: updating
David Schleef [Fri, 29 May 2009 01:54:57 +0000 (18:54 -0700)]
doc: updating

15 years agoFix up documentation
David Schleef [Fri, 29 May 2009 01:04:06 +0000 (18:04 -0700)]
Fix up documentation

15 years agodoc: add doc files
David Schleef [Thu, 28 May 2009 22:10:27 +0000 (15:10 -0700)]
doc: add doc files