File: sse4_2.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 (32 lines) | stat: -rw-r--r-- 544 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
#!/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_cmpestra
#_mm_cmpestrc
#_mm_cmpestri
#_mm_cmpestrm
#_mm_cmpestro
#_mm_cmpestrs
#_mm_cmpestrz
_mm_cmpgt_epi64
#_mm_cmpistra
#_mm_cmpistrc
#_mm_cmpistri
#_mm_cmpistrm
#_mm_cmpistro
#_mm_cmpistrs
#_mm_cmpistrz
#_mm_crc32_u16
#_mm_crc32_u32
#_mm_crc32_u64
#_mm_crc32_u8