From 5e4b319cdce89a35764b749bf7ea33e7dfbddf0e Mon Sep 17 00:00:00 2001 From: Andreas Krebbel Date: Tue, 24 May 2011 13:33:57 +0000 Subject: 2011-05-24 Andreas Krebbel * config/tc-s390.c (md_gather_operands): Emit an error for odd numbered registers used as register pair operand. 2011-05-24 Andreas Krebbel * opcode/s390.h: Add S390_OPCODE_REG_EVEN flag. 2011-05-24 Andreas Krebbel * s390-opc.c: Add new instruction types marking register pair operands. * s390-opc.txt: Match instructions having register pair operands to the new instruction types. 2011-05-24 Andreas Krebbel * gas/s390/esa-g5.d: Fix register pair operands. * gas/s390/esa-g5.s: Likewise. * gas/s390/esa-z9-109.d: Likewise. * gas/s390/esa-z9-109.s: Likewise. * gas/s390/zarch-z196.d: Likewise. * gas/s390/zarch-z196.s: Likewise. * gas/s390/zarch-z9-109.d: Likewise. * gas/s390/zarch-z9-109.s: Likewise. * gas/s390/zarch-z900.d: Likewise. * gas/s390/zarch-z900.s: Likewise. * gas/s390/zarch-z990.d: Likewise. * gas/s390/zarch-z990.s: Likewise. --- include/opcode/s390.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/opcode/s390.h') diff --git a/include/opcode/s390.h b/include/opcode/s390.h index 2cbe5f5..122c60c 100644 --- a/include/opcode/s390.h +++ b/include/opcode/s390.h @@ -147,4 +147,7 @@ extern const struct s390_operand s390_operands[]; the instruction may be optional. */ #define S390_OPERAND_OPTIONAL 0x400 +/* The operand needs to be an even register number. */ +#define S390_OPERAND_REG_EVEN 0x800 + #endif /* S390_H */ -- cgit v1.1