Gauss-Jordan matrix inversion: Difference between revisions

Line 1,401:
{{out}}
 
(When compiling specifically for Opteron 6344 with GCC 12 (and nearby versions), I had trouble unless I added <code>-fno-expensive-optimizations</code>. It is some problem involving fused multiply-add instructions. The same problem occurs if you use the built-in <code>fma</code> function of GCC. Other projects have had similar difficulties.)
 
<pre style="font-size:90%">$ patscc -std=gnu2x -g -O2 -fno-expensive-optimizations -DATS_MEMALLOC_GCBDW gauss_jordan_task.dats -lgc && ./a.out
1,448

edits