From f4ead635e331c6a43b81d9e0a56b082fe47be36c Mon Sep 17 00:00:00 2001
From: Mathieu Faverge <mathieu.faverge@inria.fr>
Date: Sat, 31 Mar 2018 12:04:51 +0200
Subject: [PATCH] Add new rules for spm library

---
 modules/precision_generator/subs.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/modules/precision_generator/subs.py b/modules/precision_generator/subs.py
index 8df6a7d..3045836 100644
--- a/modules/precision_generator/subs.py
+++ b/modules/precision_generator/subs.py
@@ -278,6 +278,9 @@ subs = {
     ('int',             'float',           'double',          'float',              r'\bdouble'            ),
     ('PastixPattern',   'PastixFloat',     'PastixDouble',    'PastixComplex32',    r'\bPastixComplex64'   ),
     ('PastixPattern',   'PastixFloat',     'PastixDouble',    'PastixFloat',        r'\bPastixDouble'      ),
+    ('int',             'float',           'double',          'spm_complex32_t', r'\bspm_complex64_t'),
+    ('SpmPattern',   'SpmFloat',     'SpmDouble',    'SpmComplex32',    r'\bSpmComplex64'   ),
+    ('SpmPattern',   'SpmFloat',     'SpmDouble',    'SpmFloat',        r'\bSpmDouble'      ),
     ('', 'sizeof_real',          'sizeof_double',         'sizeof_complex',                  r'\bsizeof_complex_16'                ),  # before complex
     ('', 'real',                 'real',                  'complex',                         r'\bcomplex'                          ),
     ('', 'float',                'double',                'float2',                          r'\bdouble2'                          ),
-- 
GitLab