nickysn
|
f0346c096f
+ added rtl helpers for huge pointer arithmetic
|
11 years ago |
sergei
|
0262514939
* m68k: Transform 32-bit div/mod nodes into helper calls during pass 1. This is consistent with the way other targets do it, and results in pretty much nicer code.
|
11 years ago |
sergei
|
535218e837
* m68k: fixed OP_NOT/OP_NEG with two registers, it must never modify the source register.
|
11 years ago |
sergei
|
85c0ba96e2
* tm68knotnode brought up to speed:
|
11 years ago |
sergei
|
4df49964ca
* tcg68k.a_op_reg_reg: renamed parameters 'reg1' and 'reg2' to 'src' and 'dst' to make it clear what's what.
|
11 years ago |
nickysn
|
89db1e4118
+ add proper int type conversions for huge pointer arithmetic in pass_typecheck
|
11 years ago |
sergei
|
04eb925776
* tcgtypeconvnode.second_int_to_int: disabled optimization from r25067 for m68k, because reg_cgsize() does not return expected values on that target.
|
11 years ago |
sergei
|
12e0416323
* m68k-linux: now actually fixed syscall failure conditions.
|
11 years ago |
nickysn
|
5093c573dc
+ added huge pointer assignment and far->huge conversion tests
|
11 years ago |
sergei
|
c2ab16c320
- m68k: dropped t68kaddnode.second_cmpboolean, apparently its presence just breaks tbs/tb0246 without any value added.
|
11 years ago |
sergei
|
4b4651d298
* m68k-linux: syscalls are expected to return -1 on failure, not -errno. This fixes some of the tests, webtbs/tw2494 is one of them.
|
11 years ago |
nickysn
|
b3bb9df19f
+ added a $HUGEPOINTERNORMALIZATION switch
|
11 years ago |
sergei
|
193fa2b95e
- m68k: removed some definitely misplaced code, comparison nodes are never handled in second_addfloat.
|
11 years ago |
sergei
|
3851c1f494
- m68k: removed a_loadmm_* methods, no need to override because they produce internal error already in base class.
|
11 years ago |
nickysn
|
bff8dc3fbf
+ added parser support for huge pointer declarations
|
11 years ago |
nickysn
|
8b7863d076
+ added warning in case a far pointer is declared on a platform that does not
|
11 years ago |
sergei
|
acd3ea8750
* m68k: Fixed parameter passing to conform to ABI:
|
11 years ago |
nickysn
|
140ce2a880
+ added the compact and large memory models to the compiler command line option
|
11 years ago |
nickysn
|
ce87e72721
* show an error if the user attempts to create a dos .com file in an i8086
|
11 years ago |
Károly Balogh
|
5276de5627
m68k: restored orglen variable to g_concatcopy which was actually used, but still got removed in r28072
|
11 years ago |
nickysn
|
82d393014b
+ added a test for the tiny memory layout
|
11 years ago |
nickysn
|
835fb1d157
+ added memory layout tests for the small and medium memory models
|
11 years ago |
Károly Balogh
|
3028f3ac78
m68k: disabled PEA debug comment accidentally left in
|
11 years ago |
Károly Balogh
|
d93e7b3367
m68k: cleaned ancient silly debug mess from a_loadaddr_ref_reg. no functional changes.
|
11 years ago |
Károly Balogh
|
1388cb9bae
m68k: implemented a proper a_loadaddr_ref_cgpara instead of the disabled mess in the source, utilizing the PEA instruction
|
11 years ago |
nickysn
|
57de15e071
+ added checks for the Program Segment Prefix's relative position to the code
|
11 years ago |
nickysn
|
be0afd9625
+ added checks for the pointer and procvar sizes in the compact and large memory
|
11 years ago |
sergei
|
4c3eb391ef
* m68k: cleaned out unused variables in cgcpu.pas
|
11 years ago |
Jeppe Johansen
|
857a849173
Added an additional check to the MulAdd2MLA optimization. The operands of the multiplication weren't checked.
|
11 years ago |
sergei
|
3ffa32a660
- m68k: removed garbage (tab characters, commented out code, unused variables, debug output and alike). Functionality unchanged.
|
11 years ago |