platform/upstream/orc.git
13 years agox86insn: fix msvc error
David Schleef [Wed, 1 Jun 2011 02:36:36 +0000 (19:36 -0700)]
x86insn: fix msvc error

13 years agodocs: tell what ORC_CODE=debug is for
Stefan Kost [Wed, 23 Feb 2011 10:31:35 +0000 (12:31 +0200)]
docs: tell what ORC_CODE=debug is for

13 years agox86: use orc_compiler_error()
David Schleef [Wed, 18 May 2011 02:42:02 +0000 (19:42 -0700)]
x86: use orc_compiler_error()

13 years agox86insn: Fix SSE-4.1 instructions
David Schleef [Tue, 17 May 2011 19:56:32 +0000 (12:56 -0700)]
x86insn: Fix SSE-4.1 instructions

13 years agosse: implement aligned arrays
David Schleef [Mon, 16 May 2011 19:46:04 +0000 (12:46 -0700)]
sse: implement aligned arrays

13 years agotests: Handle new modifiers
David Schleef [Mon, 16 May 2011 19:45:22 +0000 (12:45 -0700)]
tests: Handle new modifiers

13 years agoparse: Add n modifiers
David Schleef [Mon, 16 May 2011 18:52:19 +0000 (11:52 -0700)]
parse: Add n modifiers

13 years agoparse: Add n modifiers
David Schleef [Mon, 16 May 2011 18:52:19 +0000 (11:52 -0700)]
parse: Add n modifiers

13 years agoparse: Add 'align %d' for array alignment
David Schleef [Sun, 15 May 2011 23:43:42 +0000 (16:43 -0700)]
parse: Add 'align %d' for array alignment

13 years agotests: remove offsets from memcpy_speed
David Schleef [Sat, 14 May 2011 19:07:09 +0000 (12:07 -0700)]
tests: remove offsets from memcpy_speed

13 years agoAdd ORC_CODE=randomize to randomize registers
David Schleef [Fri, 6 May 2011 19:02:37 +0000 (12:02 -0700)]
Add ORC_CODE=randomize to randomize registers

13 years agotests: better presentation
David Schleef [Fri, 13 May 2011 23:22:10 +0000 (16:22 -0700)]
tests: better presentation

13 years agotests: print error message in test failures
David Schleef [Fri, 13 May 2011 23:21:43 +0000 (16:21 -0700)]
tests: print error message in test failures

13 years agoAdd error message to compiler and program
David Schleef [Fri, 13 May 2011 23:20:40 +0000 (16:20 -0700)]
Add error message to compiler and program

13 years agox86insn: fixes for SSE
David Schleef [Fri, 13 May 2011 20:10:44 +0000 (13:10 -0700)]
x86insn: fixes for SSE

13 years agox86insn: Convert mmx backend to x86insn
David Schleef [Thu, 12 May 2011 21:38:40 +0000 (14:38 -0700)]
x86insn: Convert mmx backend to x86insn

13 years agox86insn: cleanup
David Schleef [Thu, 12 May 2011 19:30:40 +0000 (12:30 -0700)]
x86insn: cleanup

13 years agox86insn: rename some functions
David Schleef [Thu, 12 May 2011 19:23:25 +0000 (12:23 -0700)]
x86insn: rename some functions

13 years agommx: convert from sse
David Schleef [Thu, 12 May 2011 18:28:32 +0000 (11:28 -0700)]
mmx: convert from sse

13 years agox86: Add branch relaxation
David Schleef [Thu, 12 May 2011 18:18:30 +0000 (11:18 -0700)]
x86: Add branch relaxation

13 years agosse: Fix mulhsl rule
David Schleef [Thu, 12 May 2011 17:23:11 +0000 (10:23 -0700)]
sse: Fix mulhsl rule

13 years agox86: separate out final code generation
David Schleef [Wed, 11 May 2011 06:00:01 +0000 (23:00 -0700)]
x86: separate out final code generation

13 years agoorcx86insn: Fix codegen
David Schleef [Fri, 6 May 2011 05:24:16 +0000 (22:24 -0700)]
orcx86insn: Fix codegen

13 years agox86insn: minor codegen fixes
David Schleef [Fri, 6 May 2011 03:02:13 +0000 (20:02 -0700)]
x86insn: minor codegen fixes

13 years agox86insn: separate out opcode prefix
David Schleef [Fri, 6 May 2011 02:30:23 +0000 (19:30 -0700)]
x86insn: separate out opcode prefix

13 years agox86insn: regularize codegen output
David Schleef [Fri, 6 May 2011 01:32:49 +0000 (18:32 -0700)]
x86insn: regularize codegen output

13 years agox86insn: regularize asm output
David Schleef [Tue, 3 May 2011 17:56:20 +0000 (10:56 -0700)]
x86insn: regularize asm output

13 years agox86insn: Rename instruction types
David Schleef [Sat, 30 Apr 2011 23:37:40 +0000 (16:37 -0700)]
x86insn: Rename instruction types

13 years agobenchmorc: Add feathers
David Schleef [Sat, 30 Apr 2011 23:56:35 +0000 (16:56 -0700)]
benchmorc: Add feathers

13 years agoback to unreleased
David Schleef [Sat, 30 Apr 2011 02:13:19 +0000 (19:13 -0700)]
back to unreleased

13 years agoRelease 0.4.14 orc-0.4.14
David Schleef [Sat, 30 Apr 2011 01:32:56 +0000 (18:32 -0700)]
Release 0.4.14

13 years agosse,mmx: use __amd64__ for 64-bit check
David Schleef [Thu, 28 Apr 2011 22:08:14 +0000 (15:08 -0700)]
sse,mmx: use __amd64__ for 64-bit check

13 years agoexecutor: Fix breakage in previous commit
David Schleef [Thu, 28 Apr 2011 08:01:02 +0000 (01:01 -0700)]
executor: Fix breakage in previous commit

13 years agoaltivec: Fix rules for shift ops with parameters
David Schleef [Thu, 28 Apr 2011 07:27:44 +0000 (00:27 -0700)]
altivec: Fix rules for shift ops with parameters

13 years agoaltivec: Fix and add various opcode rules
David Schleef [Thu, 28 Apr 2011 05:59:45 +0000 (22:59 -0700)]
altivec: Fix and add various opcode rules

13 years agoaltivec: more endian fixes
David Schleef [Thu, 28 Apr 2011 00:18:22 +0000 (17:18 -0700)]
altivec: more endian fixes

13 years agoc: Fix endianness issues with select opcodes
David Schleef [Wed, 27 Apr 2011 00:35:45 +0000 (17:35 -0700)]
c: Fix endianness issues with select opcodes

13 years agoaltivec: Fix endianness issues
David Schleef [Tue, 26 Apr 2011 06:49:00 +0000 (23:49 -0700)]
altivec: Fix endianness issues

13 years agoc: Fix endianness issues with c backend
David Schleef [Tue, 26 Apr 2011 04:56:33 +0000 (21:56 -0700)]
c: Fix endianness issues with c backend

13 years agoorctest: check return values of snprintf
David Schleef [Mon, 25 Apr 2011 22:44:21 +0000 (15:44 -0700)]
orctest: check return values of snprintf

Please someone shoot c89.

13 years agotest: ignore diffs due to change in jmp sizes
David Schleef [Mon, 25 Apr 2011 22:27:07 +0000 (15:27 -0700)]
test: ignore diffs due to change in jmp sizes

13 years agocodemem: check ftruncate() return value
David Schleef [Mon, 25 Apr 2011 22:09:35 +0000 (15:09 -0700)]
codemem: check ftruncate() return value

13 years agosse,mmx: revert mmx usage of cpuinsn
David Schleef [Mon, 25 Apr 2011 20:54:29 +0000 (13:54 -0700)]
sse,mmx: revert mmx usage of cpuinsn

13 years agommx: update from sse
David Schleef [Mon, 25 Apr 2011 20:54:04 +0000 (13:54 -0700)]
mmx: update from sse

13 years agoback to unreleased
David Schleef [Mon, 25 Apr 2011 20:39:18 +0000 (13:39 -0700)]
back to unreleased

13 years agosse: Fix some instructions
David Schleef [Mon, 25 Apr 2011 17:56:46 +0000 (10:56 -0700)]
sse: Fix some instructions

13 years agoRelease 0.4.13 orc-0.4.13
David Schleef [Tue, 19 Apr 2011 00:29:09 +0000 (17:29 -0700)]
Release 0.4.13

13 years agoupdate orcfunctions
David Schleef [Tue, 19 Apr 2011 00:19:27 +0000 (17:19 -0700)]
update orcfunctions

13 years agoaltivec: Fix NAN behavior of convfl
David Schleef [Tue, 19 Apr 2011 00:12:15 +0000 (17:12 -0700)]
altivec: Fix NAN behavior of convfl

13 years agoaltivec: fix select1wb
David Schleef [Mon, 18 Apr 2011 22:37:22 +0000 (15:37 -0700)]
altivec: fix select1wb

13 years agoorcc: remove stdint typenames from programs
David Schleef [Mon, 18 Apr 2011 18:19:10 +0000 (11:19 -0700)]
orcc: remove stdint typenames from programs

13 years agosse: Fix pextrw emission
David Schleef [Sat, 16 Apr 2011 20:39:42 +0000 (13:39 -0700)]
sse: Fix pextrw emission

13 years agotests: Add failing gstcogorc code to test
David Schleef [Sat, 16 Apr 2011 20:18:02 +0000 (13:18 -0700)]
tests: Add failing gstcogorc code to test

13 years agogitignore: update orc-0.4.12
David Schleef [Thu, 14 Apr 2011 22:56:46 +0000 (15:56 -0700)]
gitignore: update

13 years agotools,tests: fix compatibility checker and bugs
David Schleef [Thu, 14 Apr 2011 22:56:10 +0000 (15:56 -0700)]
tools,tests: fix compatibility checker and bugs

13 years agotest.orc: remove stdint types
David Schleef [Thu, 14 Apr 2011 21:05:35 +0000 (14:05 -0700)]
test.orc: remove stdint types

13 years agoRelease 0.4.12
David Schleef [Thu, 14 Apr 2011 20:02:52 +0000 (13:02 -0700)]
Release 0.4.12

13 years agoheaders: Add BEGIN_DECLS and ORC_ENABLE_UNSTABLE_API
David Schleef [Thu, 14 Apr 2011 20:00:57 +0000 (13:00 -0700)]
headers: Add BEGIN_DECLS and ORC_ENABLE_UNSTABLE_API

13 years agoRemove generated orc-stdint.h
David Schleef [Thu, 14 Apr 2011 19:09:01 +0000 (12:09 -0700)]
Remove generated orc-stdint.h

13 years agoupdate documentation
David Schleef [Thu, 14 Apr 2011 00:43:25 +0000 (17:43 -0700)]
update documentation

13 years agoAdd ORC_RESTRICT to prototypes
David Schleef [Wed, 13 Apr 2011 22:17:00 +0000 (15:17 -0700)]
Add ORC_RESTRICT to prototypes

Fixes #30984

13 years agoorcc: Fix gcc-4.6 warnings in generated code
David Schleef [Mon, 11 Apr 2011 17:02:10 +0000 (10:02 -0700)]
orcc: Fix gcc-4.6 warnings in generated code

13 years agouse ACLOCAL_AMFLAGS
David Schleef [Sat, 9 Apr 2011 21:49:02 +0000 (14:49 -0700)]
use ACLOCAL_AMFLAGS

13 years agox86: Fix for VS2005
David Schleef [Sun, 27 Mar 2011 06:14:06 +0000 (06:14 +0000)]
x86: Fix for VS2005

13 years agoneon: Fix declaration after statement
David Schleef [Sun, 27 Mar 2011 05:52:52 +0000 (05:52 +0000)]
neon: Fix declaration after statement

13 years agopowerpc: don't clobber register r31
Andreas Schwab [Sat, 19 Mar 2011 23:58:56 +0000 (00:58 +0100)]
powerpc: don't clobber register r31

Thanks.  Here is another one.

Andreas.

>From 03d635f98a565cd17a08ba84d9095ca1b7c00cef Mon Sep 17 00:00:00 2001
From: Andreas Schwab <schwab@linux-m68k.org>
Date: Sat, 19 Mar 2011 21:36:21 +0100
Subject: [PATCH] powerpc: fix register constraint

13 years agoaltivec: fix div255w rule
Andreas Schwab [Sat, 19 Mar 2011 21:47:40 +0000 (22:47 +0100)]
altivec: fix div255w rule

13 years agoaltivec: fix mullw rule
Andreas Schwab [Sat, 19 Mar 2011 21:47:34 +0000 (22:47 +0100)]
altivec: fix mullw rule

13 years agopowerpc: don't clobber register r31
Andreas Schwab [Sat, 19 Mar 2011 21:47:28 +0000 (22:47 +0100)]
powerpc: don't clobber register r31

13 years agoBetter checking for codemem allocation
David Schleef [Fri, 25 Feb 2011 21:38:41 +0000 (13:38 -0800)]
Better checking for codemem allocation

13 years agocpuinsn: various codegen fixes
David Schleef [Sun, 20 Feb 2011 22:53:55 +0000 (14:53 -0800)]
cpuinsn: various codegen fixes

13 years agodocs: add extra section describing the env-vars.
Stefan Kost [Mon, 10 Jan 2011 11:08:37 +0000 (13:08 +0200)]
docs: add extra section describing the env-vars.

13 years agocpuinsn: Fix code generation breakage on x86_64
David Schleef [Mon, 6 Dec 2010 01:47:26 +0000 (17:47 -0800)]
cpuinsn: Fix code generation breakage on x86_64

13 years agosse: Fix problem on sse41
David Schleef [Sun, 23 Jan 2011 07:49:41 +0000 (23:49 -0800)]
sse: Fix problem on sse41

13 years agoneon: Add some floating point ops
Nick Foster [Thu, 13 Jan 2011 23:18:37 +0000 (15:18 -0800)]
neon: Add some floating point ops

13 years agoRevert "orc.h: remove stdint.h from includes"
David Schleef [Sun, 9 Jan 2011 00:48:20 +0000 (16:48 -0800)]
Revert "orc.h: remove stdint.h from includes"

This reverts commit 2ecfd3f1138875bd57a17bb0fb0a123f28c118d7.

13 years agoDon't use builddir, as it requires recent automake
David Schleef [Sat, 8 Jan 2011 01:59:50 +0000 (17:59 -0800)]
Don't use builddir, as it requires recent automake

13 years agoorc.h: remove stdint.h from includes
David Schleef [Sat, 8 Jan 2011 00:58:56 +0000 (16:58 -0800)]
orc.h: remove stdint.h from includes

This is technically part of the ABI.  Let's see if anyone
notices.

13 years agoupdate generated code
David Schleef [Sat, 8 Jan 2011 00:58:27 +0000 (16:58 -0800)]
update generated code

13 years agoc: don't use stdint types
David Schleef [Sat, 8 Jan 2011 00:58:12 +0000 (16:58 -0800)]
c: don't use stdint types

13 years agoneon: Fix VFP rule macro
David Schleef [Sat, 8 Jan 2011 00:22:55 +0000 (16:22 -0800)]
neon: Fix VFP rule macro

13 years agoc: Use __inline for MSVC
David Schleef [Fri, 7 Jan 2011 21:18:52 +0000 (13:18 -0800)]
c: Use __inline for MSVC

13 years agoBuild fixes for win64
David Schleef [Thu, 23 Dec 2010 07:47:39 +0000 (23:47 -0800)]
Build fixes for win64

13 years agom4: Fix ARM compiler detection
Arun Raghavan [Tue, 21 Dec 2010 20:03:03 +0000 (12:03 -0800)]
m4: Fix ARM compiler detection

The assumption that the host_cpu will be 'arm' is incorrect. It can also
be 'armel', 'armv7a' or something else along these lines.

13 years agoorcc: Implement --lazy-init
David Schleef [Mon, 6 Dec 2010 00:37:59 +0000 (16:37 -0800)]
orcc: Implement --lazy-init

Causes code generator to delay runtime code generation to when
the function is executed, as if no init function is specified.
This may not last until the release: it's better to generate
code that makes this an #ifdef.

13 years agoorcc: Use OrcCode as persistent storage
David Schleef [Mon, 6 Dec 2010 00:28:07 +0000 (16:28 -0800)]
orcc: Use OrcCode as persistent storage

Pull the OrcCode object out of a compiled program and hold on
to that instead of the (large) OrcProgram.  This requires a few
lib changes, so requires --compat=0.4.11.1.

13 years agoorcprogram: don't deref insn->opcode if NULL
Stefan Kost [Mon, 29 Nov 2010 14:30:10 +0000 (16:30 +0200)]
orcprogram: don't deref insn->opcode if NULL

13 years agoorcprog-c: don't deref NULL rule
Stefan Kost [Mon, 29 Nov 2010 14:09:52 +0000 (16:09 +0200)]
orcprog-c: don't deref NULL rule

Continue with next instruction if rule is NULL. Remove setting
compiler->error=TRUE twice, the macro does that already.

13 years agotests: fix copy'n'paste error
Stefan Kost [Mon, 29 Nov 2010 13:58:36 +0000 (15:58 +0200)]
tests: fix copy'n'paste error

13 years agoorcparse: don't eventually leak 'init_function'
Stefan Kost [Mon, 29 Nov 2010 13:55:00 +0000 (15:55 +0200)]
orcparse: don't eventually leak 'init_function'

13 years agoorccodemem: free 'filename' in case of error as well
Stefan Kost [Mon, 29 Nov 2010 13:51:08 +0000 (15:51 +0200)]
orccodemem: free 'filename' in case of error as well

13 years agox86: sun studio can use gcc inline asm
David Schleef [Sun, 5 Dec 2010 22:11:48 +0000 (14:11 -0800)]
x86: sun studio can use gcc inline asm

13 years agox86: cpuinsn cleanup
David Schleef [Sun, 7 Nov 2010 23:46:31 +0000 (15:46 -0800)]
x86: cpuinsn cleanup

13 years agoChange sysinsn to cpuinsn
David Schleef [Sun, 7 Nov 2010 22:12:04 +0000 (14:12 -0800)]
Change sysinsn to cpuinsn

13 years agox86: Fix sysinsn problems on x86-64
David Schleef [Sun, 7 Nov 2010 21:56:47 +0000 (13:56 -0800)]
x86: Fix sysinsn problems on x86-64

13 years agox86: more sysinsn conversion
David Schleef [Thu, 4 Nov 2010 19:59:09 +0000 (12:59 -0700)]
x86: more sysinsn conversion

13 years agox86: more sysinsn conversion
David Schleef [Thu, 4 Nov 2010 19:34:21 +0000 (12:34 -0700)]
x86: more sysinsn conversion

13 years agox86: convert misc instructions to sysinsn
David Schleef [Thu, 4 Nov 2010 16:40:38 +0000 (09:40 -0700)]
x86: convert misc instructions to sysinsn

13 years agox86: convert jumps to sysinsn
David Schleef [Thu, 4 Nov 2010 16:26:06 +0000 (09:26 -0700)]
x86: convert jumps to sysinsn

13 years agox86: convert arith instructions to sysinsn
David Schleef [Thu, 4 Nov 2010 15:12:38 +0000 (15:12 +0000)]
x86: convert arith instructions to sysinsn