platform/upstream/orc.git
13 years agoRefactor instruction flags
David Schleef [Mon, 9 Aug 2010 23:31:58 +0000 (16:31 -0700)]
Refactor instruction flags

13 years agosse: Fix recently broken convsuslw rule
David Schleef [Sun, 8 Aug 2010 19:56:46 +0000 (12:56 -0700)]
sse: Fix recently broken convsuslw rule

13 years agoAdd low-level opcodes for compositing
David Schleef [Sat, 7 Aug 2010 01:43:41 +0000 (18:43 -0700)]
Add low-level opcodes for compositing

13 years agoAdd some 64-bit opcodes, and SSE rules
David Schleef [Sat, 7 Aug 2010 00:50:39 +0000 (17:50 -0700)]
Add some 64-bit opcodes, and SSE rules

13 years agoremove old style of opcode emulation
David Schleef [Fri, 6 Aug 2010 20:42:49 +0000 (13:42 -0700)]
remove old style of opcode emulation

13 years agoGenerate header file for opcode emulation
David Schleef [Fri, 6 Aug 2010 20:33:32 +0000 (13:33 -0700)]
Generate header file for opcode emulation

13 years agosse: better implementation of addssl
David Schleef [Fri, 6 Aug 2010 20:03:51 +0000 (13:03 -0700)]
sse: better implementation of addssl

13 years agosse: implement more rules
David Schleef [Fri, 6 Aug 2010 18:46:57 +0000 (11:46 -0700)]
sse: implement more rules

13 years agoc: Fix loadupib code
David Schleef [Fri, 6 Aug 2010 02:52:52 +0000 (19:52 -0700)]
c: Fix loadupib code

13 years agosse: Add more slow rules
David Schleef [Fri, 6 Aug 2010 01:08:25 +0000 (18:08 -0700)]
sse: Add more slow rules

13 years agotest.orc: Add a function with loadupdb
David Schleef [Thu, 5 Aug 2010 21:22:40 +0000 (14:22 -0700)]
test.orc: Add a function with loadupdb

13 years agotests: don't run compare programs
David Schleef [Thu, 5 Aug 2010 21:22:15 +0000 (14:22 -0700)]
tests: don't run compare programs

For MMX/SSE only.

13 years agosse: implement loadoff, loadup opcodes
David Schleef [Thu, 5 Aug 2010 21:21:34 +0000 (14:21 -0700)]
sse: implement loadoff, loadup opcodes

13 years agosse: implement mulhul
David Schleef [Thu, 5 Aug 2010 21:20:58 +0000 (14:20 -0700)]
sse: implement mulhul

13 years agoAdd loadoff[bwl], loadup[id]b opcodes
David Schleef [Thu, 5 Aug 2010 21:18:42 +0000 (14:18 -0700)]
Add loadoff[bwl], loadup[id]b opcodes

13 years agoemulation: Add offset to emulation functions
David Schleef [Thu, 5 Aug 2010 21:16:12 +0000 (14:16 -0700)]
emulation: Add offset to emulation functions

13 years agoAdd OrcCode structure
David Schleef [Thu, 5 Aug 2010 21:10:19 +0000 (14:10 -0700)]
Add OrcCode structure

13 years agoUpdate gitignore
Jan Schmidt [Sat, 31 Jul 2010 07:04:15 +0000 (17:04 +1000)]
Update gitignore

13 years agoUse AM_PROG_CC_C_O to support per-target compilation flags.
Jan Schmidt [Sat, 31 Jul 2010 06:51:21 +0000 (16:51 +1000)]
Use AM_PROG_CC_C_O to support per-target compilation flags.

Fixes an automake warning.

13 years agoFix dependencies of the generate-emulation binary.
Jan Schmidt [Sat, 31 Jul 2010 06:49:34 +0000 (16:49 +1000)]
Fix dependencies of the generate-emulation binary.

Makes parallel builds succeed.

13 years agoFix distcheck
Jan Schmidt [Sat, 31 Jul 2010 06:46:28 +0000 (16:46 +1000)]
Fix distcheck

Add orcemulateopcodes.h to the dist.
Fix gtk-doc.make copying version.entities to the srcdir.

13 years agoc: cleanup pointer updating
David Schleef [Tue, 3 Aug 2010 07:56:33 +0000 (00:56 -0700)]
c: cleanup pointer updating

13 years agosse: Fix accsadubl rule
David Schleef [Tue, 3 Aug 2010 07:45:25 +0000 (00:45 -0700)]
sse: Fix accsadubl rule

13 years agotest: Add disabled code for Cortex-A8 benchmarking
David Schleef [Tue, 3 Aug 2010 07:44:47 +0000 (00:44 -0700)]
test: Add disabled code for Cortex-A8 benchmarking

13 years agoc: convert to load/store opcodes
David Schleef [Tue, 3 Aug 2010 07:42:02 +0000 (00:42 -0700)]
c: convert to load/store opcodes

13 years agoaltivec: implement load/store opcodes
David Schleef [Tue, 3 Aug 2010 02:30:52 +0000 (19:30 -0700)]
altivec: implement load/store opcodes

13 years agoarm: Add runtime detection of EDSP
David Schleef [Tue, 3 Aug 2010 01:00:10 +0000 (18:00 -0700)]
arm: Add runtime detection of EDSP

13 years agoarm: Add load/store opcodes
David Schleef [Tue, 3 Aug 2010 00:59:54 +0000 (17:59 -0700)]
arm: Add load/store opcodes

13 years agoneon: improve select1wb/lw rules
David Schleef [Tue, 3 Aug 2010 00:04:58 +0000 (17:04 -0700)]
neon: improve select1wb/lw rules

13 years agoneon: Add more rules
David Schleef [Mon, 2 Aug 2010 23:09:46 +0000 (16:09 -0700)]
neon: Add more rules

13 years agoFix mulhul opcode and update generated code
David Schleef [Mon, 2 Aug 2010 23:09:02 +0000 (16:09 -0700)]
Fix mulhul opcode and update generated code

13 years agoneon: Add splitwb/splitlw
David Schleef [Mon, 2 Aug 2010 22:23:47 +0000 (15:23 -0700)]
neon: Add splitwb/splitlw

13 years agoneon: add load/store opcodes
David Schleef [Mon, 2 Aug 2010 21:59:15 +0000 (14:59 -0700)]
neon: add load/store opcodes

13 years agosse: Fix pmulld emission
David Schleef [Mon, 2 Aug 2010 19:31:47 +0000 (12:31 -0700)]
sse: Fix pmulld emission

13 years agosse: Fix mxcsr save/restore on x86-64
David Schleef [Mon, 2 Aug 2010 19:31:19 +0000 (12:31 -0700)]
sse: Fix mxcsr save/restore on x86-64

13 years agocompiler: increase number of temp variables
David Schleef [Mon, 2 Aug 2010 19:30:58 +0000 (12:30 -0700)]
compiler: increase number of temp variables

13 years agoconfigure: Add dragonflybsd to mmap code alloc
David Schleef [Mon, 2 Aug 2010 19:22:57 +0000 (12:22 -0700)]
configure: Add dragonflybsd to mmap code alloc

14 years agommx: Fix problems in recent commit
David Schleef [Mon, 2 Aug 2010 01:34:41 +0000 (18:34 -0700)]
mmx: Fix problems in recent commit

14 years agoAdd performance comparison tests
David Schleef [Mon, 2 Aug 2010 01:33:27 +0000 (18:33 -0700)]
Add performance comparison tests

14 years agotest: Fix perf_opcodes_sys for acc opcodes
David Schleef [Mon, 2 Aug 2010 01:02:48 +0000 (18:02 -0700)]
test: Fix perf_opcodes_sys for acc opcodes

14 years agommx: update from sse
David Schleef [Mon, 2 Aug 2010 00:36:30 +0000 (17:36 -0700)]
mmx: update from sse

14 years agoChanges to allow generation of mmx code from sse
David Schleef [Mon, 2 Aug 2010 00:35:48 +0000 (17:35 -0700)]
Changes to allow generation of mmx code from sse

14 years agoBetter handling of invariants
David Schleef [Sun, 1 Aug 2010 22:41:36 +0000 (15:41 -0700)]
Better handling of invariants

14 years agocompiler: add flag for allowing gp regs on stack
David Schleef [Sun, 1 Aug 2010 22:22:26 +0000 (15:22 -0700)]
compiler: add flag for allowing gp regs on stack

14 years agocompiler: don't load constants for scalar opcodes
David Schleef [Fri, 30 Jul 2010 23:19:08 +0000 (16:19 -0700)]
compiler: don't load constants for scalar opcodes

14 years agotests: handle scalar opcodes in perf test
David Schleef [Fri, 30 Jul 2010 23:17:01 +0000 (16:17 -0700)]
tests: handle scalar opcodes in perf test

14 years agosse: Add more fallback rules
David Schleef [Fri, 30 Jul 2010 23:16:31 +0000 (16:16 -0700)]
sse: Add more fallback rules

14 years agoDon't allocate registers for const and param
David Schleef [Fri, 30 Jul 2010 01:34:58 +0000 (18:34 -0700)]
Don't allocate registers for const and param

14 years agosse: implement faster permute rules
David Schleef [Fri, 30 Jul 2010 01:34:03 +0000 (18:34 -0700)]
sse: implement faster permute rules

14 years agotests: Add more test orc code
David Schleef [Fri, 30 Jul 2010 00:13:02 +0000 (17:13 -0700)]
tests: Add more test orc code

14 years agotests: fix program name
David Schleef [Thu, 29 Jul 2010 22:36:06 +0000 (15:36 -0700)]
tests: fix program name

14 years agoAdd loadpb/loadpw/loadpl instructions
David Schleef [Thu, 29 Jul 2010 22:35:33 +0000 (15:35 -0700)]
Add loadpb/loadpw/loadpl instructions

14 years agoAdd load/store opcodes
David Schleef [Thu, 29 Jul 2010 04:15:07 +0000 (21:15 -0700)]
Add load/store opcodes

Also rewrite programs to use them instead of having the
backends separately handle load/stores.  Breaks non-SSE
backends.

14 years agoAdd logging to orc_parse
David Schleef [Wed, 28 Jul 2010 07:57:23 +0000 (00:57 -0700)]
Add logging to orc_parse

And (finally) some error reporting in orcc.

14 years agoRemove constant folding, it's broken
David Schleef [Wed, 28 Jul 2010 00:22:53 +0000 (17:22 -0700)]
Remove constant folding, it's broken

14 years agosse: only set mxcsr if float opcodes are used
David Schleef [Wed, 28 Jul 2010 00:21:48 +0000 (17:21 -0700)]
sse: only set mxcsr if float opcodes are used

14 years agotests: quiet test output
David Schleef [Wed, 28 Jul 2010 00:21:08 +0000 (17:21 -0700)]
tests: quiet test output

14 years agoReimplement emulation
David Schleef [Wed, 28 Jul 2010 00:08:02 +0000 (17:08 -0700)]
Reimplement emulation

14 years agoupdate orcfunctions.c
David Schleef [Tue, 27 Jul 2010 23:55:42 +0000 (16:55 -0700)]
update orcfunctions.c

14 years agotest: quiet test_accsadubl
David Schleef [Tue, 27 Jul 2010 02:27:31 +0000 (19:27 -0700)]
test: quiet test_accsadubl

14 years agoUse TMPDIR for temporary code memory files
David Schleef [Mon, 26 Jul 2010 21:52:52 +0000 (14:52 -0700)]
Use TMPDIR for temporary code memory files

Also better error reporting.

14 years agoarm: more fixes for ARMv6 rules
Stuart Henderson [Wed, 21 Jul 2010 21:08:49 +0000 (14:08 -0700)]
arm: more fixes for ARMv6 rules

Signed-off-by: David Schleef <ds@schleef.org>
14 years agomemcpy_speed: make default upper limit lower
David Schleef [Wed, 21 Jul 2010 20:53:29 +0000 (13:53 -0700)]
memcpy_speed: make default upper limit lower

If the cache size is not known, max out at 1 MB.
Better for slow systems.

14 years ago.gitignore: ignore more stuff
Tim-Philipp Müller [Sat, 26 Jun 2010 11:51:03 +0000 (12:51 +0100)]
.gitignore: ignore more stuff

14 years agodocs: fix version.entities include problems
Tim-Philipp Müller [Sat, 26 Jun 2010 11:46:26 +0000 (12:46 +0100)]
docs: fix version.entities include problems

Copy the generated version.entities file into the xml/ directory,
which is where it's expected. Fixes include warnings when building
docs. There doesn't seem to be a way to achieve this without
modifying the original gtk-doc.make file yet.

14 years agoarm: Another try with ARMv6 rules
David Schleef [Wed, 21 Jul 2010 05:07:11 +0000 (22:07 -0700)]
arm: Another try with ARMv6 rules

14 years agoarm: move more opcodes that use ARMv6 instructions
David Schleef [Wed, 21 Jul 2010 00:07:41 +0000 (17:07 -0700)]
arm: move more opcodes that use ARMv6 instructions

Noticed by Brad <brad@comstyle.com>.

14 years agoback to unreleased
David Schleef [Tue, 20 Jul 2010 20:59:15 +0000 (13:59 -0700)]
back to unreleased

14 years agoarm: mark some rules as ARM v6 only
David Schleef [Tue, 20 Jul 2010 20:58:38 +0000 (13:58 -0700)]
arm: mark some rules as ARM v6 only

14 years agoRelease 0.4.6 orc-0.4.6
David Schleef [Wed, 14 Jul 2010 00:45:03 +0000 (17:45 -0700)]
Release 0.4.6

14 years agowin32: Fix DllMain definition
David Schleef [Wed, 14 Jul 2010 00:43:45 +0000 (17:43 -0700)]
win32: Fix DllMain definition

14 years agotests: don't run neon tests
David Schleef [Tue, 13 Jul 2010 23:10:59 +0000 (16:10 -0700)]
tests: don't run neon tests

14 years agoupdate release docs
David Schleef [Tue, 13 Jul 2010 21:12:50 +0000 (14:12 -0700)]
update release docs

14 years agodon't unlink tmp file if debug flag is used
David Schleef [Tue, 13 Jul 2010 20:54:10 +0000 (13:54 -0700)]
don't unlink tmp file if debug flag is used

14 years agoRemove orc-float
David Schleef [Sat, 10 Jul 2010 21:17:09 +0000 (14:17 -0700)]
Remove orc-float

14 years agoAdd cache information
David Schleef [Sun, 11 Jul 2010 02:24:27 +0000 (19:24 -0700)]
Add cache information

14 years agoneon: Fix aligned load
David Schleef [Sat, 10 Jul 2010 00:20:35 +0000 (17:20 -0700)]
neon: Fix aligned load

14 years agomemcpy_speed: inline orc_memcpy
David Schleef [Fri, 9 Jul 2010 20:47:49 +0000 (13:47 -0700)]
memcpy_speed: inline orc_memcpy

14 years agomemcpy_speed: flush/populate cache for hot/cold testing
David Schleef [Fri, 9 Jul 2010 20:45:19 +0000 (13:45 -0700)]
memcpy_speed: flush/populate cache for hot/cold testing

14 years agoneon: Add short-array unaligned speedup
David Schleef [Thu, 8 Jul 2010 23:53:29 +0000 (16:53 -0700)]
neon: Add short-array unaligned speedup

14 years agoneon: Add load/store of 256-bit vectors
David Schleef [Thu, 8 Jul 2010 02:52:27 +0000 (19:52 -0700)]
neon: Add load/store of 256-bit vectors

14 years agoneon: Only preload for each cache line
David Schleef [Thu, 8 Jul 2010 03:40:59 +0000 (20:40 -0700)]
neon: Only preload for each cache line

14 years agoneon: Add handling of different size regions
David Schleef [Thu, 8 Jul 2010 02:41:02 +0000 (19:41 -0700)]
neon: Add handling of different size regions

14 years agoarm/neon: use subs for loop counter
David Schleef [Wed, 7 Jul 2010 02:06:37 +0000 (19:06 -0700)]
arm/neon: use subs for loop counter

14 years agoneon: add preload
David Schleef [Tue, 6 Jul 2010 23:48:29 +0000 (16:48 -0700)]
neon: add preload

14 years agoneon: add loop unrolling
David Schleef [Tue, 6 Jul 2010 23:35:51 +0000 (16:35 -0700)]
neon: add loop unrolling

14 years agoneon: Fix rules for quad usage
David Schleef [Tue, 6 Jul 2010 21:55:50 +0000 (14:55 -0700)]
neon: Fix rules for quad usage

14 years agomemcpy_speed: take unalignment parameter on cmd line
David Schleef [Tue, 6 Jul 2010 19:32:20 +0000 (12:32 -0700)]
memcpy_speed: take unalignment parameter on cmd line

14 years agoneon: Fix store of l vectors
David Schleef [Tue, 6 Jul 2010 21:01:00 +0000 (14:01 -0700)]
neon: Fix store of l vectors

14 years agoneon: Add quad load/store
David Schleef [Tue, 6 Jul 2010 20:19:00 +0000 (13:19 -0700)]
neon: Add quad load/store

14 years agoneon: Use faster opcodes for aligned store
David Schleef [Tue, 6 Jul 2010 19:39:09 +0000 (12:39 -0700)]
neon: Use faster opcodes for aligned store

14 years agoAdd simple constant folding
David Schleef [Tue, 6 Jul 2010 19:33:28 +0000 (12:33 -0700)]
Add simple constant folding

14 years agoneon: Use unaligned ops instead of mask register
David Schleef [Tue, 6 Jul 2010 19:31:47 +0000 (12:31 -0700)]
neon: Use unaligned ops instead of mask register

14 years agoImprove compile debugging
David Schleef [Tue, 6 Jul 2010 19:29:23 +0000 (12:29 -0700)]
Improve compile debugging

14 years agotest: remove adjustment of performance number
David Schleef [Tue, 6 Jul 2010 19:28:49 +0000 (12:28 -0700)]
test: remove adjustment of performance number

14 years agotest: switch neon test back to neon
David Schleef [Tue, 6 Jul 2010 19:56:47 +0000 (12:56 -0700)]
test: switch neon test back to neon

14 years agowin32: Fix initialization of once mutex
David Schleef [Fri, 9 Jul 2010 08:05:19 +0000 (01:05 -0700)]
win32: Fix initialization of once mutex

14 years agoarm: Fix register moving
David Schleef [Mon, 5 Jul 2010 22:21:20 +0000 (15:21 -0700)]
arm: Fix register moving

14 years agoarm: fix some compile mismatches
David Schleef [Mon, 5 Jul 2010 21:44:29 +0000 (14:44 -0700)]
arm: fix some compile mismatches

14 years agoarm: Fix a bunch of rules
David Schleef [Thu, 1 Jul 2010 16:49:29 +0000 (09:49 -0700)]
arm: Fix a bunch of rules