<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>change log for gcc-testing (2010-05-19)</title>
</head>
<body text='#000000' bgcolor='#ffffff'>
<a name='cs1'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
 <font color='#bb2222'><strong>joel</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2010-05-19 Joel Sherrill <joel.sherrilL@OARcorp.com>

        * Target_i386.cc, Target_i386.h: Spacing.
        * Target_m68k.cc, Target_m68k.h, Target_powerpc.cc: Branch
        information now correct on m68k and PowerPC.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//gcc-testing/rtems-coverage/ChangeLog.diff?r1=text&tr1=1.266&r2=text&tr2=1.267&diff_format=h">M</a></td><td width='1%'>1.267</td><td width='100%'>rtems-coverage/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//gcc-testing/rtems-coverage/Target_i386.h.diff?r1=text&tr1=1.4&r2=text&tr2=1.5&diff_format=h">M</a></td><td width='1%'>1.5</td><td width='100%'>rtems-coverage/Target_i386.h</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//gcc-testing/rtems-coverage/Target_i386.cc.diff?r1=text&tr1=1.4&r2=text&tr2=1.5&diff_format=h">M</a></td><td width='1%'>1.5</td><td width='100%'>rtems-coverage/Target_i386.cc</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//gcc-testing/rtems-coverage/Target_m68k.h.diff?r1=text&tr1=1.2&r2=text&tr2=1.3&diff_format=h">M</a></td><td width='1%'>1.3</td><td width='100%'>rtems-coverage/Target_m68k.h</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//gcc-testing/rtems-coverage/Target_m68k.cc.diff?r1=text&tr1=1.2&r2=text&tr2=1.3&diff_format=h">M</a></td><td width='1%'>1.3</td><td width='100%'>rtems-coverage/Target_m68k.cc</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//gcc-testing/rtems-coverage/Target_powerpc.cc.diff?r1=text&tr1=1.3&r2=text&tr2=1.4&diff_format=h">M</a></td><td width='1%'>1.4</td><td width='100%'>rtems-coverage/Target_powerpc.cc</td></tr>
</table>
<pre>
<font color='#006600'>diff -u gcc-testing/rtems-coverage/ChangeLog:1.266 gcc-testing/rtems-coverage/ChangeLog:1.267
--- gcc-testing/rtems-coverage/ChangeLog:1.266  Wed May 19 10:03:43 2010
+++ gcc-testing/rtems-coverage/ChangeLog        Wed May 19 12:06:28 2010
</font><font color='#997700'>@@ -1,3 +1,9 @@
</font><font color='#000088'>+2010-05-19    Joel Sherrill <joel.sherrilL@OARcorp.com>
+
+       * Target_i386.cc, Target_i386.h: Spacing.
+       * Target_m68k.cc, Target_m68k.h, Target_powerpc.cc: Branch
+       information now correct on m68k and PowerPC.
+
</font> 2010-05-19        Jennifer Averett <Jennifer.Averett@OARcorp.com>
 
        * Target_powerpc.cc: Added missing branch instructions to table of

<font color='#006600'>diff -u gcc-testing/rtems-coverage/Target_i386.h:1.4 gcc-testing/rtems-coverage/Target_i386.h:1.5
--- gcc-testing/rtems-coverage/Target_i386.h:1.4        Mon May 17 14:32:14 2010
+++ gcc-testing/rtems-coverage/Target_i386.h    Wed May 19 12:06:29 2010
</font><font color='#997700'>@@ -51,18 +51,14 @@
</font>       int&              size
     );
 
<font color='#880000'>-    /*!
-     *  This method returns the bit set by Qemu in the trace record
-     *  when a branch is taken.
-     */
</font><font color='#000088'>+    /* Documentation inherited from base class */
</font>     virtual uint8_t qemuTakenBit(void);
 
<font color='#880000'>-    /*!
-     *  This method returns the bit set by Qemu in the trace record
-     *  when a branch is taken.
-     */
</font><font color='#000088'>+    /* Documentation inherited from base class */
</font>     virtual uint8_t qemuNotTakenBit(void);
<font color='#000088'>+
</font>   private:
<font color='#000088'>+
</font>   };
 
   //!

<font color='#006600'>diff -u gcc-testing/rtems-coverage/Target_i386.cc:1.4 gcc-testing/rtems-coverage/Target_i386.cc:1.5
--- gcc-testing/rtems-coverage/Target_i386.cc:1.4       Mon May 17 14:32:14 2010
+++ gcc-testing/rtems-coverage/Target_i386.cc   Wed May 19 12:06:29 2010
</font><font color='#997700'>@@ -105,7 +105,6 @@
</font>     return TRACE_OP_BR0;
   }
 
<font color='#880000'>-
</font>   TargetBase *Target_i386_Constructor(
     std::string          targetName
   )

<font color='#006600'>diff -u gcc-testing/rtems-coverage/Target_m68k.h:1.2 gcc-testing/rtems-coverage/Target_m68k.h:1.3
--- gcc-testing/rtems-coverage/Target_m68k.h:1.2        Wed May 19 09:47:12 2010
+++ gcc-testing/rtems-coverage/Target_m68k.h    Wed May 19 12:06:29 2010
</font><font color='#997700'>@@ -59,6 +59,12 @@
</font>       const char* const instruction
     );
 
<font color='#000088'>+    /* Documentation inherited from base class */
+    virtual uint8_t qemuTakenBit(void);
+
+    /* Documentation inherited from base class */
+    virtual uint8_t qemuNotTakenBit(void);
+
</font>   private:
 
   };

<font color='#006600'>diff -u gcc-testing/rtems-coverage/Target_m68k.cc:1.2 gcc-testing/rtems-coverage/Target_m68k.cc:1.3
--- gcc-testing/rtems-coverage/Target_m68k.cc:1.2       Fri Apr 30 07:43:14 2010
+++ gcc-testing/rtems-coverage/Target_m68k.cc   Wed May 19 12:06:29 2010
</font><font color='#997700'>@@ -9,6 +9,7 @@
</font>  *  functions supporting target unique functionallity.
  */
 #include "Target_m68k.h"
<font color='#000088'>+#include "qemu-traces.h"
</font> #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
<font color='#997700'>@@ -20,21 +21,53 @@
</font>     TargetBase( targetName )
   {
     branchInstructions.push_back("bcc");
<font color='#000088'>+    branchInstructions.push_back("bccs");
+    branchInstructions.push_back("bccl");
</font>     branchInstructions.push_back("bcs");
<font color='#000088'>+    branchInstructions.push_back("bcss");
+    branchInstructions.push_back("bcsl");
</font>     branchInstructions.push_back("beq");
<font color='#000088'>+    branchInstructions.push_back("beqs");
+    branchInstructions.push_back("beql");
</font>     branchInstructions.push_back("bge");
<font color='#000088'>+    branchInstructions.push_back("bges");
+    branchInstructions.push_back("bgel");
</font>     branchInstructions.push_back("bgt");
<font color='#000088'>+    branchInstructions.push_back("bgts");
+    branchInstructions.push_back("bgtl");
</font>     branchInstructions.push_back("bhi");
<font color='#000088'>+    branchInstructions.push_back("bhis");
+    branchInstructions.push_back("bhil");
</font>     branchInstructions.push_back("bhs");
<font color='#000088'>+    branchInstructions.push_back("bhss");
+    branchInstructions.push_back("bhsl");
</font>     branchInstructions.push_back("ble");
<font color='#000088'>+    branchInstructions.push_back("bles");
+    branchInstructions.push_back("blel");
</font>     branchInstructions.push_back("blo");
<font color='#000088'>+    branchInstructions.push_back("blos");
+    branchInstructions.push_back("blol");
</font>     branchInstructions.push_back("bls");
<font color='#000088'>+    branchInstructions.push_back("blss");
+    branchInstructions.push_back("blsl");
</font>     branchInstructions.push_back("blt");
<font color='#000088'>+    branchInstructions.push_back("blts");
+    branchInstructions.push_back("bltl");
</font>     branchInstructions.push_back("bmi");
<font color='#000088'>+    branchInstructions.push_back("bmis");
+    branchInstructions.push_back("bmil");
</font>     branchInstructions.push_back("bne");
<font color='#000088'>+    branchInstructions.push_back("bnes");
+    branchInstructions.push_back("bnel");
</font>     branchInstructions.push_back("bpl");
<font color='#000088'>+    branchInstructions.push_back("bpls");
+    branchInstructions.push_back("bpll");
</font>     branchInstructions.push_back("bvc");
<font color='#000088'>+    branchInstructions.push_back("bvcs");
+    branchInstructions.push_back("bvcl");
</font>     branchInstructions.push_back("bvs");
<font color='#000088'>+    branchInstructions.push_back("bvss");
+    branchInstructions.push_back("bvsl");
</font>   
     branchInstructions.sort();
 
<font color='#997700'>@@ -70,10 +103,23 @@
</font>       const char* const instruction
   )
   {
<font color='#880000'>-    fprintf( stderr, "DETERMINE BRANCH INSTRUCTIONS FOR THIS ARCHITECTURE! -- fix me\n" );
</font><font color='#000088'>+    fprintf(
+      stderr,
+      "DETERMINE BRANCH INSTRUCTIONS FOR THIS ARCHITECTURE! -- fix me\n"
+    );
</font>     exit( -1 );<span style="background-color: #FF0000">    </span>
   }
 
<font color='#000088'>+  uint8_t Target_m68k::qemuTakenBit(void)
+  {
+    return TRACE_OP_BR1;
+  }
+
+  uint8_t Target_m68k::qemuNotTakenBit(void)
+  {
+    return TRACE_OP_BR0;
+  }
+
</font>   TargetBase *Target_m68k_Constructor(
     std::string          targetName
   )

<font color='#006600'>diff -u gcc-testing/rtems-coverage/Target_powerpc.cc:1.3 gcc-testing/rtems-coverage/Target_powerpc.cc:1.4
--- gcc-testing/rtems-coverage/Target_powerpc.cc:1.3    Wed May 19 10:03:43 2010
+++ gcc-testing/rtems-coverage/Target_powerpc.cc        Wed May 19 12:06:29 2010
</font><font color='#997700'>@@ -19,9 +19,27 @@
</font>   Target_powerpc::Target_powerpc( std::string targetName ):
     TargetBase( targetName )
   {
<font color='#880000'>-    branchInstructions.push_back("b");
-    branchInstructions.push_back("ba");
-    branchInstructions.push_back("bl");
</font><font color='#000088'>+    // bl is actually branch and link which is a call
+    // branchInstructions.push_back("b");
+    // branchInstructions.push_back("ba");
+    branchInstructions.push_back("beq");
+    branchInstructions.push_back("beq+");
+    branchInstructions.push_back("beq-");
+    branchInstructions.push_back("bne");
+    branchInstructions.push_back("bne+");
+    branchInstructions.push_back("bne-");
+    branchInstructions.push_back("bge");
+    branchInstructions.push_back("bge+");
+    branchInstructions.push_back("bge-");
+    branchInstructions.push_back("bgt");
+    branchInstructions.push_back("bgt+");
+    branchInstructions.push_back("bgt-");
+    branchInstructions.push_back("ble");
+    branchInstructions.push_back("ble+");
+    branchInstructions.push_back("ble-");
+    branchInstructions.push_back("blt");
+    branchInstructions.push_back("blt+");
+    branchInstructions.push_back("blt-");
</font>     branchInstructions.push_back("bla");
     branchInstructions.push_back("bc");
     branchInstructions.push_back("bca");
</pre>
<p> </p>

<p>--<br />
<small>Generated by <a href="http://www.codewiz.org/projects/index.html#loginfo">Deluxe Loginfo</a> 2.122 by Bernardo Innocenti <bernie@develer.com></small></p>
</body>
</html>