diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2006-02-23 00:17:24 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2006-02-23 00:17:24 +0000 |
commit | 7f3dfb9cf74da197cfe71fb0490a90613269ca0f (patch) | |
tree | f2af7419484d4d0b4902b54a49dcad4bc987336b /opcodes/ia64-gen.c | |
parent | 4ba4b473b94f95f73a159131d258e71a0d457300 (diff) | |
download | gdb-7f3dfb9cf74da197cfe71fb0490a90613269ca0f.zip gdb-7f3dfb9cf74da197cfe71fb0490a90613269ca0f.tar.gz gdb-7f3dfb9cf74da197cfe71fb0490a90613269ca0f.tar.bz2 |
gas/
2006-02-22 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-ia64.c (specify_resource): Add the rule 17 from
SDM 2.2.
gas/testsuite/
2006-02-22 H.J. Lu <hongjiu.lu@intel.com>
* gas/ia64/dv-raw-err.s: Add check for vmsw.0.
* gas/ia64/dv-raw-err.l: Updated.
* gas/ia64/opc-b.s: Add vmsw.0 and vmsw.1.
* gas/ia64/opc-b.d: Updated.
opcodes/
2006-02-22 H.J. Lu <hongjiu.lu@intel.com>
* ia64-gen.c (lookup_regindex): Handle ".vm".
(print_dependency_table): Handle '\"'.
* ia64-ic.tbl: Updated from SDM 2.2.
* ia64-raw.tbl: Likewise.
* ia64-waw.tbl: Likewise.
* ia64-asmtab.c: Regenerated.
* ia64-opc-b.c (ia64_opcodes_b): Add vmsw.0 and vmsw.1.
Diffstat (limited to 'opcodes/ia64-gen.c')
-rw-r--r-- | opcodes/ia64-gen.c | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/opcodes/ia64-gen.c b/opcodes/ia64-gen.c index cb86e94..4dffa7e 100644 --- a/opcodes/ia64-gen.c +++ b/opcodes/ia64-gen.c @@ -1409,6 +1409,8 @@ lookup_regindex (const char *name, int specifier) return 44; else if (strstr (name, ".ia")) return 45; + else if (strstr (name, ".vm")) + return 46; else abort (); default: @@ -1569,7 +1571,20 @@ print_dependency_table () rdeps[i]->name, specifier, (int)rdeps[i]->mode, (int)rdeps[i]->semantics, regindex); if (rdeps[i]->semantics == IA64_DVS_OTHER) - printf ("\"%s\", ", rdeps[i]->extra); + { + const char *quote, *rest; + + putchar ('\"'); + rest = rdeps[i]->extra; + quote = strchr (rest, '\"'); + while (quote != NULL) + { + printf ("%.*s\\\"", (int) (quote - rest), rest); + rest = quote + 1; + quote = strchr (rest, '\"'); + } + printf ("%s\", ", rest); + } else printf ("NULL, "); printf("},\n"); |