diff options
author | Michael Eager <eager@eagercon.com> | 2012-11-14 16:45:01 +0000 |
---|---|---|
committer | Michael Eager <eager@eagercon.com> | 2012-11-14 16:45:01 +0000 |
commit | ed8ec0ec784e7e2fd114f4a14e2751add8942c9c (patch) | |
tree | 11fce8287dec411cd3ceba1644754e990171801d /gas | |
parent | e692c2171ead6cdd096e625d6e8a4dd33d8bffe2 (diff) | |
download | gdb-ed8ec0ec784e7e2fd114f4a14e2751add8942c9c.zip gdb-ed8ec0ec784e7e2fd114f4a14e2751add8942c9c.tar.gz gdb-ed8ec0ec784e7e2fd114f4a14e2751add8942c9c.tar.bz2 |
Add clz opcode.
opcodes/
* microblaze-opc.h: Increase MAX_OPCODES (op_code_struct): add clz insn
* microblaze-opcm.h (microblaze_instr): add clz
gas/testsuite/
* gas/microblaze/allinsn.s: Add clz insn
* gas/microblaze/allinsn.d: Likewise
Diffstat (limited to 'gas')
-rw-r--r-- | gas/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gas/testsuite/gas/microblaze/allinsn.d | 3 | ||||
-rw-r--r-- | gas/testsuite/gas/microblaze/allinsn.s | 4 |
3 files changed, 12 insertions, 0 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 9387158..c2a66c8 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2012-11-08 David Holsgrove <david.holsgrove@xilinx.com> + + * gas/microblaze/allinsn.s: Add clz insn + * gas/microblaze/allinsn.d: Likewise + 2012-11-14 David Holsgrove <david.holsgrove@xilinx.com> * gas/microblaze/allinsn.exp: New file - test newly added opcodes diff --git a/gas/testsuite/gas/microblaze/allinsn.d b/gas/testsuite/gas/microblaze/allinsn.d index 79064ba..c7854f1 100644 --- a/gas/testsuite/gas/microblaze/allinsn.d +++ b/gas/testsuite/gas/microblaze/allinsn.d @@ -22,3 +22,6 @@ Disassembly of section .text: 00000014 <swr>: 14: d8000200 swr r0, r0, r0 + +00000018 <clz>: + 18: 900000e0 clz r0, r0 diff --git a/gas/testsuite/gas/microblaze/allinsn.s b/gas/testsuite/gas/microblaze/allinsn.s index 8bb3ef5..0e4271d 100644 --- a/gas/testsuite/gas/microblaze/allinsn.s +++ b/gas/testsuite/gas/microblaze/allinsn.s @@ -24,4 +24,8 @@ shr: .global swr swr: swr r0,r0,r0 + .text + .global clz +clz: + clz r0,r0 |