Skip to content

Commit a5da764

Browse files
committed
* m32r.opc: Formatting.
1 parent a6d04ec commit a5da764

File tree

2 files changed

+14
-10
lines changed

2 files changed

+14
-10
lines changed

cpu/ChangeLog

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
2007-03-08 Alan Modra <[email protected]>
2+
3+
* m32r.opc: Formatting.
4+
15
2006-05-22 Nick Clifton <[email protected]>
26

37
* iq2000.cpu: Fix include paths for iq2000m.cpu and iq10.cpu.

cpu/m32r.opc

+10-10
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* M32R opcode support. -*- C -*-
22
3-
Copyright 1998, 1999, 2000, 2001, 2004, 2005
3+
Copyright 1998, 1999, 2000, 2001, 2004, 2005, 2007
44
Free Software Foundation, Inc.
55
66
Contributed by Red Hat Inc; developed under contract from
@@ -126,7 +126,7 @@ parse_hi16 (CGEN_CPU_DESC cd,
126126
return MISSING_CLOSING_PARENTHESIS;
127127
++*strp;
128128
if (errmsg == NULL
129-
&& result_type == CGEN_PARSE_OPERAND_RESULT_NUMBER)
129+
&& result_type == CGEN_PARSE_OPERAND_RESULT_NUMBER)
130130
{
131131
value >>= 16;
132132
value &= 0xffff;
@@ -138,17 +138,17 @@ parse_hi16 (CGEN_CPU_DESC cd,
138138
{
139139
*strp += 6;
140140
errmsg = cgen_parse_address (cd, strp, opindex, BFD_RELOC_M32R_HI16_SLO,
141-
& result_type, & value);
141+
& result_type, & value);
142142
if (**strp != ')')
143143
return MISSING_CLOSING_PARENTHESIS;
144144
++*strp;
145145
if (errmsg == NULL
146146
&& result_type == CGEN_PARSE_OPERAND_RESULT_NUMBER)
147-
{
148-
value += 0x8000;
149-
value >>= 16;
147+
{
148+
value += 0x8000;
149+
value >>= 16;
150150
value &= 0xffff;
151-
}
151+
}
152152
*valuep = value;
153153
return errmsg;
154154
}
@@ -183,7 +183,7 @@ parse_slo16 (CGEN_CPU_DESC cd,
183183
++*strp;
184184
if (errmsg == NULL
185185
&& result_type == CGEN_PARSE_OPERAND_RESULT_NUMBER)
186-
value = ((value & 0xffff) ^ 0x8000) - 0x8000;
186+
value = ((value & 0xffff) ^ 0x8000) - 0x8000;
187187
*valuep = value;
188188
return errmsg;
189189
}
@@ -247,7 +247,7 @@ parse_ulo16 (CGEN_CPU_DESC cd,
247247
do \
248248
{ \
249249
if (CGEN_BOOL_ATTR ((attrs), CGEN_OPERAND_HASH_PREFIX)) \
250-
(*info->fprintf_func) (info->stream, "#"); \
250+
(*info->fprintf_func) (info->stream, "#"); \
251251
} \
252252
while (0)
253253

@@ -284,7 +284,7 @@ my_print_insn (CGEN_CPU_DESC cd,
284284
/* Read the base part of the insn. */
285285

286286
status = (*info->read_memory_func) (pc - ((!big_p && (pc & 3) != 0) ? 2 : 0),
287-
buf, buflen, info);
287+
buf, buflen, info);
288288
if (status != 0)
289289
{
290290
(*info->memory_error_func) (status, pc, info);

0 commit comments

Comments
 (0)