| @@ -267,27 +267,27 @@ struct powerpc_operand | | | @@ -267,27 +267,27 @@ struct powerpc_operand |
267 | /* One bit syntax flags. */ | | 267 | /* One bit syntax flags. */ |
268 | unsigned long flags; | | 268 | unsigned long flags; |
269 | }; | | 269 | }; |
270 | | | 270 | |
271 | /* Elements in the table are retrieved by indexing with values from | | 271 | /* Elements in the table are retrieved by indexing with values from |
272 | the operands field of the powerpc_opcodes table. */ | | 272 | the operands field of the powerpc_opcodes table. */ |
273 | | | 273 | |
274 | extern const struct powerpc_operand powerpc_operands[]; | | 274 | extern const struct powerpc_operand powerpc_operands[]; |
275 | extern const unsigned int num_powerpc_operands; | | 275 | extern const unsigned int num_powerpc_operands; |
276 | | | 276 | |
277 | /* Use with the shift field of a struct powerpc_operand to indicate | | 277 | /* Use with the shift field of a struct powerpc_operand to indicate |
278 | that BITM and SHIFT cannot be used to determine where the operand | | 278 | that BITM and SHIFT cannot be used to determine where the operand |
279 | goes in the insn. */ | | 279 | goes in the insn. */ |
280 | #define PPC_OPSHIFT_INV (-1 << 31) | | 280 | #define PPC_OPSHIFT_INV (-0x80000000) |
281 | | | 281 | |
282 | /* Values defined for the flags field of a struct powerpc_operand. */ | | 282 | /* Values defined for the flags field of a struct powerpc_operand. */ |
283 | | | 283 | |
284 | /* This operand takes signed values. */ | | 284 | /* This operand takes signed values. */ |
285 | #define PPC_OPERAND_SIGNED (0x1) | | 285 | #define PPC_OPERAND_SIGNED (0x1) |
286 | | | 286 | |
287 | /* This operand takes signed values, but also accepts a full positive | | 287 | /* This operand takes signed values, but also accepts a full positive |
288 | range of values when running in 32 bit mode. That is, if bits is | | 288 | range of values when running in 32 bit mode. That is, if bits is |
289 | 16, it takes any value from -0x8000 to 0xffff. In 64 bit mode, | | 289 | 16, it takes any value from -0x8000 to 0xffff. In 64 bit mode, |
290 | this flag is ignored. */ | | 290 | this flag is ignored. */ |
291 | #define PPC_OPERAND_SIGNOPT (0x2) | | 291 | #define PPC_OPERAND_SIGNOPT (0x2) |
292 | | | 292 | |
293 | /* This operand does not actually exist in the assembler input. This | | 293 | /* This operand does not actually exist in the assembler input. This |