From be62444771a4a711300e2439fb1232415d9c835c Mon Sep 17 00:00:00 2001 From: Andreas Krebbel Date: Thu, 10 Sep 2015 15:18:00 +0200 Subject: [PATCH] S/390: Fix instruction format of crj*, clrj*, and clgrj*. This fixes the instruction format for 3 of the compare and branch extended mnemonics. That way the extended mnemonics are actually being found by objdump. gas/testsuite/ChangeLog: 2015-09-10 Andreas Krebbel * gas/s390/zarch-z10.d: Fix testcase for some of the compare and branch extended mnemonics. opcodes/ChangeLog: 2015-09-10 Andreas Krebbel * s390-opc.txt: Fix instruction format of crj*, clrj*, and clgrj*. --- gas/testsuite/gas/s390/zarch-z10.d | 78 +++++++++++++++--------------- opcodes/s390-opc.txt | 6 +-- 2 files changed, 42 insertions(+), 42 deletions(-) diff --git a/gas/testsuite/gas/s390/zarch-z10.d b/gas/testsuite/gas/s390/zarch-z10.d index 2d7bc70bb0f..412f2b582c8 100644 --- a/gas/testsuite/gas/s390/zarch-z10.d +++ b/gas/testsuite/gas/s390/zarch-z10.d @@ -39,19 +39,19 @@ Disassembly of section .text: .*: ec 67 84 57 a0 e4 [ ]*cgrbnl %r6,%r7,1111\(%r8\) .*: ec 67 84 57 c0 e4 [ ]*cgrbnh %r6,%r7,1111\(%r8\) .*: ec 67 84 57 c0 e4 [ ]*cgrbnh %r6,%r7,1111\(%r8\) -.*: ec 67 00 00 a0 76 [ ]*crj %r6,%r7,10,c6 -.*: ec 67 00 00 20 76 [ ]*crj %r6,%r7,2,cc -.*: ec 67 00 00 20 76 [ ]*crj %r6,%r7,2,d2 -.*: ec 67 00 00 40 76 [ ]*crj %r6,%r7,4,d8 -.*: ec 67 00 00 40 76 [ ]*crj %r6,%r7,4,de -.*: ec 67 00 00 60 76 [ ]*crj %r6,%r7,6,e4 -.*: ec 67 00 00 60 76 [ ]*crj %r6,%r7,6,ea -.*: ec 67 00 00 80 76 [ ]*crj %r6,%r7,8,f0 -.*: ec 67 00 00 80 76 [ ]*crj %r6,%r7,8,f6 -.*: ec 67 00 00 a0 76 [ ]*crj %r6,%r7,10,fc -.*: ec 67 00 00 a0 76 [ ]*crj %r6,%r7,10,102 -.*: ec 67 00 00 c0 76 [ ]*crj %r6,%r7,12,108 -.*: ec 67 00 00 c0 76 [ ]*crj %r6,%r7,12,10e +.*: ec 67 00 00 a0 76 [ ]*crjnl %r6,%r7,c6 +.*: ec 67 00 00 20 76 [ ]*crjh %r6,%r7,cc +.*: ec 67 00 00 20 76 [ ]*crjh %r6,%r7,d2 +.*: ec 67 00 00 40 76 [ ]*crjl %r6,%r7,d8 +.*: ec 67 00 00 40 76 [ ]*crjl %r6,%r7,de +.*: ec 67 00 00 60 76 [ ]*crjne %r6,%r7,e4 +.*: ec 67 00 00 60 76 [ ]*crjne %r6,%r7,ea +.*: ec 67 00 00 80 76 [ ]*crje %r6,%r7,f0 +.*: ec 67 00 00 80 76 [ ]*crje %r6,%r7,f6 +.*: ec 67 00 00 a0 76 [ ]*crjnl %r6,%r7,fc +.*: ec 67 00 00 a0 76 [ ]*crjnl %r6,%r7,102 +.*: ec 67 00 00 c0 76 [ ]*crjnh %r6,%r7,108 +.*: ec 67 00 00 c0 76 [ ]*crjnh %r6,%r7,10e .*: ec 67 00 00 a0 64 [ ]*cgrjnl %r6,%r7,114 .*: ec 67 00 00 20 64 [ ]*cgrjh %r6,%r7,11a .*: ec 67 00 00 20 64 [ ]*cgrjh %r6,%r7,120 @@ -209,32 +209,32 @@ Disassembly of section .text: .*: ec 67 84 57 a0 e5 [ ]*clgrbnl %r6,%r7,1111\(%r8\) .*: ec 67 84 57 c0 e5 [ ]*clgrbnh %r6,%r7,1111\(%r8\) .*: ec 67 84 57 c0 e5 [ ]*clgrbnh %r6,%r7,1111\(%r8\) -.*: ec 67 00 00 a0 77 [ ]*clrj %r6,%r7,10,48e -.*: ec 67 00 00 20 77 [ ]*clrj %r6,%r7,2,494 -.*: ec 67 00 00 20 77 [ ]*clrj %r6,%r7,2,49a -.*: ec 67 00 00 40 77 [ ]*clrj %r6,%r7,4,4a0 -.*: ec 67 00 00 40 77 [ ]*clrj %r6,%r7,4,4a6 -.*: ec 67 00 00 60 77 [ ]*clrj %r6,%r7,6,4ac -.*: ec 67 00 00 60 77 [ ]*clrj %r6,%r7,6,4b2 -.*: ec 67 00 00 80 77 [ ]*clrj %r6,%r7,8,4b8 -.*: ec 67 00 00 80 77 [ ]*clrj %r6,%r7,8,4be -.*: ec 67 00 00 a0 77 [ ]*clrj %r6,%r7,10,4c4 -.*: ec 67 00 00 a0 77 [ ]*clrj %r6,%r7,10,4ca -.*: ec 67 00 00 c0 77 [ ]*clrj %r6,%r7,12,4d0 -.*: ec 67 00 00 c0 77 [ ]*clrj %r6,%r7,12,4d6 -.*: ec 67 00 00 a0 65 [ ]*clgrj %r6,%r7,10,4dc -.*: ec 67 00 00 20 65 [ ]*clgrj %r6,%r7,2,4e2 -.*: ec 67 00 00 20 65 [ ]*clgrj %r6,%r7,2,4e8 -.*: ec 67 00 00 40 65 [ ]*clgrj %r6,%r7,4,4ee -.*: ec 67 00 00 40 65 [ ]*clgrj %r6,%r7,4,4f4 -.*: ec 67 00 00 60 65 [ ]*clgrj %r6,%r7,6,4fa -.*: ec 67 00 00 60 65 [ ]*clgrj %r6,%r7,6,500 -.*: ec 67 00 00 80 65 [ ]*clgrj %r6,%r7,8,506 -.*: ec 67 00 00 80 65 [ ]*clgrj %r6,%r7,8,50c -.*: ec 67 00 00 a0 65 [ ]*clgrj %r6,%r7,10,512 -.*: ec 67 00 00 a0 65 [ ]*clgrj %r6,%r7,10,518 -.*: ec 67 00 00 c0 65 [ ]*clgrj %r6,%r7,12,51e -.*: ec 67 00 00 c0 65 [ ]*clgrj %r6,%r7,12,524 +.*: ec 67 00 00 a0 77 [ ]*clrjnl %r6,%r7,48e +.*: ec 67 00 00 20 77 [ ]*clrjh %r6,%r7,494 +.*: ec 67 00 00 20 77 [ ]*clrjh %r6,%r7,49a +.*: ec 67 00 00 40 77 [ ]*clrjl %r6,%r7,4a0 +.*: ec 67 00 00 40 77 [ ]*clrjl %r6,%r7,4a6 +.*: ec 67 00 00 60 77 [ ]*clrjne %r6,%r7,4ac +.*: ec 67 00 00 60 77 [ ]*clrjne %r6,%r7,4b2 +.*: ec 67 00 00 80 77 [ ]*clrje %r6,%r7,4b8 +.*: ec 67 00 00 80 77 [ ]*clrje %r6,%r7,4be +.*: ec 67 00 00 a0 77 [ ]*clrjnl %r6,%r7,4c4 +.*: ec 67 00 00 a0 77 [ ]*clrjnl %r6,%r7,4ca +.*: ec 67 00 00 c0 77 [ ]*clrjnh %r6,%r7,4d0 +.*: ec 67 00 00 c0 77 [ ]*clrjnh %r6,%r7,4d6 +.*: ec 67 00 00 a0 65 [ ]*clgrjnl %r6,%r7,4dc +.*: ec 67 00 00 20 65 [ ]*clgrjh %r6,%r7,4e2 +.*: ec 67 00 00 20 65 [ ]*clgrjh %r6,%r7,4e8 +.*: ec 67 00 00 40 65 [ ]*clgrjl %r6,%r7,4ee +.*: ec 67 00 00 40 65 [ ]*clgrjl %r6,%r7,4f4 +.*: ec 67 00 00 60 65 [ ]*clgrjne %r6,%r7,4fa +.*: ec 67 00 00 60 65 [ ]*clgrjne %r6,%r7,500 +.*: ec 67 00 00 80 65 [ ]*clgrje %r6,%r7,506 +.*: ec 67 00 00 80 65 [ ]*clgrje %r6,%r7,50c +.*: ec 67 00 00 a0 65 [ ]*clgrjnl %r6,%r7,512 +.*: ec 67 00 00 a0 65 [ ]*clgrjnl %r6,%r7,518 +.*: ec 67 00 00 c0 65 [ ]*clgrjnh %r6,%r7,51e +.*: ec 67 00 00 c0 65 [ ]*clgrjnh %r6,%r7,524 .*: ec 6a 74 57 c8 ff [ ]*clibnl %r6,200,1111\(%r7\) .*: ec 62 74 57 c8 ff [ ]*clibh %r6,200,1111\(%r7\) .*: ec 62 74 57 c8 ff [ ]*clibh %r6,200,1111\(%r7\) diff --git a/opcodes/s390-opc.txt b/opcodes/s390-opc.txt index 7d04a8aa1f2..7ce752eb1db 100644 --- a/opcodes/s390-opc.txt +++ b/opcodes/s390-opc.txt @@ -874,7 +874,7 @@ ec00000000f6 crb$32 RRS_RRRD0 "compare and branch (32)" z10 zarch ec00000000f6 crb RRS_RRRDU "compare and branch (32)" z10 zarch ec00000000e4 cgrb$32 RRS_RRRD0 "compare and branch (64)" z10 zarch ec00000000e4 cgrb RRS_RRRDU "compare and branch (64)" z10 zarch -ec0000000076 crj$32 RIE_RRP "compare and branch relative (32)" z10 zarch +ec0000000076 crj$32 RIE_RRP0 "compare and branch relative (32)" z10 zarch ec0000000076 crj RIE_RRPU "compare and branch relative (32)" z10 zarch ec0000000064 cgrj$32 RIE_RRP0 "compare and branch relative (64)" z10 zarch ec0000000064 cgrj RIE_RRPU "compare and branch relative (64)" z10 zarch @@ -912,9 +912,9 @@ ec00000000f7 clrb$32 RRS_RRRD0 "compare logical and branch (32)" z10 zarch ec00000000f7 clrb RRS_RRRDU "compare logical and branch (32)" z10 zarch ec00000000e5 clgrb$32 RRS_RRRD0 "compare logical and branch (64)" z10 zarch ec00000000e5 clgrb RRS_RRRDU "compare logical and branch (64)" z10 zarch -ec0000000077 clrj$32 RIE_RRP "compare logical and branch relative (32)" z10 zarch +ec0000000077 clrj$32 RIE_RRP0 "compare logical and branch relative (32)" z10 zarch ec0000000077 clrj RIE_RRPU "compare logical and branch relative (32)" z10 zarch -ec0000000065 clgrj$32 RIE_RRP "compare logical and branch relative (64)" z10 zarch +ec0000000065 clgrj$32 RIE_RRP0 "compare logical and branch relative (64)" z10 zarch ec0000000065 clgrj RIE_RRPU "compare logical and branch relative (64)" z10 zarch ec00000000ff clib$12 RIS_R0RDU "compare logical immediate and branch (32<8)" z10 zarch ec00000000ff clib RIS_RURDU "compare logical immediate and branch (32<8)" z10 zarch -- 2.30.2