projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
2013-09-04 Muhammad Bilal <mbilal@codesourcery.com>
[deliverable/binutils-gdb.git]
/
opcodes
/
d30v-dis.c
diff --git
a/opcodes/d30v-dis.c
b/opcodes/d30v-dis.c
index ec21305dc8c058c31330d85f98b82883c5408481..972d367ad75ae82a89554c13a17dc5e76be55325 100644
(file)
--- a/
opcodes/d30v-dis.c
+++ b/
opcodes/d30v-dis.c
@@
-1,5
+1,5
@@
/* Disassemble D30V instructions.
/* Disassemble D30V instructions.
- Copyright 1997, 1998, 2000, 2001, 2005, 2007
+ Copyright 1997, 1998, 2000, 2001, 2005, 2007
, 2012
Free Software Foundation, Inc.
This file is part of the GNU opcodes library.
Free Software Foundation, Inc.
This file is part of the GNU opcodes library.
@@
-19,8
+19,8
@@
Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
MA 02110-1301, USA. */
Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
MA 02110-1301, USA. */
-#include <stdio.h>
#include "sysdep.h"
#include "sysdep.h"
+#include <stdio.h>
#include "opcode/d30v.h"
#include "dis-asm.h"
#include "opintl.h"
#include "opcode/d30v.h"
#include "dis-asm.h"
#include "opintl.h"
@@
-34,7
+34,7
@@
static int
lookup_opcode (struct d30v_insn *insn, long num, int is_long)
{
static int
lookup_opcode (struct d30v_insn *insn, long num, int is_long)
{
- int i = 0, index;
+ int i = 0,
op_
index;
struct d30v_format *f;
struct d30v_opcode *op = (struct d30v_opcode *) d30v_opcode_table;
int op1 = (num >> 25) & 0x7;
struct d30v_format *f;
struct d30v_opcode *op = (struct d30v_opcode *) d30v_opcode_table;
int op1 = (num >> 25) & 0x7;
@@
-56,11
+56,11
@@
lookup_opcode (struct d30v_insn *insn, long num, int is_long)
while (op->op1 == op1 && op->op2 == op2)
{
/* Scan through all the formats for the opcode. */
while (op->op1 == op1 && op->op2 == op2)
{
/* Scan through all the formats for the opcode. */
- index = op->format[i++];
+
op_
index = op->format[i++];
do
{
do
{
- f = (struct d30v_format *) &d30v_format_table[index];
- while (f->form == index)
+ f = (struct d30v_format *) &d30v_format_table[
op_
index];
+ while (f->form ==
op_
index)
{
if ((!is_long || f->form >= LONG) && (f->modifier == mod))
{
{
if ((!is_long || f->form >= LONG) && (f->modifier == mod))
{
@@
-72,7
+72,7
@@
lookup_opcode (struct d30v_insn *insn, long num, int is_long)
if (insn->form)
break;
}
if (insn->form)
break;
}
- while ((index = op->format[i++]) != 0);
+ while ((
op_
index = op->format[i++]) != 0);
if (insn->form)
break;
op++;
if (insn->form)
break;
op++;
This page took
0.030304 seconds
and
4
git commands to generate.