aboutsummaryrefslogtreecommitdiff
path: root/opcodes/microblaze-opcm.h
diff options
context:
space:
mode:
authorMichael Eager <eager@eagercon.com>2012-11-21 17:54:11 +0000
committerMichael Eager <eager@eagercon.com>2012-11-21 17:54:11 +0000
commitabe9f67d45d38ee87b501da03a9b9778d31095fb (patch)
tree1c8994d0dcc2f7b674791ab5d41bccd707a4cd25 /opcodes/microblaze-opcm.h
parent0db4b3260cfc1818dba17ee53bb8e6ca6fdefecc (diff)
downloadgdb-abe9f67d45d38ee87b501da03a9b9778d31095fb.zip
gdb-abe9f67d45d38ee87b501da03a9b9778d31095fb.tar.gz
gdb-abe9f67d45d38ee87b501da03a9b9778d31095fb.tar.bz2
Add swap byte (swapb) and swap halfword (swaph) opcodes.
binutils/opcodes * microblaze-opc.h (op_code_struct): Add swapb, swaph Increase MAX_OPCODES. * microblaze-opcm.h (microblaze_instr): Likewise binutils/gas/testsuite * gas/microblaze/allinsn.s: Add swapb, swaph * gas/microblaze/allinsn.d: Likewise
Diffstat (limited to 'opcodes/microblaze-opcm.h')
-rw-r--r--opcodes/microblaze-opcm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/opcodes/microblaze-opcm.h b/opcodes/microblaze-opcm.h
index a2a42d0..124cdec 100644
--- a/opcodes/microblaze-opcm.h
+++ b/opcodes/microblaze-opcm.h
@@ -27,7 +27,7 @@ enum microblaze_instr
{
add, rsub, addc, rsubc, addk, rsubk, addkc, rsubkc, clz, cmp, cmpu,
addi, rsubi, addic, rsubic, addik, rsubik, addikc, rsubikc, mul,
- mulh, mulhu, mulhsu,
+ mulh, mulhu, mulhsu,swapb,swaph,
idiv, idivu, bsll, bsra, bsrl, get, put, nget, nput, cget, cput,
ncget, ncput, muli, bslli, bsrai, bsrli, mului, or, and, xor,
andn, pcmpbf, pcmpbc, pcmpeq, pcmpne, sra, src, srl, sext8, sext16,