aboutsummaryrefslogtreecommitdiff
path: root/opcodes/or1k-ibld.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2014-06-12 12:04:06 +0930
committerAlan Modra <amodra@gmail.com>2014-06-12 12:30:57 +0930
commitc151b1c645a87136b61d9c16741b40f59694ed02 (patch)
tree705cb4f602514ef95b4701bbc9aabc8e4213e35b /opcodes/or1k-ibld.c
parent58dca1635dc11f329242e888b0b582907a44a73e (diff)
downloadgdb-c151b1c645a87136b61d9c16741b40f59694ed02.zip
gdb-c151b1c645a87136b61d9c16741b40f59694ed02.tar.gz
gdb-c151b1c645a87136b61d9c16741b40f59694ed02.tar.bz2
Whitespace fixes for cpu/or1k.opc
* or1k.opc: Whitespace fixes.
Diffstat (limited to 'opcodes/or1k-ibld.c')
-rw-r--r--opcodes/or1k-ibld.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/opcodes/or1k-ibld.c b/opcodes/or1k-ibld.c
index 0c506ae..d6dd748 100644
--- a/opcodes/or1k-ibld.c
+++ b/opcodes/or1k-ibld.c
@@ -3,8 +3,7 @@
THIS FILE IS MACHINE GENERATED WITH CGEN: Cpu tools GENerator.
- the resultant file is machine generated, cgen-ibld.in isn't
- Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2005, 2006, 2007,
- 2008, 2010 Free Software Foundation, Inc.
+ Copyright (C) 1996-2014 Free Software Foundation, Inc.
This file is part of libopcodes.
@@ -155,7 +154,7 @@ insert_normal (CGEN_CPU_DESC cd,
{
long minval = - (1L << (length - 1));
unsigned long maxval = mask;
-
+
if ((value > 0 && (unsigned long) value > maxval)
|| value < minval)
{
@@ -193,7 +192,7 @@ insert_normal (CGEN_CPU_DESC cd,
{
long minval = - (1L << (length - 1));
long maxval = (1L << (length - 1)) - 1;
-
+
if (value < minval || value > maxval)
{
sprintf
@@ -753,12 +752,12 @@ or1k_cgen_extract_operand (CGEN_CPU_DESC cd,
return length;
}
-cgen_insert_fn * const or1k_cgen_insert_handlers[] =
+cgen_insert_fn * const or1k_cgen_insert_handlers[] =
{
insert_insn_normal,
};
-cgen_extract_fn * const or1k_cgen_extract_handlers[] =
+cgen_extract_fn * const or1k_cgen_extract_handlers[] =
{
extract_insn_normal,
};