File: ssse3.sh

package info (click to toggle)
xsimd 14.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 3,144 kB
  • sloc: cpp: 41,628; sh: 541; makefile: 184; python: 117
file content (45 lines) | stat: -rw-r--r-- 774 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#!/bin/sh
exit_code=0
for instr in `grep -o -E '^_mm_[a-z1Z0-9_]+' $0`
do
    if ! grep -q -r $instr ../include-refactoring
    then
        echo $instr
        exit_code=1
    fi
done
exit $exit_code

# Instructions below starting with a # are known to be unused in xsimd
_mm_abs_epi16
_mm_abs_epi32
_mm_abs_epi8
#_mm_abs_pi16
#_mm_abs_pi32
#_mm_abs_pi8
#_mm_alignr_epi8
#_mm_alignr_pi8
_mm_hadd_epi16
_mm_hadd_epi32
#_mm_hadd_pi16
#_mm_hadd_pi32
#_mm_hadds_epi16
#_mm_hadds_pi16
#_mm_hsub_epi16
#_mm_hsub_epi32
#_mm_hsub_pi16
#_mm_hsub_pi32
#_mm_hsubs_epi16
#_mm_hsubs_pi16
#_mm_maddubs_epi16
#_mm_maddubs_pi16
#_mm_mulhrs_epi16
#_mm_mulhrs_pi16
#_mm_shuffle_epi8
#_mm_shuffle_pi8
#_mm_sign_epi16
#_mm_sign_epi32
#_mm_sign_epi8
#_mm_sign_pi16
#_mm_sign_pi32
#_mm_sign_pi8