Fix powerpc-power8.exp test with new mnemonics
authorCarl Love <cel@us.ibm.com>
Wed, 16 Jun 2021 19:51:46 +0000 (14:51 -0500)
committerCarl Love <cel@us.ibm.com>
Fri, 18 Jun 2021 15:14:20 +0000 (10:14 -0500)
This patch updates the gdb test to use the new bgetar and bnstarl mnemonics
introduced in commit 5a4037661bccd156d65093f1f0cf2cd43f31e9d9.  The test
previously used the bctar and bctarl mnemonics.

gdb/testsuite/ChangeLog
2021-06-17  Carl Love  <cel@us.ibm.com>

* gdb.arch/powerpc-power8.exp(bctar, bctarl): Update mnemonics
to bgetar and bgetarl.
* gdb.arch/powerpc-power8.s((bctar, bctarl): Update comments
for mnemonics to bgetar and bnstarl.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.arch/powerpc-power8.exp
gdb/testsuite/gdb.arch/powerpc-power8.s

index 16a86b6df9f984e89f42e7633a8b89ed891776d3..e8c797a8b85516ad267dff95fe51c3c2c39c58b1 100644 (file)
@@ -1,3 +1,10 @@
+2021-06-17  Carl Love  <cel@us.ibm.com>
+
+       * gdb.arch/powerpc-power8.exp(bctar, bctarl): Update mnemonics
+       to bgetar and bgetarl.
+       * gdb.arch/powerpc-power8.s((bctar, bctarl): Update comments
+       for mnemonics to bgetar and bnstarl.
+
 2021-06-17  Simon Marchi  <simon.marchi@efficios.com>
 
        * gdb.base/args.exp: Check target, KFAIL if remote.
index 456531f9dfa72a52e5f8c63c7056dfccd439be43..858939f6cf3bf6d313e45ae881fa51ef330a8850 100644 (file)
@@ -82,8 +82,8 @@ func_check "bgttar  cr5"
 func_check "bnstarl cr1"
 func_check "blttar+ cr3"
 func_check "bnetarl+"
-func_check "bctar   4,4*cr2+lt,1"
-func_check "bctarl  4,4*cr1+so,2"
+func_check "bgetar  cr2,1"
+func_check "bnstarl cr1,2"
 func_check "waitasec"
 func_check "msgsndp r8"
 func_check "mtsle   1"
index b69dd6e8315dd405c6f13c6b6a7e4fc1ce084624..65b92bda1ffb8a59d66a118586972d17b9694047 100644 (file)
@@ -39,8 +39,8 @@ func:
        .long  0x4c870461    /* bnstarl cr1                */
        .long  0x4dec0460    /* blttar+ cr3                */
        .long  0x4ce20461    /* bnetarl+                   */
-       .long  0x4c880c60    /* bctar   4,4*cr2+lt,1       */
-       .long  0x4c871461    /* bctarl  4,4*cr1+so,2       */
+       .long  0x4c880c60    /* bgetar  cr2,1              */
+       .long  0x4c871461    /* bnstarl cr1,2              */
        .long  0x7c00003c    /* waitasec                   */
        .long  0x7c00411c    /* msgsndp r8                 */
        .long  0x7c200126    /* mtsle   1                  */