Wolfgang Thaller
5648c5be94
consider instructions of the form move.x (%ax)+, -(%ax) as no-op instructions.
...
They really don't do anything, and they confuse the rest of the
compiler when they are generated as a result of passing the result of one
pascal function to another function.
2014-09-25 18:56:56 +02:00
Wolfgang Thaller
025ebb6397
remove one more assert from expr.c:fixup_args_size_notes which got tripped by earlier hacks.
2014-09-25 11:21:13 +02:00
Wolfgang Thaller
aa1c71d17e
move pragma code to a separate file
2014-09-25 02:47:19 +02:00
Wolfgang Thaller
a9ac8da693
types.txt is no longer needed
2014-09-25 02:03:18 +02:00
Wolfgang Thaller
afc0db27f6
forgot to mention pascal strings
2014-09-25 01:59:39 +02:00
Wolfgang Thaller
3a93c027db
update README
2014-09-25 01:58:30 +02:00
Wolfgang Thaller
17954e11d2
clean up asfilter (remove unneeded functionality)
2014-09-25 01:58:24 +02:00
Wolfgang Thaller
4d936a889c
PrepareHeaders.hs is no longer needed.
...
Instead, there is prepare-headers.sh which only needs to patch ConditionalMacros.h
2014-09-25 01:47:49 +02:00
Wolfgang Thaller
05f4c57615
support #pragma parameter
2014-09-25 01:45:15 +02:00
Wolfgang Thaller
7c33a47916
glue code must be declared pascal
2014-09-25 01:44:21 +02:00
Wolfgang Thaller
07451171d1
make sure that output_call is actually called
2014-09-24 22:39:18 +02:00
Wolfgang Thaller
03501ca622
silence some debug output
2014-09-24 22:38:31 +02:00
Wolfgang Thaller
5383bc9457
remove lots of stuff from PrepareHeaders
2014-09-24 22:06:22 +02:00
Wolfgang Thaller
ea8e92e679
magicinline is dead, long live raw_inline
2014-09-24 22:06:01 +02:00
Wolfgang Thaller
dc386a4845
hack 68000-compatible replacement for RTD instruction into asfilter
2014-09-24 22:05:01 +02:00
Wolfgang Thaller
3f1eec11f9
allow defining pascal functions
2014-09-24 20:48:44 +02:00
Wolfgang Thaller
a055a3faa1
register parameters via __attribute__((__regparam__("d0(a0,d0)")))
2014-09-24 02:54:03 +02:00
Wolfgang Thaller
db62b69fae
try to suppress sibcalls to magic_inline functions
2014-09-24 02:54:03 +02:00
Wolfgang Thaller
366768b135
Revert "butcher fixedbenchmark to find a bug."
...
This reverts commit 163ec2bb26958199549716d45297b1e427d6b0bd.
2014-09-24 02:54:02 +02:00
Wolfgang Thaller
1de00c3f09
gcc/reload pass: don't eliminate %fp if (%sp)+ is present.
...
For instructions such as "MOVE (%sp)+, x(%sp)", GCC gets the offset wrong.
2014-09-24 02:54:02 +02:00
Wolfgang Thaller
cf2a08b7de
butcher fixedbenchmark to find a bug.
2014-09-24 02:54:02 +02:00
Wolfgang Thaller
c31479ee7e
don't be too eager to skip things in fixup_args_size_notes.
2014-09-24 02:54:01 +02:00
Wolfgang Thaller
f45ead7b6c
use PUSH_ROUNDING in find_args_size_adjust
2014-09-24 02:54:01 +02:00
Wolfgang Thaller
7c526098af
disable an assert in gcc/combine.c that seems to assume that args_size == stack adjustment
2014-09-24 02:54:01 +02:00
Wolfgang Thaller
606d434731
experiment with variations on stack adjustment
2014-09-24 02:54:00 +02:00
Wolfgang Thaller
7566e54823
PrepareHeaders: generate __attribute__((__pascal__)) and __attribute__((__magicinline__))
2014-09-24 02:54:00 +02:00
Wolfgang Thaller
54d890514a
__magicinline__ attribute to suppress cse on magic_inline functions
2014-09-24 02:54:00 +02:00
Wolfgang Thaller
a73165f37f
pascal calls!
2014-09-24 02:53:59 +02:00
Wolfgang Thaller
197178056d
rename stdcall -> pascal
2014-09-24 02:53:59 +02:00
Wolfgang Thaller
c82bcc4ee6
add a few things to .gitignore
2014-09-24 02:53:59 +02:00
Wolfgang Thaller
f894ffe7a5
Merge pull request #5 from clehner/master
...
Add some more types
2014-09-23 09:07:51 +02:00
Charles Lehner
eb5ac1b43b
Add some more types ( #3 )
2014-09-22 20:50:11 -04:00
Wolfgang Thaller
d78125c6b6
have asfilter deal with tail calls to toolbox functions (preventing undefined __magic_inline errors, see issue #2 )
2014-09-22 22:16:55 +02:00
Wolfgang Thaller
6a08b8ed6c
add many more types to types.txt (cf. issues #2 , #3 )
2014-09-22 22:13:08 +02:00
Wolfgang Thaller
007ccc92ff
update README.md
2014-09-22 21:45:57 +02:00
Wolfgang Thaller
7c9e59e73a
some performance optimizations in Console and raytracer2.cc
2014-09-21 22:38:48 +02:00
Wolfgang Thaller
757a9c715f
Merge branch 'gcc-4.9.1-upstream'
...
Conflicts:
gcc/gcc/c-family/c-common.c
gcc/gcc/config/m68k/m68k.c
2014-09-21 19:41:42 +02:00
Wolfgang Thaller
449227a01f
upgrade to gcc 4.9.1
2014-09-21 19:33:12 +02:00
Wolfgang Thaller
269b6a0668
fix off-by-one error in pascal string implementation
2014-09-20 02:24:56 +02:00
Wolfgang Thaller
d85754fa6c
Launcher: A utility program for mini vMac
2014-09-20 02:18:58 +02:00
Wolfgang Thaller
4116636965
"\p*** Pascal String literals ***" are now supported.
2014-09-20 02:17:52 +02:00
Wolfgang Thaller
2c6941895a
fix incompatibility with gcc 4.9 (for the record: gcc was right)
2014-09-19 19:13:46 +02:00
Wolfgang Thaller
4b12356064
make build script slightly more robust
2014-09-19 19:02:17 +02:00
Wolfgang Thaller
9976339d22
disable building gcc docs to work around texinfo 5.0 strictness problems (should fix issue #1 )
2014-09-19 09:31:51 +02:00
Wolfgang Thaller
fdec31a641
The compiler now generates MacsBug function names for debugging
2014-09-19 02:11:50 +02:00
Wolfgang Thaller
58b700e49e
add AsmTest program, with experiments on MacsBug function names
2014-09-19 01:49:52 +02:00
Wolfgang Thaller
4ab1a098d6
remove libgloss, as we aren't using it
2014-09-19 01:41:27 +02:00
Wolfgang Thaller
c8ac7aff27
convert raytracer.cc to plain C
2014-09-17 03:39:50 +02:00
Wolfgang Thaller
534ef17a1f
Move Console to a library: We can now compile a standard Hello World program.
2014-09-17 03:35:18 +02:00
Wolfgang Thaller
d83818476d
use std::regex instead of boost::regex when available
2014-09-17 02:49:17 +02:00