This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

PATCH: Fix a typo in gas ia64 test


We have

        ptc.e   r1
        ld8     r1 = [r2]
        rfi

and we expect

   0:   0a 00 00 02 34 04       \[MMI\]       ptc\.e r1;;
   6:   00 00 00 60 00 00                   srlz\.d
   c:   00 00 04 00                         nop\.i 0x0
  10:   1d 00 00 00 18 10       \[MFB\]       ld8 r0=\[r0\]
  16:   00 00 00 02 00 00                   nop\.f 0x0
  1c:   00 00 20 00                         rfi;;
  
I checked in the following patch to fix it. The assembler fix is at

http://sources.redhat.com/ml/binutils/2004-05/msg00388.html


H.J.
-----
2004-05-20  H.J. Lu  <hongjiu.lu@intel.com>
 
        * gas/ia64/dv-srlz.d: Fix a typo.

--- gas/ia64/dv-srlz.d.auto     2003-09-25 21:07:48.000000000 -0700
+++ gas/ia64/dv-srlz.d  2004-05-20 15:23:55.880779908 -0700
@@ -10,7 +10,7 @@ Disassembly of section \.text:
    0:  0a 00 00 02 34 04       \[MMI\]       ptc\.e r1;;
    6:  00 00 00 60 00 00                   srlz\.d
    c:  00 00 04 00                         nop\.i 0x0
-  10:  1d 00 00 00 18 10       \[MFB\]       ld8 r0=\[r0\]
+  10:  1d 08 00 04 18 10       \[MFB\]       ld8 r1=\[r2\]
   16:  00 00 00 02 00 00                   nop\.f 0x0
   1c:  00 00 20 00                         rfi;;
   20:  0b 00 00 02 34 04       \[MMI\]       ptc\.e r1;;


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]