projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[AArch64] Add ARMv8.3 pointer authentication key registers
[deliverable/binutils-gdb.git]
/
opcodes
/
cgen-dis.c
diff --git
a/opcodes/cgen-dis.c
b/opcodes/cgen-dis.c
index 77826830edbbe37c7773d16f037ee595bfcc7aa7..2d0f701c962b8e315f583a78a6932cc694abfc2b 100644
(file)
--- a/
opcodes/cgen-dis.c
+++ b/
opcodes/cgen-dis.c
@@
-1,6
+1,5
@@
/* CGEN generic disassembler support code.
/* CGEN generic disassembler support code.
- Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2007
- Free Software Foundation, Inc.
+ Copyright (C) 1996-2016 Free Software Foundation, Inc.
This file is part of libopcodes.
This file is part of libopcodes.
@@
-41,7
+40,8
@@
count_decodable_bits (const CGEN_INSN *insn)
{
unsigned mask = CGEN_INSN_BASE_MASK (insn);
int bits = 0;
{
unsigned mask = CGEN_INSN_BASE_MASK (insn);
int bits = 0;
- int m;
+ unsigned m;
+
for (m = 1; m != 0; m <<= 1)
{
if (mask & m)
for (m = 1; m != 0; m <<= 1)
{
if (mask & m)
@@
-50,7
+50,7
@@
count_decodable_bits (const CGEN_INSN *insn)
return bits;
}
return bits;
}
-/* Add an instruction to the hash chain. */
+/* Add an instruction to the hash chain. */
static void
add_insn_to_hash_chain (CGEN_INSN_LIST *hentbuf,
const CGEN_INSN *insn,
static void
add_insn_to_hash_chain (CGEN_INSN_LIST *hentbuf,
const CGEN_INSN *insn,
@@
-104,7
+104,7
@@
hash_insn_array (CGEN_CPU_DESC cd,
CGEN_INSN_LIST ** htable,
CGEN_INSN_LIST * hentbuf)
{
CGEN_INSN_LIST ** htable,
CGEN_INSN_LIST * hentbuf)
{
- int big_p = CGEN_CPU_ENDIAN (cd) == CGEN_ENDIAN_BIG;
+ int big_p = CGEN_CPU_
INSN_
ENDIAN (cd) == CGEN_ENDIAN_BIG;
int i;
for (i = count - 1; i >= 0; --i, ++hentbuf)
int i;
for (i = count - 1; i >= 0; --i, ++hentbuf)
@@
-142,7
+142,7
@@
hash_insn_list (CGEN_CPU_DESC cd,
CGEN_INSN_LIST **htable,
CGEN_INSN_LIST *hentbuf)
{
CGEN_INSN_LIST **htable,
CGEN_INSN_LIST *hentbuf)
{
- int big_p = CGEN_CPU_ENDIAN (cd) == CGEN_ENDIAN_BIG;
+ int big_p = CGEN_CPU_
INSN_
ENDIAN (cd) == CGEN_ENDIAN_BIG;
const CGEN_INSN_LIST *ilist;
for (ilist = insns; ilist != NULL; ilist = ilist->next, ++ hentbuf)
const CGEN_INSN_LIST *ilist;
for (ilist = insns; ilist != NULL; ilist = ilist->next, ++ hentbuf)
This page took
0.026407 seconds
and
4
git commands to generate.