Commit Graph

14 Commits

Author SHA1 Message Date
Jonas Maebe
8349cde7db * changed byte/word/longbool to be Delphi-compatible (+ similar changes
for qwordbool) + test:
    o assigning true to such a variable now sets them to $ff/$ffff/$ffffffff
    o these types are now all signed
    o converting an integer type to a byte/word/long/qwordbool using an
      explicit type cast keeps the integer's original value stored in the
      bool, instead of forcing it to ord(true)/ord(false)
    (mantis #10233 and #10613, implemented for all architectures, testsuite
     tested for ppc32, sparc and x86)
  * fixed some places where the rtl depended on longbool(true) having the
    value 1
  * extended several boolean tests (and adapted some to no longer assume
    that byte/word/long/qwordbool(true)=1)
  + support for converting to qwordbool in second_int_to_bool for x86, ppc
    and sparc

git-svn-id: trunk@9898 -
2008-01-24 21:30:55 +00:00
michael
93ba0409be + Removed HASCOMPILERPROC define
git-svn-id: trunk@265 -
2005-06-07 21:41:02 +00:00
peter
4ace790492 * remove $Log
git-svn-id: trunk@231 -
2005-06-07 09:47:55 +00:00
fpc
790a4fe2d3 * log and id tags removed
git-svn-id: trunk@42 -
2005-05-21 09:42:41 +00:00
fpc
50778076c3 initial import
git-svn-id: trunk@1 -
2005-05-16 18:37:41 +00:00
Jonas Maebe
8306e44f45 * mini scheduling optimization 2005-03-11 12:41:41 +00:00
Jonas Maebe
4b6030beb9 * fixed overflow detection, + some small optimizations 2005-02-19 14:16:02 +00:00
peter
e417e34496 * truncate log 2005-02-14 17:13:06 +00:00
peter
4d8460ec2f * float routines all use internproc and compilerproc helpers 2004-11-21 15:35:23 +00:00
Jonas Maebe
fb693982b1 + "nostackframe" modifier, because the automatic detection in the
compiler to determine that a stack frame is not needed no longer works
2004-10-19 18:51:15 +00:00
Jonas Maebe
9696691c8c * fixed overflow checking for qword multiplication 2004-05-29 21:35:54 +00:00
Jonas Maebe
ec84cc8788 + assembler FPC_MUL_QWORD routine 2004-01-12 21:35:51 +00:00
Jonas Maebe
0acd012715 + ppc implemetnation of fpc_mod/div_qword (from ppc compiler writers guide) 2004-01-12 18:03:30 +00:00
peter
abbc3fa755 * moved int64 asm code to int64p.inc
* save ebx,esi
2003-09-14 11:34:13 +00:00