From d4c9e26df4a50a9788ce20e2d8df139e4ca346de Mon Sep 17 00:00:00 2001
From: Michael Kuron <mkuron@icp.uni-stuttgart.de>
Date: Thu, 16 Jun 2022 14:12:23 +0200
Subject: [PATCH] Update vector instrinsics for RISC-V-V 1.0

as per https://github.com/llvm/llvm-project/commit/0649dfebbab76424e9501a97a21a6253be1d6dcc
---
 pystencils/backends/riscv_instruction_sets.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/pystencils/backends/riscv_instruction_sets.py b/pystencils/backends/riscv_instruction_sets.py
index d93aee701..8e0ab7edd 100644
--- a/pystencils/backends/riscv_instruction_sets.py
+++ b/pystencils/backends/riscv_instruction_sets.py
@@ -50,8 +50,8 @@ def get_vector_instruction_set_riscv(data_type='double', instruction_set='rvv'):
         '|': 'mor_mm[0, 1]',
 
         'blendv': 'merge_vvm[2, 0, 1]',
-        'any': 'popc_m[0]',
-        'all': 'popc_m[0]',
+        'any': 'cpop_m[0]',
+        'all': 'cpop_m[0]',
     }
 
     result = dict()
-- 
GitLab