summaryrefslogtreecommitdiffstats
path: root/include/opcode
diff options
context:
space:
mode:
authorAndreas Krebbel <Andreas.Krebbel@de.ibm.com>2011-05-24 13:33:56 +0000
committerAndreas Krebbel <Andreas.Krebbel@de.ibm.com>2011-05-24 13:33:56 +0000
commitaadd41d8f1305738f78733dea9321bc578eb966e (patch)
tree245eb7a6050918d9788d5f6a77befae2ee2cb132 /include/opcode
parent0864dd31db882d82d57d0453c5ece4ef5af51818 (diff)
downloadcygnal-aadd41d8f1305738f78733dea9321bc578eb966e.tar.gz
cygnal-aadd41d8f1305738f78733dea9321bc578eb966e.tar.bz2
cygnal-aadd41d8f1305738f78733dea9321bc578eb966e.zip
2011-05-24 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
* config/tc-s390.c (md_gather_operands): Emit an error for odd numbered registers used as register pair operand. 2011-05-24 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> * opcode/s390.h: Add S390_OPCODE_REG_EVEN flag. 2011-05-24 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> * 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 <Andreas.Krebbel@de.ibm.com> * 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.
Diffstat (limited to 'include/opcode')
-rw-r--r--include/opcode/s390.h3
1 files changed, 3 insertions, 0 deletions
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 */