* [PATCH] sim: microblaze: fix build failure after opcodes update
@ 2015-02-19 8:45 Mike Frysinger
0 siblings, 0 replies; only message in thread
From: Mike Frysinger @ 2015-02-19 8:45 UTC (permalink / raw)
To: gdb-patches; +Cc: palves, tromey
Commit 07774fccc3280323f43db9ed204f628503b34663 update the microblaze
opcodes table to avoid C++ collisions, but missed updating the sim.
That caused it to fail to build due to missing keywords.
Committed as obvious/build breakage fix.
---
sim/microblaze/ChangeLog | 4 ++++
sim/microblaze/microblaze.isa | 6 +++---
2 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/sim/microblaze/ChangeLog b/sim/microblaze/ChangeLog
index bed555f..c6b72b5 100644
--- a/sim/microblaze/ChangeLog
+++ b/sim/microblaze/ChangeLog
@@ -1,3 +1,7 @@
+2015-02-19 Mike Frysinger <vapier@gentoo.org>
+
+ * microblaze.isa: Add "microblaze_" prefix to "or", "and", and "xor".
+
2014-08-19 Alan Modra <amodra@gmail.com>
* configure: Regenerate.
diff --git a/sim/microblaze/microblaze.isa b/sim/microblaze/microblaze.isa
index 0856c2b..4ad5692 100644
--- a/sim/microblaze/microblaze.isa
+++ b/sim/microblaze/microblaze.isa
@@ -261,19 +261,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;
--
2.3.0
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2015-02-19 8:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-19 8:45 [PATCH] sim: microblaze: fix build failure after opcodes update Mike Frysinger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).