aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-s390.c
diff options
context:
space:
mode:
authorAndreas Krebbel <Andreas.Krebbel@de.ibm.com>2010-09-27 13:36:48 +0000
committerAndreas Krebbel <Andreas.Krebbel@de.ibm.com>2010-09-27 13:36:48 +0000
commitd9aee5d7f73be87d56ac14e0179afbd0dd59cb75 (patch)
tree34d58d091d1872fb025bf501d13894b22c81fcf3 /gas/config/tc-s390.c
parent02cbf7671a314a663a5abbb606d2ee73cb795bb9 (diff)
downloadgdb-d9aee5d7f73be87d56ac14e0179afbd0dd59cb75.zip
gdb-d9aee5d7f73be87d56ac14e0179afbd0dd59cb75.tar.gz
gdb-d9aee5d7f73be87d56ac14e0179afbd0dd59cb75.tar.bz2
2010-09-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
* s390-mkopc.c (enum s390_opcde_cpu_val): Add S390_OPCODE_Z196. (main): Recognize the new CPU string. * s390-opc.c: Add new instruction formats and masks. * s390-opc.txt: Add new z196 instructions. 2010-09-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> * opcode/s390.h: Add S390_OPCODE_Z196 to enum s390_opcode_cpu_val. 2010-09-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> * config/tc-s390.c: (md_parse_option): New option -march=z196. * doc/c-s390.texi: Document new option. 2010-09-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> * gas/s390/s390.exp: Run the zarch-z196 test. * gas/s390/zarch-z196.d: Add new instructions. * gas/s390/zarch-z196.s: Likewise. * gas/s390/zarch-z9-109.d: Likewise. * gas/s390/zarch-z9-109.s: Likewise.
Diffstat (limited to 'gas/config/tc-s390.c')
-rw-r--r--gas/config/tc-s390.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gas/config/tc-s390.c b/gas/config/tc-s390.c
index 0b49312..cf9f8a1 100644
--- a/gas/config/tc-s390.c
+++ b/gas/config/tc-s390.c
@@ -399,6 +399,8 @@ md_parse_option (int c, char *arg)
current_cpu = S390_OPCODE_Z9_EC;
else if (strcmp (arg + 5, "z10") == 0)
current_cpu = S390_OPCODE_Z10;
+ else if (strcmp (arg + 5, "z196") == 0)
+ current_cpu = S390_OPCODE_Z196;
else
{
as_bad (_("invalid switch -m%s"), arg);