public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] gdb: s390: Add record/replay support for arch14 instructions
@ 2024-02-14 14:38 Andreas Arnez
  2024-02-26  9:33 ` Andreas Arnez
  0 siblings, 1 reply; 2+ messages in thread
From: Andreas Arnez @ 2024-02-14 14:38 UTC (permalink / raw)
  To: gdb-patches

Enable recording of the new "arch14" instructions on z/Architecture
targets, except for the specialized-function-assist instruction NNPA.
---
 gdb/s390-tdep.c | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/gdb/s390-tdep.c b/gdb/s390-tdep.c
index 134bf984e5b..c250b357fbc 100644
--- a/gdb/s390-tdep.c
+++ b/gdb/s390-tdep.c
@@ -5534,6 +5534,14 @@ s390_process_record (struct gdbarch *gdbarch, struct regcache *regcache,
 	case 0xe635: /* VLRL - vector load rightmost with immed. length */
 	case 0xe637: /* VLRLR - vector load rightmost with length */
 	case 0xe649: /* VLIP - vector load immediate decimal */
+	case 0xe656: /* VCLFNH - vector fp convert and lengthen from NNP high */
+	case 0xe65e: /* VCLFNL - vector fp convert and lengthen from NNP low */
+	case 0xe655: /* VCNF - vector fp convert to NNP */
+	case 0xe65d: /* VCFN - vector fp convert from NNP */
+	case 0xe674: /* VSCHP - decimal scale and convert to HFP */
+	case 0xe675: /* VCRNF - vector fp convert and round to NNP */
+	case 0xe67c: /* VSCSHP - decimal scale and convert and split to HFP */
+	case 0xe67d: /* VCSPH - vector convert HFP to scaled decimal */
 	case 0xe700: /* VLEB - vector load element */
 	case 0xe701: /* VLEH - vector load element */
 	case 0xe702: /* VLEG - vector load element */
@@ -5791,11 +5799,16 @@ s390_process_record (struct gdbarch *gdbarch, struct regcache *regcache,
 
 	/* 0xe747-0xe749 undefined */
 
+	case 0xe651: /* VCLZDP - vector count leading zero digits */
+	case 0xe654: /* VUPKZH - vector unpack zoned high */
 	case 0xe658: /* VCVD - vector convert to decimal 32 bit */
 	case 0xe659: /* VSRP - vector shift and round decimal */
 	case 0xe65a: /* VCVDG - vector convert to decimal 64 bit*/
 	case 0xe65b: /* VPSOP - vector perform sign operation decimal */
+	case 0xe65c: /* VUPKZL - vector unpack zoned low */
+	case 0xe670: /* VPKZR - vector pack zoned register */
 	case 0xe671: /* VAP - vector add decimal */
+	case 0xe672: /* VSRPR - vector shift and round decimal register */
 	case 0xe673: /* VSP - vector subtract decimal */
 	case 0xe678: /* VMP - vector multiply decimal */
 	case 0xe679: /* VMSP - vector multiply decimal */
-- 
2.41.0


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] gdb: s390: Add record/replay support for arch14 instructions
  2024-02-14 14:38 [PATCH] gdb: s390: Add record/replay support for arch14 instructions Andreas Arnez
@ 2024-02-26  9:33 ` Andreas Arnez
  0 siblings, 0 replies; 2+ messages in thread
From: Andreas Arnez @ 2024-02-26  9:33 UTC (permalink / raw)
  To: gdb-patches

On Wed, Feb 14 2024, Andreas Arnez wrote:

> Enable recording of the new "arch14" instructions on z/Architecture
> targets, except for the specialized-function-assist instruction NNPA.
> ---
>  gdb/s390-tdep.c | 13 +++++++++++++
>  1 file changed, 13 insertions(+)

There weren't any comments to this so far.  Since it's a fairly simple
change that just affects s390, I just pushed this now.

--
Andreas

>
> diff --git a/gdb/s390-tdep.c b/gdb/s390-tdep.c
> index 134bf984e5b..c250b357fbc 100644
> --- a/gdb/s390-tdep.c
> +++ b/gdb/s390-tdep.c
> @@ -5534,6 +5534,14 @@ s390_process_record (struct gdbarch *gdbarch, struct regcache *regcache,
>  	case 0xe635: /* VLRL - vector load rightmost with immed. length */
>  	case 0xe637: /* VLRLR - vector load rightmost with length */
>  	case 0xe649: /* VLIP - vector load immediate decimal */
> +	case 0xe656: /* VCLFNH - vector fp convert and lengthen from NNP high */
> +	case 0xe65e: /* VCLFNL - vector fp convert and lengthen from NNP low */
> +	case 0xe655: /* VCNF - vector fp convert to NNP */
> +	case 0xe65d: /* VCFN - vector fp convert from NNP */
> +	case 0xe674: /* VSCHP - decimal scale and convert to HFP */
> +	case 0xe675: /* VCRNF - vector fp convert and round to NNP */
> +	case 0xe67c: /* VSCSHP - decimal scale and convert and split to HFP */
> +	case 0xe67d: /* VCSPH - vector convert HFP to scaled decimal */
>  	case 0xe700: /* VLEB - vector load element */
>  	case 0xe701: /* VLEH - vector load element */
>  	case 0xe702: /* VLEG - vector load element */
> @@ -5791,11 +5799,16 @@ s390_process_record (struct gdbarch *gdbarch, struct regcache *regcache,
>  
>  	/* 0xe747-0xe749 undefined */
>  
> +	case 0xe651: /* VCLZDP - vector count leading zero digits */
> +	case 0xe654: /* VUPKZH - vector unpack zoned high */
>  	case 0xe658: /* VCVD - vector convert to decimal 32 bit */
>  	case 0xe659: /* VSRP - vector shift and round decimal */
>  	case 0xe65a: /* VCVDG - vector convert to decimal 64 bit*/
>  	case 0xe65b: /* VPSOP - vector perform sign operation decimal */
> +	case 0xe65c: /* VUPKZL - vector unpack zoned low */
> +	case 0xe670: /* VPKZR - vector pack zoned register */
>  	case 0xe671: /* VAP - vector add decimal */
> +	case 0xe672: /* VSRPR - vector shift and round decimal register */
>  	case 0xe673: /* VSP - vector subtract decimal */
>  	case 0xe678: /* VMP - vector multiply decimal */
>  	case 0xe679: /* VMSP - vector multiply decimal */

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-02-26  9:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-14 14:38 [PATCH] gdb: s390: Add record/replay support for arch14 instructions Andreas Arnez
2024-02-26  9:33 ` Andreas Arnez

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).