From e08b27e18c53fea17c447d7bfcfd1811cef3d8ca Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Fri, 29 Jun 2018 23:19:38 -0700 Subject: [PATCH] Correct mistaken crediting of FMA instructions to AVX512 VFMADD132SS is an FMA instruction, which was added to Haswell architecture at the same time it got AVX2. This was correct prior to the patch in PR #1. Signed-off-by: Thiago Macieira --- avxjudge.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/avxjudge.py b/avxjudge.py index 5251c8d..0670c6b 100644 --- a/avxjudge.py +++ b/avxjudge.py @@ -21,14 +21,12 @@ avx2_instructions_ymm = set([ "vpand", "vpmaxud", "vpminud", "vpmaxsd", "vpmaxsw", "vpminsd", "vpminsw", "vpand", "vpor", "vpmulld" ]) -avx512_instructions_lv = set([ - "vfmadd132ss", "vfmadd213ss", "vfmadd231ss", "vfmadd132sd", - "vfmadd231sd", "vfmadd213sd" -]) - +avx512_instructions_lv = set() # 1.0 value instructions avx2_instructions = set([ + "vfmadd132ss", "vfmadd213ss", "vfmadd231ss", "vfmadd132sd", + "vfmadd231sd", "vfmadd213sd", "vfmsub132ss", "vfmsub213ss", "vfmsub231ss", "vfmsub132sd", "vfmsub231sd", "vfmsub213sd", "vfnmadd132ss", "vfnmadd213ss", "vfnmadd231ss", "vfnmadd132sd",