Commit Graph

209 Commits

Author SHA1 Message Date
04454960ec various bugfixes for handling 64-bit floating point values on 32-bit systems 2009-11-30 15:10:34 +00:00
5ead8fab17 refactor code responsible for moving data in the compiler
This is partially to address incorrect code generation for 64-bit
floating-point values on x86_32 and partially to reduce unnecessary
moves.
2009-11-27 21:15:12 -07:00
fb5796b740 don't use SSE for long-to-double conversion on 32-bit systems 2009-11-04 00:02:38 +00:00
3b4be3decd defer to helper thunk for frem and drem 2009-10-24 19:29:20 -06:00
064ad572bc use truncation, not rounding in float2Int instructions 2009-10-20 15:43:24 -06:00
23197da679 fix handling of subroutines in methods of return type long on 32-bit systems 2009-10-06 03:17:12 +00:00
4f78783ef1 various bugfixes for SSE-based floating-point support 2009-10-05 14:25:12 +00:00
5dad9bddd6 snapshot 2009-10-04 19:56:48 +00:00
325f93b4d1 Merge branch 'master' into wip
Conflicts:

	src/compile.cpp
	src/compiler.cpp
	src/machine.h
	src/x86.cpp
2009-09-20 15:43:32 -06:00
7aa906d97b support runtime-visible annotations and java.lang.reflect.Proxy 2009-09-18 18:01:54 -06:00
4f794f533e fix handling of reachable, moved weak references in postVisit 2009-09-01 17:23:30 -06:00
4297fa04b3 run java finalizers in a separate thread to guarantee no application locks are held when doing so 2009-08-24 17:51:31 -06:00
4c14a9ab66 implement enough of java.util.regex to ensure String methods work for trivial regular expressions 2009-08-20 11:14:05 -06:00
c27aa559e5 comment out use of currently-unsupported regex functionality in Strings test 2009-08-18 14:21:40 -06:00
20c1ea08e6 remove a test from Misc.java since it's been moved to Strings.java 2009-08-14 08:53:33 -06:00
7fcbf9d85c fix reading 2-byte UTF-8 constants 2009-08-14 08:52:31 -06:00
935329d7cf fix 32-bit shift case in unsignedShiftRightC 2009-08-11 12:36:25 -06:00
af4d82ef7e Merge branch 'master' of git://oss.readytalk.com/avian 2009-08-10 13:42:57 -06:00
1d3ef1fc43 Merge branch 'master' of git://oss.readytalk.com/avian, fixed problems that occured in broader testing
Conflicts:
	src/compile.cpp
	src/compiler.cpp
	src/powerpc.cpp
	src/x86.S
	src/x86.cpp
2009-08-10 13:20:23 -06:00
012d548bbb fix sign extension from int to long on x86_64 2009-08-07 14:48:30 -06:00
e5947b5ec0 remove bashism from test.sh 2009-08-06 15:58:26 -06:00
04583ea534 floating point test code 2009-08-06 10:34:28 -06:00
7911989055 add AbstractList and AbstractSequentialList classes to java.util and listIterator methods to java.util.List 2009-08-04 17:24:29 -06:00
5b23ad3f40 remove unused inner class in Tree.java 2009-07-28 16:58:33 -06:00
f869e5be21 Merge branch 'master' into gnu
Conflicts:

	classpath/java/util/TreeSet.java
2009-07-25 18:38:57 -06:00
d3a249a3fa Merge branch 'master' of oss.readytalk.com:/var/local/git/avian 2009-07-25 18:36:27 -06:00
d327f6ba5a implement java.util.TreeMap 2009-07-25 15:41:43 -06:00
3787985b25 implement basic finalization support
This implementation does not conform to the Java standard in that
finalize methods are called from whichever thread happens to be garbage
collecting, and that thread may hold locks, whereas the standard
guarantees that finalize will be run from a thread which holds no locks.
Also, an object will never be finalized more than once, even if its
finalize method "rescues" (i.e. makes reachable) the object such that it
might become unreachable a second time and thus a candidate for
finalization once more.  It's not clear to me from the standard if this
is OK or not.

Nonwithstanding the above, this implementation is useful for "normal"
finalize methods which simply release resources associated with an
object.
2009-07-21 18:57:55 -06:00
d12b441aa1 restore state from subroutine after jsr to avoid later confusion determining basic block boundaries 2009-07-20 08:26:01 -06:00
5f6f8039e6 various bugfixes in subroutine stack mapping code 2009-07-13 17:49:15 -06:00
b308354a3a handle subroutines properly when generating frame maps (initial sketch) 2009-06-26 15:36:04 -06:00
b35a5a6db6 add new test to Subroutine to trigger latent bug compiling multiple jsr instructions to the same address 2009-06-10 18:11:27 -06:00
98be5c509e more progress towards GNU Classpath compatibility 2009-06-03 16:17:55 -06:00
a8c836d2cb move continuations tests into test/extra 2009-05-25 23:30:40 -06:00
cc6bf3f42b bugfixes and print statements in DynamicWind 2009-05-24 22:50:11 -06:00
03e7a61bfd add test/DynamicWind.java 2009-05-24 18:20:50 -06:00
db91c27441 move Continuations and Coroutines tests to top-level test directory 2009-05-18 09:17:49 -06:00
8463bb4056 minor tweaks to test classes 2009-05-16 21:41:27 -06:00
8573619720 refine Continuations.java and add Coroutines.java 2009-05-16 21:15:41 -06:00
195d95d809 continuation bugfixes 2009-05-16 18:39:08 -06:00
6dc6f01359 move extra tests (not run as part of "make test") into "extra" package 2009-05-16 02:01:32 -06:00
06fd492b1a add Continuations test 2009-05-16 02:01:07 -06:00
ef12477670 more work on Integers.java 2009-03-13 18:36:11 -06:00
1f35e5efb4 fix cut-and-paste foolishness in Integers.java 2009-03-13 18:29:11 -06:00
eb45ec7611 add some tests to Integers.java 2009-03-13 18:22:34 -06:00
68ed5e6cb5 fix addC for case where bit 15 of constant is set 2009-03-08 20:09:06 -06:00
a0e503ad0a optimize moveRR and fix andC 2009-03-05 20:21:15 -07:00
ed9e54bca1 add a few more tests to Floats.java 2009-03-04 17:52:06 -07:00
8410e1d683 ensure reads and writes of volatile 64-bit fields are atomic 2009-03-03 18:02:11 -07:00
a1ec71423e Merge branch 'master' into powerpc
Conflicts:

	makefile
	src/assembler.h
	src/binaryToMacho.cpp
	src/compile.cpp
	src/compiler.cpp
	src/x86.cpp
2009-02-09 16:22:01 -07:00