From a28a81a155c4e45c6356de3fc3989bb9812ef34c Mon Sep 17 00:00:00 2001 From: lkcl Date: Thu, 3 Oct 2019 14:36:02 +0100 Subject: [PATCH] --- simple_v_extension/specification/ld.x.mdwn | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 simple_v_extension/specification/ld.x.mdwn diff --git a/simple_v_extension/specification/ld.x.mdwn b/simple_v_extension/specification/ld.x.mdwn new file mode 100644 index 000000000..5ca7683a9 --- /dev/null +++ b/simple_v_extension/specification/ld.x.mdwn @@ -0,0 +1,13 @@ +# LD.X and LD.Swizzle + +See + +SV is based on vectorisation of scalar opcodes. LD and ST from scalar RISCV can be extended by either rd or rs1 being vectorised, however a third "immediate element strided" multiples do not fit. + +In addition, Vulkan requires swizzled LD/ST covering: + +* constant 0, 1 +* min/max int/uint +* 1.0 and +* x, y, z, or w. + -- 2.30.2