public inbox for gdb-testers@sourceware.org help / color / mirror / Atom feed
From: gdb-buildbot@sergiodj.net To: gdb-testers@sourceware.org Subject: [binutils-gdb] gdb: fix powerpc disassembly tests Date: Tue, 04 Feb 2020 04:19:00 -0000 [thread overview] Message-ID: <5d2e1193286fe6278ee70c2137b3726994f2e28b@gdb-build> (raw) *** TEST RESULTS FOR COMMIT 5d2e1193286fe6278ee70c2137b3726994f2e28b *** commit 5d2e1193286fe6278ee70c2137b3726994f2e28b Author: Rogerio Alves <rcardoso@linux.ibm.com> AuthorDate: Mon Feb 3 17:55:03 2020 -0300 Commit: Simon Marchi <simon.marchi@polymtl.ca> CommitDate: Mon Feb 3 22:35:49 2020 -0500 gdb: fix powerpc disassembly tests This patch fixes test failures power8 and power9 caused by changes on opcodes: The dissasembler does not emit whitespace for instructions anymore (c2b1c2754526acff8aae2fe8f5a56c2dd11d0b7f) The dissasembler generates extended mnemonics for some instructions instead (aae9718e4d4e8d01dcee22684e82b000203d3e52) The ldmx instruction was removed. This instruction was never implemented (6fbc939cfdbdf02f205c20925583738b0f835e62) gdb/testsuite/ChangeLog: 2020-02-03 Rogerio A. Cardoso <rcardoso@linux.ibm.com> * gdb.arch/powerpc-power8.exp: Delete trailing whitespace of tbegin., tend. instructions. Replace bctar-, bctar+, bctarl-, bctarl+ extended mnemonics when avaliable by bgttar, bnstarl, blttar, bnetarl. * gdb.arch/powerpc-power8.s: Fix comments. Fix instructions binary for blttar, bnetarl. * gdb.arch/powerpc-power9.exp: Delete trailing whitespace of wait instruction. Delete ldmx test. * gdb.arch/powerpc-power9.s: Delete ldmx instruction. diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 45eb88716c..2b1a8ba7ee 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,15 @@ +2020-02-03 Rogerio A. Cardoso <rcardoso@linux.ibm.com> + + * gdb.arch/powerpc-power8.exp: Delete trailing whitespace of + tbegin., tend. instructions. Replace bctar-, bctar+, bctarl-, + bctarl+ extended mnemonics when avaliable by bgttar, bnstarl, + blttar, bnetarl. + * gdb.arch/powerpc-power8.s: Fix comments. Fix instructions + binary for blttar, bnetarl. + * gdb.arch/powerpc-power9.exp: Delete trailing whitespace of + wait instruction. Delete ldmx test. + * gdb.arch/powerpc-power9.s: Delete ldmx instruction. + 2020-02-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com> * gdb.fortran/array-bounds-high.exp: New file. diff --git a/gdb/testsuite/gdb.arch/powerpc-power8.exp b/gdb/testsuite/gdb.arch/powerpc-power8.exp index 109a5cbb64..d0da3e4f09 100644 --- a/gdb/testsuite/gdb.arch/powerpc-power8.exp +++ b/gdb/testsuite/gdb.arch/powerpc-power8.exp @@ -66,10 +66,10 @@ func_check "tabortwc. 7,r8,r16" func_check "tabortdc. 20,r11,r10" func_check "tabortwci. 17,r10,-13" func_check "tabortdci. 29,r3,-5" -func_check "tbegin. " +func_check "tbegin." func_check "tcheck cr7" -func_check "tend. " -func_check "tend. " +func_check "tend." +func_check "tend." func_check "tendall." func_check "tendall." func_check "treclaim. r24" @@ -82,12 +82,12 @@ func_check "ori r2,r2,0" func_check "nop" func_check "ori r2,r2,0" func_check "rfebb 0" -func_check "rfebb " -func_check "rfebb " -func_check "bctar- 12,4*cr5+gt" -func_check "bctarl- 4,4*cr1+so" -func_check "bctar+ 12,4*cr3+lt" -func_check "bctarl+ 4,eq" +func_check "rfebb" +func_check "rfebb" +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 "waitasec" diff --git a/gdb/testsuite/gdb.arch/powerpc-power8.s b/gdb/testsuite/gdb.arch/powerpc-power8.s index 3e466a06e8..0cc3f84b3d 100644 --- a/gdb/testsuite/gdb.arch/powerpc-power8.s +++ b/gdb/testsuite/gdb.arch/powerpc-power8.s @@ -41,10 +41,10 @@ func: .long 0x4c000124 /* rfebb 0 */ .long 0x4c000924 /* rfebb */ .long 0x4c000924 /* rfebb */ - .long 0x4d950460 /* bctar- 12,4*cr5+gt */ - .long 0x4c870461 /* bctarl- 4,4*cr1+so */ - .long 0x4dac0460 /* bctar+ 12,4*cr3+lt */ - .long 0x4ca20461 /* bctarl+ 4,eq */ + .long 0x4d950460 /* bgttar cr5 */ + .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 0x7c00003c /* waitasec */ diff --git a/gdb/testsuite/gdb.arch/powerpc-power9.exp b/gdb/testsuite/gdb.arch/powerpc-power9.exp index d3ab9af15e..c92b2008d9 100644 --- a/gdb/testsuite/gdb.arch/powerpc-power9.exp +++ b/gdb/testsuite/gdb.arch/powerpc-power9.exp @@ -409,11 +409,9 @@ func_check "stwat r23,0,0" func_check "stwat r23,r13,28" func_check "urfid" func_check "rmieg r30" -func_check "ldmx r10,0,r15" -func_check "ldmx r10,r3,r15" func_check "stop" -func_check "wait " -func_check "wait " +func_check "wait" +func_check "wait" func_check "darn r3,0" func_check "darn r3,1" func_check "darn r3,2" diff --git a/gdb/testsuite/gdb.arch/powerpc-power9.s b/gdb/testsuite/gdb.arch/powerpc-power9.s index e47809caae..b3dc6ea83a 100644 --- a/gdb/testsuite/gdb.arch/powerpc-power9.s +++ b/gdb/testsuite/gdb.arch/powerpc-power9.s @@ -366,8 +366,6 @@ func: .long 0x7eede58c /* stwat r23,r13,28 */ .long 0x4c000264 /* urfid */ .long 0x7c00f6e4 /* rmieg r30 */ - .long 0x7d407a6a /* ldmx r10,0,r15 */ - .long 0x7d437a6a /* ldmx r10,r3,r15 */ .long 0x4c0002e4 /* stop */ .long 0x7c00003c /* wait */ .long 0x7c00003c /* wait */
next reply other threads:[~2020-02-04 4:12 UTC|newest] Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-02-04 4:19 gdb-buildbot [this message] 2020-02-04 4:21 ` Failures on Fedora-x86_64-m64, branch master gdb-buildbot 2020-02-04 4:30 ` Failures on Ubuntu-Aarch64-native-extended-gdbserver-m64, " gdb-buildbot 2020-02-04 4:34 ` Failures on Fedora-x86_64-native-extended-gdbserver-m32, " gdb-buildbot 2020-02-04 4:53 ` Failures on Fedora-i686, " gdb-buildbot 2020-02-04 5:33 ` Failures on Fedora-x86_64-m32, " gdb-buildbot 2020-02-04 6:09 ` Failures on Fedora-x86_64-cc-with-index, " gdb-buildbot 2020-02-04 6:16 ` Failures on Fedora-x86_64-native-extended-gdbserver-m64, " gdb-buildbot 2020-02-04 6:16 ` Failures on Ubuntu-Aarch64-native-gdbserver-m64, " gdb-buildbot 2020-02-04 7:21 ` Failures on Fedora-x86_64-native-gdbserver-m64, " gdb-buildbot
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=5d2e1193286fe6278ee70c2137b3726994f2e28b@gdb-build \ --to=gdb-buildbot@sergiodj.net \ --cc=gdb-testers@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).