cacao.git
20 years agoSecond try.
twisti [Wed, 28 Jan 2004 10:51:58 +0000 (10:51 +0000)]
Second try.

20 years agoFirst version of x86 section.
twisti [Tue, 27 Jan 2004 15:14:06 +0000 (15:14 +0000)]
First version of x86 section.

20 years agoCommented out MFREE due to stack overflow with current CACAO
carolyn [Thu, 22 Jan 2004 23:00:32 +0000 (23:00 +0000)]
Commented out MFREE due to stack overflow with current CACAO

20 years ago- show float arguments as hex values in runverbose mode
twisti [Thu, 22 Jan 2004 21:38:58 +0000 (21:38 +0000)]
- show float arguments as hex values in runverbose mode
- patch PUT/GETSTATIC calling code with a jump

20 years agoPatch the code for PUT/GETSTATIC instructions to jump over the calling
twisti [Thu, 22 Jan 2004 19:06:00 +0000 (19:06 +0000)]
Patch the code for PUT/GETSTATIC instructions to jump over the calling
code.

20 years agoDon't print log test in nativeInit.
twisti [Thu, 22 Jan 2004 13:25:36 +0000 (13:25 +0000)]
Don't print log test in nativeInit.

20 years ago- fixed F2D (in corner case situations like MIN_VALUE we had problems)
twisti [Thu, 22 Jan 2004 13:24:36 +0000 (13:24 +0000)]
- fixed F2D (in corner case situations like MIN_VALUE we had problems)
- show float arguments as integer hex values in runverbose mode (removed
  asm_* trace functions)
- size of native stub depends on runverbose switch

20 years agocacaoh needs and depends on
twisti [Wed, 21 Jan 2004 19:36:48 +0000 (19:36 +0000)]
cacaoh needs and depends on
gnuclasspathnat/native/jni/java-lang/.libs/libjavalang.a

20 years agoMore NATIVE_THREADS ifdefs
stefan [Wed, 21 Jan 2004 00:49:42 +0000 (00:49 +0000)]
More NATIVE_THREADS ifdefs

20 years agoFix linking order
stefan [Tue, 20 Jan 2004 23:19:14 +0000 (23:19 +0000)]
Fix linking order

20 years agoadded -liberalutf option
edwin [Mon, 19 Jan 2004 13:53:43 +0000 (13:53 +0000)]
added -liberalutf option

20 years agooptimizations and cleanup
edwin [Mon, 19 Jan 2004 12:59:47 +0000 (12:59 +0000)]
optimizations and cleanup

20 years agominor optimizations and cleanup
edwin [Mon, 19 Jan 2004 12:53:24 +0000 (12:53 +0000)]
minor optimizations and cleanup

20 years agocleanup
edwin [Mon, 19 Jan 2004 12:32:29 +0000 (12:32 +0000)]
cleanup

20 years agominor documentation corrections
edwin [Mon, 19 Jan 2004 12:29:13 +0000 (12:29 +0000)]
minor documentation corrections

20 years agocleanup
edwin [Mon, 19 Jan 2004 12:24:13 +0000 (12:24 +0000)]
cleanup

20 years agocleanup, added typecheck statistics
edwin [Mon, 19 Jan 2004 12:18:14 +0000 (12:18 +0000)]
cleanup, added typecheck statistics

20 years agocleanup and documentation, deactivate debug macros
edwin [Mon, 19 Jan 2004 12:16:11 +0000 (12:16 +0000)]
cleanup and documentation, deactivate debug macros

20 years agocleanup and documentation
edwin [Mon, 19 Jan 2004 12:14:39 +0000 (12:14 +0000)]
cleanup and documentation

20 years agoverifier documentation
edwin [Fri, 16 Jan 2004 13:07:12 +0000 (13:07 +0000)]
verifier documentation

20 years agofix relative pathes
jowenn [Fri, 16 Jan 2004 07:25:13 +0000 (07:25 +0000)]
fix relative pathes

20 years agoadapted for new directory structure
jowenn [Thu, 15 Jan 2004 21:39:01 +0000 (21:39 +0000)]
adapted for new directory structure

20 years agoAdded critical regions for native threads
stefan [Wed, 14 Jan 2004 12:42:52 +0000 (12:42 +0000)]
Added critical regions for native threads

20 years agoAdded AVL
stefan [Wed, 14 Jan 2004 12:37:05 +0000 (12:37 +0000)]
Added AVL

20 years agoadded class/field/method name checking
edwin [Tue, 13 Jan 2004 19:57:08 +0000 (19:57 +0000)]
added class/field/method name checking

20 years agoAdded check for field/method uniqueness
edwin [Tue, 13 Jan 2004 17:17:12 +0000 (17:17 +0000)]
Added check for field/method uniqueness

20 years agoRemoved HAVE_ stuff, just define float versions. I have to check if this
twisti [Mon, 12 Jan 2004 13:31:56 +0000 (13:31 +0000)]
Removed HAVE_ stuff, just define float versions. I have to check if this
is _really_ correct.

20 years agoIf class is not initialized in put/getstatic we generate a call, thus
twisti [Mon, 12 Jan 2004 12:03:11 +0000 (12:03 +0000)]
If class is not initialized in put/getstatic we generate a call, thus
isleafmethod = false;

20 years agoremoval for extern and ZEXPORT. This allows compiliation of the zip part on OSF1.
jowenn [Mon, 12 Jan 2004 11:59:55 +0000 (11:59 +0000)]
removal for extern and ZEXPORT. This allows compiliation of the zip part on OSF1.

20 years agoThese new output files reflect the usage of gnu's classpath (float printing
twisti [Sun, 11 Jan 2004 21:18:30 +0000 (21:18 +0000)]
These new output files reflect the usage of gnu's classpath (float printing
is slightly different).

20 years agoAdded exceptions test.
twisti [Sun, 11 Jan 2004 21:16:59 +0000 (21:16 +0000)]
Added exceptions test.

20 years agoOutput of exception tests.
twisti [Sun, 11 Jan 2004 21:16:35 +0000 (21:16 +0000)]
Output of exception tests.

20 years ago- added gnu header
twisti [Sun, 11 Jan 2004 20:59:29 +0000 (20:59 +0000)]
- added gnu header
- removed struct's but included header files
- removed annoying log

20 years ago*** empty log message ***
stefan [Sun, 11 Jan 2004 19:04:13 +0000 (19:04 +0000)]
*** empty log message ***

20 years agomoved packagename field to end of classinfo
edwin [Sun, 11 Jan 2004 00:55:25 +0000 (00:55 +0000)]
moved packagename field to end of classinfo

20 years agoadded package access checking
edwin [Sat, 10 Jan 2004 22:49:32 +0000 (22:49 +0000)]
added package access checking

20 years agotypecheck cleanup
edwin [Sat, 10 Jan 2004 21:30:06 +0000 (21:30 +0000)]
typecheck cleanup

20 years agoimplemented subroutine verification (Coglio's method) + several verifier fixes
edwin [Sat, 10 Jan 2004 20:12:10 +0000 (20:12 +0000)]
implemented subroutine verification (Coglio's method) + several verifier fixes

20 years agouse global utf strings
edwin [Wed, 7 Jan 2004 22:05:04 +0000 (22:05 +0000)]
use global utf strings

20 years agoadded verification checks
edwin [Wed, 7 Jan 2004 20:05:30 +0000 (20:05 +0000)]
added verification checks

20 years agoinclude main.h
edwin [Wed, 7 Jan 2004 19:09:47 +0000 (19:09 +0000)]
include main.h

20 years agoadded various verification checks
edwin [Wed, 7 Jan 2004 18:51:16 +0000 (18:51 +0000)]
added various verification checks

20 years agohandle end_pc == code_length
edwin [Wed, 7 Jan 2004 18:50:41 +0000 (18:50 +0000)]
handle end_pc == code_length

20 years agoexceptionptr update for native threads
stefan [Tue, 6 Jan 2004 23:42:01 +0000 (23:42 +0000)]
exceptionptr update for native threads

20 years agoRemoved this ugly log output.
twisti [Tue, 6 Jan 2004 20:55:56 +0000 (20:55 +0000)]
Removed this ugly log output.

20 years agoWe have to use gnu as because the optimization level can change the code
twisti [Tue, 6 Jan 2004 18:49:09 +0000 (18:49 +0000)]
We have to use gnu as because the optimization level can change the code
length. We should check for gas on mips systems.

20 years agoI should not copy some file without changing the class ;-)
twisti [Tue, 6 Jan 2004 16:40:00 +0000 (16:40 +0000)]
I should not copy some file without changing the class ;-)

20 years agoThese tests should check all possible exceptions.
twisti [Tue, 6 Jan 2004 16:37:19 +0000 (16:37 +0000)]
These tests should check all possible exceptions.

20 years ago- include main.h for compiler switches
twisti [Tue, 6 Jan 2004 16:32:59 +0000 (16:32 +0000)]
- include main.h for compiler switches
- put/getstatic changes (static class initializer)
- removed redefinition of code generation macros
- native stub changes (call trace, arg stuff -- this must be completed)
- fixed CALL_JAVA_xxx defines

20 years ago- small code indent fix
twisti [Tue, 6 Jan 2004 16:21:51 +0000 (16:21 +0000)]
- small code indent fix
- function prototypes

20 years ago- removed has_no_x_instr_set
twisti [Tue, 6 Jan 2004 16:18:42 +0000 (16:18 +0000)]
- removed has_no_x_instr_set
- added asm_check_clinit, asm_builtin_trace, asm_builtin_exittrace
- added codesize comments to asm_calljavafunction_asm and
  asm_calljavafunction2_asm

20 years agoLog class initialization
twisti [Tue, 6 Jan 2004 15:37:05 +0000 (15:37 +0000)]
Log class initialization

20 years agoLog class initialization in builtin_new.
twisti [Tue, 6 Jan 2004 15:36:25 +0000 (15:36 +0000)]
Log class initialization in builtin_new.

20 years agoLog initialization of super classes and interfaces.
twisti [Tue, 6 Jan 2004 15:29:14 +0000 (15:29 +0000)]
Log initialization of super classes and interfaces.

20 years agoNative threads
stefan [Mon, 5 Jan 2004 23:59:28 +0000 (23:59 +0000)]
Native threads

20 years agoMoved _GNU_SOURCE so it actually has an effect
stefan [Mon, 5 Jan 2004 23:58:39 +0000 (23:58 +0000)]
Moved _GNU_SOURCE so it actually has an effect

20 years agomake compileable without USE_ZLIB
stefan [Mon, 5 Jan 2004 21:27:29 +0000 (21:27 +0000)]
make compileable without USE_ZLIB

20 years ago- asm_check_clinit (static class initializer)
twisti [Mon, 5 Jan 2004 10:51:58 +0000 (10:51 +0000)]
- asm_check_clinit (static class initializer)
- removed unnecessary calljavafunction2 headers
- removed asm_builtin_trace, asm_builtin_exittrace

20 years ago- include main.h for compiler switches
twisti [Mon, 5 Jan 2004 10:49:05 +0000 (10:49 +0000)]
- include main.h for compiler switches
- get/putstatic class initialization (static class initializer)

20 years agoInclude main.h for compiler switches.
twisti [Mon, 5 Jan 2004 10:40:42 +0000 (10:40 +0000)]
Include main.h for compiler switches.

20 years agoRemoved exports of compiler switches (moved to main.h).
twisti [Mon, 5 Jan 2004 10:38:06 +0000 (10:38 +0000)]
Removed exports of compiler switches (moved to main.h).

20 years agoApparently older autoconf versions had problems
stefan [Mon, 5 Jan 2004 08:07:33 +0000 (08:07 +0000)]
Apparently older autoconf versions had problems

20 years agoRemoved compiler_addinitclass
twisti [Mon, 5 Jan 2004 00:50:24 +0000 (00:50 +0000)]
Removed compiler_addinitclass

20 years agoForgot to remove #if 0's
twisti [Mon, 5 Jan 2004 00:48:22 +0000 (00:48 +0000)]
Forgot to remove #if 0's

20 years ago- added comments
twisti [Mon, 5 Jan 2004 00:43:03 +0000 (00:43 +0000)]
- added comments
- moved compiler switches from jit.c

20 years ago- moved compiler switches into main
twisti [Mon, 5 Jan 2004 00:42:13 +0000 (00:42 +0000)]
- moved compiler switches into main
- don't initialize all classes (static class initializer)

20 years agoRemoved heap_addreference
twisti [Mon, 5 Jan 2004 00:27:21 +0000 (00:27 +0000)]
Removed heap_addreference

20 years ago- warning fix (include)
twisti [Mon, 5 Jan 2004 00:27:00 +0000 (00:27 +0000)]
- warning fix (include)
- removed heap_addreference
- ignore exceptions in finalizers

20 years ago- include parse.h
twisti [Mon, 5 Jan 2004 00:04:51 +0000 (00:04 +0000)]
- include parse.h
- put/getstatic changes for static class initializer
- removed redefinition of code generation macros
- recoded the whole createnativestub stuff

20 years ago- added gnu header and emacs tailer
twisti [Mon, 5 Jan 2004 00:00:25 +0000 (00:00 +0000)]
- added gnu header and emacs tailer
- added asm_check_clinit for static class initializer

20 years ago- added gnu header
twisti [Sun, 4 Jan 2004 23:39:36 +0000 (23:39 +0000)]
- added gnu header
- throw correct exceptions
- code beautify

20 years agocacao depends on gnu classpath libraries.
twisti [Sun, 4 Jan 2004 23:24:25 +0000 (23:24 +0000)]
cacao depends on gnu classpath libraries.

20 years agosupport for multiple zip archives as class source, configure check for OSF1 in classp...
jowenn [Sun, 4 Jan 2004 22:10:24 +0000 (22:10 +0000)]
support for multiple zip archives as class source, configure check for OSF1 in classpath, fix for Method/Constructor.toString()

20 years ago__thread test
stefan [Sun, 4 Jan 2004 15:46:08 +0000 (15:46 +0000)]
__thread test

20 years agodeclare some constructors for testing
jowenn [Sat, 3 Jan 2004 22:56:14 +0000 (22:56 +0000)]
declare some constructors for testing

20 years agoMerged bug fix by jowenn (nov 25) + small asm_calljavafunction2 fix
stefan [Sat, 3 Jan 2004 16:46:45 +0000 (16:46 +0000)]
Merged bug fix by jowenn (nov 25) + small asm_calljavafunction2 fix

20 years agoMerged bug fix by jowenn (nov 25)
stefan [Sat, 3 Jan 2004 16:46:03 +0000 (16:46 +0000)]
Merged bug fix by jowenn (nov 25)

20 years agoasm_calljavafunction2 (untested)
stefan [Sat, 3 Jan 2004 16:20:06 +0000 (16:20 +0000)]
asm_calljavafunction2 (untested)

20 years agoMade code more readable.
twisti [Sat, 3 Jan 2004 15:02:53 +0000 (15:02 +0000)]
Made code more readable.

20 years agoExport cacao_create_directoryList
twisti [Sat, 3 Jan 2004 14:33:49 +0000 (14:33 +0000)]
Export cacao_create_directoryList

20 years agoKeep compiler happy and return a value.
twisti [Sat, 3 Jan 2004 14:33:06 +0000 (14:33 +0000)]
Keep compiler happy and return a value.

20 years agoAdded gnu header and emacs tailer.
twisti [Sat, 3 Jan 2004 14:31:04 +0000 (14:31 +0000)]
Added gnu header and emacs tailer.

20 years agopowerpc-darwin compilation fix. The assembeler does not like ''s.
twisti [Sat, 3 Jan 2004 12:56:41 +0000 (12:56 +0000)]
powerpc-darwin compilation fix. The assembeler does not like ''s.

20 years agocheck JSR recursion, access flags, special method invokation
edwin [Wed, 31 Dec 2003 16:00:58 +0000 (16:00 +0000)]
check JSR recursion, access flags, special method invokation

20 years agoAaaaaahhhhhhhh!!! What's wrong with me?
twisti [Wed, 31 Dec 2003 14:14:01 +0000 (14:14 +0000)]
Aaaaaahhhhhhhh!!! What's wrong with me?

20 years agoDamn, forgot to include config.h.
twisti [Wed, 31 Dec 2003 14:11:13 +0000 (14:11 +0000)]
Damn, forgot to include config.h.

20 years agoDefine copysignf, finitef, fmodf, isnanf if not found.
twisti [Wed, 31 Dec 2003 14:07:20 +0000 (14:07 +0000)]
Define copysignf, finitef, fmodf, isnanf if not found.

20 years agocheck constant_pool_count != 0
edwin [Wed, 31 Dec 2003 14:05:12 +0000 (14:05 +0000)]
check constant_pool_count != 0

20 years agoCheck for copysign - copysignf, finite - finitef, fmod - fmodf,
twisti [Wed, 31 Dec 2003 13:58:40 +0000 (13:58 +0000)]
Check for copysign - copysignf, finite - finitef, fmod - fmodf,
isnan - isnanf. We have some problems on irix and darwin.

20 years agocheck flags consistency, final, array dimension, constant pool overflow
edwin [Wed, 31 Dec 2003 13:52:30 +0000 (13:52 +0000)]
check flags consistency, final, array dimension, constant pool overflow

20 years agoadded TYPECHECK_STACK_COMPCAT (disabled)
edwin [Wed, 31 Dec 2003 13:22:44 +0000 (13:22 +0000)]
added TYPECHECK_STACK_COMPCAT (disabled)

20 years agoadded computational category checking for stack manipulations
edwin [Wed, 31 Dec 2003 01:41:15 +0000 (01:41 +0000)]
added computational category checking for stack manipulations

20 years agocheck exception handler range, LOOKUPSWITCH sort, TABLESWITCH bounds
edwin [Wed, 31 Dec 2003 00:21:52 +0000 (00:21 +0000)]
check exception handler range, LOOKUPSWITCH sort, TABLESWITCH bounds

20 years agoadded ACC_SUPER
edwin [Wed, 31 Dec 2003 00:11:12 +0000 (00:11 +0000)]
added ACC_SUPER

20 years ago- made code more readable
twisti [Tue, 30 Dec 2003 22:20:43 +0000 (22:20 +0000)]
- made code more readable

20 years agoDefine asm_check_clinit for static clinit.
twisti [Tue, 30 Dec 2003 21:35:46 +0000 (21:35 +0000)]
Define asm_check_clinit for static clinit.

20 years ago- generate classinfo initialized offset
twisti [Tue, 30 Dec 2003 20:54:57 +0000 (20:54 +0000)]
- generate classinfo initialized offset
- warning fix

20 years ago- made code more readable
twisti [Tue, 30 Dec 2003 12:45:28 +0000 (12:45 +0000)]
- made code more readable
- fixed break bug in jni_method_invokeNativeHelper

20 years agocomment
edwin [Mon, 22 Dec 2003 10:08:22 +0000 (10:08 +0000)]
comment

20 years agoWarning fixes.
twisti [Sun, 21 Dec 2003 13:56:27 +0000 (13:56 +0000)]
Warning fixes.