Commit Graph

15 Commits

Author SHA1 Message Date
pierre
c234eae68a * cause bits must be clear as flags to avoid a second FPU exception
git-svn-id: trunk@21844 -
2012-07-10 12:31:46 +00:00
pierre
ba4122fda8 * Add fpu_XXX constants and use them for fpc_cpuinit procedure
git-svn-id: trunk@21712 -
2012-06-26 16:20:59 +00:00
pierre
48597c64ee * get_caller_stackinfo: set framebp to nil if addr is nil
git-svn-id: trunk@21708 -
2012-06-25 22:43:08 +00:00
pierre
f340ef87e3 * get_addr function renamed to get_pc_addr
+ get_caller_stackinfo procedure added.

git-svn-id: trunk@21707 -
2012-06-25 22:17:49 +00:00
pierre
8469741700 + Added additional addr pointer parameter to
get_caller_frame, get_caller_addr and dump_stack
  with default NIL value to systemh.inc.
  + Added new get_addr function.
  system.inc: Use get_addr and get_frame to call
  HandleErrorAddrFrame instead of HandleErrorFrame
  in several error functions.
  Modify dump_stack to use frame and addr parameters.
  Provide a dummy get_addr function returning nil.
  i386/i386.inc, x86_64./x86_64.inc: Provide real
  implementation of get_addr function.

git-svn-id: trunk@21697 -
2012-06-24 21:22:09 +00:00
pierre
5f656be053 * Fix last commit, rame is in register
git-svn-id: trunk@21673 -
2012-06-21 11:59:30 +00:00
pierre
7608182c10 * Frame is in register s8
git-svn-id: trunk@21668 -
2012-06-21 11:48:42 +00:00
pierre
495a6cfebf Merge of rev21558-59-60 by Foxsen
21558:
use inherited first_int_to_real to avoid mixing doubles and singles
it fixes the failure of test/cg/taddcurr.pp

21559:
set default round mode to round nearest instead of round to zero
it fix test/cg/taddcurr.pp

21560:
enable softfpu, default first_int_to_real depends on int64_to_float64/32 etc.
It is needed by the patch of r21558

git-svn-id: trunk@21601 -
2012-06-13 22:39:00 +00:00
pierre
8259e69539 Non thread safe implementation of InterlockedXXX functions
git-svn-id: trunk@21526 -
2012-06-07 23:00:22 +00:00
florian
6b8f452804 * get_frame_*/get_caller_* does not work yet on MIPS
git-svn-id: trunk@21239 -
2012-05-05 18:35:22 +00:00
florian
2c5a2857e5 * Move for MIPS is broken, commented out for now
git-svn-id: trunk@21123 -
2012-04-29 21:31:46 +00:00
pierre
9576664f20 + Add ifdef USE_MIPS_STK2_ASM to disable assmebler code using alterante stack with r23 by default
git-svn-id: trunk@20377 -
2012-02-19 19:00:21 +00:00
florian
58fbd386a3 * mips system unit compiles
git-svn-id: trunk@20276 -
2012-02-07 19:39:08 +00:00
florian
a2009af76e * updated MIPS code so the compiler gets through the system unit
git-svn-id: trunk@20259 -
2012-02-05 08:14:46 +00:00
florian
8b339ded7a * started to fix the mips(el) linux rtl
git-svn-id: trunk@20255 -
2012-02-04 21:25:53 +00:00