Commit Graph

71 Commits

Author SHA1 Message Date
peter
8900400a2c + typecasting support for variables, but be carefull as word,byte can't
be used because they are reserved assembler keywords
2000-05-23 20:36:28 +00:00
peter
34e840268a * fixed size of const parameters in asm readers 2000-05-18 17:05:15 +00:00
pierre
cff91a51a2 + use of a dictionary object
for faster opcode searching in assembler readers
    implemented by Kovacs Attila Zoltan
2000-05-12 21:57:02 +00:00
pierre
5f4ec1b1ff * fix the FDIV FDIVR FSUB FSUBR and popping equivalent
simply by swapping from reverse to normal and vice-versa
    when passing from one syntax to the other !
2000-05-12 21:26:22 +00:00
pierre
fddd96280d * fixed several compare problems between longints and
const > $80000000 that are treated as int64 constanst
    by Delphi reported by Kovacs Attila Zoltan
2000-05-11 09:56:20 +00:00
pierre
f94c25e338 * Issue an error if opcode is not found 2000-05-09 11:56:25 +00:00
peter
4b09b89588 * fixed reference parsing 2000-05-08 13:23:03 +00:00
peter
f40500579d * fixed offset support intel reader, the gotoffset variable was not
always reset
  * moved check for local/para to be only used for varsym
2000-04-29 12:51:33 +00:00
pierre
482820110c + add a warning if esi is base and index in object assembler code 2000-03-28 22:11:46 +00:00
pierre
2931f94d33 * "segss" prefix in Intel is converted into "ss" in ATT
and vice-versa. Fixes web bug #892.
2000-03-27 21:18:54 +00:00
pierre
4177d64781 * fix for bug #848 (that still genrated wrong code)
+ better testing for variables used in assembler
    (gives an error if variable is not directly reachable !)
2000-03-15 23:09:58 +00:00
pierre
1606fbbef1 * fix for bug #848 2000-03-02 11:48:31 +00:00
florian
2f623caf67 * fixed an internalerror with writeln
* fixed arrayconstructor_to_set to force the generation of better code
    and added a more strict type checking
2000-02-13 22:46:27 +00:00
peter
4a4a24b6e8 * log truncated 2000-02-09 13:22:42 +00:00
peter
e525797c51 * updated copyright to 2000 2000-01-07 01:14:18 +00:00
florian
22ba06f140 * Bug reported by Marco fixed: Intel assembler reader: fld qword ptr x
was read as fldq x but it must be fldl x
1999-12-18 20:00:33 +00:00
peter
d3b404c1a4 * fixed bug #698
* removed some notes about unused vars
1999-12-01 12:42:31 +00:00
peter
0512ba80fb + ttype, tsymlist 1999-11-30 10:40:42 +00:00
pierre
62da9bd4c0 * Notes/hints changes 1999-11-17 17:04:58 +00:00
peter
23ca9de3b3 * esi_offset -> selfpointer_offset to be newcg compatible
* hcogegen -> cgbase fixes for newcg
1999-11-09 23:06:44 +00:00
peter
0887060ff2 * truncated log to 20 revs 1999-11-06 14:34:16 +00:00
peter
e838769af8 * fixed object field parsing 1999-10-01 07:59:20 +00:00
peter
6b1ab5eb31 * procinfo is now a pointer
* support for result setting in sub procedure
1999-09-27 23:44:46 +00:00
peter
71f28ed588 * cs_create_smart instead of cs_smartlink
* -CX is create smartlink
  * -CD is create dynamic, but does nothing atm.
1999-09-20 16:38:51 +00:00
florian
1c638f2952 * small fix to operator overloading when in MMX mode
+ the compiler uses now fldz and fld1 if possible
  + some fixes to floating point registers
  + some math. functions (arctan, ln, sin, cos, sqrt, sqr, pi) are now inlined
  * .... ???
1999-09-15 20:35:37 +00:00
peter
05f2be0455 * better support for object fields and more error checks for
field accesses which create buggy code
1999-09-08 16:04:01 +00:00
peter
6f3c128959 * better OFFSET support for reference reading 1999-09-07 13:03:10 +00:00
peter
453773ecb2 * TYPE support 1999-09-07 07:45:29 +00:00
peter
ab8edb8970 * more reference types support
* arraydef size returns elementsize, also for multiple indexing array
1999-08-13 21:28:36 +00:00
florian
ca53eee67e * renamed i386asm and i386base to cpuasm and cpubase 1999-08-04 00:22:34 +00:00
peter
b84eb33013 * suffix parsing for at&t fixed for things like movsbl
* string constants are now handle correctly and also allowed in
    constant expressions
1999-07-24 11:17:12 +00:00
peter
cd6dac1a03 * merged 1999-07-12 15:03:04 +00:00
peter
438c1e07b6 * merged 1999-06-28 16:02:29 +00:00
peter
ce0a8e3f26 * merged 1999-06-21 16:45:01 +00:00
peter
951f407307 * fixed some intel bugs with scale parsing
* end is now also a separator in many more cases
1999-06-08 11:51:58 +00:00
peter
ac686d0930 * fixed llabel with delete the first @ 1999-06-01 19:56:37 +00:00
peter
0b272f13c7 * removed oldasm
* plabel -> pasmlabel
  * -a switches to source writing automaticly
  * assembler readers OOPed
  * asmsymbol automaticly external
  * jumptables and other label fixes for asm readers
1999-05-27 19:43:55 +00:00
peter
bfed29ff8b * NEWLAB for label as symbol 1999-05-21 13:54:38 +00:00
peter
4841b4236c * updated messages 1999-05-05 22:21:47 +00:00
florian
78d13ec796 * changes to compile it with Delphi 4.0 1999-05-04 21:44:30 +00:00
peter
9c69c18d96 * merged nasm compiler 1999-05-01 13:48:37 +00:00
peter
9bbbfdecf9 * redesigned record offset parsing to support nested records
* normal compiler uses the redesigned createvarinstr()
1999-04-26 23:26:12 +00:00
pierre
66422d18ba * accept several previously refused syntax, still uncomplete 1999-04-19 09:44:26 +00:00
pierre
ca165f8343 * fix for bug0124 and better error position info 1999-04-18 00:32:22 +00:00
pierre
f58a4b485c * ifdef USE_OP3 released (changed into ifndef NO_OP3)
* SHRD and SHLD first operand (ATT syntax) can only be CL reg or immediate const
1999-04-17 22:16:55 +00:00
pierre
e39755387b + ifdef USE_OP3 code :
added all missing op_... constructors for tai386 needed
    for SHRD,SHLD and IMUL code in assembler readers
    (check in tests/tbs0123.pp)
1999-04-16 10:00:55 +00:00
peter
cc9df8d478 * first things to store the symbol/def number in the ppu 1999-04-14 09:14:44 +00:00
peter
6a802e85d7 * released valintern
+ deffile is now removed when compiling is finished
  * ^( compiles now correct
  + static directive
  * shrd fixed
1999-03-26 00:05:26 +00:00
peter
448a0d5046 * [reg-ofs] now correctly compiles to -ofs(reg) instead of ofs(reg)
* [reg*2] is now allowed
1999-03-02 22:51:08 +00:00
peter
c8f444b65f * ag386bin updates
+ coff writer
1999-02-25 21:02:16 +00:00