cpuinfo.pas 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. {
  2. $Id$
  3. Copyright (c) 1998-2002 by Florian Klaempfl
  4. Basic Processor information for the SPARC
  5. This program is free software; you can redistribute it and/or modify
  6. it under the terms of the GNU General Public License as published by
  7. the Free Software Foundation; either version 2 of the License, or
  8. (at your option) any later version.
  9. This program is distributed in the hope that it will be useful,
  10. but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. GNU General Public License for more details.
  13. You should have received a copy of the GNU General Public License
  14. along with this program; if not, write to the Free Software
  15. Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  16. ****************************************************************************
  17. }
  18. unit cpuinfo;
  19. {$i fpcdefs.inc}
  20. interface
  21. uses
  22. globtype;
  23. type
  24. bestreal = double;
  25. ts32real = single;
  26. ts64real = double;
  27. ts80real = extended;
  28. ts128real = type extended;
  29. ts64comp = type extended;
  30. pbestreal=^bestreal;
  31. { possible supported processors for this target }
  32. tprocessors=(no_processor,SPARC_V7,SPARC_V8,SPARC_V9);
  33. tfputype =(no_fpu,fpu_soft,fpu_hard);
  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. pocall_cdecl,
  42. pocall_cppdecl
  43. ];
  44. processorsstr : array[tprocessors] of string[10] = ('',
  45. 'SPARC V7',
  46. 'SPARC V8',
  47. 'SPARC V9'
  48. );
  49. fputypestr : array[tfputype] of string[6] = ('',
  50. 'SOFT',
  51. 'HARD'
  52. );
  53. implementation
  54. end.
  55. {
  56. $Log$
  57. Revision 1.21 2005-02-14 17:13:10 peter
  58. * truncate log
  59. }