From 221ff21a8683aaf70463c57500b38bb3792b788c Mon Sep 17 00:00:00 2001 From: lkcl Date: Mon, 6 Sep 2021 16:52:24 +0100 Subject: [PATCH] --- openpower/sv/ldst.mdwn | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/openpower/sv/ldst.mdwn b/openpower/sv/ldst.mdwn index b2a500a02..fa1b8c893 100644 --- a/openpower/sv/ldst.mdwn +++ b/openpower/sv/ldst.mdwn @@ -146,8 +146,9 @@ Indexed LD is: ireg[RT+j] <= MEM[EA]; if (!RT.isvec) break # destination scalar, end immediately - if (!RA.isvec && !RB.isvec) - break # scalar-scalar + if svctx.ldstmode != elementstride: + if (!RA.isvec && !RB.isvec) + break # scalar-scalar if (RA.isvec) i++; if (RAupdate.isvec) u++; if (RB.isvec) k++; -- 2.30.2