forked from intel/Immintrin-debug
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathREADME
More file actions
10 lines (9 loc) · 636 Bytes
/
README
File metadata and controls
10 lines (9 loc) · 636 Bytes
1
2
3
4
5
6
7
8
9
10
immintrin_dbg.h is an include file, a wrapper around immintrin.h. It implements most of AVX, AVX2, AVX-512 vector intrinsics to enable source level debug.
Usage: just include immintrin_dbg.h in debug build only.
ICC -O -g -xAVX
GCC -Og -std=c99 -g -lm -Wno-psabi -march=nehalem
clang -O1 -g -march=haswell -lm
Please note, that GCC and clang will compile using SSE registers only, so this will sork on any x86 but Quark. ICC may still use ZMM0 register to return _m512 type from functions.
If compiled with -O3, it will vectorize the debug library which would make debugging harder.
Known bugs:
ieee754 compatible conversions: to test