1
1
/* M32R opcode support. -*- C -*-
2
2
3
- Copyright 1998, 1999, 2000, 2001, 2004, 2005
3
+ Copyright 1998, 1999, 2000, 2001, 2004, 2005, 2007
4
4
Free Software Foundation, Inc.
5
5
6
6
Contributed by Red Hat Inc; developed under contract from
@@ -126,7 +126,7 @@ parse_hi16 (CGEN_CPU_DESC cd,
126
126
return MISSING_CLOSING_PARENTHESIS ;
127
127
++ * strp ;
128
128
if (errmsg == NULL
129
- && result_type == CGEN_PARSE_OPERAND_RESULT_NUMBER )
129
+ && result_type == CGEN_PARSE_OPERAND_RESULT_NUMBER )
130
130
{
131
131
value >>= 16 ;
132
132
value &= 0xffff ;
@@ -138,17 +138,17 @@ parse_hi16 (CGEN_CPU_DESC cd,
138
138
{
139
139
* strp += 6 ;
140
140
errmsg = cgen_parse_address (cd , strp , opindex , BFD_RELOC_M32R_HI16_SLO ,
141
- & result_type , & value );
141
+ & result_type , & value );
142
142
if (* * strp != ')' )
143
143
return MISSING_CLOSING_PARENTHESIS ;
144
144
++ * strp ;
145
145
if (errmsg == NULL
146
146
&& result_type == CGEN_PARSE_OPERAND_RESULT_NUMBER )
147
- {
148
- value += 0x8000 ;
149
- value >>= 16 ;
147
+ {
148
+ value += 0x8000 ;
149
+ value >>= 16 ;
150
150
value &= 0xffff ;
151
- }
151
+ }
152
152
* valuep = value ;
153
153
return errmsg ;
154
154
}
@@ -183,7 +183,7 @@ parse_slo16 (CGEN_CPU_DESC cd,
183
183
++ * strp ;
184
184
if (errmsg == NULL
185
185
&& result_type == CGEN_PARSE_OPERAND_RESULT_NUMBER )
186
- value = ((value & 0xffff ) ^ 0x8000 ) - 0x8000 ;
186
+ value = ((value & 0xffff ) ^ 0x8000 ) - 0x8000 ;
187
187
* valuep = value ;
188
188
return errmsg ;
189
189
}
@@ -247,7 +247,7 @@ parse_ulo16 (CGEN_CPU_DESC cd,
247
247
do \
248
248
{ \
249
249
if (CGEN_BOOL_ATTR ((attrs), CGEN_OPERAND_HASH_PREFIX)) \
250
- (*info->fprintf_func) (info->stream, "#"); \
250
+ (*info->fprintf_func) (info->stream, "#"); \
251
251
} \
252
252
while (0)
253
253
@@ -284,7 +284,7 @@ my_print_insn (CGEN_CPU_DESC cd,
284
284
/* Read the base part of the insn. */
285
285
286
286
status = (* info -> read_memory_func ) (pc - ((!big_p && (pc & 3 ) != 0 ) ? 2 : 0 ),
287
- buf , buflen , info );
287
+ buf , buflen , info );
288
288
if (status != 0 )
289
289
{
290
290
(* info -> memory_error_func ) (status , pc , info );
0 commit comments