Commit Graph

18 Commits (831bd7c8357fb01d3ae7a833150ab5734244a6ab)

Author SHA1 Message Date
Yifeng Li 71dde7ea49 FDTD: reformat code of update equations.
The original update equations in the FDTD engine have extremely
long lines and are difficult to read and work with. This patch
inserts line breaks, it aligns all array indexes by x/y/z
coordinates to make it easy to visually compare.

Signed-off-by: Yifeng Li <tomli@tomli.me>
2023-11-18 17:55:46 +01:00
Stefan Brüns a5a1dca832 Guard xmmintrin.h include so it is only used when necessary
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>
2018-03-27 03:26:21 +02:00
Sebastian Held 384cfe5677 bugfix Windows: FTZ and DAZ bits in SSE computation unit is thread dependent.
This fix sets the FTZ ans DAZ bits in every thread to gain the speedup.
Linux seems to store these bits per process rather than per thread.
2012-10-06 20:50:36 +02:00
Thorsten Liebig 9d3761b1d0 Init style: applied astyle.sh
astyle --style=allman --indent=tab --indent-cases {} \;

please apply this style prior to any future commit

Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2010-12-06 15:31:11 +01:00
Sebastian Held 59ffbb5100 Improve the speed of the SSE engine by using flush-to-zero
This change modifies the behaviour of the complete program, if the SSE engine is used.
A better approach may be to only enable flush-to-zero in IterateTS()...
2010-07-13 10:47:40 +02:00
Thorsten Liebig 8212f039ed more console output regarding operator & engine usage 2010-05-19 21:25:15 +02:00
Thorsten Liebig 009eeef96a fix: number of lines already defined by engine base-class 2010-05-19 21:08:38 +02:00
Thorsten Liebig 98c10c7628 define engine type and overload all GetVolt/GetCurr 2010-05-17 13:08:27 +02:00
Thorsten Liebig a1ef3426f2 FIX in sse engine: init fields & fixed reset calls 2010-05-11 22:54:08 +02:00
Thorsten Liebig abbe10bd9f fix: init sse correctly 2010-05-11 19:11:38 +02:00
Thorsten Liebig 7f70f0fb4d engine independent multi-threading 2010-05-11 19:11:38 +02:00
Thorsten Liebig 99a082e8a6 sse: small code-cleanup 2010-05-01 13:06:13 +02:00
Thorsten Liebig 63ef1b3ebf sse engine: changed the vector order to reduce copy operations 2010-05-01 12:57:43 +02:00
Thorsten Liebig d26986fe0d sse: removed more unnecessary methods & new operator access & names that make more sense 2010-04-30 19:41:44 +02:00
Thorsten Liebig 3e09b22b4a removed unnecessary methodes in sse engine & fixed excitation 2010-04-30 19:09:05 +02:00
Sebastian Held d0ebff17e8 removed sse code from normal operator -> class Operator_sse 2010-04-21 15:38:15 +02:00
Sebastian Held b489d3342d completed sse engine and enabled it 2010-04-21 14:29:02 +02:00
Sebastian Held 95188dd15e sse tests 2010-04-21 11:18:22 +02:00