From aadd41d8f1305738f78733dea9321bc578eb966e Mon Sep 17 00:00:00 2001 From: Andreas Krebbel Date: Tue, 24 May 2011 13:33:56 +0000 Subject: [PATCH] 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/ChangeLog | 4 ++++ include/opcode/s390.h | 3 +++ 2 files changed, 7 insertions(+) diff --git a/include/ChangeLog b/include/ChangeLog index 7fd79a010..5fd774f85 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,7 @@ +2011-05-24 Andreas Krebbel + + * opcode/s390.h: Add S390_OPCODE_REG_EVEN flag. + 2011-05-17 Alan Modra PR ld/12760 diff --git a/include/opcode/s390.h b/include/opcode/s390.h index 2cbe5f53d..122c60c62 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 */ -- 2.43.5