From: Andreas Krebbel Date: Thu, 23 May 2013 15:48:47 +0000 (+0000) Subject: 2013-05-23 Andreas Krebbel X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6cf1d90c239bf3da9ac8b3cea667cca9c9e7e924;p=binutils-gdb.git 2013-05-23 Andreas Krebbel * s390-opc.c: Fix length operand in RSL_LRDFU and RSL_LRDFEU instruction format. 2013-05-23 Andreas Krebbel * gas/s390/zarch-zEC12.d: Adjust length operands for cdzt, cxzt, czdt, and czxt. * gas/s390/zarch-zEC12.d: Likewise. --- diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 0f7e0fac195..faa07c10528 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2013-05-23 Andreas Krebbel + + * gas/s390/zarch-zEC12.d: Adjust length operands for cdzt, cxzt, + czdt, and czxt. + * gas/s390/zarch-zEC12.d: Likewise. + 2013-05-22 Jürgen Urban * gas/mips/r5900-full.s, gas/mips/r5900-full.d: Add tests for LQ diff --git a/gas/testsuite/gas/s390/zarch-zEC12.d b/gas/testsuite/gas/s390/zarch-zEC12.d index 829e4d3d266..25424c91530 100644 --- a/gas/testsuite/gas/s390/zarch-zEC12.d +++ b/gas/testsuite/gas/s390/zarch-zEC12.d @@ -47,10 +47,10 @@ Disassembly of section .text: .*: eb 6c 7a 4d fe 2b [ ]*clgtnh %r6,-5555\(%r7\) .*: eb 6c 7a 4d fe 2b [ ]*clgtnh %r6,-5555\(%r7\) .*: ec 67 0c 0d 0e 59 [ ]*risbgn %r6,%r7,12,13,14 -.*: ed 90 8f a0 6d aa [ ]*cdzt %f6,4000\(10,%r8\),13 -.*: ed 90 8f a0 4d ab [ ]*cxzt %f4,4000\(10,%r8\),13 -.*: ed 90 8f a0 6d a8 [ ]*czdt %f6,4000\(10,%r8\),13 -.*: ed 90 8f a0 4d a9 [ ]*czxt %f4,4000\(10,%r8\),13 +.*: ed 0f 8f a0 6d aa [ ]*cdzt %f6,4000\(16,%r8\),13 +.*: ed 21 8f a0 4d ab [ ]*cxzt %f4,4000\(34,%r8\),13 +.*: ed 0f 8f a0 6d a8 [ ]*czdt %f6,4000\(16,%r8\),13 +.*: ed 21 8f a0 4d a9 [ ]*czxt %f4,4000\(34,%r8\),13 .*: b2 e8 c0 56 [ ]*ppa %r5,%r6,12 .*: b9 8f 60 59 [ ]*crdte %r5,%r6,%r9,0 .*: b9 8f 61 59 [ ]*crdte %r5,%r6,%r9,1 diff --git a/gas/testsuite/gas/s390/zarch-zEC12.s b/gas/testsuite/gas/s390/zarch-zEC12.s index d1c58cd4165..a5ece0f9ff1 100644 --- a/gas/testsuite/gas/s390/zarch-zEC12.s +++ b/gas/testsuite/gas/s390/zarch-zEC12.s @@ -44,10 +44,10 @@ foo: clgtnh %r6,-5555(%r7) risbgn %r6,%r7,12,13,14 - cdzt %f6,4000(10,%r8),13 - cxzt %f4,4000(10,%r8),13 - czdt %f6,4000(10,%r8),13 - czxt %f4,4000(10,%r8),13 + cdzt %f6,4000(16,%r8),13 + cxzt %f4,4000(34,%r8),13 + czdt %f6,4000(16,%r8),13 + czxt %f4,4000(34,%r8),13 ppa %r5,%r6,12 crdte %r5,%r6,%r9 diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 94cd05d0414..eb16b0a0c93 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,3 +1,8 @@ +2013-05-23 Andreas Krebbel + + * s390-opc.c: Fix length operand in RSL_LRDFU and RSL_LRDFEU + instruction format. + 2013-05-22 Jürgen Urban * mips-opc.c (mips_builtin_opcodes): Add R5900 VU0 instructions. diff --git a/opcodes/s390-opc.c b/opcodes/s390-opc.c index 0ae5603d29e..adfc5b4ab31 100644 --- a/opcodes/s390-opc.c +++ b/opcodes/s390-opc.c @@ -388,8 +388,8 @@ const struct s390_operand s390_operands[] = #define INSTR_RSE_CCRD 6, { C_8,C_12,D_20,B_16,0,0 } /* e.g. lmh */ #define INSTR_RSE_RURD 6, { R_8,U4_12,D_20,B_16,0,0 } /* e.g. icmh */ #define INSTR_RSL_R0RD 6, { D_20,L4_8,B_16,0,0,0 } /* e.g. tp */ -#define INSTR_RSL_LRDFU 6, { F_32,D_20,L4_8,B_16,U4_36,0 } /* e.g. cdzt */ -#define INSTR_RSL_LRDFEU 6, { FE_32,D_20,L4_8,B_16,U4_36,0 } /* e.g. cxzt */ +#define INSTR_RSL_LRDFU 6, { F_32,D_20,L8_8,B_16,U4_36,0 } /* e.g. cdzt */ +#define INSTR_RSL_LRDFEU 6, { FE_32,D_20,L8_8,B_16,U4_36,0 } /* e.g. cxzt */ #define INSTR_RSI_RRP 4, { R_8,R_12,J16_16,0,0,0 } /* e.g. brxh */ #define INSTR_RSY_RRRD 6, { R_8,R_12,D20_20,B_16,0,0 } /* e.g. stmy */ #define INSTR_RSY_RERERD 6, { RE_8,RE_12,D20_20,B_16,0,0 } /* e.g. cdsy */