diff options
author | Nick Clifton <nickc@redhat.com> | 2013-02-25 18:41:05 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2013-02-25 18:41:05 +0000 |
commit | ad74fe44c4f663cbe09f29a04426b58894cc3ae6 (patch) | |
tree | 9b25efc388c044cf752c827fcda641b2a1e552dc /opcodes | |
parent | e3d3110a9bc9d5d357400c773ac650bf6e58b594 (diff) | |
download | binutils-redhat-ad74fe44c4f663cbe09f29a04426b58894cc3ae6.tar.gz |
* rl78-decode.opc: Fix encoding of DIVWU insn.
* rl78-decode.c: Regenerate.
* config/rl78-parse.y: Fix encoding of DIVWU insn.
Diffstat (limited to 'opcodes')
-rw-r--r-- | opcodes/ChangeLog | 5 | ||||
-rw-r--r-- | opcodes/rl78-decode.c | 10 | ||||
-rw-r--r-- | opcodes/rl78-decode.opc | 7 |
3 files changed, 16 insertions, 6 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 3e75abf35d..fdb1ed618f 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,3 +1,8 @@ +2013-02-25 Kaushik Phatak <Kaushik.Phatak@kpitcummins.com> + + * rl78-decode.opc: Fix encoding of DIVWU insn. + * rl78-decode.c: Regenerate. + 2013-02-19 H.J. Lu <hongjiu.lu@intel.com> PR gas/15159 diff --git a/opcodes/rl78-decode.c b/opcodes/rl78-decode.c index fab973cb9b..46531f5b3f 100644 --- a/opcodes/rl78-decode.c +++ b/opcodes/rl78-decode.c @@ -1,6 +1,6 @@ #line 1 "rl78-decode.opc" /* -*- c -*- */ -/* Copyright 2012 Free Software Foundation, Inc. +/* Copyright 2012-2013 Free Software Foundation, Inc. Contributed by Red Hat. Written by DJ Delorie. @@ -5167,7 +5167,7 @@ rl78_decode_opcode (unsigned long pc AU, rl78->syntax = "divhu"; ID(divhu); break; case 0x04: - rl78->syntax = "divwu"; ID(divwu); + rl78->syntax = "divwu <old-encoding>"; ID(divwu); break; case 0x05: rl78->syntax = "machu"; ID(machu); @@ -5175,9 +5175,11 @@ rl78_decode_opcode (unsigned long pc AU, case 0x06: rl78->syntax = "mach"; ID(mach); break; + case 0x0b: + rl78->syntax = "divwu"; ID(divwu); + break; } - - } + } break; case 0xcf: { diff --git a/opcodes/rl78-decode.opc b/opcodes/rl78-decode.opc index 11bfc4e821..901e1b3930 100644 --- a/opcodes/rl78-decode.opc +++ b/opcodes/rl78-decode.opc @@ -1,5 +1,5 @@ /* -*- c -*- */ -/* Copyright 2012 Free Software Foundation, Inc. +/* Copyright 2012-2013 Free Software Foundation, Inc. Contributed by Red Hat. Written by DJ Delorie. @@ -762,7 +762,7 @@ rl78_decode_opcode (unsigned long pc AU, rl78->syntax = "divhu"; ID(divhu); break; case 0x04: - rl78->syntax = "divwu"; ID(divwu); + rl78->syntax = "divwu <old-encoding>" ID(divwu); break; case 0x05: rl78->syntax = "machu"; ID(machu); @@ -770,6 +770,9 @@ rl78_decode_opcode (unsigned long pc AU, case 0x06: rl78->syntax = "mach"; ID(mach); break; + case 0x0b: + rl78->syntax = "divwu"; ID(divwu); + break; } /** 1001 1110 mov %0, %1 */ |