calu.git
13 years agoBlock: First version
Stefan [Wed, 10 Nov 2010 10:15:12 +0000 (11:15 +0100)]
Block: First version

13 years agobench: fibmem.s @ 177 instructions
Bernhard Urban [Tue, 9 Nov 2010 23:17:05 +0000 (00:17 +0100)]
bench: fibmem.s @ 177 instructions

13 years agobench: fibmem.s @ 193 instructions
Bernhard Urban [Tue, 9 Nov 2010 21:12:15 +0000 (22:12 +0100)]
bench: fibmem.s @ 193 instructions

13 years agobench: added datadeps
Martin Perner [Tue, 9 Nov 2010 18:56:09 +0000 (19:56 +0100)]
bench: added datadeps

13 years agobench: bugfixes
Martin Perner [Tue, 9 Nov 2010 18:53:11 +0000 (19:53 +0100)]
bench: bugfixes

13 years agosim: removed old ram presets
Martin Perner [Tue, 9 Nov 2010 18:42:07 +0000 (19:42 +0100)]
sim: removed old ram presets

but leave stackpointer init

13 years agobench: added max.s and sum.s
Bernhard Urban [Tue, 9 Nov 2010 17:53:32 +0000 (18:53 +0100)]
bench: added max.s and sum.s

13 years agobench: added benchmarks, fib.s already done
Martin Perner [Tue, 9 Nov 2010 16:43:13 +0000 (17:43 +0100)]
bench: added benchmarks, fib.s already done

13 years agosim: added performance counter
Martin Perner [Tue, 9 Nov 2010 16:42:25 +0000 (17:42 +0100)]
sim: added performance counter

sort of ...

13 years agosim: bugfix in stackop
Martin Perner [Tue, 9 Nov 2010 16:42:13 +0000 (17:42 +0100)]
sim: bugfix in stackop

13 years agosim: bugfix for overflow and so ...
Martin Perner [Tue, 9 Nov 2010 15:56:57 +0000 (16:56 +0100)]
sim: bugfix for overflow and so ...

13 years agosim: removed ccache
Martin Perner [Thu, 4 Nov 2010 12:58:08 +0000 (13:58 +0100)]
sim: removed ccache

13 years agoisa: style file for stefan and others
Martin Perner [Thu, 4 Nov 2010 12:53:11 +0000 (13:53 +0100)]
isa: style file for stefan and others

13 years agosim: fix for mani's ubuntu gcc
Martin Perner [Thu, 4 Nov 2010 11:50:36 +0000 (12:50 +0100)]
sim: fix for mani's ubuntu gcc

13 years agotest: added -j to make
Martin PERNER [Thu, 4 Nov 2010 11:16:25 +0000 (12:16 +0100)]
test: added -j to make

13 years ago3_test: two examples to show (sum and strncmp)
Bernhard Urban [Wed, 3 Nov 2010 22:41:44 +0000 (23:41 +0100)]
3_test: two examples to show (sum and strncmp)

13 years agosim: call pushed current pc instead of next pc onto stack
Martin Perner [Wed, 3 Nov 2010 22:27:04 +0000 (23:27 +0100)]
sim: call pushed current pc instead of next pc onto stack

13 years ago3_test: prep for praes tomorrow
Bernhard Urban [Wed, 3 Nov 2010 22:24:00 +0000 (23:24 +0100)]
3_test: prep for praes tomorrow

WIP

13 years ago3a_asm: print no debug msgs by default
Bernhard Urban [Wed, 3 Nov 2010 18:49:22 +0000 (19:49 +0100)]
3a_asm: print no debug msgs by default

the switch '-d' force the assembler to be more verbose

13 years agosim: added [st|ld]x
Martin Perner [Wed, 3 Nov 2010 18:43:57 +0000 (19:43 +0100)]
sim: added [st|ld]x

13 years agoasm/sim: testcases for special ops
Martin Perner [Wed, 3 Nov 2010 18:43:10 +0000 (19:43 +0100)]
asm/sim: testcases for special ops

13 years agosim: added special moves
Martin Perner [Wed, 3 Nov 2010 17:56:44 +0000 (18:56 +0100)]
sim: added special moves

13 years agosim: increased default return address
Martin Perner [Wed, 3 Nov 2010 17:56:29 +0000 (18:56 +0100)]
sim: increased default return address

13 years agosim: stw added
Martin Perner [Wed, 3 Nov 2010 14:17:18 +0000 (15:17 +0100)]
sim: stw added

13 years agoasm/sim: tests for [ld|st][b|h]
Martin Perner [Wed, 3 Nov 2010 14:14:32 +0000 (15:14 +0100)]
asm/sim: tests for [ld|st][b|h]

13 years agosim: added sth/ldh
Martin Perner [Wed, 3 Nov 2010 14:13:58 +0000 (15:13 +0100)]
sim: added sth/ldh

13 years agoisa: st* rDestination => rSource
Martin Perner [Wed, 3 Nov 2010 13:59:08 +0000 (14:59 +0100)]
isa: st* rDestination => rSource

13 years agosim: added ldb, stb
Martin Perner [Wed, 3 Nov 2010 13:58:20 +0000 (14:58 +0100)]
sim: added ldb, stb

13 years agotst: bugfix in umul from manfred
Martin Perner [Wed, 3 Nov 2010 10:59:26 +0000 (11:59 +0100)]
tst: bugfix in umul from manfred

13 years agosim: easteregg for wurm
Martin Perner [Tue, 2 Nov 2010 14:48:15 +0000 (15:48 +0100)]
sim: easteregg for wurm

13 years agosim: setdata bug
Martin Perner [Tue, 2 Nov 2010 14:22:59 +0000 (15:22 +0100)]
sim: setdata bug

13 years agosim: bugfix/feature @ help/status
Martin Perner [Tue, 2 Nov 2010 14:17:03 +0000 (15:17 +0100)]
sim: bugfix/feature @ help/status

13 years agosim: fixed for tilab
Martin Perner [Tue, 2 Nov 2010 11:20:26 +0000 (12:20 +0100)]
sim: fixed for tilab

13 years agosim: added shift
Martin Perner [Mon, 1 Nov 2010 21:28:14 +0000 (22:28 +0100)]
sim: added shift

not extensiv tested

13 years agosim: bugfix @ push
Martin Perner [Mon, 1 Nov 2010 20:11:27 +0000 (21:11 +0100)]
sim: bugfix @ push

13 years ago3a_asm: wrong order in stack ops
Bernhard Urban [Mon, 1 Nov 2010 14:09:17 +0000 (15:09 +0100)]
3a_asm: wrong order in stack ops

13 years agosim: added branchreg and stackop
Martin Perner [Mon, 1 Nov 2010 13:30:18 +0000 (14:30 +0100)]
sim: added branchreg and stackop

both not tested!

13 years agosim: set reg/ram
Martin Perner [Mon, 1 Nov 2010 13:14:13 +0000 (14:14 +0100)]
sim: set reg/ram

added unsigned value to display reg/ram

13 years agosim: added list breakpoints
Martin Perner [Mon, 1 Nov 2010 12:17:38 +0000 (13:17 +0100)]
sim: added list breakpoints

13 years agosim: hex/dec inputs solved more userfriendly
Martin Perner [Mon, 1 Nov 2010 11:08:41 +0000 (12:08 +0100)]
sim: hex/dec inputs solved more userfriendly

13 years ago3a_asm: more .fill power and better 'make test' target
Bernhard Urban [Mon, 1 Nov 2010 13:48:45 +0000 (14:48 +0100)]
3a_asm: more .fill power and better 'make test' target

13 years ago2_isa: alias for brr and callr
Bernhard Urban [Mon, 1 Nov 2010 13:29:21 +0000 (14:29 +0100)]
2_isa: alias for brr and callr

fuer meinen lieblingspern0r

13 years agosim: added cmp/i
Martin Perner [Mon, 1 Nov 2010 00:36:04 +0000 (01:36 +0100)]
sim: added cmp/i

13 years ago3a_asm: relative jumps
Bernhard Urban [Mon, 1 Nov 2010 00:06:03 +0000 (01:06 +0100)]
3a_asm: relative jumps

ooops, I removed that in 0df70b557af :/

13 years ago3a_asm/2_isa: fixed our examples
Bernhard Urban [Sun, 31 Oct 2010 23:40:55 +0000 (00:40 +0100)]
3a_asm/2_isa: fixed our examples

13 years ago3a_asm: remaining instructions added
Bernhard Urban [Sun, 31 Oct 2010 23:40:51 +0000 (00:40 +0100)]
3a_asm: remaining instructions added

13 years ago3a_asm: introducing @hi and @lo for immediate
Bernhard Urban [Sun, 31 Oct 2010 23:40:50 +0000 (00:40 +0100)]
3a_asm: introducing @hi and @lo for immediate

13 years ago3a_asm: using Expr in both stages
Bernhard Urban [Sun, 31 Oct 2010 23:40:48 +0000 (00:40 +0100)]
3a_asm: using Expr in both stages

13 years ago3a_asm: modified expr stuff (inclusive reusing existing defines and labels)
Bernhard Urban [Sun, 31 Oct 2010 23:40:45 +0000 (00:40 +0100)]
3a_asm: modified expr stuff (inclusive reusing existing defines and labels)

13 years ago3a_asm: expr eval init
Bernhard Urban [Sun, 31 Oct 2010 23:40:44 +0000 (00:40 +0100)]
3a_asm: expr eval init

found on teh intern3tz

13 years ago3a_asm: ghc flags
Bernhard Urban [Sun, 31 Oct 2010 23:40:43 +0000 (00:40 +0100)]
3a_asm: ghc flags

13 years ago3a_asm: .define support
Bernhard Urban [Sun, 31 Oct 2010 23:40:42 +0000 (00:40 +0100)]
3a_asm: .define support

13 years ago3a_asm: changed data structure again to calculate relative addresses
Bernhard Urban [Sun, 31 Oct 2010 23:40:41 +0000 (00:40 +0100)]
3a_asm: changed data structure again to calculate relative addresses

13 years ago3a_asm: 'sum.s' is parseable now :)
Bernhard Urban [Sun, 31 Oct 2010 23:40:41 +0000 (00:40 +0100)]
3a_asm: 'sum.s' is parseable now :)

13 years ago3a_asm: add parsers for flags
Bernhard Urban [Sun, 31 Oct 2010 23:40:38 +0000 (00:40 +0100)]
3a_asm: add parsers for flags

13 years ago3a_asm: primitive version of parsing "add"
Bernhard Urban [Sun, 31 Oct 2010 23:40:37 +0000 (00:40 +0100)]
3a_asm: primitive version of parsing "add"

13 years agoisa: alias for shift and mov special
Bernhard Urban [Sun, 31 Oct 2010 22:47:15 +0000 (23:47 +0100)]
isa: alias for shift and mov special

13 years agoisa: bug in shift => wasn't shown
Martin Perner [Sun, 31 Oct 2010 22:37:11 +0000 (23:37 +0100)]
isa: bug in shift => wasn't shown

13 years agosim: new instructions, bugfix in others
Martin Perner [Sun, 31 Oct 2010 22:27:40 +0000 (23:27 +0100)]
sim: new instructions, bugfix in others

not tested!

13 years agosim: arith. fixes, optimized mem access
Martin Perner [Sun, 31 Oct 2010 21:44:29 +0000 (22:44 +0100)]
sim: arith. fixes, optimized mem access

13 years agodisasm/sim: bugfix for ldi
Martin Perner [Sun, 31 Oct 2010 13:26:52 +0000 (14:26 +0100)]
disasm/sim: bugfix for ldi

13 years agoisa: minor fixes
Bernhard Urban [Sun, 31 Oct 2010 22:34:13 +0000 (23:34 +0100)]
isa: minor fixes

13 years agosim: added cmds
Martin Perner [Sun, 31 Oct 2010 12:21:00 +0000 (13:21 +0100)]
sim: added cmds

may be buggy on overflow and carry bit!

13 years agodisasm/sim: changed interface, added readline to sim
Martin Perner [Sat, 30 Oct 2010 23:04:41 +0000 (01:04 +0200)]
disasm/sim: changed interface, added readline to sim

13 years agodisasm/sim: changed interface, branch => br, features++
Martin Perner [Sat, 30 Oct 2010 12:01:34 +0000 (14:01 +0200)]
disasm/sim: changed interface, branch => br, features++

13 years agosim: fixed misc things
Martin Perner [Fri, 29 Oct 2010 17:21:04 +0000 (19:21 +0200)]
sim: fixed misc things

13 years agodisasm: changed interface / fixed Makefile
Martin Perner [Fri, 29 Oct 2010 16:48:57 +0000 (18:48 +0200)]
disasm: changed interface / fixed Makefile

13 years ago3c_disasm: quickfix for deps in Makefile
Bernhard Urban [Sun, 31 Oct 2010 12:21:00 +0000 (13:21 +0100)]
3c_disasm: quickfix for deps in Makefile

13 years ago3a_asm: modified the datastructure for labels
Bernhard Urban [Sat, 30 Oct 2010 22:30:12 +0000 (00:30 +0200)]
3a_asm: modified the datastructure for labels

try 'cd calu/3a_asm/; make clean test' (at least @tilab it should output cool
stuff :p) and read calu/3a_asm/notes if you are interested in it

13 years ago3a_asm: parse even more :>
Bernhard Urban [Sat, 30 Oct 2010 22:30:10 +0000 (00:30 +0200)]
3a_asm: parse even more :>

13 years ago3a_asm: parse a comment \o/
Bernhard Urban [Sat, 30 Oct 2010 22:30:08 +0000 (00:30 +0200)]
3a_asm: parse a comment \o/

13 years ago3a_asm: first attempt for a proper datastructe for our new dataformat
Bernhard Urban [Sat, 30 Oct 2010 22:30:07 +0000 (00:30 +0200)]
3a_asm: first attempt for a proper datastructe for our new dataformat

13 years ago3a_asm: playing around
Bernhard Urban [Sat, 30 Oct 2010 22:30:05 +0000 (00:30 +0200)]
3a_asm: playing around

13 years ago3a_asm: adding some libraries, in order to be compatible with the tilab environment
Bernhard Urban [Sat, 30 Oct 2010 22:30:03 +0000 (00:30 +0200)]
3a_asm: adding some libraries, in order to be compatible with the tilab environment

13 years ago3a_asm: init from http://hackage.haskell.org/package/assembler
Bernhard Urban [Sat, 30 Oct 2010 22:30:01 +0000 (00:30 +0200)]
3a_asm: init from hackage.haskell.org/package/assembler

this package contains a simple PowerPC 64 assembler using the Parser Library
"Parsec".

13 years agoisa: update display of alias instructions
Martin Perner [Fri, 29 Oct 2010 15:27:17 +0000 (17:27 +0200)]
isa: update display of alias instructions

13 years agodisasm: alpha version
Martin Perner [Thu, 28 Oct 2010 19:06:50 +0000 (21:06 +0200)]
disasm: alpha version

really basic, but runs on sample file

13 years agoasm: updated in format and sum hexified
Martin Perner [Thu, 28 Oct 2010 13:03:34 +0000 (15:03 +0200)]
asm: updated in format and sum hexified

13 years agoisa: wrong predicat for ret
Martin Perner [Thu, 28 Oct 2010 13:02:44 +0000 (15:02 +0200)]
isa: wrong predicat for ret

13 years agoasm/sim: interface def
Bernhard Urban [Thu, 28 Oct 2010 11:52:59 +0000 (13:52 +0200)]
asm/sim: interface def

13 years agoisa/examples: include them into the pdf
Bernhard Urban [Thu, 28 Oct 2010 10:46:06 +0000 (12:46 +0200)]
isa/examples: include them into the pdf

13 years agoisa/examples: code fixes
Bernhard Urban [Thu, 28 Oct 2010 10:45:47 +0000 (12:45 +0200)]
isa/examples: code fixes

13 years agoisa: assigned opcodes
Martin Perner [Thu, 28 Oct 2010 10:09:08 +0000 (12:09 +0200)]
isa: assigned opcodes

by int rand() { return 4; }

13 years agoisa: todos done
Martin Perner [Thu, 28 Oct 2010 09:39:51 +0000 (11:39 +0200)]
isa: todos done

flags renamed
flag positions changed
fixes

13 years agosrc: source code update und trennen von asm und c code
Manfred [Thu, 28 Oct 2010 09:26:58 +0000 (11:26 +0200)]
src: source code update und trennen von asm und c code

13 years agoisa: two more directives, todos and other stuff
Bernhard Urban [Thu, 28 Oct 2010 00:40:41 +0000 (02:40 +0200)]
isa: two more directives, todos and other stuff

13 years agoisa: named it Deep Thought
Martin Perner [Wed, 27 Oct 2010 20:20:16 +0000 (22:20 +0200)]
isa: named it Deep Thought

open to changes, but better than nothing :P

13 years agoisa: changes for submit
Martin Perner [Wed, 27 Oct 2010 19:55:24 +0000 (21:55 +0200)]
isa: changes for submit

added comparison
modified/changed text about conditions, flags, design desicons
cleanup of the main file
made flag naming consistent between table and instruction
added aliases and flag descirptions to instruction where needed

13 years agoisa: excluded ngerman for english table/figure naming
Martin Perner [Wed, 27 Oct 2010 19:54:42 +0000 (21:54 +0200)]
isa: excluded ngerman for english table/figure naming

13 years agoisa/examples: reduced line count of sum
Martin Perner [Wed, 27 Oct 2010 19:54:17 +0000 (21:54 +0200)]
isa/examples: reduced line count of sum

13 years agogentex: added parameter for aliases to instruction
Martin Perner [Wed, 27 Oct 2010 19:17:27 +0000 (21:17 +0200)]
gentex: added parameter for aliases to instruction

13 years agoisa/examples: adapted sum
Martin Perner [Wed, 27 Oct 2010 18:17:28 +0000 (20:17 +0200)]
isa/examples: adapted sum

13 years agoisa/examples: adapted sum and bootrom
Bernhard Urban [Wed, 27 Oct 2010 17:53:13 +0000 (19:53 +0200)]
isa/examples: adapted sum and bootrom

13 years agoisa: more callingconv & stuff
Bernhard Urban [Wed, 27 Oct 2010 17:52:57 +0000 (19:52 +0200)]
isa: more callingconv & stuff

13 years agoisa/examples: minor fixes at bootrom.s
Bernhard Urban [Tue, 26 Oct 2010 18:29:59 +0000 (20:29 +0200)]
isa/examples: minor fixes at bootrom.s

13 years agoisa: calling conventions und flags
Martin Perner [Wed, 27 Oct 2010 15:51:08 +0000 (17:51 +0200)]
isa: calling conventions und flags

13 years agoisa: martins sample
Martin Perner [Wed, 27 Oct 2010 15:50:50 +0000 (17:50 +0200)]
isa: martins sample

13 years agoisa: added sum code
Martin Perner [Wed, 27 Oct 2010 15:50:36 +0000 (17:50 +0200)]
isa: added sum code

13 years agoisa: stefans sample
Martin Perner [Wed, 27 Oct 2010 15:04:35 +0000 (17:04 +0200)]
isa: stefans sample

13 years agoisa: manfreds sample
Martin Perner [Wed, 27 Oct 2010 15:04:21 +0000 (17:04 +0200)]
isa: manfreds sample