thliebig / openEMS

openEMS is a free and open-source electromagnetic field solver using the EC-FDTD method.
http://openEMS.de
GNU General Public License v3.0
449 stars 154 forks source link

Guard xmmintrin.h include so it is only used when necessary #33

Closed StefanBruens closed 6 years ago

StefanBruens commented 6 years ago

The x86/SSE specific code for Flush-To-Zero is only used when SSE_CORRECT_DENORMALS is not defined. Guarding the include allows the code to compile on e.g. ARM.

Signed-off-by: Stefan Brüns stefan.bruens@rwth-aachen.de