Gauss-Jordan matrix inversion: Difference between revisions

Content deleted Content added
Chemoelectric (talk | contribs)
Chemoelectric (talk | contribs)
Line 1,401: Line 1,401:
{{out}}
{{out}}


(When compiling specifically for Opteron 6344 with GCC 12 (and nearby versions), I had trouble unless I added <code>-fno-expensive-optimizations</code>.)
(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
<pre style="font-size:90%">$ patscc -std=gnu2x -g -O2 -fno-expensive-optimizations -DATS_MEMALLOC_GCBDW gauss_jordan_task.dats -lgc && ./a.out