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

15 years agorename x86.c
David Schleef [Thu, 28 May 2009 22:05:25 +0000 (15:05 -0700)]
rename x86.c

15 years agoarm: change arm_ to orc_arm_
David Schleef [Thu, 28 May 2009 22:04:00 +0000 (15:04 -0700)]
arm: change arm_ to orc_arm_

15 years agosse: revert change that disabled the SSE backend
David Schleef [Tue, 26 May 2009 03:11:45 +0000 (20:11 -0700)]
sse: revert change that disabled the SSE backend

15 years agommx: convert sse backend to mmx
David Schleef [Tue, 26 May 2009 00:07:49 +0000 (17:07 -0700)]
mmx: convert sse backend to mmx

15 years agosse: fix flag generation
David Schleef [Mon, 25 May 2009 22:30:59 +0000 (15:30 -0700)]
sse: fix flag generation

15 years agoseparate mmx/sse code out of x86.c
David Schleef [Mon, 25 May 2009 21:41:29 +0000 (14:41 -0700)]
separate mmx/sse code out of x86.c

15 years agosse: convert from X86_ECX to gp_tmpreg
David Schleef [Mon, 25 May 2009 21:08:51 +0000 (14:08 -0700)]
sse: convert from X86_ECX to gp_tmpreg

15 years agosse: convert to emission functions
David Schleef [Mon, 25 May 2009 20:49:47 +0000 (13:49 -0700)]
sse: convert to emission functions

15 years agosse: move more sse emission functions to orcsse.c
David Schleef [Mon, 25 May 2009 20:34:16 +0000 (13:34 -0700)]
sse: move more sse emission functions to orcsse.c

15 years agosse: use orc_sse emission functions
David Schleef [Mon, 25 May 2009 19:46:30 +0000 (12:46 -0700)]
sse: use orc_sse emission functions

15 years agoSeparate SSE emission functions to new source file
David Schleef [Mon, 25 May 2009 02:38:06 +0000 (19:38 -0700)]
Separate SSE emission functions to new source file

15 years agoAdd compiler target flags
David Schleef [Mon, 25 May 2009 02:20:10 +0000 (19:20 -0700)]
Add compiler target flags

15 years agotests: fix up tests for new api
David Schleef [Sun, 24 May 2009 22:55:06 +0000 (15:55 -0700)]
tests: fix up tests for new api

15 years agohacking
David Schleef [Sun, 24 May 2009 21:08:39 +0000 (14:08 -0700)]
hacking

15 years agoclean up files after running tests
David Schleef [Sun, 24 May 2009 21:07:50 +0000 (14:07 -0700)]
clean up files after running tests

15 years agomake all the tests work
David Schleef [Sun, 24 May 2009 01:07:39 +0000 (18:07 -0700)]
make all the tests work

15 years agotests: rearrange tests, propogate compile errors
David Schleef [Sat, 23 May 2009 22:08:19 +0000 (15:08 -0700)]
tests: rearrange tests, propogate compile errors

15 years agoFix merge opcodes
David Schleef [Fri, 15 May 2009 22:29:44 +0000 (15:29 -0700)]
Fix merge opcodes

15 years agoAdd ability to optionally add a frame pointer
David Schleef [Fri, 15 May 2009 05:24:25 +0000 (22:24 -0700)]
Add ability to optionally add a frame pointer

15 years agoremove orc-stdint.h
David Schleef [Fri, 15 May 2009 05:19:02 +0000 (22:19 -0700)]
remove orc-stdint.h

15 years agoFix type punning
David Schleef [Fri, 15 May 2009 05:18:06 +0000 (22:18 -0700)]
Fix type punning

15 years agoAltivec hacking
David Schleef [Mon, 11 May 2009 19:41:24 +0000 (12:41 -0700)]
Altivec hacking

15 years agoAltivec hacking
David Schleef [Mon, 11 May 2009 18:25:09 +0000 (11:25 -0700)]
Altivec hacking

15 years agoMore altivec rules
David Schleef [Sun, 10 May 2009 19:22:46 +0000 (12:22 -0700)]
More altivec rules

15 years agoAltivec rules
David Schleef [Sun, 10 May 2009 07:15:06 +0000 (00:15 -0700)]
Altivec rules

15 years agoAdd select and merge opcodes
David Schleef [Thu, 7 May 2009 21:35:14 +0000 (14:35 -0700)]
Add select and merge opcodes

15 years agoCheck rule sets for required target flags
David Schleef [Wed, 29 Apr 2009 05:06:07 +0000 (22:06 -0700)]
Check rule sets for required target flags

15 years agoDetect CPU flags for SSE
David Schleef [Wed, 29 Apr 2009 05:00:43 +0000 (22:00 -0700)]
Detect CPU flags for SSE

15 years agoPrefix x86_/sse_ functions with orc_
David Schleef [Tue, 28 Apr 2009 06:45:44 +0000 (23:45 -0700)]
Prefix x86_/sse_ functions with orc_

15 years agoFix bonghits in previous commit
David Schleef [Tue, 28 Apr 2009 06:06:16 +0000 (23:06 -0700)]
Fix bonghits in previous commit

15 years agoFixes for x86-64
David Schleef [Tue, 28 Apr 2009 06:00:47 +0000 (23:00 -0700)]
Fixes for x86-64

15 years agoAdd tests for float and pixel opcodes
David Schleef [Tue, 28 Apr 2009 02:09:31 +0000 (19:09 -0700)]
Add tests for float and pixel opcodes

15 years agoAdd orc-float library
David Schleef [Tue, 28 Apr 2009 01:58:28 +0000 (18:58 -0700)]
Add orc-float library

Also fix some core features for 8-byte values

15 years agoadd unsigned and hex printing to tests
David Schleef [Mon, 27 Apr 2009 21:54:27 +0000 (14:54 -0700)]
add unsigned and hex printing to tests

15 years agoAdd orc-pixel library
David Schleef [Mon, 27 Apr 2009 18:26:04 +0000 (11:26 -0700)]
Add orc-pixel library

15 years agoFix previous commit
David Schleef [Mon, 27 Apr 2009 04:22:15 +0000 (21:22 -0700)]
Fix previous commit

15 years agoPull various fixes from neon branch
David Schleef [Mon, 27 Apr 2009 03:52:59 +0000 (20:52 -0700)]
Pull various fixes from neon branch

15 years agoAdd accumulators, accum opcodes, and sse implementations
David Schleef [Mon, 27 Apr 2009 01:53:42 +0000 (18:53 -0700)]
Add accumulators, accum opcodes, and sse implementations

15 years agoFixes for static array indices
David Schleef [Sun, 26 Apr 2009 08:04:58 +0000 (01:04 -0700)]
Fixes for static array indices

15 years agoDump program right before compiling
David Schleef [Sun, 26 Apr 2009 01:03:38 +0000 (18:03 -0700)]
Dump program right before compiling

15 years agoFix tests
David Schleef [Sun, 26 Apr 2009 01:03:13 +0000 (18:03 -0700)]
Fix tests

15 years agouse rand(), not random()
David Schleef [Thu, 16 Apr 2009 23:27:06 +0000 (16:27 -0700)]
use rand(), not random()

15 years agowin32 fix
David Schleef [Thu, 16 Apr 2009 23:18:44 +0000 (16:18 -0700)]
win32 fix

15 years agoMove toward static array indexes
David Schleef [Tue, 7 Apr 2009 22:57:48 +0000 (15:57 -0700)]
Move toward static array indexes

15 years agocompile fix on mac
David Schleef [Tue, 7 Apr 2009 04:22:19 +0000 (21:22 -0700)]
compile fix on mac

15 years agoImprove errors, use long jumps on x86
David Schleef [Tue, 7 Apr 2009 03:33:03 +0000 (20:33 -0700)]
Improve errors, use long jumps on x86

15 years agoCheck opcode and instruction argument sizes for agreement
David Schleef [Sun, 5 Apr 2009 23:44:52 +0000 (16:44 -0700)]
Check opcode and instruction argument sizes for agreement

And fix some mistakes

15 years agoFix some opcodes
David Schleef [Sun, 5 Apr 2009 07:19:10 +0000 (00:19 -0700)]
Fix some opcodes

15 years agoAllow reading dest arrays
David Schleef [Thu, 2 Apr 2009 23:50:29 +0000 (16:50 -0700)]
Allow reading dest arrays

15 years agoAlso test in-place dest buffers
David Schleef [Thu, 2 Apr 2009 23:50:02 +0000 (16:50 -0700)]
Also test in-place dest buffers

15 years agoAdd another test
David Schleef [Wed, 1 Apr 2009 18:47:46 +0000 (11:47 -0700)]
Add another test

15 years agooops, needed for last commit
David Schleef [Wed, 1 Apr 2009 18:46:54 +0000 (11:46 -0700)]
oops, needed for last commit

15 years agosse: fix loading of consts and params
David Schleef [Wed, 1 Apr 2009 17:47:18 +0000 (10:47 -0700)]
sse: fix loading of consts and params

15 years agoFix C code for shrul
David Schleef [Wed, 1 Apr 2009 17:11:40 +0000 (10:11 -0700)]
Fix C code for shrul

15 years agoremove dead code
David Schleef [Wed, 1 Apr 2009 05:53:19 +0000 (22:53 -0700)]
remove dead code

15 years agoTest const and param sources
David Schleef [Wed, 1 Apr 2009 05:25:54 +0000 (22:25 -0700)]
Test const and param sources

15 years agouse dest as src
David Schleef [Wed, 1 Apr 2009 05:25:25 +0000 (22:25 -0700)]
use dest as src

15 years agofix convlw
David Schleef [Wed, 1 Apr 2009 05:24:21 +0000 (22:24 -0700)]
fix convlw

15 years agoquiet some debugging
David Schleef [Wed, 1 Apr 2009 05:18:02 +0000 (22:18 -0700)]
quiet some debugging

15 years agoenable convlw rule
David Schleef [Wed, 1 Apr 2009 05:17:45 +0000 (22:17 -0700)]
enable convlw rule

15 years agoAllow reading from dest
David Schleef [Wed, 1 Apr 2009 05:11:46 +0000 (22:11 -0700)]
Allow reading from dest

15 years agoInstall orc tests into $prefix/lib/orc/
David Schleef [Wed, 1 Apr 2009 04:33:09 +0000 (21:33 -0700)]
Install orc tests into $prefix/lib/orc/

15 years agoRemove old OrcOpcode
David Schleef [Tue, 31 Mar 2009 20:00:58 +0000 (13:00 -0700)]
Remove old OrcOpcode

15 years agofix bug in program
David Schleef [Tue, 31 Mar 2009 17:44:34 +0000 (10:44 -0700)]
fix bug in program

15 years agomake function static
David Schleef [Tue, 31 Mar 2009 17:41:33 +0000 (10:41 -0700)]
make function static

15 years agoAttempt to fix UL saturation
David Schleef [Tue, 31 Mar 2009 00:48:02 +0000 (17:48 -0700)]
Attempt to fix UL saturation

15 years agoUse printf attribute on orc_compiler_add_code
David Schleef [Mon, 30 Mar 2009 19:23:44 +0000 (12:23 -0700)]
Use printf attribute on orc_compiler_add_code