Browse Source

* Fixed wrong ModRM byte in movq encoding, causing regression of test/cg/tcalext6 in r17490.

git-svn-id: trunk@17493 -
sergei 14 years ago
parent
commit
1aa5c4ac0e
3 changed files with 3 additions and 3 deletions
  1. 1 1
      compiler/i386/i386tab.inc
  2. 1 1
      compiler/x86/x86ins.dat
  3. 1 1
      compiler/x86_64/x8664tab.inc

+ 1 - 1
compiler/i386/i386tab.inc

@@ -3189,7 +3189,7 @@
     opcode  : A_MOVQ;
     ops     : 2;
     optypes : (ot_xmmrm,ot_xmmreg,ot_none);
-    code    : #241#2#15#214#72;
+    code    : #241#2#15#214#65;
     flags   : if_willamette or if_sse2
   ),
   (

+ 1 - 1
compiler/x86/x86ins.dat

@@ -1077,7 +1077,7 @@ xmmreg,mem            \361\325\2\x0F\x6E\110          WILLAMETTE,SSE2
 mmxreg,mmxrm          \2\x0F\x6F\110                  PENT,MMX,SM
 mmxrm,mmxreg          \2\x0F\x7F\101                  PENT,MMX,SM
 xmmreg,xmmrm          \333\2\x0F\x7E\110              WILLAMETTE,SSE2
-xmmrm,xmmreg          \361\2\x0F\xD6\110              WILLAMETTE,SSE2
+xmmrm,xmmreg          \361\2\x0F\xD6\101              WILLAMETTE,SSE2
 xmmreg,reg64          \361\326\2\x0F\x6E\110          WILLAMETTE,SSE2
 reg64,xmmreg          \361\326\2\x0F\x7E\101          WILLAMETTE,SSE2
 

+ 1 - 1
compiler/x86_64/x8664tab.inc

@@ -3007,7 +3007,7 @@
     opcode  : A_MOVQ;
     ops     : 2;
     optypes : (ot_xmmrm,ot_xmmreg,ot_none);
-    code    : #241#2#15#214#72;
+    code    : #241#2#15#214#65;
     flags   : if_willamette or if_sse2
   ),
   (