Blame SOURCES/gdb-rhbz1420304-s390x-08of35.patch

e1d87d
commit 19fb31c0060f646a9f84be1a84ed1bea04e7ed57
e1d87d
Author: Andreas Krebbel <krebbel@linux.vnet.ibm.com>
e1d87d
Date:   Thu Jun 1 13:46:15 2017 +0200
e1d87d
e1d87d
    S/390: idte/ipte fixes
e1d87d
    
e1d87d
    Later CPU generations added optional operands to the ipte/idte
e1d87d
    instructions.  I've added these with:
e1d87d
    https://sourceware.org/ml/binutils/2017-05/msg00316.html ... but
e1d87d
    supported the optional operands only with the specific hardware
e1d87d
    levels.  However, it is more useful to have the optional operands
e1d87d
    already in the first versions.  Of course they need to be zero there.
e1d87d
    
e1d87d
    Regression-tested with on s390 and s390x.  Committed to mainline.
e1d87d
    
e1d87d
    Bye,
e1d87d
    
e1d87d
    -Andreas-
e1d87d
    
e1d87d
    opcodes/ChangeLog:
e1d87d
    
e1d87d
    2017-06-01  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>
e1d87d
    
e1d87d
            * s390-opc.txt: Support the optional parameters with the first
e1d87d
            versions of ipte/idte.
e1d87d
    
e1d87d
    gas/ChangeLog:
e1d87d
    
e1d87d
    2017-06-01  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>
e1d87d
    
e1d87d
            * testsuite/gas/s390/esa-g5.d: Add ipte tests.
e1d87d
            * testsuite/gas/s390/esa-g5.s: Likewise.
e1d87d
            * testsuite/gas/s390/zarch-z196.d: Remove ipte tests.
e1d87d
            * testsuite/gas/s390/zarch-z196.s: Likewise.
e1d87d
            * testsuite/gas/s390/zarch-z990.d: Add idte tests.
e1d87d
            * testsuite/gas/s390/zarch-z990.s: Likewise.
e1d87d
            * testsuite/gas/s390/zarch-zEC12.d: Remove ipte/idte tests.
e1d87d
            * testsuite/gas/s390/zarch-zEC12.s: Likewise.
e1d87d
e1d87d
--- a/opcodes/s390-opc.txt
e1d87d
+++ b/opcodes/s390-opc.txt
e1d87d
@@ -79,7 +79,7 @@ b224 iac RRE_R0 "insert address space control" g5 esa,zarch
e1d87d
 bf icm RS_RURD "insert characters under mask" g5 esa,zarch
e1d87d
 b20b ipk S_00 "insert PSW key" g5 esa,zarch
e1d87d
 b222 ipm RRE_R0 "insert program mask" g5 esa,zarch
e1d87d
-b221 ipte RRE_RR "invalidate page table entry" g5 esa,zarch
e1d87d
+b221 ipte RRF_RURR "invalidate page table entry" g5 esa,zarch optparm2
e1d87d
 b229 iske RRE_RR "insert storage key extended" g5 esa,zarch
e1d87d
 b223 ivsk RRE_RR "insert virtual storage key" g5 esa,zarch
e1d87d
 58 l RX_RRRD "load" g5 esa,zarch
e1d87d
@@ -700,7 +700,7 @@ eb000000008f clclu RSY_RRRD "compare logical long unicode with long offset" z990
e1d87d
 eb0000000096 lmh RSY_RRRD "load multiple high" z990 zarch
e1d87d
 # new z990 instructions
e1d87d
 b98a cspg RRE_RR "compare and swap and purge" z990 zarch
e1d87d
-b98e idte RRF_R0RR "invalidate dat table entry" z990 zarch
e1d87d
+b98e idte RRF_RURR2 "invalidate dat table entry" z990 zarch optparm
e1d87d
 b33e madr RRF_F0FF "multiply and add long hfp" z990 esa,zarch
e1d87d
 ed000000003e mad RXF_FRRDF "multiply and add long hfp" z990 esa,zarch
e1d87d
 b32e maer RRF_F0FF "multiply and add short hfp" z990 esa,zarch
e1d87d
@@ -1116,7 +1116,6 @@ b92b kmo RRE_RR "cipher message with OFB" z196 zarch
e1d87d
 b92c pcc RRE_00 "perform cryptographic computation" z196 zarch
e1d87d
 b92d kmctr RRF_R0RR "cipher message with counter" z196 zarch
e1d87d
 b928 pckmo RRE_00 "perform cryptographic key management operation" z196 zarch
e1d87d
-b221 ipte RRF_R0RR2 "invalidate page table entry" z196 zarch optparm
e1d87d
 
e1d87d
 # The new instructions of the IBM zEnterprise EC12
e1d87d
 b2ec etnd RRE_R0 "extract transaction nesting depth" zEC12 zarch htm
e1d87d
@@ -1144,8 +1143,6 @@ ed00000000aa cdzt RSL_LRDFU "convert from zoned long" zEC12 zarch
e1d87d
 ed00000000ab cxzt RSL_LRDFEU "convert from zoned extended" zEC12 zarch
e1d87d
 ed00000000a8 czdt RSL_LRDFU "convert to zoned long" zEC12 zarch
e1d87d
 ed00000000a9 czxt RSL_LRDFEU "convert to zoned extended" zEC12 zarch
e1d87d
-b98e idte RRF_RURR2 "invalidate dat table entry" zEC12 zarch optparm
e1d87d
-b221 ipte RRF_RURR "invalidate page table entry" zEC12 zarch optparm2
e1d87d
 
e1d87d
 # The new instructions of IBM z13
e1d87d