|
@@ -7,49 +7,16 @@ This directory contains tests for several parts of the compiler and RTL
|
|
These tests should be considered unitary, as they only verify
|
|
These tests should be considered unitary, as they only verify
|
|
simple cases of the code generator. Used for porting to other
|
|
simple cases of the code generator. Used for porting to other
|
|
architectures. Tries to validate all possible Location types
|
|
architectures. Tries to validate all possible Location types
|
|
-valid for that node.
|
|
|
|
|
|
+valid for that node. They are based on tests on these
|
|
|
|
+reference platforms:
|
|
|
|
+ Borland Pascal v7.01
|
|
|
|
+ Delphi 3.0
|
|
|
|
+ Delphi 4.0
|
|
|
|
+ Delphi 6.0 Personal Edition
|
|
|
|
|
|
'Natural type' is a signed 32-bit value on 32-bit architectures.
|
|
'Natural type' is a signed 32-bit value on 32-bit architectures.
|
|
'Natural type' is a signed 64-bit value on 64-bit architectures.
|
|
'Natural type' is a signed 64-bit value on 64-bit architectures.
|
|
|
|
|
|
-secondadd() ........... /cg/taddbool.pp Boolean arithmetic operations
|
|
|
|
-secondadd() ........... /cg/taddcard.pp Cardinal arithmetic operations
|
|
|
|
-secondadd() ........... /cg/taddreal.pp Real arithmetic operations
|
|
|
|
-secondadd() ........... /cg/taddlong.pp Longint arithmetic operations
|
|
|
|
-secondadd() ........... /cg/tadint64.pp 64-bit integer arithmeric operations
|
|
|
|
-secondload()........... /cg/tldparam.pp Load subroutine parameters
|
|
|
|
-secondload()........... /cg/tldlocal.pp Load subroutine local variables
|
|
|
|
-secondshlshr()......... /cg/tshlshr.pp Shift routines on natural compiler types
|
|
|
|
-secondunaryminus()..... /cg/tneg.pp Negate on natural compiler types
|
|
|
|
-secondnot() ........... /cg/tnot.pp NOT operator node
|
|
|
|
-secondmoddiv() ........ /cg/tmoddiv.pp Division and module node
|
|
|
|
-secondtypeconv() ...... /cg/tstrcnv1.pp String -> String conversion
|
|
|
|
-secondtypeconv() ......
|
|
|
|
-secondis() ............
|
|
|
|
-secondas() ............
|
|
|
|
-secondfor() ...........
|
|
|
|
-secondexitn() .........
|
|
|
|
-secondraise() .........
|
|
|
|
-secondtryexcept() .....
|
|
|
|
-secondtryfinally() ....
|
|
|
|
-secondon() ............
|
|
|
|
-secondinline() ........
|
|
|
|
-secondload() ..........
|
|
|
|
-secondassignment() ....
|
|
|
|
-secondarrayconstruct().
|
|
|
|
-secondloadvmt()........
|
|
|
|
-secondnewn()...........
|
|
|
|
-secondhdisposen() .....
|
|
|
|
-secondsimplenewdispose().
|
|
|
|
-secondaddr() ..........
|
|
|
|
-seconddoubleaddr() ....
|
|
|
|
-secondderef() .........
|
|
|
|
-secondvecn() ..........
|
|
|
|
-secondwith() ..........
|
|
|
|
-secondsetelement() ....
|
|
|
|
-secondin() ............
|
|
|
|
-secondcase() ..........
|
|
|
|
-
|
|
|
|
|
|
|
|
--------------------------------------------------------------------
|
|
--------------------------------------------------------------------
|
|
Compiler
|
|
Compiler
|