compinnr.inc 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  1. {
  2. $Id$
  3. This file is part of the Free Pascal run time library and compiler.
  4. Copyright (c) 1998-2002 by the Free Pascal development team
  5. Internal Function/Constant Evaluator numbers
  6. See the file COPYING.FPC, included in this distribution,
  7. for details about the copyright.
  8. This program is distributed in the hope that it will be useful,
  9. but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  11. **********************************************************************}
  12. const
  13. { Internal functions }
  14. in_lo_word = 1;
  15. in_hi_word = 2;
  16. in_lo_long = 3;
  17. in_hi_long = 4;
  18. in_ord_x = 5;
  19. in_length_x = 6;
  20. in_chr_byte = 7;
  21. in_write_x = 14;
  22. in_writeln_x = 15;
  23. in_read_x = 16;
  24. in_readln_x = 17;
  25. in_concat_x = 18;
  26. in_assigned_x = 19;
  27. in_str_x_string = 20;
  28. in_ofs_x = 21;
  29. in_sizeof_x = 22;
  30. in_typeof_x = 23;
  31. in_val_x = 24;
  32. in_reset_x = 25;
  33. in_rewrite_x = 26;
  34. in_low_x = 27;
  35. in_high_x = 28;
  36. in_seg_x = 29;
  37. in_pred_x = 30;
  38. in_succ_x = 31;
  39. in_reset_typedfile = 32;
  40. in_rewrite_typedfile = 33;
  41. in_settextbuf_file_x = 34;
  42. in_inc_x = 35;
  43. in_dec_x = 36;
  44. in_include_x_y = 37;
  45. in_exclude_x_y = 38;
  46. in_break = 39;
  47. in_continue = 40;
  48. in_assert_x_y = 41;
  49. in_addr_x = 42;
  50. in_typeinfo_x = 43;
  51. in_setlength_x = 44;
  52. in_finalize_x = 45;
  53. in_new_x = 46;
  54. in_dispose_x = 47;
  55. in_exit = 48;
  56. in_copy_x = 49;
  57. in_initialize_x = 50;
  58. { Internal constant functions }
  59. in_const_trunc = 100;
  60. in_const_round = 101;
  61. in_const_frac = 102;
  62. in_const_abs = 103;
  63. in_const_int = 104;
  64. in_const_sqr = 105;
  65. in_const_odd = 106;
  66. in_const_ptr = 107;
  67. in_const_swap_word = 108;
  68. in_const_swap_long = 109;
  69. in_const_pi = 110;
  70. in_const_sqrt = 111;
  71. in_const_arctan = 112;
  72. in_const_cos = 113;
  73. in_const_exp = 114;
  74. in_const_ln = 115;
  75. in_const_sin = 116;
  76. in_lo_qword = 117;
  77. in_hi_qword = 118;
  78. in_cos_extended = 119;
  79. in_pi = 121;
  80. in_abs_extended = 122;
  81. in_sqr_extended = 123;
  82. in_sqrt_extended = 124;
  83. in_arctan_extended = 125;
  84. in_ln_extended = 126;
  85. in_sin_extended = 127;
  86. in_const_swap_qword = 128;
  87. in_prefetch_var = 129;
  88. { MMX functions }
  89. { these contants are used by the mmx unit }
  90. { MMX }
  91. in_mmx_pcmpeqb = 200;
  92. in_mmx_pcmpeqw = 201;
  93. in_mmx_pcmpeqd = 202;
  94. in_mmx_pcmpgtb = 203;
  95. in_mmx_pcmpgtw = 204;
  96. in_mmx_pcmpgtd = 205;
  97. { 3DNow }
  98. { SSE }
  99. {
  100. $Log$
  101. Revision 1.12 2004-02-02 20:41:59 florian
  102. + added prefetch(const mem) support
  103. Revision 1.11 2003/11/29 16:19:54 peter
  104. * Initialize() added
  105. Revision 1.10 2002/11/18 18:35:01 peter
  106. * Swap(QWord) constant support
  107. Revision 1.9 2002/10/02 18:20:52 peter
  108. * Copy() is now internal syssym that calls compilerprocs
  109. Revision 1.8 2002/07/16 15:34:20 florian
  110. * exit is now a syssym instead of a keyword
  111. Revision 1.7 2002/05/18 13:34:06 peter
  112. * readded missing revisions
  113. Revision 1.6 2002/05/16 19:46:35 carl
  114. + defines.inc -> fpcdefs.inc to avoid conflicts if compiling by hand
  115. + try to fix temp allocation (still in ifdef)
  116. + generic constructor calls
  117. + start of tassembler / tmodulebase class cleanup
  118. }