From 0ffb3b5606c56f47d2fbc6b01f25bee4c2e4eb3e Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Mon, 21 Dec 2020 21:47:07 +0000 Subject: [PATCH] add assembly annotation --- openpower/sv/svp_rewrite/svp64.mdwn | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/openpower/sv/svp_rewrite/svp64.mdwn b/openpower/sv/svp_rewrite/svp64.mdwn index 983887c85..bcb45b431 100644 --- a/openpower/sv/svp_rewrite/svp64.mdwn +++ b/openpower/sv/svp_rewrite/svp64.mdwn @@ -861,3 +861,21 @@ Vectorised (mtspr, bc, dcbz, twi) TODO generate table which will be here [[svp64/reg_profiles]] +## Assembly Annotation + +Assembly code annotation is required for SV to be able to successfully +mark instructions as "prefixed". + +A reasonable (prototype) starting point: + + svp64 [field=value]* + +Fields: + +* ew=8/16/32 - element width +* sew=8/16/32 - source element width +* vec=2/3/4 - SUBVL +* mode=reduce/satu/sats/crpred +* pred=1\<\<3/r3/~r3/r10/~r10/r30/~r30/lt/gt/le/ge/eq/ne +* spred={reg spec} + -- 2.30.2