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

15 years agotest generated code in schro test
David Schleef [Sun, 29 Mar 2009 17:52:41 +0000 (10:52 -0700)]
test generated code in schro test

15 years agoFix bugs in emulation
David Schleef [Sun, 29 Mar 2009 17:44:01 +0000 (10:44 -0700)]
Fix bugs in emulation

15 years agosome dist fixes
David Schleef [Sun, 29 Mar 2009 01:30:24 +0000 (18:30 -0700)]
some dist fixes

15 years agoadd .gitignore
David Schleef [Sun, 29 Mar 2009 01:23:36 +0000 (18:23 -0700)]
add .gitignore

15 years agolots of hacking
David Schleef [Sun, 29 Mar 2009 01:23:13 +0000 (18:23 -0700)]
lots of hacking

15 years agosse: condense some common code
David Schleef [Sat, 28 Mar 2009 07:42:52 +0000 (00:42 -0700)]
sse: condense some common code

15 years agoadd a compiler tool
David Schleef [Sat, 28 Mar 2009 07:00:00 +0000 (00:00 -0700)]
add a compiler tool

15 years agoAdd a compile/disassemble/diff test function
David Schleef [Sat, 28 Mar 2009 07:00:49 +0000 (00:00 -0700)]
Add a compile/disassemble/diff test function

15 years agoimplement a bunch of SSE rules
David Schleef [Sat, 28 Mar 2009 06:58:57 +0000 (23:58 -0700)]
implement a bunch of SSE rules

15 years agoadd parser
David Schleef [Sat, 28 Mar 2009 06:58:21 +0000 (23:58 -0700)]
add parser

15 years agofix orc_init
David Schleef [Sat, 28 Mar 2009 06:58:02 +0000 (23:58 -0700)]
fix orc_init

15 years agofix orc_target_rule_get
David Schleef [Sat, 28 Mar 2009 06:57:46 +0000 (23:57 -0700)]
fix orc_target_rule_get

15 years agoFixes to build runnable arm code
David Schleef [Wed, 25 Mar 2009 03:05:18 +0000 (20:05 -0700)]
Fixes to build runnable arm code

15 years agoAdd orctest library
David Schleef [Wed, 25 Mar 2009 03:04:07 +0000 (20:04 -0700)]
Add orctest library

15 years agoFix arm compile
David Schleef [Wed, 25 Mar 2009 00:08:10 +0000 (17:08 -0700)]
Fix arm compile

15 years agoChange debug format to be more like schro
David Schleef [Wed, 18 Mar 2009 19:17:53 +0000 (12:17 -0700)]
Change debug format to be more like schro

15 years agoSplit SSE into multiple rule sets
David Schleef [Tue, 17 Mar 2009 22:59:08 +0000 (15:59 -0700)]
Split SSE into multiple rule sets

15 years agoAdd a compile/disassemble/compare test, and fix some bugs
David Schleef [Tue, 17 Mar 2009 22:34:24 +0000 (15:34 -0700)]
Add a compile/disassemble/compare test, and fix some bugs

15 years agoA non-trivial Mersenne Twister algorithm
David Schleef [Tue, 17 Mar 2009 22:31:26 +0000 (15:31 -0700)]
A non-trivial Mersenne Twister algorithm

15 years agoupdate README
David Schleef [Tue, 17 Mar 2009 22:30:47 +0000 (15:30 -0700)]
update README

15 years agoMajor refactor
David Schleef [Tue, 17 Mar 2009 05:22:33 +0000 (22:22 -0700)]
Major refactor

Added OrcTarget, OrcRuleSet, and OrcOpcodeSet.  Orc can
theoretically now handle multiple sets of opcodes and rules.
Fixed a couple bugs along the way.

15 years agoClean up unused code
David Schleef [Mon, 16 Mar 2009 05:33:02 +0000 (22:33 -0700)]
Clean up unused code

15 years agoRemove some disabled code
David Schleef [Sun, 15 Mar 2009 23:14:15 +0000 (16:14 -0700)]
Remove some disabled code

15 years agoSplit OrcProgram into Program and Compiler
David Schleef [Sun, 15 Mar 2009 23:11:10 +0000 (16:11 -0700)]
Split OrcProgram into Program and Compiler

15 years agoSplit orccompiler.c out of orcprogram.c
David Schleef [Sun, 15 Mar 2009 17:31:45 +0000 (10:31 -0700)]
Split orccompiler.c out of orcprogram.c

15 years agoVarious code generation fixes
David Schleef [Sun, 15 Mar 2009 06:42:34 +0000 (23:42 -0700)]
Various code generation fixes

15 years agoFix some cases where the default target was used incorrectly
David Schleef [Sun, 15 Mar 2009 06:01:09 +0000 (23:01 -0700)]
Fix some cases where the default target was used incorrectly

15 years agoFix up emulation
David Schleef [Sun, 15 Mar 2009 05:46:30 +0000 (22:46 -0700)]
Fix up emulation

15 years agoSome fixes for C backend
David Schleef [Sun, 15 Mar 2009 02:52:54 +0000 (19:52 -0700)]
Some fixes for C backend

15 years agoMake the C backend a lot more functional
David Schleef [Sun, 15 Mar 2009 01:23:51 +0000 (18:23 -0700)]
Make the C backend a lot more functional

15 years agoMerge codemem functions into one source file
David Schleef [Fri, 13 Mar 2009 05:30:57 +0000 (22:30 -0700)]
Merge codemem functions into one source file

15 years agoConvert printf's to errors and asm code
David Schleef [Fri, 13 Mar 2009 04:40:47 +0000 (21:40 -0700)]
Convert printf's to errors and asm code

15 years agoConvert orc_program_compile to boolean
David Schleef [Fri, 13 Mar 2009 03:14:20 +0000 (20:14 -0700)]
Convert orc_program_compile to boolean

15 years agoAdd more opcodes
David Schleef [Fri, 13 Mar 2009 03:13:49 +0000 (20:13 -0700)]
Add more opcodes

15 years agoinstall orcutils.h
David Schleef [Fri, 13 Mar 2009 01:43:32 +0000 (18:43 -0700)]
install orcutils.h

15 years agocode cleanup
David Schleef [Fri, 13 Mar 2009 01:43:14 +0000 (18:43 -0700)]
code cleanup

15 years agoDon't crash if there's no rule for an opcode
David Schleef [Thu, 12 Mar 2009 22:44:31 +0000 (15:44 -0700)]
Don't crash if there's no rule for an opcode

15 years agoFixes on x86-64
David Schleef [Mon, 9 Mar 2009 06:25:22 +0000 (23:25 -0700)]
Fixes on x86-64

15 years agoa little script
David Schleef [Mon, 9 Mar 2009 05:31:03 +0000 (22:31 -0700)]
a little script

15 years agoadd some m4 files
David Schleef [Mon, 9 Mar 2009 00:13:54 +0000 (17:13 -0700)]
add some m4 files

15 years agoMove common x86 code to x86.c
David Schleef [Sun, 8 Mar 2009 23:51:21 +0000 (16:51 -0700)]
Move common x86 code to x86.c

15 years agoswitch target back to sse. Improve fixups
David Schleef [Sun, 8 Mar 2009 23:37:09 +0000 (16:37 -0700)]
switch target back to sse.  Improve fixups

15 years agoAdd ARM backend. Almost works.
David Schleef [Sun, 8 Mar 2009 20:31:22 +0000 (13:31 -0700)]
Add ARM backend.  Almost works.

15 years agoAdd parameters
David Schleef [Sat, 7 Mar 2009 02:17:35 +0000 (18:17 -0800)]
Add parameters

15 years agoremove rdtsc
David Schleef [Sat, 7 Mar 2009 00:48:45 +0000 (16:48 -0800)]
remove rdtsc

15 years agoFix build on mac
David Schleef [Fri, 6 Mar 2009 01:07:11 +0000 (17:07 -0800)]
Fix build on mac

15 years agoAdd pkgconfig m4
David Schleef [Fri, 6 Mar 2009 00:35:45 +0000 (16:35 -0800)]
Add pkgconfig m4

15 years agoRemove glib remnants
David Schleef [Fri, 6 Mar 2009 00:27:33 +0000 (16:27 -0800)]
Remove glib remnants

15 years agoAdd gtk-doc.m4
David Schleef [Fri, 6 Mar 2009 00:21:39 +0000 (16:21 -0800)]
Add gtk-doc.m4

15 years agoAdd some unary opcodes. Add non-temporal writes
David Schleef [Fri, 6 Mar 2009 00:08:45 +0000 (16:08 -0800)]
Add some unary opcodes.  Add non-temporal writes

15 years agoFixes for building on windows
David Schleef [Fri, 6 Mar 2009 00:05:58 +0000 (16:05 -0800)]
Fixes for building on windows

15 years agoAdd aligning of dest pointer
David Schleef [Wed, 4 Mar 2009 19:50:05 +0000 (11:50 -0800)]
Add aligning of dest pointer

15 years agoVarious fixes to execute all the new code
David Schleef [Wed, 4 Mar 2009 01:19:05 +0000 (17:19 -0800)]
Various fixes to execute all the new code

15 years agoAdd a bunch of opcodes, add a bunch of SSE rules
David Schleef [Tue, 3 Mar 2009 07:09:54 +0000 (23:09 -0800)]
Add a bunch of opcodes, add a bunch of SSE rules

15 years agoAdd support for byte-sized data
David Schleef [Tue, 3 Mar 2009 05:00:31 +0000 (21:00 -0800)]
Add support for byte-sized data

15 years agoremove unused file
David Schleef [Tue, 3 Mar 2009 03:36:32 +0000 (19:36 -0800)]
remove unused file

15 years agoReplace "s16" notation with "w"
David Schleef [Tue, 3 Mar 2009 00:57:33 +0000 (16:57 -0800)]
Replace "s16" notation with "w"

15 years agoRemove types, use a size instead
David Schleef [Mon, 2 Mar 2009 23:27:57 +0000 (15:27 -0800)]
Remove types, use a size instead

15 years agoHacking.
David Schleef [Mon, 2 Mar 2009 22:13:44 +0000 (14:13 -0800)]
Hacking.

Remove rule sets, use targets instead.  Add copy opcode.

15 years agoRemove data_register_class
David Schleef [Mon, 2 Mar 2009 07:46:33 +0000 (23:46 -0800)]
Remove data_register_class

15 years agos/LIBOIL/ORC/
David Schleef [Mon, 2 Mar 2009 06:56:53 +0000 (22:56 -0800)]
s/LIBOIL/ORC/

15 years agoSplit x86 into mmx and sse targets
David Schleef [Mon, 2 Mar 2009 06:55:32 +0000 (22:55 -0800)]
Split x86 into mmx and sse targets

And some other random changes in the tree

16 years agoAdd roadmap
David Schleef [Sat, 5 Jul 2008 19:05:42 +0000 (12:05 -0700)]
Add roadmap

16 years agorandom hacking
David Schleef [Sun, 8 Jun 2008 23:32:56 +0000 (16:32 -0700)]
random hacking

16 years agoIf there's no compiled code, fall back on emulation
David Schleef [Sun, 8 Jun 2008 23:32:12 +0000 (16:32 -0700)]
If there's no compiled code, fall back on emulation

16 years agoRemove orcrules-x86.c
David Schleef [Sun, 8 Jun 2008 23:31:36 +0000 (16:31 -0700)]
Remove orcrules-x86.c

16 years agoremove liboil remnants
David Schleef [Sun, 8 Jun 2008 23:30:43 +0000 (16:30 -0700)]
remove liboil remnants

16 years agoAdd tools directory
David Schleef [Sun, 8 Jun 2008 02:05:59 +0000 (19:05 -0700)]
Add tools directory

16 years agoFix distcheck
David Schleef [Sat, 7 Jun 2008 22:09:47 +0000 (15:09 -0700)]
Fix distcheck

16 years agoInitial commit. Previous history is in liboil
David Schleef [Sat, 7 Jun 2008 22:00:28 +0000 (15:00 -0700)]
Initial commit.  Previous history is in liboil