Skip to content

Commit 33a4a1d

Browse files
author
Raghuveer Devulapalli
authored
Merge pull request #155 from cmsxbc/notes-risk-of-gcc-v9-v10
add notes on building with g++ v9 and v10
2 parents d3acd51 + 3aa0134 commit 33a4a1d

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,16 @@ benchmark](https://github.com/google/benchmark) frameworks respectively. You
8080
can configure meson to build them both by using `-Dbuild_tests=true` and
8181
`-Dbuild_benchmarks=true`.
8282

83+
### Note about building with avx512 by g++ v9 and v10
84+
85+
There is a risk when compile with avx512 by g++ v9 and v10,
86+
as some `MMX Technology` instructions is used by g++ v9/v10
87+
without clearing fpu state.
88+
Check [issue 154](https://github.com/intel/x86-simd-sort/issues/154)
89+
for more details.
90+
91+
Adding `g++` option `-mno-mmx`, which disables `MMX Technology` instructions, is a possible workaround.
92+
8393
## Example usage
8494

8595
#### Sort an array of floats

0 commit comments

Comments
 (0)