Browse Source

backport avxtestgenerator from trunk

git-svn-id: branches/tg74/fixes_3_2@48114 -
tg74 4 years ago
parent
commit
1b5737f8ae
3 changed files with 374 additions and 490 deletions
  1. 6 2
      tests/utils/avx/asmtestgenerator.pas
  2. 368 487
      tests/utils/avx/avxopcodes.pas
  3. 0 1
      tests/utils/avx/avxtestgenerator.pp

+ 6 - 2
tests/utils/avx/asmtestgenerator.pas

@@ -2050,7 +2050,8 @@ begin
               end
               else MemRegBaseIndexCombi(sl_prefix, '', FReg32Base, FReg32Index, Item.Values);
             end
-            else if AnsiSameText(sl_Operand, 'IMM8') then
+            else if AnsiSameText(sl_Operand, 'IMM8') or
+                    AnsiSameText(sl_Operand, 'IMM') then
             begin
               Item.OpNumber := il_Op;
               Item.OpTyp    := otIMM8;
@@ -3953,11 +3954,13 @@ begin
       b512 := false;
 
       //TG TODO delete
-      if instab[i].opcode = a_vtestps then
+      if instab[i].opcode = a_blendpd then
       begin
         b512 := b512;
       end;
 
+
+
       for j := 0 to length(InsTab[i].code) - 1 do
       begin
         case ord(InsTab[i].code[j]) of
@@ -4033,6 +4036,7 @@ begin
                OT_YMEM64: sOperands := sOperands + 'YMEM64,';
 
                  OT_IMM8: sOperands := sOperands + 'IMM8,';
+                 OT_IMMEDIATE: sOperands := sOperands + 'IMM,';
                  OT_NONE: sOperands := sOperands + ',';
 
 

File diff suppressed because it is too large
+ 368 - 487
tests/utils/avx/avxopcodes.pas


+ 0 - 1
tests/utils/avx/avxtestgenerator.pp

@@ -30,7 +30,6 @@ uses
 begin
   with TAVXTestGenerator.Create do
   try
-    
 
     with TOptions.Create do
     try

Some files were not shown because too many files changed in this diff