]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - sim/microblaze/microblaze.isa
sim: microblaze: enable some basic trace points
[thirdparty/binutils-gdb.git] / sim / microblaze / microblaze.isa
index 2cf95ca9648904af0b9585ca1a002331d54e3835..1d96e8fc1c7c06b883e048010c9a104b9bbfbbd8 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright 2009, 2010, 2011 Free Software Foundation, Inc.
+/* Copyright 2009-2021 Free Software Foundation, Inc.
 
    This file is part of the Xilinx MicroBlaze simulator.
 
@@ -13,9 +13,7 @@
    GNU General Public License for more details.
 
    You should have received a copy of the GNU General Public License
-   along with this program; if not, write to the Free Software
-   Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
-   MA 02110-1301, USA.  */
+   along with this program; if not, see <http://www.gnu.org/licenses/>.  */
 
 /*
  *  MICROBLAZE Instruction Set Architecture
@@ -112,6 +110,7 @@ INSTRUCTION(addi,
            INST_TYPE_RD_RA_IMM,
             CARRY = C_calc(RA, IMM, 0);
            RD = RA + IMM;
+           TRACE_REGISTER (cpu, "r%i = r%i + %i", rd, ra, IMM);
            C_wr(CARRY);
            PC += INST_SIZE)
 
@@ -263,19 +262,19 @@ INSTRUCTION(ncput,
             INST_TYPE_R1_IMM12,
             PC += INST_SIZE) 
 
-INSTRUCTION(or,
+INSTRUCTION(microblaze_or,
            0x20,
             INST_TYPE_RD_RA_RB,
            RD = RA | RB;
            PC += INST_SIZE)
 
-INSTRUCTION(and,
+INSTRUCTION(microblaze_and,
            0x21,
             INST_TYPE_RD_RA_RB,
            RD = RA & RB;
            PC += INST_SIZE)
 
-INSTRUCTION(xor,
+INSTRUCTION(microblaze_xor,
            0x22,
             INST_TYPE_RD_RA_RB,
            RD = RA ^ RB;