mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-20 09:58:19 +08:00
2007-11-29 Martin Schwidefsky <schwidefsky@de.ibm.com>
* config/tc-s390.c (md_begin): If the -mesa option is specified add zarch opcodes to the hash table only if there is no variant that is available for the esa mode as well. 2007-11-29 Martin Schwidefsky <schwidefsky@de.ibm.com> * gas/s390/esa-z9-109.d: Add check for old version of sske. * gas/s390/esa-z9-109.s: Likewise.
This commit is contained in:
@ -1,3 +1,9 @@
|
|||||||
|
2007-11-29 Martin Schwidefsky <schwidefsky@de.ibm.com>
|
||||||
|
|
||||||
|
* config/tc-s390.c (md_begin): If the -mesa option is specified
|
||||||
|
add zarch opcodes to the hash table only if there is no variant
|
||||||
|
that is available for the esa mode as well.
|
||||||
|
|
||||||
2007-11-26 Thomas Ogrisegg <tom-bugs@gas.fnord.at>
|
2007-11-26 Thomas Ogrisegg <tom-bugs@gas.fnord.at>
|
||||||
|
|
||||||
* config/tc-alpha.c (assemble_insn): Don't segv on NULL reloc_operand.
|
* config/tc-alpha.c (assemble_insn): Don't segv on NULL reloc_operand.
|
||||||
|
@ -512,8 +512,13 @@ md_begin ()
|
|||||||
|
|
||||||
op_end = s390_opcodes + s390_num_opcodes;
|
op_end = s390_opcodes + s390_num_opcodes;
|
||||||
for (op = s390_opcodes; op < op_end; op++)
|
for (op = s390_opcodes; op < op_end; op++)
|
||||||
if (op->min_cpu <= current_cpu)
|
|
||||||
{
|
{
|
||||||
|
while (op < op_end - 1 && strcmp(op->name, op[1].name) == 0)
|
||||||
|
{
|
||||||
|
if (op->min_cpu <= current_cpu && (op->modes & current_mode_mask))
|
||||||
|
break;
|
||||||
|
op++;
|
||||||
|
}
|
||||||
retval = hash_insert (s390_opcode_hash, op->name, (PTR) op);
|
retval = hash_insert (s390_opcode_hash, op->name, (PTR) op);
|
||||||
if (retval != (const char *) NULL)
|
if (retval != (const char *) NULL)
|
||||||
{
|
{
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
2007-11-29 Martin Schwidefsky <schwidefsky@de.ibm.com>
|
||||||
|
|
||||||
|
* gas/s390/esa-z9-109.d: Add check for old version of sske.
|
||||||
|
* gas/s390/esa-z9-109.s: Likewise.
|
||||||
|
|
||||||
2007-11-27 Andreas Krebbel <krebbel1@de.ibm.com>
|
2007-11-27 Andreas Krebbel <krebbel1@de.ibm.com>
|
||||||
|
|
||||||
* gas/s390/zarch-z9-ec.d: ("tcet", "tcdt", "tcxt", "tget",
|
* gas/s390/zarch-z9-ec.d: ("tcet", "tcdt", "tcxt", "tget",
|
||||||
|
@ -10,3 +10,4 @@ Disassembly of section .text:
|
|||||||
.*: b9 92 f0 69 [ ]*trot %r6,%r9,15
|
.*: b9 92 f0 69 [ ]*trot %r6,%r9,15
|
||||||
.*: b9 91 f0 69 [ ]*trto %r6,%r9,15
|
.*: b9 91 f0 69 [ ]*trto %r6,%r9,15
|
||||||
.*: b9 90 f0 69 [ ]*trtt %r6,%r9,15
|
.*: b9 90 f0 69 [ ]*trtt %r6,%r9,15
|
||||||
|
.*: b2 2b 00 69 [ ]*sske %r6,%r9
|
||||||
|
@ -4,3 +4,6 @@ foo:
|
|||||||
trot %r6,%r9,15
|
trot %r6,%r9,15
|
||||||
trto %r6,%r9,15
|
trto %r6,%r9,15
|
||||||
trtt %r6,%r9,15
|
trtt %r6,%r9,15
|
||||||
|
# z9-109 z/Architecture mode extended sske with an additional parameter
|
||||||
|
# make sure the old version still works for esa
|
||||||
|
sske %r6,%r9
|
||||||
|
Reference in New Issue
Block a user