innr.inc 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161
  1. {
  2. $Id$
  3. This file is part of the Free Pascal run time library and compiler.
  4. Copyright (c) 1999-2000 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. fpc_in_lo_word = 1;
  15. fpc_in_hi_word = 2;
  16. fpc_in_lo_long = 3;
  17. fpc_in_hi_long = 4;
  18. fpc_in_ord_x = 5;
  19. fpc_in_length_string = 6;
  20. fpc_in_chr_byte = 7;
  21. fpc_in_write_x = 14;
  22. fpc_in_writeln_x = 15;
  23. fpc_in_read_x = 16;
  24. fpc_in_readln_x = 17;
  25. fpc_in_concat_x = 18;
  26. fpc_in_assigned_x = 19;
  27. fpc_in_str_x_string = 20;
  28. fpc_in_ofs_x = 21;
  29. fpc_in_sizeof_x = 22;
  30. fpc_in_typeof_x = 23;
  31. fpc_in_val_x = 24;
  32. fpc_in_reset_x = 25;
  33. fpc_in_rewrite_x = 26;
  34. fpc_in_low_x = 27;
  35. fpc_in_high_x = 28;
  36. fpc_in_seg_x = 29;
  37. fpc_in_pred_x = 30;
  38. fpc_in_succ_x = 31;
  39. fpc_in_reset_typedfile = 32;
  40. fpc_in_rewrite_typedfile = 33;
  41. fpc_in_settextbuf_file_x = 34;
  42. fpc_in_inc_x = 35;
  43. fpc_in_dec_x = 36;
  44. fpc_in_include_x_y = 37;
  45. fpc_in_exclude_x_y = 38;
  46. fpc_in_break = 39;
  47. fpc_in_continue = 40;
  48. fpc_in_assert_x_y = 41;
  49. fpc_in_addr_x = 42;
  50. fpc_in_typeinfo_x = 43;
  51. fpc_in_setlength_x = 44;
  52. fpc_in_finalize_x = 45;
  53. fpc_in_new_x = 46;
  54. fpc_in_dispose_x = 47;
  55. fpc_in_exit = 48;
  56. fpc_in_copy_x = 49;
  57. fpc_in_initialize_x = 50;
  58. fpc_in_leave = 51; {macpas}
  59. fpc_in_cycle = 52; {macpas}
  60. {$ifdef INTERNCONSTINTF}
  61. { Internal constant functions }
  62. fpc_in_const_sqr = 100;
  63. fpc_in_const_abs = 101;
  64. fpc_in_const_odd = 102;
  65. fpc_in_const_ptr = 103;
  66. fpc_in_const_swap_word = 104;
  67. fpc_in_const_swap_long = 105;
  68. fpc_in_lo_qword = 106;
  69. fpc_in_hi_qword = 107;
  70. fpc_in_const_swap_qword = 108;
  71. fpc_in_prefetch_var = 109;
  72. { FPU functions }
  73. fpc_in_trunc_real = 120;
  74. fpc_in_round_real = 121;
  75. fpc_in_frac_real = 122;
  76. fpc_in_int_real = 123;
  77. fpc_in_exp_real = 124;
  78. fpc_in_cos_real = 125;
  79. fpc_in_pi_real = 126;
  80. fpc_in_abs_real = 127;
  81. fpc_in_sqr_real = 128;
  82. fpc_in_sqrt_real = 129;
  83. fpc_in_arctan_real = 130;
  84. fpc_in_ln_real = 131;
  85. fpc_in_sin_real = 132;
  86. {$else}
  87. { Internal constant functions }
  88. fpc_in_const_trunc = 100;
  89. fpc_in_const_round = 101;
  90. fpc_in_const_frac = 102;
  91. fpc_in_const_abs = 103;
  92. fpc_in_const_int = 104;
  93. fpc_in_const_sqr = 105;
  94. fpc_in_const_odd = 106;
  95. fpc_in_const_ptr = 107;
  96. fpc_in_const_swap_word = 108;
  97. fpc_in_const_swap_long = 109;
  98. fpc_in_const_pi = 110;
  99. fpc_in_const_sqrt = 111;
  100. fpc_in_const_arctan = 112;
  101. fpc_in_const_cos = 113;
  102. fpc_in_const_exp = 114;
  103. fpc_in_const_ln = 115;
  104. fpc_in_const_sin = 116;
  105. fpc_in_lo_qword = 117;
  106. fpc_in_hi_qword = 118;
  107. fpc_in_cos_real = 119;
  108. fpc_in_pi = 121;
  109. fpc_in_abs_real = 122;
  110. fpc_in_sqr_real = 123;
  111. fpc_in_sqrt_real = 124;
  112. fpc_in_arctan_real = 125;
  113. fpc_in_ln_real = 126;
  114. fpc_in_sin_real = 127;
  115. fpc_in_const_swap_qword = 128;
  116. fpc_in_prefetch_var = 129;
  117. {$endif}
  118. { MMX functions }
  119. { these contants are used by the mmx unit }
  120. { MMX }
  121. fpc_in_mmx_pcmpeqb = 200;
  122. fpc_in_mmx_pcmpeqw = 201;
  123. fpc_in_mmx_pcmpeqd = 202;
  124. fpc_in_mmx_pcmpgtb = 203;
  125. fpc_in_mmx_pcmpgtw = 204;
  126. fpc_in_mmx_pcmpgtd = 205;
  127. { 3DNow }
  128. { SSE }
  129. {
  130. $Log$
  131. Revision 1.9 2004-11-21 15:35:23 peter
  132. * float routines all use internproc and compilerproc helpers
  133. Revision 1.8 2004/11/17 22:19:04 peter
  134. internconst, internproc and some external declarations moved to interface
  135. Revision 1.7 2004/07/05 21:59:18 olle
  136. * updated according to compiler/compinnr.inc
  137. Revision 1.6 2004/02/02 20:39:27 florian
  138. + added prefetch(const mem)
  139. Revision 1.5 2002/11/18 18:33:51 peter
  140. * Swap(QWord) constant support
  141. Revision 1.4 2002/09/07 15:07:45 peter
  142. * old logs removed and tabs fixed
  143. }