cpuinfo.pas 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. {
  2. $Id$
  3. Copyright (c) 1998-2002 by the Free Pascal development team
  4. Basic Processor information for the PowerPC
  5. See the file COPYING.FPC, included in this distribution,
  6. for details about the copyright.
  7. This program is distributed in the hope that it will be useful,
  8. but WITHOUT ANY WARRANTY; without even the implied warranty of
  9. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  10. **********************************************************************}
  11. Unit CPUInfo;
  12. Interface
  13. uses
  14. globtype;
  15. Type
  16. bestreal = double;
  17. ts32real = single;
  18. ts64real = double;
  19. ts80real = extended;
  20. ts128real = extended;
  21. ts64comp = comp;
  22. pbestreal=^bestreal;
  23. { possible supported processors for this target }
  24. tprocessors =
  25. (no_processor,
  26. ppc601,
  27. ppc604
  28. );
  29. tfputype =
  30. (no_fpuprocessor,
  31. fpu_soft,
  32. fpu_standard
  33. );
  34. Const
  35. { calling conventions supported by the code generator }
  36. supported_calling_conventions : tproccalloptions = [
  37. pocall_internproc,
  38. pocall_compilerproc,
  39. pocall_inline,
  40. pocall_stdcall,
  41. { the difference to stdcall is only the name mangling }
  42. pocall_cdecl,
  43. { the difference to stdcall is only the name mangling }
  44. pocall_cppdecl
  45. ];
  46. processorsstr : array[tprocessors] of string[10] = ('',
  47. '603',
  48. '604'
  49. );
  50. fputypestr : array[tfputype] of string[8] = ('',
  51. 'SOFT',
  52. 'STANDARD'
  53. );
  54. Implementation
  55. end.
  56. {
  57. $Log$
  58. Revision 1.23 2005-03-25 21:55:43 jonas
  59. * removed some unused variables
  60. Revision 1.22 2005/02/14 17:13:10 peter
  61. * truncate log
  62. }