From: Neal Frager <neal.frager@amd.com>
To: <binutils@sourceware.org>
Cc: <ibai.erkiaga-elorza@amd.com>, <nagaraju.mekala@amd.com>,
<mark.hatle@amd.com>, <sadanand.mutyala@amd.com>,
<appa.rao.nali@amd.com>, <vidhumouli.hunsigida@amd.com>,
<luca.ceresoli@bootlin.com>, <nickc@redhat.com>, <mark@klomp.org>,
<eager@eagercon.com>, <eager@eagerm.com>, <macro@orcam.me.uk>,
Neal Frager <neal.frager@amd.com>
Subject: [PATCH v6 2/2] gas: testsuite: microblaze: Add new bit-field tests
Date: Fri, 13 Oct 2023 08:28:56 +0100 [thread overview]
Message-ID: <20231013072856.638728-2-neal.frager@amd.com> (raw)
In-Reply-To: <20231013072856.638728-1-neal.frager@amd.com>
This patch adds new gas tests for the
microblaze bsefi and bsifi instructions.
Signed-off-by: Neal Frager <neal.frager@amd.com>
---
gas/testsuite/gas/microblaze/allinsn.d | 6 ++++++
gas/testsuite/gas/microblaze/allinsn.s | 9 ++++++++-
2 files changed, 14 insertions(+), 1 deletion(-)
diff --git a/gas/testsuite/gas/microblaze/allinsn.d b/gas/testsuite/gas/microblaze/allinsn.d
index b454fdb30fc..312e3fb3805 100644
--- a/gas/testsuite/gas/microblaze/allinsn.d
+++ b/gas/testsuite/gas/microblaze/allinsn.d
@@ -47,3 +47,9 @@ Disassembly of section .text:
00000040 <swaph>:
40: 900001e2 swaph r0, r0
+
+00000044 <bsefi>:
+ 44: 64004041 bsrli r0, r0, 1
+
+00000048 <bsifi>:
+ 48: 64008041 bsrli r0, r0, 1
diff --git a/gas/testsuite/gas/microblaze/allinsn.s b/gas/testsuite/gas/microblaze/allinsn.s
index ffe91ca8eb0..98df189bef5 100644
--- a/gas/testsuite/gas/microblaze/allinsn.s
+++ b/gas/testsuite/gas/microblaze/allinsn.s
@@ -54,4 +54,11 @@ swapb:
.global swaph
swaph:
swaph r0,r0
-
+ .text
+ .global bsefi
+bsefi:
+ bsefi r0,r0,1,1
+ .text
+ .global bsifi
+bsifi:
+ bsifi r0,r0,1,1
--
2.25.1
next prev parent reply other threads:[~2023-10-13 7:29 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-13 7:28 [PATCH v6 1/2] opcodes: microblaze: Add new bit-field instructions Neal Frager
2023-10-13 7:28 ` Neal Frager [this message]
2023-10-17 22:58 ` [PATCH v6 2/2] gas: testsuite: microblaze: Add new bit-field tests Michael Eager
2023-10-15 16:30 ` [PATCH v6 1/2] opcodes: microblaze: Add new bit-field instructions Michael Eager
2023-10-15 16:48 ` Frager, Neal
2023-10-19 3:40 ` Alan Modra
2023-10-19 3:53 ` Alan Modra
2023-10-19 6:40 ` Frager, Neal
2023-10-19 10:23 ` Alan Modra
2023-10-19 13:20 ` Frager, Neal
2023-10-19 21:30 ` Alan Modra
2023-10-20 6:28 ` Frager, Neal
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=20231013072856.638728-2-neal.frager@amd.com \
--to=neal.frager@amd.com \
--cc=appa.rao.nali@amd.com \
--cc=binutils@sourceware.org \
--cc=eager@eagercon.com \
--cc=eager@eagerm.com \
--cc=ibai.erkiaga-elorza@amd.com \
--cc=luca.ceresoli@bootlin.com \
--cc=macro@orcam.me.uk \
--cc=mark.hatle@amd.com \
--cc=mark@klomp.org \
--cc=nagaraju.mekala@amd.com \
--cc=nickc@redhat.com \
--cc=sadanand.mutyala@amd.com \
--cc=vidhumouli.hunsigida@amd.com \
/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: link
Be 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).