Browse Source

* fixed reading of registers in intel assembler mode on x86-64

git-svn-id: trunk@3488 -
florian 19 years ago
parent
commit
f378d688d4
3 changed files with 127 additions and 130 deletions
  1. 2 4
      compiler/utils/mkx86reg.pp
  2. 1 2
      compiler/verbose.pas
  3. 124 124
      compiler/x86_64/r8664iri.inc

+ 2 - 4
compiler/utils/mkx86reg.pp

@@ -456,11 +456,9 @@ begin
    while 2*regcount_bsstart<regcount do
      regcount_bsstart:=regcount_bsstart*2;
    build_regnum_index;
+   build_int_regname_index;
    if not(x86_64) then
-     begin
-       build_int_regname_index;
-       build_nasm_regname_index;
-     end;
+     build_nasm_regname_index;
    build_std_regname_index;
    build_att_regname_index;
    write_inc_files;

+ 1 - 2
compiler/verbose.pas

@@ -508,7 +508,7 @@ var
                   end;
                 'E' :
                   begin
-                     v:=v or V_Error;
+                    v:=v or V_Error;
                     inc(status.errorcount);
                   end;
                 'O' :
@@ -836,4 +836,3 @@ finalization
   { Be sure to close the redirect files to flush all data }
   DoneRedirectFile;
 end.
-

+ 124 - 124
compiler/x86_64/r8664iri.inc

@@ -1,126 +1,126 @@
 { don't edit, this file is generated from x86reg.dat }
 0,
-0,
-0,
-0,
-0,
-0,
-0,
-0,
-0,
-0,
-0,
-0,
-0,
-0,
-0,
-0,
-0,
-0,
-0,
-0,
-0,
-0,
-0,
-0,
-0,
-0,
-0,
-0,
-0,
-0,
-0,
-0,
-0,
-0,
-0,
-0,
-0,
-0,
-0,
-0,
-0,
-0,
-0,
-0,
-0,
-0,
-0,
-0,
-0,
-0,
-0,
-0,
-0,
-0,
-0,
-0,
-0,
-0,
-0,
-0,
-0,
-0,
-0,
-0,
-0,
-0,
-0,
-0,
-0,
-0,
-0,
-0,
-0,
-0,
-0,
-0,
-0,
-0,
-0,
-0,
-0,
-0,
-0,
-0,
-0,
-0,
-0,
-0,
-0,
-0,
-0,
-0,
-0,
-0,
-0,
-0,
-0,
-0,
-0,
-0,
-0,
-0,
-0,
-0,
-0,
-0,
-0,
-0,
-0,
-0,
-0,
-0,
-0,
-0,
-0,
-0,
-0,
-0,
-0,
-0,
-0,
-0,
-0,
-0,
-0
+2,
+1,
+3,
+17,
+16,
+30,
+29,
+18,
+7,
+6,
+83,
+84,
+85,
+86,
+71,
+8,
+12,
+26,
+25,
+11,
+77,
+78,
+79,
+80,
+81,
+82,
+72,
+13,
+4,
+31,
+19,
+9,
+27,
+14,
+70,
+73,
+23,
+35,
+75,
+76,
+101,
+102,
+103,
+104,
+105,
+106,
+107,
+108,
+45,
+46,
+48,
+47,
+49,
+50,
+52,
+51,
+53,
+54,
+56,
+55,
+57,
+58,
+60,
+59,
+61,
+62,
+64,
+63,
+65,
+66,
+68,
+67,
+37,
+38,
+40,
+39,
+41,
+42,
+44,
+43,
+5,
+32,
+20,
+10,
+28,
+15,
+69,
+24,
+36,
+22,
+21,
+34,
+33,
+74,
+100,
+92,
+93,
+94,
+95,
+96,
+97,
+98,
+99,
+87,
+88,
+89,
+90,
+91,
+109,
+110,
+119,
+120,
+121,
+122,
+123,
+124,
+111,
+112,
+113,
+114,
+115,
+116,
+117,
+118